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

Split OTEL_EXPORTER to OTEL_TRACE_EXPORTER and OTEL_METRICS_EXPORTER #1318

Merged
merged 8 commits into from
Jan 13, 2021
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Updates:

- Additional Cassandra semantic attributes
([#1217](https://github.com/open-telemetry/opentelemetry-specification/pull/1217))
- OTEL_EXPORTER environment variable replaced with OTEL_TRACE_EXPORTER and
OTEL_METRICS_EXPORTER which each accept only a single value, not a list.
([#1318](https://github.com/open-telemetry/opentelemetry-specification/pull/1318))
- `process.runtime.description` resource convention: Add `java.vm.name`
([#1242](https://github.com/open-telemetry/opentelemetry-specification/pull/1242))
- Refine span name guideline for SQL database spans
Expand Down
Empty file added exporters
Empty file.
3 changes: 2 additions & 1 deletion spec-compliance-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ status of the feature is not known.
|OTEL_EXPORTER_OTLP_* | | + | | + | + | - | - | | - | - | - |
|OTEL_EXPORTER_JAEGER_* | | + | | + | + | - | - | + | - | - | - |
|OTEL_EXPORTER_ZIPKIN_* | | + | | + | | - | - | | - | - | - |
|OTEL_EXPORTER | | - | | + | | | | | | - | - |
|OTEL_TRACE_EXPORTER | | - | | - | | | | | | - | - |
|OTEL_METRICS_EXPORTERS | | - | | - | | | | | | - | - |
anuraaga marked this conversation as resolved.
Show resolved Hide resolved
|OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT | | + | | + | + | | | | | - | - |
|OTEL_SPAN_EVENT_COUNT_LIMIT | | + | | + | + | | | | | - | - |
|OTEL_SPAN_LINK_COUNT_LIMIT | | + | | + | + | | | | | - | - |
Expand Down
17 changes: 10 additions & 7 deletions specification/sdk-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,23 @@ See [OpenTelemetry Protocol Exporter Configuration Options](./protocol/exporter.

## Exporter Selection

We define environment variables for setting a single exporter per signal.

| Name | Description | Default |
| ------------- | ---------------------------------------------------------------------------- | ------- |
| OTEL_EXPORTER | Exporter to be used, can be a comma-separated list to use multiple exporters | "otlp" |
| OTEL_TRACE_EXPORTER | Trace exporter to be used | "otlp" |
| OTEL_METRICS_EXPORTER | Metrics exporter to be used | "otlp" |

Known values for OTEL_EXPORTER are:
Known values for OTEL_TRACE_EXPORTER are:

- `"otlp"`: [OTLP Trace and Metrics](./protocol/otlp.md)
- `"otlp"`: [OTLP](./protocol/otlp.md)
- `"jaeger"`: [Jaeger gRPC](https://www.jaegertracing.io/docs/1.21/apis/#protobuf-via-grpc-stable)
- `"zipkin"`: [Zipkin](https://zipkin.io/zipkin-api/) (Defaults to [protobuf](https://github.com/openzipkin/zipkin-api/blob/master/zipkin.proto) format)
- `"prometheus"`: [Prometheus](https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md)
- `"otlp_span"`: [OTLP Trace](./protocol/otlp.md)
- `"otlp_metric"`: [OTLP Metrics](./protocol/otlp.md)

Note: "otlp" is equivalent to "otlp_span,otlp_metric".
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)

## Language Specific Environment Variables

Expand Down