prometheus / prometheus/client_ruby

UTF-8: Implement support in Ruby client library

Open
#306 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Help wanted priority/p2
Dominant language
Ruby
Stars
558
Forks
154
PR merge metrics
No merged PRs in 30d

Description

As in https://github.com/prometheus/client_golang/issues/1369 and https://github.com/prometheus/client_java/issues/916, the Ruby 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced client_golang issue 1369, client_java issue 916, and Prometheus issue 13095 to understand the UTF-8 syntax and compatibility expectations. Then locate the Ruby client's validation, exposition parsing, PromQL parsing, and content-negotiation entry points. Done means completing each listed task, including the opt-in validation behavior and updated syntax handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.