Commit 5df066c 1 parent 05444a8 commit 5df066c Copy full SHA for 5df066c
File tree 2 files changed +4
-5
lines changed
include/opentelemetry/exporters/otlp
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,9 @@ auto exporter = std::unique_ptr<sdktrace::SpanExporter>(new otlp::OtlpHttpExport
44
44
45
45
### Configuration options
46
46
47
- | Option | Default |
48
- | ------------------------------------ | ----------------- |
49
- | ` OtlpGrpcExporterOptions.endpoint ` | ` localhost:4317 ` |
50
- | ` OtlpHttpExporterOptions.endpoint ` | ` localhost:4318 ` |
47
+ | Option | Default |
48
+ | ------------ | ----------------- |
49
+ | ` endpoint ` | ` localhost:4317 ` |
51
50
52
51
## Example
53
52
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ struct OtlpHttpExporterOptions
50
50
// @see
51
51
// https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/otlp.md
52
52
// @see https://github.com/open-telemetry/opentelemetry-collector/tree/main/receiver/otlpreceiver
53
- std::string url = std::string(" http://localhost:4318 " ) + kDefaultTracePath ;
53
+ std::string url = std::string(" http://localhost:4317 " ) + kDefaultTracePath ;
54
54
55
55
// By default, post json data
56
56
HttpRequestContentType content_type = HttpRequestContentType::kJson ;
You can’t perform that action at this time.
0 commit comments