Universe ships two metrics extension JARs that implement theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/universeclouddev/Universe/llms.txt
Use this file to discover all available pages before exploring further.
MetricsProvider interface: one for Prometheus (pull-based) and one for InfluxDB 2.x (push-based). Both use Micrometer under the hood and record the same set of Universe-specific gauges and counters — the difference is only in how metrics are delivered to your monitoring stack.
Only one
MetricsProvider can be active at a time. If you load both extension JARs, the last one registered during startup wins. Use extension list to verify which provider is active, and remove the unwanted JAR from ./extensions/ to disable it.Available Metrics
Both extensions record the following metrics:| Metric | Type | Tags | Description |
|---|---|---|---|
universe.instances | Gauge | state=online/offline/stopped | Number of instances per state |
universe.nodes | Gauge | — | Total connected cluster nodes |
universe.configs | Gauge | — | Number of loaded instance configurations |
universe.node.ram | Gauge | node_id=... | RAM usage reported by each node (MB) |
universe.node.cpu | Gauge | node_id=... | CPU usage reported by each node (0.0–1.0) |
- JVM Memory — heap and non-heap usage, GC pool breakdown
- JVM GC — collection counts and pause times
- JVM Threads — live, daemon, and peak thread counts
- CPU — system and process CPU usage
- Uptime — JVM uptime in seconds
- Prometheus
- InfluxDB
The Prometheus extension registers a The endpoint returns plain text in the standard Prometheus exposition format. It requires no authentication.Prometheus scrape configuration:Example metric output:Grafana dashboard: Import the JVM Micrometer dashboard (ID
PrometheusMeterRegistry and exposes metrics in Prometheus text format at the /api/metrics endpoint on the Master node’s REST API port.Installation: Place extension-metrics-prometheus.jar in ./extensions/ and restart Universe. No configuration file is needed.Scrape endpoint:4701) from grafana.com as a starting point, then add panels for the universe.* metrics.Implementing a Custom MetricsProvider
You can ship your own metrics backend as an extension by implementing theMetricsProvider interface and registering it via MetricsRegistry. See Building Extensions for details.