package trace_config
- Alphabetic
- Public
- Protected
Type Members
- final case class ConstantSampler(decision: ConstantDecision = io.opencensus.proto.trace.v1.trace_config.ConstantSampler.ConstantDecision.ALWAYS_OFF, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ConstantSampler] with Product with Serializable
Sampler that always makes a constant decision on span sampling.
Sampler that always makes a constant decision on span sampling.
- Annotations
- @SerialVersionUID()
- final case class ProbabilitySampler(samplingProbability: Double = 0.0, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ProbabilitySampler] with Product with Serializable
Sampler that tries to uniformly sample traces with a given probability.
Sampler that tries to uniformly sample traces with a given probability. The probability of sampling a trace is equal to that of the specified probability.
- samplingProbability
The desired probability of sampling. Must be within [0.0, 1.0].
- Annotations
- @SerialVersionUID()
- final case class RateLimitingSampler(qps: Long = 0L, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[RateLimitingSampler] with Product with Serializable
Sampler that tries to sample with a rate per time window.
Sampler that tries to sample with a rate per time window.
- qps
Rate per second.
- Annotations
- @SerialVersionUID()
- final case class TraceConfig(sampler: Sampler = io.opencensus.proto.trace.v1.trace_config.TraceConfig.Sampler.Empty, maxNumberOfAttributes: Long = 0L, maxNumberOfAnnotations: Long = 0L, maxNumberOfMessageEvents: Long = 0L, maxNumberOfLinks: Long = 0L, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[TraceConfig] with Product with Serializable
Global configuration of the trace service.
Global configuration of the trace service. All fields must be specified, or the default (zero) values will be used for each type.
- maxNumberOfAttributes
The global default max number of attributes per span.
- maxNumberOfAnnotations
The global default max number of annotation events per span.
- maxNumberOfMessageEvents
The global default max number of message events per span.
- maxNumberOfLinks
The global default max number of link entries per span.
- Annotations
- @SerialVersionUID()
Value Members
- object ConstantSampler extends GeneratedMessageCompanion[ConstantSampler]
- object ProbabilitySampler extends GeneratedMessageCompanion[ProbabilitySampler]
- object RateLimitingSampler extends GeneratedMessageCompanion[RateLimitingSampler]
- object TraceConfig extends GeneratedMessageCompanion[TraceConfig]
- object TraceConfigProto extends GeneratedFileObject