From 1adc99464d10bfd21e202d50a3fcfadfc3a886cf Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Mon, 6 Jan 2025 12:12:15 -0500 Subject: [PATCH] docs: update openmetrics links to v1.0.0 release (#253) Signed-off-by: David Ashpole --- src/encoding/protobuf.rs | 2 +- src/encoding/text.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/encoding/protobuf.rs b/src/encoding/protobuf.rs index 5ec54c9..3c59814 100644 --- a/src/encoding/protobuf.rs +++ b/src/encoding/protobuf.rs @@ -14,7 +14,7 @@ //! # counter.clone(), //! # ); //! # counter.inc(); -//! // Returns `MetricSet`, the top-level container type. Please refer to [openmetrics_data_model.proto](https://github.com/OpenObservability/OpenMetrics/blob/main/proto/openmetrics_data_model.proto) for details. +//! // Returns `MetricSet`, the top-level container type. Please refer to [openmetrics_data_model.proto](https://github.com/prometheus/OpenMetrics/blob/v1.0.0/proto/openmetrics_data_model.proto) for details. //! let metric_set = encode(®istry).unwrap(); //! //! let family = metric_set.metric_families.first().unwrap(); diff --git a/src/encoding/text.rs b/src/encoding/text.rs index 8f3c63d..f10cf1d 100644 --- a/src/encoding/text.rs +++ b/src/encoding/text.rs @@ -53,7 +53,7 @@ use std::fmt::Write; /// /// Use [`encode_registry`] or [`encode_eof`] if partial encoding is needed. /// -/// See [OpenMetrics exposition format](https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#text-format) +/// See [OpenMetrics exposition format](https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#text-format) /// for additional details. /// /// # Examples