Skip to content

Commit 15ec08d

Browse files
authored
fix(om2): clarify empty UNIT/HELP value wording (#2931)
Be more precise about where the empty value appears (before the newline) and align with standard spec language. Coded with Claude Sonnet 4.6. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
1 parent c163130 commit 15ec08d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/specs/om/open_metrics_spec_2_0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ It is also valid to have:
727727

728728
If the unit is known it SHOULD be provided.
729729

730-
The value of a UNIT or HELP line MAY be empty. This MUST be treated as if no metadata line for the MetricFamily existed.
730+
A UNIT or HELP metadata line MAY have an empty value string before the newline. This MUST be treated as if the metadata line were not present.
731731

732732
Full example:
733733

0 commit comments

Comments
 (0)