From 4a8c18dee6da22b56e809e269a23804aa2e86ed1 Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Fri, 13 Dec 2024 21:02:12 +0000 Subject: [PATCH] update links to openmetrics to reference the v1.0.0 release --- .../src/proto/tonic/opentelemetry.proto.metrics.v1.rs | 6 +++--- opentelemetry-semantic-conventions/src/metric.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/opentelemetry-proto/src/proto/tonic/opentelemetry.proto.metrics.v1.rs b/opentelemetry-proto/src/proto/tonic/opentelemetry.proto.metrics.v1.rs index 66e316689d..8bce73e614 100644 --- a/opentelemetry-proto/src/proto/tonic/opentelemetry.proto.metrics.v1.rs +++ b/opentelemetry-proto/src/proto/tonic/opentelemetry.proto.metrics.v1.rs @@ -437,7 +437,7 @@ pub struct HistogramDataPoint { /// events, and is assumed to be monotonic over the values of these events. /// Negative events *can* be recorded, but sum should not be filled out when /// doing so. This is specifically to enforce compatibility w/ OpenMetrics, - /// see: + /// see: #[prost(double, optional, tag = "5")] pub sum: ::core::option::Option, /// bucket_counts is an optional field contains the count values of histogram @@ -520,7 +520,7 @@ pub struct ExponentialHistogramDataPoint { /// events, and is assumed to be monotonic over the values of these events. /// Negative events *can* be recorded, but sum should not be filled out when /// doing so. This is specifically to enforce compatibility w/ OpenMetrics, - /// see: + /// see: #[prost(double, optional, tag = "5")] pub sum: ::core::option::Option, /// scale describes the resolution of the histogram. Boundaries are @@ -643,7 +643,7 @@ pub struct SummaryDataPoint { /// events, and is assumed to be monotonic over the values of these events. /// Negative events *can* be recorded, but sum should not be filled out when /// doing so. This is specifically to enforce compatibility w/ OpenMetrics, - /// see: + /// see: #[prost(double, tag = "5")] pub sum: f64, /// (Optional) list of values at different quantiles of the distribution calculated diff --git a/opentelemetry-semantic-conventions/src/metric.rs b/opentelemetry-semantic-conventions/src/metric.rs index 837101e0df..94273b321f 100644 --- a/opentelemetry-semantic-conventions/src/metric.rs +++ b/opentelemetry-semantic-conventions/src/metric.rs @@ -1836,7 +1836,7 @@ pub const HW_POWER: &str = "hw.power"; /// /// ## Notes /// -/// `hw.status` is currently specified as an *UpDownCounter* but would ideally be represented using a [*StateSet* as defined in OpenMetrics](https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#stateset). This semantic convention will be updated once *StateSet* is specified in OpenTelemetry. This planned change is not expected to have any consequence on the way users query their timeseries backend to retrieve the values of `hw.status` over time +/// `hw.status` is currently specified as an *UpDownCounter* but would ideally be represented using a [*StateSet* as defined in OpenMetrics](https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#stateset). This semantic convention will be updated once *StateSet* is specified in OpenTelemetry. This planned change is not expected to have any consequence on the way users query their timeseries backend to retrieve the values of `hw.status` over time /// ## Metadata /// | | | /// |:-|:-