Improve configuration/composition of Prometheus metric collection
See original GitHub issueAs of now, our Prometheus collectors are hard-coded into their respective submodules. This makes it hard to make changes to the metrics we expose. In particular, I see two use cases where better configuration/composability would benefit users:
- Some of the metrics we expose are very detailed and mostly useful for debugging and development purpose. Since there is a cost to each collected metric (in terms of storage, processing time, or $ spent on Cloud services), it would be helpful to be able to configure which (sets of) metrics we want to expose for scraping.
- Extensions or plugins may want to expose additional metrics, see the
WorkStealingMetricCollector
as an example. For these, having an easy way to (un)register collectors would be great.
The first point seems to be related to the second one. If we had an easy way to (un)register collectors, we could have a variety of optional collectors that users could register if desired.
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Configuration - Prometheus.io
If honor_timestamps is set to "true", the timestamps of the metrics exposed ... On large setup it might be a good idea to...
Read more >Prometheus Metrics: A Practical Guide - Tigera
Prometheus is an open-source tool for collecting metrics and sending alerts. ... Recording a value that only increases; Assessing the rate of increase...
Read more >Reducing Prometheus metrics usage with relabeling - Grafana
source_labels : Select one or more labels from the available set · separator : Concatenate selected label values using this character · regex...
Read more >An introduction to Prometheus metrics and performance ...
Prometheus is a metrics collection and alerting tool developed and released to open ... If you need or want better graphing capabilities, ...
Read more >A Deep Dive Into the Four Types of Prometheus Metrics
There are four types of metrics collected by Prometheus as part of its ... Counter metrics are used for measurements that only increase....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 from me. It would let us clean up a lot of secondary steps for collection, drop crick entirely, and remove ugly hacks like the local maximums that are wiped clean at every collection.
Discussion here: https://github.com/dask/distributed/issues/7385