Skip to content

Commit 4a8c18d

Browse files
committed
update links to openmetrics to reference the v1.0.0 release
1 parent d2e179e commit 4a8c18d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

opentelemetry-proto/src/proto/tonic/opentelemetry.proto.metrics.v1.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ pub struct HistogramDataPoint {
437437
/// events, and is assumed to be monotonic over the values of these events.
438438
/// Negative events *can* be recorded, but sum should not be filled out when
439439
/// doing so. This is specifically to enforce compatibility w/ OpenMetrics,
440-
/// see: <https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram>
440+
/// see: <https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#histogram>
441441
#[prost(double, optional, tag = "5")]
442442
pub sum: ::core::option::Option<f64>,
443443
/// bucket_counts is an optional field contains the count values of histogram
@@ -520,7 +520,7 @@ pub struct ExponentialHistogramDataPoint {
520520
/// events, and is assumed to be monotonic over the values of these events.
521521
/// Negative events *can* be recorded, but sum should not be filled out when
522522
/// doing so. This is specifically to enforce compatibility w/ OpenMetrics,
523-
/// see: <https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram>
523+
/// see: <https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#histogram>
524524
#[prost(double, optional, tag = "5")]
525525
pub sum: ::core::option::Option<f64>,
526526
/// scale describes the resolution of the histogram. Boundaries are
@@ -643,7 +643,7 @@ pub struct SummaryDataPoint {
643643
/// events, and is assumed to be monotonic over the values of these events.
644644
/// Negative events *can* be recorded, but sum should not be filled out when
645645
/// doing so. This is specifically to enforce compatibility w/ OpenMetrics,
646-
/// see: <https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary>
646+
/// see: <https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#summary>
647647
#[prost(double, tag = "5")]
648648
pub sum: f64,
649649
/// (Optional) list of values at different quantiles of the distribution calculated

opentelemetry-semantic-conventions/src/metric.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,7 @@ pub const HW_POWER: &str = "hw.power";
18361836
///
18371837
/// ## Notes
18381838
///
1839-
/// `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
1839+
/// `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
18401840
/// ## Metadata
18411841
/// | | |
18421842
/// |:-|:-

0 commit comments

Comments
 (0)