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

add metadata as labels in prometheus http sd #12130

Closed
Kurok1 opened this issue May 24, 2024 · 1 comment
Closed

add metadata as labels in prometheus http sd #12130

Kurok1 opened this issue May 24, 2024 · 1 comment

Comments

@Kurok1
Copy link
Contributor

Kurok1 commented May 24, 2024

Is your feature request related to a problem? Please describe.
Currently, in the return results of prometheus http sd, each service instance has only one default label (__meta_clusterName) returned. Can the metadata corresponding to the service instance be returned as a label?
Both Consul and Eureka are currently supported. Can Nacos also provide the same features?

目前prometheus http sd的返回结果中,每个服务实例都只有一个默认的label(__meta_clusterName)返回,能否将服务实例对应的元数据,作为label一并返回。
Consul和Eureka目前都支持,Nacos是否也可以提供相同的特性?

@Kurok1
Copy link
Contributor Author

Kurok1 commented May 29, 2024

@i will solve it@

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

No branches or pull requests

2 participants