Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-25830

Typo mistake in "Metric Report page" of the documentation

    XMLWordPrintableJSON

Details

    Description

      Hi, I think I find a typo mistake in the documentation:

      This page:"Report page" .

      In the YAML part:

      ```yaml
      metrics.reporters: my_jmx_reporter,my_other_reporter
      
      metrics.reporter.my_jmx_reporter.factory.class: org.apache.flink.metrics.jmx.JMXReporterFactory
      metrics.reporter.my_jmx_reporter.port: 9020-9040
      metrics.reporter.my_jmx_reporter.scope.variables.excludes:job_id;task_attempt_num
      metrics.reporter.my_jmx_reporter.scope.variables.additional: cluster_name:my_test_cluster,tag_name:tag_value
      
      metrics.reporter.my_other_reporter.class: org.apache.flink.metrics.graphite.GraphiteReporter
      metrics.reporter.my_other_reporter.host: 192.168.1.1
      metrics.reporter.my_other_reporter.port: 10000
      ```
      

      This property: metrics.reporter.my_jmx_reporter.scope.variables.excludes:job_id;task_attempt_num

      If the user copies this property to the conf/flink-conf.yaml, the user will get a warning in the log like this:

      // code placeholder
      2022-01-26 22:45:31,642 WARN  org.apache.flink.configuration.GlobalConfiguration           [] - Error while trying to split key and value in configuration file /opt/module/flink-1.14.2/conf/flink-conf.yaml:277: "metrics.reporter.my_jmx_reporter.scope.variables.excludes:job_id;task_attempt_num"
       

      So there should have a space between "metrics.reporter.my_jmx_reporter.scope.variables.excludes:" and "job_id;task_attempt_num".

       

       

      Attachments

        Issue Links

          Activity

            People

              yckkcy Chengkai Yang
              yckkcy Chengkai Yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: