From 0336c590496e8eb6abb0ce51cd6be67a5007b1f3 Mon Sep 17 00:00:00 2001 From: Juliano Leal Goncalves Date: Wed, 27 Mar 2024 17:15:13 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Move=20OTEL=5FTRACES=5FSAMPLER?= =?UTF-8?q?=5F*=20feature=20changelog=20from=20'1.8.0-beta.1'=20to=20'Unre?= =?UTF-8?q?leased'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The feature was added to the codebase _after_ `1.8.0-beta.1` had already been cut. It should be made available in the next release instead, which is why it should be in the "Unreleased" section of the changelog. This was originally introduced in: - [sdk-traces] Add support for OTEL_TRACES_SAMPLER and OTEL_TRACES_SAMPLER_ARG (#5448) (76cafe5d8062decb36e2e50b6a90fa1ed7ca242d) --- src/OpenTelemetry/CHANGELOG.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/OpenTelemetry/CHANGELOG.md b/src/OpenTelemetry/CHANGELOG.md index ae356a76d42..e7bc40e34e6 100644 --- a/src/OpenTelemetry/CHANGELOG.md +++ b/src/OpenTelemetry/CHANGELOG.md @@ -2,6 +2,16 @@ ## Unreleased +* `TracerProvider`s can now have a sampler configured via the + `OTEL_TRACES_SAMPLER` environment variable. The supported values are: + `always_off`, `always_on`, `traceidratio`, `parentbased_always_on`, + `parentbased_always_off`, and `parentbased_traceidratio`. The options + `traceidratio` and `parentbased_traceidratio` may have the sampler probability + configured via the `OTEL_TRACES_SAMPLER_ARG` environment variable. + For details see: [OpenTelemetry Environment Variable + Specification](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration). + ([#5448](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5448)) + ## 1.8.0-beta.1 Released 2024-Mar-14 @@ -81,16 +91,6 @@ Released 2024-Mar-14 Specification](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#exemplar). ([#5412](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5412)) -* `TracerProvider`s can now have a sampler configured via the - `OTEL_TRACES_SAMPLER` environment variable. The supported values are: - `always_off`, `always_on`, `traceidratio`, `parentbased_always_on`, - `parentbased_always_off`, and `parentbased_traceidratio`. The options - `traceidratio` and `parentbased_traceidratio` may have the sampler probability - configured via the `OTEL_TRACES_SAMPLER_ARG` environment variable. - For details see: [OpenTelemetry Environment Variable - Specification](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration). - ([#5448](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5448)) - ## 1.7.0 Released 2023-Dec-08