quarkus-micrometer-registry-prometheus adds Micrometer integration that exposes Quarkus application metrics in Prometheus format. Once enabled, the application collects default metrics and serves them through /q/metrics for inspection or scraping. section 10.3.6
A practical metrics workflow is:
- Start the service in Dev mode and query /q/metrics or open its Prometheus link in Dev UI. section 10.3.6
- Read # HELP and # TYPE lines as metadata, while unprefixed lines contain metric values. section 10.3.6
- Run Prometheus and Grafana with Docker Compose to store and visualize the collected metrics. section 10.3.6
A JVM uptime metric
Prometheus output can expose process_uptime_seconds as a gauge, together with HELP text describing Java virtual-machine uptime.
