You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kevin Lu (JIRA)" <ji...@apache.org> on 2017/09/28 22:53:00 UTC
[jira] [Updated] (KAFKA-5991) Change Consumer per partition lag
metrics to put topic-partition-id in tags instead of metric name
[ https://issues.apache.org/jira/browse/KAFKA-5991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Lu updated KAFKA-5991:
----------------------------
Description:
[KIP-92|https://cwiki.apache.org/confluence/display/KAFKA/KIP-92+-+Add+per+partition+lag+metrics+to+KafkaConsumer] brought per partition lag metrics to KafkaConsumer, but these metrics put the "TOPIC-PARTITION_ID" inside of the metric name itself. These metrics should instead utilize the tags and put key="topic-partition" and value="TOPIC-PARTITION_ID".
Per-broker (node) and per-topic metrics utilize tags in this way by putting key="node/topic" and value="NODE_ID/TOPIC_NAME".
was:
A KIP will be needed for this (?) as this requires a change to the public API (metric).
[KIP-92](https://cwiki.apache.org/confluence/display/KAFKA/KIP-92+-+Add+per+partition+lag+metrics+to+KafkaConsumer) brought per partition lag metrics to KafkaConsumer, but these metrics put the "TOPIC-PARTITION_ID" inside of the metric name itself. These metrics should instead utilize the tags and put key="topic-partition" and value="TOPIC-PARTITION_ID".
Per-broker (node) and per-topic metrics utilize tags in this way by putting key="node/topic" and value="NODE_ID/TOPIC_NAME".
> Change Consumer per partition lag metrics to put topic-partition-id in tags instead of metric name
> --------------------------------------------------------------------------------------------------
>
> Key: KAFKA-5991
> URL: https://issues.apache.org/jira/browse/KAFKA-5991
> Project: Kafka
> Issue Type: Improvement
> Affects Versions: 0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.2.0, 0.11.0.0
> Reporter: Kevin Lu
> Priority: Minor
> Labels: metrics
>
> [KIP-92|https://cwiki.apache.org/confluence/display/KAFKA/KIP-92+-+Add+per+partition+lag+metrics+to+KafkaConsumer] brought per partition lag metrics to KafkaConsumer, but these metrics put the "TOPIC-PARTITION_ID" inside of the metric name itself. These metrics should instead utilize the tags and put key="topic-partition" and value="TOPIC-PARTITION_ID".
> Per-broker (node) and per-topic metrics utilize tags in this way by putting key="node/topic" and value="NODE_ID/TOPIC_NAME".
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)