You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Eric Lee (Jira)" <ji...@apache.org> on 2019/11/06 11:27:00 UTC

[jira] [Created] (FLINK-14634) Metric Option of 'metrics.scope.delimiter' won't work probably.

Eric Lee created FLINK-14634:
--------------------------------

             Summary: 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
         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)