Skip to content

Commit 13c2104

Browse files
otlp-exporter.md - Add Protocol Header & Fix OTEL_EXPORTER_OTLP_LOGS_PROTOCOL (#4947)
Co-authored-by: opentelemetrybot <[email protected]>
1 parent c66d328 commit 13c2104

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

content/en/docs/languages/sdk-configuration/otlp-exporter.md

+17
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ The timeout value for all outgoing logs in milliseconds.
164164

165165
### `OTEL_EXPORTER_OTLP_PROTOCOL`
166166

167+
## Protocol Configuration
168+
167169
Specifies the OTLP transport protocol to be used for all telemetry data.
168170

169171
**Default value:** SDK-dependent, but will typically be either `http/protobuf`
@@ -206,3 +208,18 @@ Valid values are:
206208
- `grpc` to use OTLP/gRPC
207209
- `http/protobuf` to use OTLP/HTTP + protobuf
208210
- `http/json` to use OTLP/HTTP + JSON
211+
212+
### `OTEL_EXPORTER_OTLP_LOGS_PROTOCOL`
213+
214+
Specifies the OTLP transport protocol to be used for log data.
215+
216+
**Default value:** SDK-dependent, but will typically be either `http/protobuf`
217+
or `grpc`.
218+
219+
**Example:** `export OTEL_EXPORTER_OTLP_LOGS_PROTOCOL=grpc`
220+
221+
Valid values are:
222+
223+
- `grpc` to use OTLP/gRPC
224+
- `http/protobuf` to use OTLP/HTTP + protobuf
225+
- `http/json` to use OTLP/HTTP + JSON

0 commit comments

Comments
 (0)