otel

package
v1.42.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AttributeMatch       = attribute.Key("flipt.match")
	AttributeFlag        = attribute.Key("flipt.flag")
	AttributeNamespace   = attribute.Key("flipt.namespace")
	AttributeFlagEnabled = attribute.Key("flipt.flag_enabled")
	AttributeSegment     = attribute.Key("flipt.segment")
	AttributeSegments    = attribute.Key("flipt.segments")
	AttributeReason      = attribute.Key("flipt.reason")
	AttributeValue       = attribute.Key("flipt.value")
	AttributeEntityID    = attribute.Key("flipt.entity_id")
	AttributeRequestID   = attribute.Key("flipt.request_id")
)
View Source
var (
	AttributeFlagKey      = semconv.FeatureFlagKey
	AttributeProviderName = semconv.FeatureFlagProviderName("Flipt")
	AttributeFlagVariant  = semconv.FeatureFlagVariant
)

Specific attributes for Semantic Conventions for Feature Flags in Spans https://opentelemetry.io/docs/specs/semconv/feature-flags/feature-flags-spans/

Functions

func NewNoopSpanExporter

func NewNoopSpanExporter() trace.SpanExporter

NewNoopSpanExporter returns a new noop span exporter.

Types

type TracerProvider added in v1.18.2

type TracerProvider interface {
	trace.TracerProvider
	Shutdown(context.Context) error
	RegisterSpanProcessor(sp tracesdk.SpanProcessor)
}

TracerProvider is an interface that wraps the trace.TracerProvider and adds the Shutdown method that is not part of the interface but is part of the implementation.

func NewNoopProvider added in v1.18.2

func NewNoopProvider() TracerProvider

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL