Skip to content

Commit

Permalink
Fix endpoint in otlp grpc exporter (#1474)
Browse files Browse the repository at this point in the history
  • Loading branch information
lostwong committed Jul 1, 2022
1 parent e372ce5 commit 9efb7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/public/sdk/GettingStarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ OpenTelemetry offers six tracing exporters out of the box:
// otlp grpc exporter
opentelemetry::exporter::otlp::OtlpGrpcExporterOptions opts;
opts.endpoint = "localhost::4317";
opts.endpoint = "localhost:4317";
opts.use_ssl_credentials = true;
opts.ssl_credentials_cacert_as_string = "ssl-certificate";
auto otlp_grpc_exporter =
Expand Down

0 comments on commit 9efb7a1

Please sign in to comment.