From c7ea28c36b1e043dfa02a9867aac0be5342362a6 Mon Sep 17 00:00:00 2001 From: Rafal Rosa Date: Sun, 23 Mar 2025 11:41:48 +0000 Subject: [PATCH] parser: remove expired link from comment (#16189) * Replace OpenMetrics link with the current specification --------- Signed-off-by: pomyslowynick Signed-off-by: Rafal Rosa Co-authored-by: Bartlomiej Plotka --- model/textparse/openmetricsparse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/textparse/openmetricsparse.go b/model/textparse/openmetricsparse.go index cea548ccbd..602fe5b5ae 100644 --- a/model/textparse/openmetricsparse.go +++ b/model/textparse/openmetricsparse.go @@ -73,7 +73,7 @@ func (l *openMetricsLexer) Error(es string) { // OpenMetricsParser parses samples from a byte slice of samples in the official // OpenMetrics text exposition format. -// This is based on the working draft https://docs.google.com/document/u/1/d/1KwV0mAXwwbvvifBvDKH_LU1YjyXE_wxCkHNoCGq1GX0/edit +// Specification can be found at https://prometheus.io/docs/specs/om/open_metrics_spec/ type OpenMetricsParser struct { l *openMetricsLexer builder labels.ScratchBuilder