Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

excluding grpc.health.v1.Health from server metrics #77

Open
electron0zero opened this issue Jul 23, 2019 · 1 comment
Open

excluding grpc.health.v1.Health from server metrics #77

electron0zero opened this issue Jul 23, 2019 · 1 comment

Comments

@electron0zero
Copy link

I would like to exclude all metrics from grpc.health.v1.Health from list of metrics that are collection from my grpc server.
I looked for it code but couldn't figure out how to do it.

Is there are way to do it?, any pointers would be helpful.

Thanks

@zifter
Copy link

zifter commented Feb 10, 2023

How is looking solution for that:
It's possible to drop metrics for label grpc_service with value grpc.health.v1.Health using https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs

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

No branches or pull requests

2 participants