kubernetes/vendor/go.opentelemetry.io/otel/sdk/trace/snapshot.go

type snapshot

var _

func (s snapshot) private() {}

// Name returns the name of the span.
func (s snapshot) Name() string {}

// SpanContext returns the unique SpanContext that identifies the span.
func (s snapshot) SpanContext() trace.SpanContext {}

// Parent returns the unique SpanContext that identifies the parent of the
// span if one exists. If the span has no parent the returned SpanContext
// will be invalid.
func (s snapshot) Parent() trace.SpanContext {}

// SpanKind returns the role the span plays in a Trace.
func (s snapshot) SpanKind() trace.SpanKind {}

// StartTime returns the time the span started recording.
func (s snapshot) StartTime() time.Time {}

// EndTime returns the time the span stopped recording. It will be zero if
// the span has not ended.
func (s snapshot) EndTime() time.Time {}

// Attributes returns the defining attributes of the span.
func (s snapshot) Attributes() []attribute.KeyValue {}

// Links returns all the links the span has to other spans.
func (s snapshot) Links() []Link {}

// Events returns all the events that occurred within in the spans
// lifetime.
func (s snapshot) Events() []Event {}

// Status returns the spans status.
func (s snapshot) Status() Status {}

// InstrumentationScope returns information about the instrumentation
// scope that created the span.
func (s snapshot) InstrumentationScope() instrumentation.Scope {}

// InstrumentationLibrary returns information about the instrumentation
// library that created the span.
func (s snapshot) InstrumentationLibrary() instrumentation.Library {}

// Resource returns information about the entity that produced the span.
func (s snapshot) Resource() *resource.Resource {}

// DroppedAttributes returns the number of attributes dropped by the span
// due to limits being reached.
func (s snapshot) DroppedAttributes() int {}

// DroppedLinks returns the number of links dropped by the span due to limits
// being reached.
func (s snapshot) DroppedLinks() int {}

// DroppedEvents returns the number of events dropped by the span due to
// limits being reached.
func (s snapshot) DroppedEvents() int {}

// ChildSpanCount returns the count of spans that consider the span a
// direct parent.
func (s snapshot) ChildSpanCount() int {}