Versions in this module Expand all Collapse all v1 v1.71.0 Feb 22, 2023 Changes in this version + func NewFactory() processor.Factory + func SamplingProcessorMetricViews(level configtelemetry.Level) []*view.View + type AndCfg struct + SubPolicyCfg []AndSubPolicyCfg + type AndSubPolicyCfg struct + type CompositeCfg struct + MaxTotalSpansPerSecond int64 + PolicyOrder []string + RateAllocation []RateAllocationCfg + SubPolicyCfg []CompositeSubPolicyCfg + type CompositeSubPolicyCfg struct + AndCfg AndCfg + type Config struct + DecisionWait time.Duration + ExpectedNewTracesPerSec uint64 + NumTraces uint64 + PolicyCfgs []PolicyCfg + type LatencyCfg struct + ThresholdMs int64 + type NumericAttributeCfg struct + Key string + MaxValue int64 + MinValue int64 + type PolicyCfg struct + AndCfg AndCfg + CompositeCfg CompositeCfg + type PolicyType string + const AlwaysSample + const And + const Composite + const Latency + const NumericAttribute + const Probabilistic + const RateLimiting + const SpanCount + const StatusCode + const StringAttribute + const TraceState + type ProbabilisticCfg struct + HashSalt string + SamplingPercentage float64 + type RateAllocationCfg struct + Percent int64 + Policy string + type RateLimitingCfg struct + SpansPerSecond int64 + type SpanCountCfg struct + MinSpans int32 + type StatusCodeCfg struct + StatusCodes []string + type StringAttributeCfg struct + CacheMaxSize int + EnabledRegexMatching bool + InvertMatch bool + Key string + Values []string + type TraceStateCfg struct + Key string + Values []string