Wei-Che Wei created FLINK-8324:
----------------------------------
Summary: Expose another offsets metrics by using new metric API to specify user defined variables
Key: FLINK-8324
URL:
https://issues.apache.org/jira/browse/FLINK-8324 Project: Flink
Issue Type: Improvement
Components: Kafka Connector
Affects Versions: 1.5.0
Reporter: Wei-Che Wei
Assignee: Wei-Che Wei
The {{current-offsets}} and {{committed-offsets}} metrics are now attached with topic name and partition id in the metric identity.
It is not convenient to use these metrics in Prometheus, because user usually uses the same metric group name to group by those metrics which have the same meaning and uses tags to get the individual metric.
For example, I will prefer to access {{current-offsets}} metric group and use {{partition-x}} tag to get the offset of partition x, instead of getting metric directly from {{current-offsets-partition-x}} metric.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)