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
Click to show internal directories.
Click to hide internal directories.