Skip to content

Commit

Permalink
add console as a supported env variable exporter type
Browse files Browse the repository at this point in the history
This PR is a follow up to open-telemetry#3740 and open-telemetry#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.

Signed-off-by: Alex Boten <aboten@lightstep.com>
  • Loading branch information
Alex Boten committed Nov 21, 2023
1 parent f1bdc37 commit 0a1ee5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
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.
([#3742](https://github.com/open-telemetry/opentelemetry-specification/pull/3742))

### Supplementary Guidelines

Expand Down
3 changes: 3 additions & 0 deletions specification/configuration/sdk-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,17 +236,20 @@ 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](../traces/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.

## Metrics SDK Configuration
Expand Down

0 comments on commit 0a1ee5e

Please sign in to comment.