You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "beryllw (via GitHub)" <gi...@apache.org> on 2026/04/27 08:30:29 UTC

[I] Support UTF-8 characters in Prometheus label values [fluss]

beryllw opened a new issue, #3211:
URL: https://github.com/apache/fluss/issues/3211

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar.
   
   
   ### Fluss version
   
   0.9.0 (latest release)
   
   ### Please describe the bug 🐞
   
   When using Fluss with Prometheus reporter, label values containing non-ASCII characters (e.g. Chinese table names, hyphens) are replaced with underscores because AbstractPrometheusReporter applies CHARACTER_FILTER (regex [^a-zA-Z0-9:_]) to both metric/label names and label values.
   However, per the Prometheus data model, label names are restricted to [a-zA-Z0-9_]*, but label values may contain any Unicode characters. The current behavior makes it impossible to preserve hyphens or Chinese characters in label values, which is a valid use case.
   This was also reported and fixed in Flink as FLINK-11174 / PR #7340.
   
   ### Solution
   
   Add a metrics.reporter.prometheus.filter-label-value-characters config option (default true for backward compatibility). When set to false, label values are passed through without character filtering.
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Support UTF-8 characters in Prometheus label values [fluss]

Posted by "luoyuxia (via GitHub)" <gi...@apache.org>.
luoyuxia closed issue #3211: Support UTF-8 characters in Prometheus label values
URL: https://github.com/apache/fluss/issues/3211


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org