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

"StatsDReporter. FilterCharacters" for special processing of the characters are comprehensive enough

    XMLWordPrintableJSON

Details

    Description

      I based on the 「org.Apache.Flink.Metrics.Statsd.StatsDReporter」 metrics collection, query and display and use 「Graphite」, I found some flink metrics cannot be queried to, after screening, I found the reason, These indicators cannot be parsed because they contain space characters. I further track source code, I found 「StatsDReporter.FilterCharacters」 function for the processing of special characters is not qualified, only to replace ":" character, for other special characters and didn't do a good replacement, such as a space character.

      https://nightlies.apache.org/flink/flink-docs-master/docs/ops/metrics/#garbagecollection

      JVM "Garbagecollection" grouping, indicators have space characters, indicators cannot be used because indicators cannot be correctly parsed and stored in the database. 

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              赵富午 赵富午
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: