From 4c1109bee8388362185a1633f1fff8472d6838af Mon Sep 17 00:00:00 2001 From: Stefan Prisca Date: Tue, 12 May 2020 13:04:09 +0200 Subject: [PATCH] Update example/otel-collector/README.md Co-authored-by: Tyler Yahn --- example/otel-collector/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/otel-collector/README.md b/example/otel-collector/README.md index 004cd3ea0..6636def30 100644 --- a/example/otel-collector/README.md +++ b/example/otel-collector/README.md @@ -64,7 +64,8 @@ This will initialize the exporter with the default configuration. In this configuration, it will try to connect to an OTLP receiver at the address `localhost:55680`. If your OpenTelemetry Collector is running at a different address, use the [`otlp.WithAddress`](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp?tab=doc#WithAddress) function to change the default address. -Feel free to remove the blocking operation, but it might come in handy when testing the connection. Also, make sure to close the exporter before the app exits. +Feel free to remove the blocking operation, but it might come in handy when testing the connection. +Also, make sure to close the exporter before the app exits. The next steps are the same as for all other OpenTelemetry-Go SDK uses: 1) Create a trace provider from the `otlp` exporter: