trace_config.proto

Package : opencensus.proto.trace.v1

Top

trace_config.proto

Table of Contents

ConstantSampler

Field Type Label Description
decision opencensus.proto.trace.v1.ConstantSampler.ConstantDecision

ProbabilitySampler

Field Type Label Description
samplingProbability double The desired probability of sampling. Must be within [0.0, 1.0].

RateLimitingSampler

Field Type Label Description
qps int64 Rate per second.

TraceConfig

Field Type Label Description
probabilitySampler opencensus.proto.trace.v1.ProbabilitySampler
constantSampler opencensus.proto.trace.v1.ConstantSampler
rateLimitingSampler opencensus.proto.trace.v1.RateLimitingSampler
maxNumberOfAttributes int64 The global default max number of attributes per span.
maxNumberOfAnnotations int64 The global default max number of annotation events per span.
maxNumberOfMessageEvents int64 The global default max number of message events per span.
maxNumberOfLinks int64 The global default max number of link entries per span.

ConstantSampler.ConstantDecision

Name Number Description
ALWAYS_OFF 0
ALWAYS_ON 1
ALWAYS_PARENT 2