KIP-386 — Standardize on Min/Avg/Max metrics' default value
Accepted Kafka 2.2 Metrics
Changes the default value of Kafka's `Min`, `Avg`, and `Max` JMX metrics from `-Infinity`/`NaN`/`+Infinity` to `-1` (or another well-defined sentinel) when no samples have been recorded. Third-party monitoring systems (Prometheus, Datadog) cannot handle `NaN`/infinity values and either crash or produce misleading alerts on a freshly started broker.
Details
| Author | Stanislav Kozlovski |
| Status | Accepted |
| Kafka Version | 2.2 |
| JIRA | KAFKA-7528 |
| Wiki | View on Apache Wiki |
| Created | 2018-10-22 |
| Last Modified | 2018-11-20 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.