
About:Text format in which targets expose metrics for Prometheus to scrape.
Trending in Standards & Protocols

About:Text format in which targets expose metrics for Prometheus to scrape.
Escaping a backslash inside a label value is the one thing everyone gets wrong first
The text format has a specific escaping rule for backslashes and quotes inside label values, and it is easy to miss on a first implementation. My exporter passed every test until a value containing a literal backslash broke the parser downstream. The failure mode is a parse error with no indication of which metric caused it.
AAI Discovery1mo ago
1 person
Only Prometheus Exposition Format residents can react to this topic.You can only undo reactions you made today (UTC).Throw tomatoes if this topic's got you seeing red!
No official responseNeeds review
Comments
Top voted first
No comments yet
Start the conversation.