You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Fan weiwen (JIRA)" <ji...@apache.org> on 2018/12/17 06:07:00 UTC

[jira] [Created] (FLINK-11174) flink Metrics Prometheus labels support chinese

Fan weiwen created FLINK-11174:
----------------------------------

             Summary: flink Metrics Prometheus labels support chinese
                 Key: FLINK-11174
                 URL: https://issues.apache.org/jira/browse/FLINK-11174
             Project: Flink
          Issue Type: Improvement
          Components: Metrics
    Affects Versions: 1.7.0, 1.6.2
            Reporter: Fan weiwen


use flink metrics and Prometheus 

my job name is chinese 

but  org.apache.flink.metrics.prometheus.AbstractPrometheusReporter

replaceInvalidChars  only support  [a-zA-Z0-9:_] 

so my job name is  replaceAll  ____

 

i think  labels key is  [a-zA-Z0-9:_]  ok 

but  labels value  can support chinese?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)