how to remove prometheus from Inbound in k8s #8854
-
i have installed linkerd-viz in my k8s cluster, i can view grafana dashboard by viz web, and latency here works great for me, it has defalut config:
my problem is, in my deployment A, inbound has multiple sources,like:
deploy/prometheus exist in any of deployment, but i wish p50 latency can remove |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can try to drop metrics with specific labels by modifying the prometheus scrape config. For example, the proxy job in the snippet above will configure prometheus to scrape the proxies' admin port. You might be able to drop labels based on regex using |
Beta Was this translation helpful? Give feedback.
-
thanks for your reply, i will try this. |
Beta Was this translation helpful? Give feedback.
You can try to drop metrics with specific labels by modifying the prometheus scrape config.
linkerd2/viz/charts/linkerd-viz/templates/prometheus.yaml
Line 88 in 80b2fdb
For example, the proxy job in the snippet above will configure prometheus to scrape the proxies' admin port. You might be able to drop labels based on regex using
labeldrop
?