From f0211d054ab3b927d5f2d3f76b871ee28dfd60af Mon Sep 17 00:00:00 2001 From: Sam DeHaan Date: Tue, 19 Nov 2024 18:07:10 -0500 Subject: [PATCH] nit: Update otel links that didn't use OTEL_VERSION (#2131) * Update otel links that didn't use OTEL_VERSION * Update docs/sources/reference/components/otelcol/otelcol.processor.tail_sampling.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> * Update docs/sources/reference/components/otelcol/otelcol.processor.filter.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> * Update docs/sources/reference/components/otelcol/otelcol.exporter.awss3.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> * Update docs/sources/reference/components/otelcol/otelcol.exporter.awss3.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> * Update docs/sources/reference/components/otelcol/otelcol.processor.filter.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> * Standardize on shortened version of using OTEL_VERSION variable, at least in filter doc --------- Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> --- .../otelcol/otelcol.exporter.awss3.md | 4 ++-- .../otelcol/otelcol.processor.filter.md | 22 +++++++++---------- .../otelcol.processor.tail_sampling.md | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/sources/reference/components/otelcol/otelcol.exporter.awss3.md b/docs/sources/reference/components/otelcol/otelcol.exporter.awss3.md index f405f65cfb..64422f417e 100644 --- a/docs/sources/reference/components/otelcol/otelcol.exporter.awss3.md +++ b/docs/sources/reference/components/otelcol/otelcol.exporter.awss3.md @@ -110,9 +110,9 @@ Name | Type | Description Encoding overrides the marshaler if it's present and sets it to use the encoding extension defined in the collector configuration. -Refer to the Open Telemetry [encoding extensions][] documentation for more information. +Refer to the Open Telemetry [encoding extensions][encoding] documentation for more information. -[encoding]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/encoding +[encoding]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree//extension/encoding ### Compression diff --git a/docs/sources/reference/components/otelcol/otelcol.processor.filter.md b/docs/sources/reference/components/otelcol/otelcol.processor.filter.md index beb1031944..df75e477e4 100644 --- a/docs/sources/reference/components/otelcol/otelcol.processor.filter.md +++ b/docs/sources/reference/components/otelcol/otelcol.processor.filter.md @@ -286,17 +286,17 @@ Some values in the {{< param "PRODUCT_NAME" >}} syntax strings are [escaped][]: [escaped]: ../../../../get-started/configuration-syntax/expressions/types_and_values/#strings -[OTTL]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.85.0/pkg/ottl/README.md -[OTTL span context]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/{{< param "OTEL_VERSION" >}}/pkg/ottl/contexts/ottlspan/README.md -[OTTL spanevent context]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/{{< param "OTEL_VERSION" >}}/pkg/ottl/contexts/ottlspanevent/README.md -[OTTL metric context]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/{{< param "OTEL_VERSION" >}}/pkg/ottl/contexts/ottlmetric/README.md -[OTTL datapoint context]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/{{< param "OTEL_VERSION" >}}/pkg/ottl/contexts/ottldatapoint/README.md -[OTTL log context]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/{{< param "OTEL_VERSION" >}}/pkg/ottl/contexts/ottllog/README.md -[OTTL Converter functions]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/pkg/ottl/ottlfuncs#converters -[HasAttrKeyOnDataPoint]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/filterprocessor/README.md#hasattrkeyondatapoint -[HasAttrOnDataPoint]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/filterprocessor/README.md#hasattrondatapoint -[OTTL booleans]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.85.0/pkg/ottl#booleans -[OTTL math expressions]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.85.0/pkg/ottl#math-expressions +[OTTL]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob//pkg/ottl/README.md +[OTTL span context]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob//pkg/ottl/contexts/ottlspan/README.md +[OTTL spanevent context]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob//pkg/ottl/contexts/ottlspanevent/README.md +[OTTL metric context]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob//pkg/ottl/contexts/ottlmetric/README.md +[OTTL datapoint context]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob//pkg/ottl/contexts/ottldatapoint/README.md +[OTTL log context]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob//pkg/ottl/contexts/ottllog/README.md +[OTTL Converter functions]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree//pkg/ottl/ottlfuncs#converters +[HasAttrKeyOnDataPoint]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob//processor/filterprocessor/README.md#hasattrkeyondatapoint +[HasAttrOnDataPoint]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob//processor/filterprocessor/README.md#hasattrondatapoint +[OTTL booleans]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree//pkg/ottl#booleans +[OTTL math expressions]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree//pkg/ottl#math-expressions ## Compatible components diff --git a/docs/sources/reference/components/otelcol/otelcol.processor.tail_sampling.md b/docs/sources/reference/components/otelcol/otelcol.processor.tail_sampling.md index 7e7ef2f7eb..de0e94fc04 100644 --- a/docs/sources/reference/components/otelcol/otelcol.processor.tail_sampling.md +++ b/docs/sources/reference/components/otelcol/otelcol.processor.tail_sampling.md @@ -253,7 +253,7 @@ The following arguments are supported: ### ottl_condition block The `ottl_condition` block configures a policy of type `ottl_condition`. The policy samples based on a given boolean -[OTTL](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/pkg/ottl) condition (span and span event). +[OTTL](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree//pkg/ottl) condition (span and span event). The following arguments are supported: