Documentation ¶
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" )
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 ProcessorTailSamplingSamplingDecisionLatency metric.Int64Histogram ProcessorTailSamplingSamplingDecisionTimerLatency metric.Int64Histogram ProcessorTailSamplingSamplingLateSpanAge metric.Int64Histogram ProcessorTailSamplingSamplingPolicyEvaluationError metric.Int64Counter ProcessorTailSamplingSamplingTraceDroppedTooEarly metric.Int64Counter ProcessorTailSamplingSamplingTraceRemovalAge metric.Int64Histogram ProcessorTailSamplingSamplingTracesOnMemory metric.Int64Gauge // 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
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.