osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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)