[ 
https://issues.apache.org/jira/browse/FLINK-24891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Echo Lee updated FLINK-24891:
-----------------------------
    Description: 
Sometimes, we don’t care some label keys, such as host, tm_id, etc. At the same 
time, we can make the label very short.

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")

  was:
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")


> 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
>            Priority: Major
>             Fix For: 1.15.0
>
>
> Sometimes, we don’t care some label keys, such as host, tm_id, etc. At the 
> same time, we can make the label very short.
> 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)

Reply via email to