~/talk

Why Not Just Dots? UTF-8 Support in Prometheus 3.0

Talkat PromCon EU 2024 · 2024-09-11..09-12· [databases]
links:none on file
slides:none on file

Prometheus 3.0 adds full UTF-8 metric and label names with a new quoting syntax that preserves dot as a potential operator and avoids simply allowing periods in identifiers. The implementation changes a global UTF-8 validation flag in the common model, already updated in ~8–9 language bindings, and uses content-negotiation escaping (underscore, dot-aware, or roundtrip value-encoding) for incompatible consumers. The TSDB already stores UTF-8 strings; query time merges escaped and UTF-8 names so migrations work without data loss.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:07Legacy character set limitations
  3. 3:09Why dots alone weren't enough
  4. 5:35Full UTF-8 support decision
  5. 7:20Quoting syntax for parsing
  6. 10:05New metric name syntax
  7. 12:01Quick demo of UTF-8 metrics
  8. 13:04Enabling UTF-8 in Prometheus
  9. 16:34Content negotiation with escaping
  10. 17:15Demo of content negotiation
  11. 19:04Prometheus 3 default behavior
  12. 20:07Current implementation status
  13. 22:15Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.