-
Hello, I am currently using an extension to create a custom metrics exporter (https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/examples/extension/README.md). I am asking because I can only know the collection interval I want to set from inside the extension. Could you please let me know? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
yes! you can add your own properties supplier: |
Beta Was this translation helpful? Give feedback.
yes! you can add your own properties supplier:
https://github.com/open-telemetry/opentelemetry-java/blob/e4d5109c496dce9fb2341711e4fbc0c888ecd785/sdk-extensions/autoconfigure-spi/src/main/java/io/opentelemetry/sdk/autoconfigure/spi/AutoConfigurationCustomizer.java#L94-L95