type go.opentelemetry.io/otel/trace.TraceFlags
16 uses
go.opentelemetry.io/otel/trace (current package)
trace.go#L13: FlagsSampled = TraceFlags(0x01)
trace.go#L18: FlagsRandom = TraceFlags(0x02)
trace.go#L237: type TraceFlags byte //nolint:revive // revive complains about stutter of `trace.TraceFlags`.
trace.go#L240: func (tf TraceFlags) IsSampled() bool {
trace.go#L245: func (tf TraceFlags) WithSampled(sampled bool) TraceFlags { // nolint:revive // sampled is not a control flag.
trace.go#L254: func (tf TraceFlags) IsRandom() bool {
trace.go#L259: func (tf TraceFlags) WithRandom(random bool) TraceFlags { // nolint:revive // random is not a control flag.
trace.go#L269: func (tf TraceFlags) MarshalJSON() ([]byte, error) {
trace.go#L277: func (tf TraceFlags) String() string {
trace.go#L282: func (tf TraceFlags) hexBytes() [2]byte {
trace.go#L291: TraceFlags TraceFlags
trace.go#L312: traceFlags TraceFlags
trace.go#L384: func (sc SpanContext) TraceFlags() TraceFlags {
trace.go#L399: func (sc SpanContext) WithTraceFlags(flags TraceFlags) SpanContext {
 |
The pages are generated with Golds v0.8.7. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |