From 0bb92320532194214174a2ce88f58f9c4dbb1971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20Krajcsovits?= Date: Thu, 26 Mar 2026 10:30:18 +0100 Subject: [PATCH] fix(om2): clarify empty UNIT/HELP value wording MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Be more precise about where the empty value appears (before the newline) and align with standard spec language. Signed-off-by: György Krajcsovits Coded with Claude Sonnet 4.6. --- docs/specs/om/open_metrics_spec_2_0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/specs/om/open_metrics_spec_2_0.md b/docs/specs/om/open_metrics_spec_2_0.md index 8456bdcb3..eb9b9afe0 100644 --- a/docs/specs/om/open_metrics_spec_2_0.md +++ b/docs/specs/om/open_metrics_spec_2_0.md @@ -717,7 +717,7 @@ It is also valid to have: If the unit is known it SHOULD be provided. -The value of a UNIT or HELP line MAY be empty. This MUST be treated as if no metadata line for the MetricFamily existed. +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. Full example: