prometheus / prometheus/client_rust
UTF-8: Implement support in Rust client library
Open
@ywwg is already working on this.
Since Feb 28, 2025.
help wanted
priority/P3
- Dominant language
- Rust
- Stars
- 606
- Forks
- 113
- Avg merge
- 9h 7m
- Merged PRs (30d)
- 8
Description
As in https://github.com/prometheus/client_golang/issues/1369 and https://github.com/prometheus/client_java/issues/916, the Rust client library needs to be updated to support UTF-8.
Tasks:
- Add flag to enable change in validation logic to check that metric and label names are UTF-8 valid instead of the old letters/numbers/underscores/colons set
- Update exposition format parsers for the new syntax
- Update PromQL parsers (if any) for the new syntax
- Update content negotiation logic
For background and references see https://github.com/prometheus/prometheus/issues/13095
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.