From bb83aeb223d5383ca78150b5c50de36d5cb38d82 Mon Sep 17 00:00:00 2001 From: Alex Boten Date: Mon, 27 Nov 2023 07:58:49 -0800 Subject: [PATCH] add console as a supported env variable exporter type (#3742) ## Changes This PR is a follow up to https://github.com/open-telemetry/opentelemetry-specification/pull/3740 and https://github.com/open-telemetry/opentelemetry-specification/pull/3741. As some languages (the ones I looked at were: python, js, ruby) already support the `console` type of exporter, I thought it would be good if the spec confirmed it. --- CHANGELOG.md | 2 ++ specification/configuration/sdk-environment-variables.md | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93e19aba28f..6e206011501 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,6 +80,8 @@ release. - Rename/replace `(client|server).socket.(address|port)` attributes with `network.(peer|local).(address|port)`. ([#3713](https://github.com/open-telemetry/opentelemetry-specification/pull/3713)) +- Add `console` as an exporter type that is supported via environment variable configuration. + ([#3742](https://github.com/open-telemetry/opentelemetry-specification/pull/3742)) ### Supplementary Guidelines diff --git a/specification/configuration/sdk-environment-variables.md b/specification/configuration/sdk-environment-variables.md index 881591044da..ef4794cb046 100644 --- a/specification/configuration/sdk-environment-variables.md +++ b/specification/configuration/sdk-environment-variables.md @@ -236,17 +236,26 @@ Known values for `OTEL_TRACES_EXPORTER` are: - `"otlp"`: [OTLP](../protocol/otlp.md) - `"zipkin"`: [Zipkin](https://zipkin.io/zipkin-api/) (Defaults to [protobuf](https://github.com/openzipkin/zipkin-api/blob/master/zipkin.proto) format) +- `"console"`: [Standard Output](../trace/sdk_exporters/stdout.md) +- `"logging"`: [Standard Output](../trace/sdk_exporters/stdout.md). It is a deprecated value left for backwards compatibility. It SHOULD +NOT be supported by new implementations. - `"none"`: No automatically configured exporter for traces. Known values for `OTEL_METRICS_EXPORTER` are: - `"otlp"`: [OTLP](../protocol/otlp.md) - `"prometheus"`: [Prometheus](https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md) +- `"console"`: [Standard Output](../metrics/sdk_exporters/stdout.md) +- `"logging"`: [Standard Output](../metrics/sdk_exporters/stdout.md). It is a deprecated value left for backwards compatibility. It SHOULD +NOT be supported by new implementations. - `"none"`: No automatically configured exporter for metrics. Known values for `OTEL_LOGS_EXPORTER` are: - `"otlp"`: [OTLP](../protocol/otlp.md) +- `"console"`: [Standard Output](../logs/sdk_exporters/stdout.md) +- `"logging"`: [Standard Output](../logs/sdk_exporters/stdout.md). It is a deprecated value left for backwards compatibility. It SHOULD +NOT be supported by new implementations. - `"none"`: No automatically configured exporter for logs. ## Metrics SDK Configuration