Versions in this module Expand all Collapse all v1 v1.17.0 Feb 24, 2020 Changes in this version + var GoUnusedProtection__ int + type OperationSamplingStrategy struct + Operation string + ProbabilisticSampling *ProbabilisticSamplingStrategy + func NewOperationSamplingStrategy() *OperationSamplingStrategy + func (p *OperationSamplingStrategy) GetOperation() string + func (p *OperationSamplingStrategy) GetProbabilisticSampling() *ProbabilisticSamplingStrategy + func (p *OperationSamplingStrategy) IsSetProbabilisticSampling() bool + func (p *OperationSamplingStrategy) Read(iprot thrift.TProtocol) error + func (p *OperationSamplingStrategy) ReadField1(iprot thrift.TProtocol) error + func (p *OperationSamplingStrategy) ReadField2(iprot thrift.TProtocol) error + func (p *OperationSamplingStrategy) String() string + func (p *OperationSamplingStrategy) Write(oprot thrift.TProtocol) error + type PerOperationSamplingStrategies struct + DefaultLowerBoundTracesPerSecond float64 + DefaultSamplingProbability float64 + PerOperationStrategies []*OperationSamplingStrategy + var SamplingStrategyResponse_OperationSampling_DEFAULT *PerOperationSamplingStrategies + func NewPerOperationSamplingStrategies() *PerOperationSamplingStrategies + func (p *PerOperationSamplingStrategies) GetDefaultLowerBoundTracesPerSecond() float64 + func (p *PerOperationSamplingStrategies) GetDefaultSamplingProbability() float64 + func (p *PerOperationSamplingStrategies) GetPerOperationStrategies() []*OperationSamplingStrategy + func (p *PerOperationSamplingStrategies) Read(iprot thrift.TProtocol) error + func (p *PerOperationSamplingStrategies) ReadField1(iprot thrift.TProtocol) error + func (p *PerOperationSamplingStrategies) ReadField2(iprot thrift.TProtocol) error + func (p *PerOperationSamplingStrategies) ReadField3(iprot thrift.TProtocol) error + func (p *PerOperationSamplingStrategies) String() string + func (p *PerOperationSamplingStrategies) Write(oprot thrift.TProtocol) error + type ProbabilisticSamplingStrategy struct + SamplingRate float64 + var OperationSamplingStrategy_ProbabilisticSampling_DEFAULT *ProbabilisticSamplingStrategy + var SamplingStrategyResponse_ProbabilisticSampling_DEFAULT *ProbabilisticSamplingStrategy + func NewProbabilisticSamplingStrategy() *ProbabilisticSamplingStrategy + func (p *ProbabilisticSamplingStrategy) GetSamplingRate() float64 + func (p *ProbabilisticSamplingStrategy) Read(iprot thrift.TProtocol) error + func (p *ProbabilisticSamplingStrategy) ReadField1(iprot thrift.TProtocol) error + func (p *ProbabilisticSamplingStrategy) String() string + func (p *ProbabilisticSamplingStrategy) Write(oprot thrift.TProtocol) error + type RateLimitingSamplingStrategy struct + MaxTracesPerSecond int16 + var SamplingStrategyResponse_RateLimitingSampling_DEFAULT *RateLimitingSamplingStrategy + func NewRateLimitingSamplingStrategy() *RateLimitingSamplingStrategy + func (p *RateLimitingSamplingStrategy) GetMaxTracesPerSecond() int16 + func (p *RateLimitingSamplingStrategy) Read(iprot thrift.TProtocol) error + func (p *RateLimitingSamplingStrategy) ReadField1(iprot thrift.TProtocol) error + func (p *RateLimitingSamplingStrategy) String() string + func (p *RateLimitingSamplingStrategy) Write(oprot thrift.TProtocol) error + type SamplingStrategyResponse struct + OperationSampling *PerOperationSamplingStrategies + ProbabilisticSampling *ProbabilisticSamplingStrategy + RateLimitingSampling *RateLimitingSamplingStrategy + StrategyType SamplingStrategyType + func NewSamplingStrategyResponse() *SamplingStrategyResponse + func (p *SamplingStrategyResponse) GetOperationSampling() *PerOperationSamplingStrategies + func (p *SamplingStrategyResponse) GetProbabilisticSampling() *ProbabilisticSamplingStrategy + func (p *SamplingStrategyResponse) GetRateLimitingSampling() *RateLimitingSamplingStrategy + func (p *SamplingStrategyResponse) GetStrategyType() SamplingStrategyType + func (p *SamplingStrategyResponse) IsSetOperationSampling() bool + func (p *SamplingStrategyResponse) IsSetProbabilisticSampling() bool + func (p *SamplingStrategyResponse) IsSetRateLimitingSampling() bool + func (p *SamplingStrategyResponse) Read(iprot thrift.TProtocol) error + func (p *SamplingStrategyResponse) ReadField1(iprot thrift.TProtocol) error + func (p *SamplingStrategyResponse) ReadField2(iprot thrift.TProtocol) error + func (p *SamplingStrategyResponse) ReadField3(iprot thrift.TProtocol) error + func (p *SamplingStrategyResponse) ReadField4(iprot thrift.TProtocol) error + func (p *SamplingStrategyResponse) String() string + func (p *SamplingStrategyResponse) Write(oprot thrift.TProtocol) error + type SamplingStrategyType int64 + const SamplingStrategyType_PROBABILISTIC + const SamplingStrategyType_RATE_LIMITING + func SamplingStrategyTypeFromString(s string) (SamplingStrategyType, error) + func SamplingStrategyTypePtr(v SamplingStrategyType) *SamplingStrategyType + func (p SamplingStrategyType) String() string