Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stat/prom: prometheus监控模版 #63

Closed
Terry-Mao opened this issue Apr 30, 2019 · 0 comments
Closed

stat/prom: prometheus监控模版 #63

Terry-Mao opened this issue Apr 30, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Terry-Mao
Copy link
Member

Background

现阶段下使用的prometheus监控,是由基础库统一定义的方式,比如:go_lib_client、go_rpc_client、go_http_client、go_http_server和go_business_info_count等

Suggestion

基础库创建prometheus针对每个组件创建独立的监控模版,比如:rpc模版、http模版、memcache模版、redis模版

Expected behaviour

监控的项目dashboard作为统一入口只展示
服务的关键图表、指标等常用数据,具体组件的监控可以跳转到组件的详细监控中,展示更多的详细的指标和图。比如:rpc监控、http监控、memcache监控和redis监控,以及缓存中的连接池监控。

接下来我们会推进Kratos 监控的模板化,把Kratos的所有组件,更加精细的覆盖普罗米修斯监控,之前为了强行整合到Dashboard,是使用的统一的Label.

现在做法是,把组件当做监控的一个模板,然后在额外制作Dashboard,在大盘里只包含每个模板里组件的部分关键指标,这样在每个组件还可以HyperLink到细节的组件监控大盘,感觉Root Cause就吊的飞起了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants