1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-12-01 23:12:29 +02:00

zipkin: remove no-op WithSDKOptions (#2248)

This method did not have any effect. had been used back
when exporters were providing utility methods for setting up full
pipelines. These utilities went away in
4883cb119d.
This commit is contained in:
Andrei Matei
2021-09-20 11:59:17 -04:00
committed by GitHub
parent 568e7556dd
commit 61839133f3
3 changed files with 1 additions and 9 deletions

View File

@@ -43,7 +43,6 @@ func initTracer(url string) func() {
exporter, err := zipkin.New(
url,
zipkin.WithLogger(logger),
zipkin.WithSDKOptions(sdktrace.WithSampler(sdktrace.AlwaysSample())),
)
if err != nil {
log.Fatal(err)