Metrics
The framework exposes metrics through Quarkus and Micrometer, giving step-level visibility into throughput, latency, and failures.
Built-in Metrics
Typical metrics you can expect to expose:
- Execution duration per step
- Success and failure counts
- End-to-end pipeline latency
- Throughput and backpressure signals
- Error rates by step and error type
Micrometer Integration
Micrometer is the default metrics façade. You can export to Prometheus or other backends supported by Quarkus.
properties
quarkus.micrometer.export.prometheus.enabled=true
quarkus.micrometer.export.prometheus.path=/q/metricsDashboards
Pair metrics with Grafana dashboards that show:
- Step latency percentiles (p95/p99)
- Throughput per step
- Error rate by step
- Pipeline end-to-end latency
Custom Metrics
Use Micrometer to add counters and timers inside your services:
java
@Inject
MeterRegistry registry;
Timer timer = registry.timer("payment.processing.duration");
Counter success = registry.counter("payment.processing.success");
return timer.recordCallable(() -> processPayment(record));Design Tips
- Prefer low-cardinality labels
- Track user-visible latency
- Align metrics with SLIs/SLOs
- Measure queue depth if you use streaming steps