-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to programmatically customize configuration model when otel.experimental.config.file
is set
#6575
Comments
Hi @jack-berg , |
We might need to provide a declarative config alternative to Or we might say that declarative config customization is limited to customizing the config model (i.e. represented in code by
|
@jack-berg you are right, However, I investigated and explored more in direction of a new spi like
( 5. Also, I tried
in Thoughts, suggestions ? |
Hi, Custom JMX metrics (JMX Insight) are currently supported through a stand-alone YAML file with Do you have ideas how it could work for structured configuration like JMX ? |
@SylvainJuge I think #6549 is what we need |
Yes. The agent already has the ability to read existing flat properties out a structured declarative config YAML config file thanks to this. But what we need for JMX metrics is:
A simple
When we take the steps outlined above, a user will be able to specify this in their declarative config YAML. For example, a user could set
|
This looks definitely nice ! From what I understand the top-level of the configuration file is for the SDK, and everything within For components that are part of "contrib" like the jmx-scraper that depend on instrumentation for their implementation, or other elements that only rely only on the SDK, it means their configuration would be nested in I haven't though much about this, but wouldn't it be simpler if we move the |
The OTEL_EXPERIMENTAL_CONFIG_FILE spec describes a mechanism for the parsed configuration model to be customized:
We should add support for this.
The text was updated successfully, but these errors were encountered: