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

Eric Lee commented on FLINK-14634:
----------------------------------

Yes, under certain circumstances, it will happen.

Also, I think we can't always make an assumption that people always use a 
period as default delimiter. It's also possible that users set '|' or other 
characters as the default delimiter if they have set the 'metrics.scope.jm
' with value '<host>|jobmanager'. There are some logical errors here.

> Metric Option of 'metrics.scope.delimiter' won't work probably.
> ---------------------------------------------------------------
>
>                 Key: FLINK-14634
>                 URL: https://issues.apache.org/jira/browse/FLINK-14634
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Metrics
>         Environment: Flink 1.9.0
> JDK 1.8
>            Reporter: Eric Lee
>            Priority: Major
>         Attachments: 5506F8C7-ACCA-44E8-9BA9-D6023E02B633.png, 
> C99D8A02-9C7A-4809-B151-93CE166E92DC.png
>
>
> In the `master` branch, when initializing the metricRegistryConfiguration, 
> the configuration of `metrics.scope.delimiter` doesn't work probably because 
> the user-defined delimiter is not used in the process of constructing 
> `ScopeFormat` which uses the fixed character - `.` as the delimiter.
> 1. Attachment 1 shows that in the process of constructing `ScopeFormat`, `.` 
> is used as the default delimiter rather than user-defined delimiter.
> 2. Attachment 2 illustrates that the wrong order of using user-defined 
> delimiter.



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

Reply via email to