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

Chesnay Schepler commented on FLINK-20388:
------------------------------------------

I would argue that this is a problem of the operator name generation then 
(e.g., batch operators are notorious in this regard due to them including line 
numbers etc.).

Why would we want users to explicitly set the operator name for metrics, but 
not for the operator as a whole?

> Supports users setting operators' metrics name
> ----------------------------------------------
>
>                 Key: FLINK-20388
>                 URL: https://issues.apache.org/jira/browse/FLINK-20388
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / DataStream, Runtime / Metrics
>            Reporter: hailong wang
>            Priority: Major
>
> Currently, we only support users setting operators name.
> And we use those in the topology to distinguish operators, at the same time,  
> as the operator metrics name.
> If the operator name length is larger than 80, we truncate it simply.
> I think we can allow users to set operator metrics name like operators name. 
> If the user is not set, use the current way.



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

Reply via email to