The introduction of multi-tag metrics in MicroProfile Metrics 2.0 necessitated changes in the format of metric data that is made available to clients.
The Prometheus format also had some inconsistencies, so we decided to revamp the formats in sometimes incompatible ways:
- The colon (:) as a separator between the scope and metric name has been changed to an underscore (_).
- The Prometheus output format no longer requires that camelCase is turned into snake_case.
- The format of the base metrics for garbage collectors has changed and now uses tags for the various garbage collectors.
Please consult the release notes in the MicroProfile 2.0 specification at https://github.com/eclipse/microprofile-metrics/releases/tag/2.0 ...