Is your feature request related to a problem? Please describe.
DeclarativeConfigPropertiesBridge bridges yaml files to ConfigProperties.
We want to bridge the other way round - to make declarative config the default.
Describe the solution you'd like
- Create a replacement for DeclarativeConfigPropertiesBridge for extensions and distros.
- Take
|
public final class ConfigPropertiesBackedConfigProvider implements ConfigProvider { |
as a starting point.
- Add some customization logic like in DeclarativeConfigPropertiesBridge to allow extensions and distros to more freedom to choose a more idiomatic yaml file representation
- Also deprecate DeclarativeConfigPropertiesBridge and remove after a while (or in 3.0)
Where:
Describe alternatives you've considered
No response
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Is your feature request related to a problem? Please describe.
DeclarativeConfigPropertiesBridge bridges yaml files to ConfigProperties.
We want to bridge the other way round - to make declarative config the default.
Describe the solution you'd like
opentelemetry-java-instrumentation/declarative-config-bridge/src/main/java/io/opentelemetry/instrumentation/config/bridge/ConfigPropertiesBackedConfigProvider.java
Line 19 in 92475f1
Where:
Describe alternatives you've considered
No response
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.