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()),
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |