Skip to content

Commit dd3b82b

Browse files
authored
Update links to openmetrics to reference the v1.0.0 release (#36825)
Related to prometheus/OpenMetrics#287 The OM 2.0 effort is kicked off, and will start developing on main. This updates the links to OpenMetrics to reference the 1.0 release. The OM project has also been moved into the prometheus github org.
1 parent 5e36f55 commit dd3b82b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/translator/prometheus/normalize_name.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
// OTLP metrics use the c/s notation as specified at https://ucum.org/ucum.html
1616
// (See also https://github.com/open-telemetry/semantic-conventions/blob/main/docs/general/metrics.md#instrument-units)
1717
// Prometheus best practices for units: https://prometheus.io/docs/practices/naming/#base-units
18-
// OpenMetrics specification for units: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#units-and-base-units
18+
// OpenMetrics specification for units: https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#units-and-base-units
1919
var unitMap = map[string]string{
2020
// Time
2121
"d": "days",

pkg/translator/prometheusremotewrite/helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const (
3737
createdSuffix = "_created"
3838
// maxExemplarRunes is the maximum number of UTF-8 exemplar characters
3939
// according to the prometheus specification
40-
// https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#exemplars
40+
// https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#exemplars
4141
maxExemplarRunes = 128
4242
infoType = "info"
4343
)

0 commit comments

Comments
 (0)