go.opencensus.io/trace.SpanContext.IsSampled (method)
6 uses
go.opencensus.io/trace (current package)
sampling.go#L52: if p.ParentContext.IsSampled() {
trace.go#L80: func (sc SpanContext) IsSampled() bool {
trace.go#L233: if !internal.LocalSpanStoreEnabled && !span.spanContext.IsSampled() {
trace.go#L277: mustExport := s.spanContext.IsSampled() && len(exp) > 0
go.opencensus.io/plugin/ocgrpc
stats_common.go#L223: if spanCtx.IsSampled() {
go.opencensus.io/plugin/ochttp/propagation/b3
b3.go#L117: if sc.IsSampled() {
![]() |
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. |