type go.opentelemetry.io/otel/trace.SpanContext
40 uses
go.opentelemetry.io/otel/trace (current package)
context.go#L32: func ContextWithSpanContext(parent context.Context, sc SpanContext) context.Context {
context.go#L40: func ContextWithRemoteSpanContext(parent context.Context, rsc SpanContext) context.Context {
context.go#L59: func SpanContextFromContext(ctx context.Context) SpanContext {
nonrecording.go#L23: sc SpanContext
nonrecording.go#L27: func (s nonRecordingSpan) SpanContext() SpanContext { return s.sc }
noop.go#L66: func (noopSpan) SpanContext() SpanContext { return SpanContext{} }
trace.go#L199: func NewSpanContext(config SpanContextConfig) SpanContext {
trace.go#L200: return SpanContext{
trace.go#L210: type SpanContext struct {
trace.go#L218: var _ json.Marshaler = SpanContext{}
trace.go#L222: func (sc SpanContext) IsValid() bool {
trace.go#L227: func (sc SpanContext) IsRemote() bool {
trace.go#L232: func (sc SpanContext) WithRemote(remote bool) SpanContext {
trace.go#L233: return SpanContext{
trace.go#L243: func (sc SpanContext) TraceID() TraceID {
trace.go#L248: func (sc SpanContext) HasTraceID() bool {
trace.go#L253: func (sc SpanContext) WithTraceID(traceID TraceID) SpanContext {
trace.go#L254: return SpanContext{
trace.go#L264: func (sc SpanContext) SpanID() SpanID {
trace.go#L269: func (sc SpanContext) HasSpanID() bool {
trace.go#L274: func (sc SpanContext) WithSpanID(spanID SpanID) SpanContext {
trace.go#L275: return SpanContext{
trace.go#L285: func (sc SpanContext) TraceFlags() TraceFlags {
trace.go#L290: func (sc SpanContext) IsSampled() bool {
trace.go#L295: func (sc SpanContext) WithTraceFlags(flags TraceFlags) SpanContext {
trace.go#L296: return SpanContext{
trace.go#L306: func (sc SpanContext) TraceState() TraceState {
trace.go#L311: func (sc SpanContext) WithTraceState(state TraceState) SpanContext {
trace.go#L312: return SpanContext{
trace.go#L322: func (sc SpanContext) Equal(other SpanContext) bool {
trace.go#L331: func (sc SpanContext) MarshalJSON() ([]byte, error) {
trace.go#L376: SpanContext() SpanContext
trace.go#L414: SpanContext SpanContext
The pages are generated with Golds v0.6.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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |