Closed as not planned
Description
There are some scenarios when scrapers emit metrics for too many different resource attributes. We need to introduce a configuration interface generated and applied to every item in resource_attributes
section that users can use to reduce the set of emitted resource attribute metrics.
We already have an option to disable resource attributes like this:
resource_attributes:
process.command_line:
enabled: false
We can add an option to filter resource metrics in the same configuration section.
So user can do the following:
resource_attributes:
process.command_line:
include:
- "/home/dir/*"
process.owned:
exclude:
- "root"
The exact filtering interface is still to be defined.
Originally suggested in #8188 (comment)
Activity