Add a "enable_metrics" or "include_metrics" option #3234
Labels
agent-java
community
Issues and PRs created by the community
enhancement
Enhancement of an existing feature
Is your feature request related to a problem?
Currently, I'm able to define which metrics are disabled, but on the contrary, I can't define which metrics are enabled/included. So with a library like micrometers, lots of metrics are by default included, that is too much.
Describe the solution you'd like
I would like a new option that allows to define which metrics are enabled/disabled. It could be called "enable_metrics" or "include_metrics", and it would be complementary with "disable_metrics". First "enable_metrics" define a first list of collected metrics, then "disable_metrics" remove some metrics from this list.
Describe alternatives you've considered
I don't see an alternative
The text was updated successfully, but these errors were encountered: