All of our configuration options are currently stored as standard system properties. We need to create utilities to be able to convert from system property to the declarative configuration equivalent.
See the POC example
Here is the source for the "special" mapped properties: https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/declarative-config-bridge/src/main/java/io/opentelemetry/instrumentation/config/bridge/ConfigPropertiesBackedDeclarativeConfigProperties.java
All of our configuration options are currently stored as standard system properties. We need to create utilities to be able to convert from system property to the declarative configuration equivalent.
See the POC example
Here is the source for the "special" mapped properties: https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/declarative-config-bridge/src/main/java/io/opentelemetry/instrumentation/config/bridge/ConfigPropertiesBackedDeclarativeConfigProperties.java