|
For the latest stable version, please use Korvet 0.12.5! |
Metrics Reference
Korvet exposes metrics in Prometheus format via Spring Boot Actuator.
Korvet Custom Metrics
Produce Metrics
| Metric | Description | Tags |
|---|---|---|
|
Number of messages produced |
|
|
Produce request latency (histogram) |
|
JVM Metrics
Standard JVM metrics from Micrometer:
| Metric | Description |
|---|---|
|
JVM memory used |
|
JVM maximum memory |
|
Garbage collection pause time |
|
Live threads |
|
Process CPU usage |
System Metrics
| Metric | Description |
|---|---|
|
System CPU usage |
|
System load average (1 minute) |
|
Free disk space |
|
Total disk space |
Querying Metrics
Prometheus Queries
Korvet Metrics
Messages produced per topic:
sum by (topic) (korvet_produce_messages_total)
Produce latency (p99) per topic:
histogram_quantile(0.99, sum by (topic, le) (rate(korvet_produce_latency_seconds_bucket[5m])))
Fetch latency (p95) per topic:
histogram_quantile(0.95, sum by (topic, le) (rate(korvet_fetch_latency_seconds_bucket[5m])))
Messages fetched by storage tier:
sum by (tier) (korvet_fetch_messages_total)
Error rate by operation:
sum by (operation) (rate(korvet_errors_total[5m]))