Skip to content

Commit 9297fac

Browse files
Fix formatting of OTLP exporter CLI arguments (#1387)
1 parent f36cbfa commit 9297fac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/opentelemetry.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ LOG_FORMAT (json / pretty / plain) setting
1010
#### GRPC
1111

1212
To have Unleash Edge export tracing and logs to an OTLP/GRPC compatible collector, set the CLI Arg
13-
`--otel_exporter_otlp_endpoint` or env var `OTEL_EXPORTER_OTLP_ENDPOINT` to the URL of your collector.
13+
`--otel-exporter-otlp-endpoint` or env var `OTEL_EXPORTER_OTLP_ENDPOINT` to the URL of your collector.
1414
With a default collector listening for GRPC on port 4317, set this to `http://localhost:4317`
1515

1616
#### HTTP (Json)
1717

1818
At this time Edge only supports HTTP/JSON as an HTTP exporter. We do not support HTTP/Protobuf.
1919

2020
To have Unleash Edge export tracing and logs to an HTTP/JSON compatible collector, you'll need to set two variables:
21-
`--otel_exporter_otlp_endpoint / OTEL_EXPORTER_OTLP_ENDPOINT` (default collector listens at http://localhost:4318)
22-
`--otel_exporter_otlp_protocol / OTEL_EXPORTER_OTLP_PROTOCOL`. (set this to `http`)
21+
`--otel-exporter-otlp-endpoint / OTEL_EXPORTER_OTLP_ENDPOINT` (default collector listens at http://localhost:4318)
22+
`--otel-exporter-otlp-protocol / OTEL_EXPORTER_OTLP_PROTOCOL`. (set this to `http`)
2323

2424
### Further customizations
2525

@@ -36,4 +36,4 @@ For the current implementation:
3636

3737
* OTEL_EXPORTER_OTLP_HEADERS will add headers for tracing and logs in W3C Baggage format
3838
* OTEL_EXPORTER_OTLP_TRACES_HEADERS will add headers for tracing only
39-
* OTEL_EXPORTER_OTLP_LOGS_HEADERS will add headers for logs only
39+
* OTEL_EXPORTER_OTLP_LOGS_HEADERS will add headers for logs only

0 commit comments

Comments
 (0)