From 9e7c1b3b3bff53cdce5dcd7fd139343be36862b2 Mon Sep 17 00:00:00 2001 From: taloric <45836837+taloric@users.noreply.github.com> Date: Fri, 17 Jun 2022 00:54:57 +0800 Subject: [PATCH] Fix urls which can not access (#402) - Fix some out-of-date urls which link to [specification](https://github.com/open-telemetry/opentelemetry-specification). - .../metrics/datamodel.md -> .../metrics/data-model.md - .../common/common.md#attributes -> .../common/README.md#attribute --- CHANGELOG.md | 1 + opentelemetry/proto/metrics/v1/metrics.proto | 2 +- opentelemetry/proto/trace/v1/trace.proto | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd7ad8f5b..363d9f7be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ Full list of differences found in [this compare](https://github.com/open-telemet * Add `csharp_namespace` option to protos. ([#399](https://github.com/open-telemetry/opentelemetry-proto/pull/399)) +* Fix some out-of-date urls which link to [specification](https://github.com/open-telemetry/opentelemetry-specification). ([#402](https://github.com/open-telemetry/opentelemetry-proto/pull/402)) ### Added diff --git a/opentelemetry/proto/metrics/v1/metrics.proto b/opentelemetry/proto/metrics/v1/metrics.proto index 205e986e7..1f77dc0ef 100644 --- a/opentelemetry/proto/metrics/v1/metrics.proto +++ b/opentelemetry/proto/metrics/v1/metrics.proto @@ -123,7 +123,7 @@ message InstrumentationLibraryMetrics { // Defines a Metric which has one or more timeseries. The following is a // brief summary of the Metric data model. For more details, see: // -// https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md +// https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/data-model.md // // // The data model and relation between entities is shown in the diff --git a/opentelemetry/proto/trace/v1/trace.proto b/opentelemetry/proto/trace/v1/trace.proto index 1d840cd63..25ed3f4ad 100644 --- a/opentelemetry/proto/trace/v1/trace.proto +++ b/opentelemetry/proto/trace/v1/trace.proto @@ -232,7 +232,7 @@ message Span { // "abc.com/score": 10.239 // // The OpenTelemetry API specification further restricts the allowed value types: - // https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/common.md#attributes + // https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute // Attribute keys MUST be unique (it is not allowed to have more than one // attribute with the same key). repeated opentelemetry.proto.common.v1.KeyValue attributes = 9;