quarkus icon indicating copy to clipboard operation
quarkus copied to clipboard

Upgrade Micrometer to 1.16

Open brunobat opened this issue 1 month ago • 4 comments

Description

There are potencial breaking changes due to JVM metrics now following the OTel sem. convs. See: https://github.com/quarkusio/quarkus/pull/50909

Implementation ideas

No response

brunobat avatar Nov 07 '25 09:11 brunobat

/cc @ebullient (micrometer)

quarkus-bot[bot] avatar Nov 07 '25 09:11 quarkus-bot[bot]

@brunobat any idea in which Quarkus release we're likely to see this upgrade?

jamesnetherton avatar Nov 25 '25 08:11 jamesnetherton

Still no ETA but I think it's doable before the end of the year.

brunobat avatar Nov 25 '25 08:11 brunobat

Looks like Micrometer 1.16.0 introduced 'meter conventions' for 'jvm' and 'system' metrics that allow either the existing Micrometer conventions or the new OpenTelemetry conventions to be used [1]. By default, the existing Micrometer conventions are used, and will continue to be used in Quarkus unless configured otherwise.

In order to use OpenTelemetry semantic conventions, Quarkus would need to provide OpenTelemetry versions of the 'meter conventions' in MicrometerRecorder. For example:

new ClassLoaderMetrics(new OpenTelemetryJvmClassLoadingMeterConventions()).bindTo(Metrics.globalRegistry);

  1. https://github.com/micrometer-metrics/micrometer/pull/6682

jonomorris avatar Dec 07 '25 11:12 jonomorris