Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add console as a supported env variable exporter type #3742

2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,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.
codeboten marked this conversation as resolved.
Show resolved Hide resolved
codeboten marked this conversation as resolved.
Show resolved Hide resolved
([#3742](https://github.com/open-telemetry/opentelemetry-specification/pull/3742))

### Supplementary Guidelines

Expand Down
6 changes: 6 additions & 0 deletions specification/configuration/sdk-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,19 +236,25 @@ 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)
- `"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)
- `"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)
- `"none"`: No automatically configured exporter for logs.
carlosalberto marked this conversation as resolved.
Show resolved Hide resolved

Note that `"logging"` is a reserved keyword and shouldn't be assigned for future use. Implementations that use `"logging"` as a value to configure the
standard output exporter MAY continue to do so for backwards compatibility.
codeboten marked this conversation as resolved.
Show resolved Hide resolved

## Metrics SDK Configuration

**Status**: [Mixed](../document-status.md)
Expand Down