type go.opentelemetry.io/otel/api/trace.NoopSpan
16 uses
go.opentelemetry.io/otel/api/trace (current package)
context.go#L39: return NoopSpan{}
noop_span.go#L25: type NoopSpan struct {
noop_span.go#L28: var _ Span = (*NoopSpan)(nil)
noop_span.go#L31: func (NoopSpan) SpanContext() SpanContext {
noop_span.go#L36: func (NoopSpan) IsRecording() bool {
noop_span.go#L41: func (NoopSpan) SetStatus(status codes.Code, msg string) {
noop_span.go#L45: func (NoopSpan) SetError(v bool) {
noop_span.go#L49: func (NoopSpan) SetAttributes(attributes ...label.KeyValue) {
noop_span.go#L53: func (NoopSpan) SetAttribute(k string, v interface{}) {
noop_span.go#L57: func (NoopSpan) End(options ...EndOption) {
noop_span.go#L61: func (NoopSpan) RecordError(ctx context.Context, err error, opts ...ErrorOption) {
noop_span.go#L65: func (NoopSpan) Tracer() Tracer {
noop_span.go#L70: func (NoopSpan) AddEvent(ctx context.Context, name string, attrs ...label.KeyValue) {
noop_span.go#L74: func (NoopSpan) AddEventWithTimestamp(ctx context.Context, timestamp time.Time, name string, attrs ...label.KeyValue) {
noop_span.go#L78: func (NoopSpan) SetName(name string) {
noop_trace.go#L27: span := NoopSpan{}
![]() |
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. |