kafka
kafka copied to clipboard
KAFKA-19969: Add Per-Topic Observability Metrics for Remote Fetch Quota Enforcement
Remote fetch quota enforcement lacks per-topic visibility, making it difficult to identify which topics consume the most quota or experience throttling.
Add 4 new per-topic metrics:
- RemoteFetchQuotaBytesPerSec: quota bytes consumed per topic
- RemoteFetchQuotaThrottledPerSec: throttled requests per topic
- RemoteFetchQuotaThrottleTimeMs: throttle time distribution
- RemoteFetchSizeBytes: fetch size distribution
@nandini12396 , adding new metrics (public API) needs to go through the KIP process: https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals.