[ 
https://issues.apache.org/jira/browse/FLINK-19122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210758#comment-17210758
 ] 

Chesnay Schepler commented on FLINK-19122:
------------------------------------------

There is no way to set an alias purely for metrics, but you can control the 
task name via the DataSet/-Stream APIs.

Alternatively, you could maybe use the task_id instead; it at least has a 
stable size, although it admittedly can get annoying when you have to match it 
back against the human-readable task name.

> Prometheus scrape generates huge scrape target.
> -----------------------------------------------
>
>                 Key: FLINK-19122
>                 URL: https://issues.apache.org/jira/browse/FLINK-19122
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Metrics
>            Reporter: Harold Dost III
>            Priority: Major
>
> Based on the number sheer size of the labels we are regularly seeing output 
> of 26M from the it seems mostly due to the "task_name"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to