Configurable base time unit for OTLP registry #3870
Labels
enhancement
A general enhancement
registry: otlp
OpenTelemetry Protocol (OTLP) registry-related
spring-boot change
Change is needed in Spring Boot for this issue
Milestone
We avoid making the base time unit configurable because it can lead to nasty issues if different applications are producing metrics data for the same meters in different units. However, it doesn't look hopeful open-telemetry/opentelemetry-collector-contrib#18903 is going to be resolved, and it's also not great that data from the OTLP registry through the Collector to Prometheus is going to have a different unit than everything else Prometheus scrapes (presumably, since Prometheus asks producers to use seconds for time).
We'll have to discuss this and what, if anything, it makes sense for us to do in Micrometer.
The text was updated successfully, but these errors were encountered: