Skip to content

Commit

Permalink
Merge pull request #12 from open-telemetry/main
Browse files Browse the repository at this point in the history
[DOC] Fix OTLP documentation: Default endpoint is wrong for OTLP/HTTP…
  • Loading branch information
malkia authored Feb 28, 2024
2 parents 8cd8eac + ba18304 commit b2c3fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/otlp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ auto exporter = std::unique_ptr<sdktrace::SpanExporter>(new otlp::OtlpHttpExport

| Option | Env Variable | Default | Description |
|--------------------|------------------------------------|---------------------------------|-------------------------------------------------------------------|
|`url` |`OTEL_EXPORTER_OTLP_ENDPOINT` |`http://localhost:4318/v1/traces`| The OTLP HTTP endpoint to connect to |
|`url` |`OTEL_EXPORTER_OTLP_ENDPOINT` |`http://localhost:4318` | The OTLP HTTP endpoint to connect to |
| |`OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`| | |
|`content_type` | n/a | `application/json` | Data format used - JSON or Binary |
|`json_bytes_mapping`| n/a | `JsonBytesMappingKind::kHexId` | Encoding used for trace_id and span_id |
Expand Down

0 comments on commit b2c3fb5

Please sign in to comment.