-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove default endpoint, stub initTracer()
Having a default means each invocation of otel-cli might timeout on trying to connect over OTLP. With this change, in the absence of --endpoint or OTEL_EXPORTER_OTLP_ENDPOINT otel-cli will now not configure opentelemetry-go at all, but the rest of otel-cli will work as usual, just no spans are sent out. Signed-off-by: Amy Tobey <atobey@equinix.com>
- Loading branch information
Amy Tobey
committed
Aug 26, 2021
1 parent
980a370
commit a9dbdea
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters