Avishek Das created KAFKA-21643:
-----------------------------------
Summary: Add opt-in per-principal remote storage fetch metrics
(KIP-XXXX)
Key: KAFKA-21643
URL: https://issues.apache.org/jira/browse/KAFKA-21643
Project: Kafka
Issue Type: Improvement
Components: Tiered-Storage
Reporter: Avishek Das
With Tiered Storage, the broker exposes remote fetch metrics only per topic and
per broker
[KIP-963|https://cwiki.apache.org/confluence/spaces/KAFKA/pages/263426481/KIP-963+Additional+metrics+in+Tiered+Storage],
so operators cannot tell which principal is reading from remote storage or
from which topic. This adds opt-in metrics keyed by authenticated principal and
topic, with optional client-id: remote-fetch-byte-rate/total and
remote-fetch-request-rate/total under
kafka.server:type=remote-fetch-principal-metrics. It is disabled by default
(remote.fetch.principal.metrics.enable), with idle keys expiring after
remote.fetch.principal.metrics.ttl.ms. Details are in the KIP:
https://cwiki.apache.org/confluence/spaces/KAFKA/pages/467436009/Per-Principal+Remote+Storage+Fetch+Metrics
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)