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

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

The delimiter used in the scope-format is is no way connected to the actual 
delimiter used at runtime.

If you configure {{|}} as the global delimiter, and {{<host>.jobmanager}} as 
the scope format, then the final scope at runtime will be something like 
{{localhost|jobmanager}}.
The period in the scope format only separates components of the format, it does 
not control which delimiter is used at runtime.

> 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