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

自定义的指标没有 common tag #1

Open
penglingfeng1995 opened this issue Jul 8, 2022 · 0 comments
Open

自定义的指标没有 common tag #1

penglingfeng1995 opened this issue Jul 8, 2022 · 0 comments

Comments

@penglingfeng1995
Copy link

貌似用 io.prometheus.client.CollectorRegistry 注册 io.prometheus.client.Counter ,绕过了 spring 结合 micrometer的那套机制,通过 io.micrometer.core.instrument.MeterRegistry 配置的common tag 没办法作用于自定义的metric ,micrometer 自己也有个 io.micrometer.core.instrument.Counter , 用这个注册可以有标签但是不好用,且不能发pushgateway

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

No branches or pull requests

1 participant