You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(k, v) -> { thrownewIllegalStateException("Duplicate keys should not exist."); },
() -> newEnumMap<>(TimeUnit.class)
)
);
This is the standard OpenJDK representation for time units but for Dynatrace, we need UCUM-compliant units, e.g.: s instead of seconds, ms instead of milliseconds, etc.
The text was updated successfully, but these errors were encountered:
Reported by @pirgeo.
MeterRegistry
implementations mappingTimeUnits
to a string representation using its.toString()
through this cache:micrometer/micrometer-core/src/main/java/io/micrometer/core/instrument/MeterRegistry.java
Lines 70 to 78 in eff8a61
This is the standard OpenJDK representation for time units but for Dynatrace, we need UCUM-compliant units, e.g.:
s
instead ofseconds
,ms
instead ofmilliseconds
, etc.The text was updated successfully, but these errors were encountered: