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

Chesnay Schepler commented on FLINK-14634:
------------------------------------------

This part of the code evaluate the [scope 
formats|https://ci.apache.org/projects/flink/flink-docs-master/monitoring/metrics.html#system-scope],
 which are _always _separated by periods, regardless of what is configured as a 
global delimiter.

The only case where this is problematic is if a constant part of a scope format 
is supposed to contain a period; is that your goal?

> 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