From 3330068cfe8b2f9b64f5aeadee74d14a78399e72 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Thu, 25 May 2023 11:32:24 -0400 Subject: [PATCH] Get OTLP status from OTLP spec (#2794) --- content/en/docs/specs/otel/status.md | 24 ++++++++++++------------ layouts/shortcodes/spec_status.html | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/content/en/docs/specs/otel/status.md b/content/en/docs/specs/otel/status.md index ebd5ee05bfb8..abbe024f75ca 100644 --- a/content/en/docs/specs/otel/status.md +++ b/content/en/docs/specs/otel/status.md @@ -18,7 +18,7 @@ Each signal consists of four [core components](/docs/concepts/components/): - APIs - SDKs -- [OpenTelemetry Protocol](/docs/specs/otel/protocol/) (OTLP) +- [OpenTelemetry Protocol](/docs/specs/otlp/) (OTLP) - [Collector](/docs/collector/) Signals also have contrib components, an ecosystem of plugins and @@ -60,9 +60,9 @@ same as the **Protocol** status. ### [Tracing][] -- {{% spec_status "API" "trace/api" "Status" %}} -- {{% spec_status "SDK" "trace/sdk" "Status" %}} -- {{% spec_status "Protocol" "protocol/otlp" "Status" %}} +- {{% spec_status "API" "otel/trace/api" "Status" %}} +- {{% spec_status "SDK" "otel/trace/sdk" "Status" %}} +- {{% spec_status "Protocol" "otlp" "Status" %}} - Notes: - The tracing specification is now completely stable, and covered by long term support. @@ -73,9 +73,9 @@ same as the **Protocol** status. ### [Metrics][] -- {{% spec_status "API" "metrics/api" "Status" %}} -- {{% spec_status "SDK" "metrics/sdk" "Status" %}} -- {{% spec_status "Protocol" "protocol/otlp" "Status" %}} +- {{% spec_status "API" "otel/metrics/api" "Status" %}} +- {{% spec_status "SDK" "otel/metrics/sdk" "Status" %}} +- {{% spec_status "Protocol" "otlp" "Status" %}} - Notes: - OpenTelemetry Metrics is currently under active development. - The data model is stable and released as part of the OTLP protocol. @@ -85,7 +85,7 @@ same as the **Protocol** status. ### [Baggage][] -- {{% spec_status "API" "baggage/api" "Status" %}} +- {{% spec_status "API" "otel/baggage/api" "Status" %}} - **SDK:** stable - **Protocol:** N/A - Notes: @@ -96,10 +96,10 @@ same as the **Protocol** status. ### [Logging][] -- {{% spec_status "Bridge API" "logs/bridge-api" "Status" %}} -- {{% spec_status "SDK" "logs/sdk" "Status" %}} -- {{% spec_status "Event API" "logs/event-api" "Status" %}} -- {{% spec_status "Protocol" "protocol/otlp" "Status" %}} +- {{% spec_status "Bridge API" "otel/logs/bridge-api" "Status" %}} +- {{% spec_status "SDK" "otel/logs/sdk" "Status" %}} +- {{% spec_status "Event API" "otel/logs/event-api" "Status" %}} +- {{% spec_status "Protocol" "otlp" "Status" %}} - Notes: - The [logs data model][] is released as part of the OpenTelemetry Protocol. - Log processing for many data formats has been added to the Collector, thanks diff --git a/layouts/shortcodes/spec_status.html b/layouts/shortcodes/spec_status.html index 478b3efbea3a..a78cb177715d 100644 --- a/layouts/shortcodes/spec_status.html +++ b/layouts/shortcodes/spec_status.html @@ -2,7 +2,7 @@ {{ $label := .Get 0 -}} {{ $pageRef := .Get 1 -}} {{ if not (hasPrefix $pageRef "/") -}} - {{ $pageRef = printf "/docs/specs/otel/%s" $pageRef -}} + {{ $pageRef = printf "/docs/specs/%s" $pageRef -}} {{ end -}} {{ $page := .Site.GetPage $pageRef -}} {{ if not $page -}}