prometheus/model
Julien Pivotto ad2f81ef6d textparse: fix parseLVals to only treat quoted strings as metric names
When a label-name position is followed by comma or brace-close, only
treat it as a metric name shorthand if the token was a double-quoted
string (tQString). Bare identifiers must be followed by an equal sign.

Add tests for bare identifier inputs that previously could panic.

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-03-05 15:07:42 +01:00
..
exemplar Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
histogram chore(histogram): Move histogram trimming code out of engine.go (#18185) 2026-02-25 09:10:42 +01:00
labels chore: fix emptyStringTest issues from gocritic (#18226) 2026-03-04 08:24:50 +01:00
metadata refactor(appenderV2): add TSDB AppenderV2 implementation 2025-12-09 10:39:43 +00:00
relabel [REFACTOR] Relabel: Remove unnecessary Process() function 2026-02-06 10:50:16 +00:00
rulefmt Refactor parse.go into an instance-based Parser interface 2026-02-11 11:21:49 +01:00
textparse textparse: fix parseLVals to only treat quoted strings as metric names 2026-03-05 15:07:42 +01:00
timestamp Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
value Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00