Metrics update period in Linkerd proxy #4477
-
Hi, I collected some HTTP metrics (e.g., requests per second, success rate) every second from the Linkerd proxy by using custom metrics APIs that I define in the Prometheus adapter configuration. How can I change the update period for HTTP metrics provided by the Linkerd proxy? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Metrics are scraped every 10s by prometheus. You can modify the scrape config and change it to whatever you'd like. The tradeoff is that you'll be increasing the cpu/memory usage of prometheus and increasing the load on all your proxies by a small amount. |
Beta Was this translation helpful? Give feedback.
Metrics are scraped every 10s by prometheus. You can modify the scrape config and change it to whatever you'd like. The tradeoff is that you'll be increasing the cpu/memory usage of prometheus and increasing the load on all your proxies by a small amount.