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#L183: type TraceFlags byte //nolint:revive // revive complains about stutter of `trace.TraceFlags`.
trace.go#L186: func (tf TraceFlags) IsSampled() bool {
trace.go#L191: func (tf TraceFlags) WithSampled(sampled bool) TraceFlags { // nolint:revive // sampled is not a control flag.
trace.go#L200: func (tf TraceFlags) IsRandom() bool {
trace.go#L205: func (tf TraceFlags) WithRandom(random bool) TraceFlags { // nolint:revive // random is not a control flag.
trace.go#L215: func (tf TraceFlags) MarshalJSON() ([]byte, error) {
trace.go#L223: func (tf TraceFlags) String() string {
trace.go#L228: func (tf TraceFlags) hexBytes() [2]byte {
trace.go#L237: TraceFlags TraceFlags
trace.go#L258: traceFlags TraceFlags
trace.go#L330: func (sc SpanContext) TraceFlags() TraceFlags {
trace.go#L345: func (sc SpanContext) WithTraceFlags(flags TraceFlags) SpanContext {
 |
The pages are generated with Golds v0.8.4. (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. |