Documentation
¶
Overview ¶
Package metadata contains the autogenerated telemetry and build information for the processor/tail_sampling component.
Index ¶
Constants ¶
View Source
const (
TracesStability = component.StabilityLevelBeta
)
Variables ¶
View Source
var ( Type = component.MustNewType("tail_sampling") ScopeName = "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor" )
View Source
var ProcessorTailsamplingprocessorDisableinvertdecisionsFeatureGate = featuregate.GlobalRegistry().MustRegister( "processor.tailsamplingprocessor.disableinvertdecisions", featuregate.StageBeta, featuregate.WithRegisterDescription("When enabled, sampling policy 'invert_match' will result in a SAMPLED or NOT SAMPLED decision instead of INVERT SAMPLED or INVERT NOT SAMPLED."), featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39833"), featuregate.WithRegisterFromVersion("v0.126.0"), )
View Source
var ProcessorTailsamplingprocessorMetricstatcountspanssampledFeatureGate = featuregate.GlobalRegistry().MustRegister( "processor.tailsamplingprocessor.metricstatcountspanssampled", featuregate.StageAlpha, featuregate.WithRegisterDescription("When enabled, a new metric stat_count_spans_sampled will be available in the tail sampling processor. Differently from stat_count_traces_sampled, this metric will count the number of spans sampled or not per sampling policy, where the original counts traces."), featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/30482"), featuregate.WithRegisterFromVersion("v0.95.0"), )
View Source
var ProcessorTailsamplingprocessorRecordpolicyFeatureGate = featuregate.GlobalRegistry().MustRegister( "processor.tailsamplingprocessor.recordpolicy", featuregate.StageAlpha, featuregate.WithRegisterDescription("When enabled, attaches the name of the policy (and if applicable, composite policy) responsible for sampling a trace in the 'tailsampling.policy', 'tailsampling.composite_policy', and `tailsampling.cached_decision` attributes."), featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/35180"), featuregate.WithRegisterFromVersion("v0.120.0"), )
View Source
var ProcessorTailsamplingprocessorTailstorageextensionFeatureGate = featuregate.GlobalRegistry().MustRegister( "processor.tailsamplingprocessor.tailstorageextension", featuregate.StageAlpha, featuregate.WithRegisterDescription("When enabled, allows configuring tail_storage to use a tail storage extension implementation."), featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/47331"), featuregate.WithRegisterFromVersion("v0.150.0"), )
Functions ¶
Types ¶
type TelemetryBuilder ¶ added in v0.103.0
type TelemetryBuilder struct {
ProcessorTailSamplingCountSpansSampled metric.Int64Counter
ProcessorTailSamplingCountTracesSampled metric.Int64Counter
ProcessorTailSamplingEarlyReleasesFromCacheDecision metric.Int64Counter
ProcessorTailSamplingGlobalCountTracesSampled metric.Int64Counter
ProcessorTailSamplingNewTraceIDReceived metric.Int64Counter
ProcessorTailSamplingSamplingDecisionTimerLatency metric.Int64Histogram
ProcessorTailSamplingSamplingLateSpanAge metric.Int64Histogram
ProcessorTailSamplingSamplingPolicyEvaluationError metric.Int64Counter
ProcessorTailSamplingSamplingPolicyExecutionCount metric.Int64Counter
ProcessorTailSamplingSamplingPolicyExecutionTimeSum metric.Int64Counter
ProcessorTailSamplingSamplingTraceDroppedTooEarly metric.Int64Counter
ProcessorTailSamplingSamplingTraceRemovalAge metric.Int64Histogram
ProcessorTailSamplingSamplingTracesOnMemory metric.Int64Gauge
ProcessorTailSamplingTracesDroppedTooLarge metric.Int64Counter
// contains filtered or unexported fields
}
TelemetryBuilder provides an interface for components to report telemetry as defined in metadata and user config.
func NewTelemetryBuilder ¶ added in v0.103.0
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...TelemetryBuilderOption) (*TelemetryBuilder, error)
NewTelemetryBuilder provides a struct with methods to update all internal telemetry for a component
func (*TelemetryBuilder) Shutdown ¶ added in v0.119.0
func (builder *TelemetryBuilder) Shutdown()
Shutdown unregister all registered callbacks for async instruments.
type TelemetryBuilderOption ¶ added in v0.110.0
type TelemetryBuilderOption interface {
// contains filtered or unexported methods
}
TelemetryBuilderOption applies changes to default builder.
Click to show internal directories.
Click to hide internal directories.