[ https://issues.apache.org/jira/browse/FLINK-20388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240716#comment-17240716 ]
Chesnay Schepler commented on FLINK-20388: ------------------------------------------ And how will it generate that metric name? take the first N characters, and append a hash of the rest? (This idea came up in the past and could be done automatically in the metric system; no need to pollute the API any further) > 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)