Echo Lee created FLINK-24891: -------------------------------- Summary: PrometheusPushGatewayReporter support filter label keys Key: FLINK-24891 URL: https://issues.apache.org/jira/browse/FLINK-24891 Project: Flink Issue Type: New Feature Components: Runtime / Metrics Affects Versions: 1.14.0 Reporter: Echo Lee Fix For: 1.15.0
Sometimes, we don’t care some label keys. At the same time, we can make the label very short, such as host, tm_id, etc., So we need to support filtering some labels, such as the introduction of similar *filterLabelKeys* parameters, the value can be multiple, separated by semicolons, For example, configuration.setString("metrics.reporter.promgateway.filterLabelKeys", "host;tm_id;task_attempt_id;job_id;job_name") -- This message was sent by Atlassian Jira (v8.20.1#820001)