Skip to content

Commit 94663c7

Browse files
author
Tigran Najaryan
committed
Clarify supported compression methods for OTLP
Fixes: open-telemetry#1001 (comment)
1 parent 5f4f92b commit 94663c7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

specification/protocol/exporter.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@ The following configuration options MUST be available to configure the OTLP expo
1313
| Insecure | Whether to enable client transport security for the exporter's `grpc` or `http` connection. | `false` | `OTEL_EXPORTER_OTLP_INSECURE` `OTEL_EXPORTER_OTLP_SPAN_INSECURE` `OTEL_EXPORTER_OTLP_METRIC_INSECURE` |
1414
| Certificate File | Certificate file for TLS credentials of gRPC client. Should only be used if `insecure` is set to `false`. | n/a | `OTEL_EXPORTER_OTLP_CERTIFICATE` `OTEL_EXPORTER_OTLP_SPAN_CERTIFICATE` `OTEL_EXPORTER_OTLP_METRIC_CERTIFICATE` |
1515
| Headers | The headers associated with gRPC or HTTP requests. | n/a | `OTEL_EXPORTER_OTLP_HEADERS` `OTEL_EXPORTER_OTLP_SPAN_HEADERS` `OTEL_EXPORTER_OTLP_METRIC_HEADERS` |
16-
| Compression | Compression key for supported compression types. Supported compression: `gzip`| no compression | `OTEL_EXPORTER_OTLP_COMPRESSION` `OTEL_EXPORTER_OTLP_SPAN_COMPRESSION` `OTEL_EXPORTER_OTLP_METRIC_COMPRESSION` |
16+
| Compression | Compression key for supported compression types. | No value | `OTEL_EXPORTER_OTLP_COMPRESSION` `OTEL_EXPORTER_OTLP_SPAN_COMPRESSION` `OTEL_EXPORTER_OTLP_METRIC_COMPRESSION` |
1717
| Timeout | Max waiting time for the backend to process each spans or metrics batch. | 10s | `OTEL_EXPORTER_OTLP_TIMEOUT` `OTEL_EXPORTER_OTLP_SPAN_TIMEOUT` `OTEL_EXPORTER_OTLP_METRIC_TIMEOUT` |
1818

19+
Supported values for OTEL_EXPORTER_OTLP_*COMPRESSION options:
20+
21+
- If the value is missing then compressions is disabled.
22+
- `gzip` is the only specified compression method for now. Other options MAY be supported by language SDKs and should be documented for each particular language.
23+
1924
Example 1
2025

2126
The following configuration sends all signals to the same collector:

0 commit comments

Comments
 (0)