Closed MouceL closed 9 months ago
slime 一直缺失指标暴露,本mr使用 istio.io/pkg/monitoring
istio.io/pkg/monitoring
暴露 lazyload/limiter/plugin 部分指标
使用者可通过 :8081/metrics 查看对应指标
:8081/metrics
部分指标如下
Sum
slime_lazyload_sidecar_creations:创建sidecar成功的总数
slime_lazyload_sidecar_failed_creations: 创建sidecar失败的总数
slime_lazyload_sidecar_refreshes: 刷新sidecar的总数
slime_lazyload_servicefence_creations:创建servicefence成功的总数
slime_lazyload_servicefence_failed_creations:创建servicefence失败的总数
slime_lazyload_servicefence_refreshes:刷新servicefence的总数
slime_lazyload_servicefence_deletions:删除servicefence成功的总数
slime_layzload update_extra_resource_failed:更新extra resource失败的总数
Gauge
slime_limiter_reconciles:limiter的reconcile总数
slime_limiter_validations_failed:limiter的校验失败总数
slime_limiter_deleted:删除limiter的总数
slime_limiter_envoyfilter_creations:创建envoyfilter的总数
slime_limiter_envoyfilter_creations_failed:创建envoyfilter失败的总数
slime_limiter_envoyfilter_refreshes:刷新envoyfilter的总数
slime_limiter_envoyfilter_deletions:删除envoyfilter的总数
slime_plugin_envoyplugin_reconciles: envoyplugin的reconcile总数
slime_plugin_envoyplugin_reconciles_failed: envoyplugin的reconcile失败总数
slime_plugin_pluginmanager_reconciles: pluginmanager的reconcile总数
slime_plugin_pluginmanager_reconciles_failed: pluginmanager的reconcile失败总数
slime_plugin_envoyfilter_creations: 创建envoyfilter的总数
slime_plugin_envoyfilter_creations_failed: 创建envoyfilter失败的总数
slime_plugin_envoyfilter_refreshes: 更新envoyfilter的总数
似乎没做模块的隔离,类似: slime_lazyload_xxx 这样更好。
建议浅封装一下,由framework提供给上层便利接口。
slime 一直缺失指标暴露,本mr使用
istio.io/pkg/monitoring
暴露 lazyload/limiter/plugin 部分指标
使用者可通过
:8081/metrics
查看对应指标部分指标如下
lazyload
Sum
slime_lazyload_sidecar_creations:创建sidecar成功的总数
slime_lazyload_sidecar_failed_creations: 创建sidecar失败的总数
slime_lazyload_sidecar_refreshes: 刷新sidecar的总数
slime_lazyload_servicefence_creations:创建servicefence成功的总数
slime_lazyload_servicefence_failed_creations:创建servicefence失败的总数
slime_lazyload_servicefence_refreshes:刷新servicefence的总数
slime_lazyload_servicefence_deletions:删除servicefence成功的总数
slime_layzload update_extra_resource_failed:更新extra resource失败的总数
Gauge
limiter
Sum
slime_limiter_reconciles:limiter的reconcile总数
slime_limiter_validations_failed:limiter的校验失败总数
slime_limiter_deleted:删除limiter的总数
slime_limiter_envoyfilter_creations:创建envoyfilter的总数
slime_limiter_envoyfilter_creations_failed:创建envoyfilter失败的总数
slime_limiter_envoyfilter_refreshes:刷新envoyfilter的总数
slime_limiter_envoyfilter_deletions:删除envoyfilter的总数
Gauge
plugin
Sum
slime_plugin_envoyplugin_reconciles: envoyplugin的reconcile总数
slime_plugin_envoyplugin_reconciles_failed: envoyplugin的reconcile失败总数
slime_plugin_pluginmanager_reconciles: pluginmanager的reconcile总数
slime_plugin_pluginmanager_reconciles_failed: pluginmanager的reconcile失败总数
slime_plugin_envoyfilter_creations: 创建envoyfilter的总数
slime_plugin_envoyfilter_creations_failed: 创建envoyfilter失败的总数
slime_plugin_envoyfilter_refreshes: 更新envoyfilter的总数