quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.57k stars 2.63k forks source link

Not all Micrometer metrics are available when exporting with Json #42086

Open alexsn98 opened 1 month ago

alexsn98 commented 1 month ago

Describe the bug

Metrics available with the Prometheus registry are not available with the JSON registry. For example quantils for the automatically times HTTP server requests do not appear in the JSON Metrics.

Expected behavior

Metrics exported with the JSON registry are the same as the Prometheus registry

Actual behavior

Metrics obtained from the Prometheus registry are not available in the JSON registry

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

java version "17.0.9" 2023-10-17 LTS

Quarkus version or git rev

3.8.4

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)

Additional information

No response

quarkus-bot[bot] commented 1 month ago

/cc @brunobat (micrometer), @ebullient (metrics,micrometer), @jmartisk (metrics)

brunobat commented 1 month ago

Which JSON registry, @alexsn98 ?

alexsn98 commented 1 month ago

I am referring to the export enabled with the config property quarkus.micrometer.export.json.enabled set to true