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

Support prometheus exporter #246

Closed
defool opened this issue Oct 16, 2020 · 0 comments
Closed

Support prometheus exporter #246

defool opened this issue Oct 16, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@defool
Copy link
Collaborator

defool commented Oct 16, 2020

Tars支持使用Prometheus监控

描述

当前Tars有merics监控上报,但是缺少Tp95/Tp99耗时、波动告警等能力,希望能引入云原生Prometheus监控组件提升Tars服务的监控能力。

目标

  • Tars服务端/客户端都引入Prometheus SDK
  • 提供数据上报到prometheus的解决方案
  • 在grafana配置监控面板,可显示调用总量、失败量、tp95耗时、tp99耗时。筛选条件包含主调服务、被调服务。

方案(仅供参考)

  • 基于Tars的filter机制,实现client filter,将rpc调用数据使用Prometheus sdk记录
  • Prometheus对接k8s名字服务,通过label方式筛选,自动收集部署在k8s中的tars服务监控数据

需要技能及相关引用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants