-
-
Notifications
You must be signed in to change notification settings - Fork 757
Open
Labels
Description
As 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
WorkStealingMetricCollectoras 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.
Reactions are currently unavailable