-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The JMX metrics are captured with the JMX Insights component in instrumentation,
the metrics are defined in a YAML format.
Users can extend the provided metrics definitions by providing their own YAML files through the otel.jmx.config configuration option.
Those extra YAML configuration files are provided and managed by the end-user.
With the declarative configuration, we can configure the path to this custom metrics definitions.
However, it could also be interesting to nest the metrics definitions directly into the declarative configuration, hence allowing to configure everything with a single (but large) YAML file.
Doing so could help with the following use-cases:
- configure everything with a single file
- alternative to fetch the metrics definitions from a central remote location (config would be "pushed" instead of "pulled"), see #12775
There are however a few technical challenges:
- the current implementation relies on parsing directly the yaml file (but with the same parser library).
- we need to have an API/SPI that allows to delegate the parsing of declarative config to the JMX Insights component
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
No status