func go.opencensus.io/trace.ProbabilitySampler
4 uses
go.opencensus.io/trace (current package)
sampling.go#L43: func ProbabilitySampler(fraction float64) Sampler {
trace.go#L549: DefaultSampler: ProbabilitySampler(defaultSamplingProbability),
go.opencensus.io/metric/metricexport
reader.go#L30: defaultSampler = trace.ProbabilitySampler(0.0001)
golang.org/x/pkgsite/internal/dcensus
dcensus.go#L86: trace.ApplyConfig(trace.Config{DefaultSampler: trace.ProbabilitySampler(0.01)})
![]() |
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. |