O'Reilly logo

Hands-On Enterprise Java Microservices with Eclipse MicroProfile by Scott Stark, Antoine Sabot-Durand, Pavol Loffay, Jeff Mesnil, Heiko W. Rupp, Cesar Saavedra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Changes in data output format

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required