func go.opencensus.io/trace.WithSampler

12 uses

	go.opencensus.io/trace (current package)
		trace.go#L158: func WithSampler(sampler Sampler) StartOption {

	go.opencensus.io/metric/metricexport
		reader.go#L178: 	ctx, span := trace.StartSpan(context.Background(), r.spanName, trace.WithSampler(r.sampler))

	go.opencensus.io/plugin/ocgrpc
		trace_common.go#L40: 		trace.WithSampler(c.StartOptions.Sampler),
		trace_common.go#L70: 				trace.WithSampler(s.StartOptions.Sampler),
		trace_common.go#L77: 		trace.WithSampler(s.StartOptions.Sampler))

	go.opencensus.io/plugin/ochttp
		server.go#L116: 			trace.WithSampler(startOpts.Sampler),
		server.go#L120: 			trace.WithSampler(startOpts.Sampler),
		trace.go#L60: 		trace.WithSampler(t.startOptions.Sampler),

	contrib.go.opencensus.io/exporter/stackdriver
		metrics.go#L81: 		trace.WithSampler(trace.NeverSample()),
		stats.go#L213: 		trace.WithSampler(trace.NeverSample()),
		trace.go#L127: 		trace.WithSampler(trace.NeverSample()),
		trace.go#L171: 		trace.WithSampler(trace.NeverSample()),