Uses of Interface
co.elastic.apm.agent.impl.sampling.Sampler
-
Packages that use Sampler Package Description co.elastic.apm.agent.impl co.elastic.apm.agent.impl.sampling co.elastic.apm.agent.impl.transaction -
-
Uses of Sampler in co.elastic.apm.agent.impl
Methods in co.elastic.apm.agent.impl that return Sampler Modifier and Type Method Description SamplerElasticApmTracer. getSampler()Methods in co.elastic.apm.agent.impl with parameters of type Sampler Modifier and Type Method Description <C> TransactionElasticApmTracer. startChildTransaction(C headerCarrier, BinaryHeaderGetter<C> binaryHeadersGetter, Sampler sampler, long epochMicros, java.lang.ClassLoader initiatingClassLoader)<C> TransactionElasticApmTracer. startChildTransaction(C headerCarrier, TextHeaderGetter<C> textHeadersGetter, Sampler sampler, long epochMicros, java.lang.ClassLoader initiatingClassLoader)<C> TransactionGlobalTracer. startChildTransaction(C headerCarrier, BinaryHeaderGetter<C> binaryHeadersGetter, Sampler sampler, long epochMicros, java.lang.ClassLoader initiatingClassLoader)<C> TransactionGlobalTracer. startChildTransaction(C headerCarrier, TextHeaderGetter<C> textHeadersGetter, Sampler sampler, long epochMicros, java.lang.ClassLoader initiatingClassLoader)<C> TransactionTracer. startChildTransaction(C headerCarrier, BinaryHeaderGetter<C> binaryHeadersGetter, Sampler sampler, long epochMicros, java.lang.ClassLoader initiatingClassLoader)Starts a transaction as a child of the context headers obtained through the providedHeaderGetter.<C> TransactionTracer. startChildTransaction(C headerCarrier, TextHeaderGetter<C> textHeadersGetter, Sampler sampler, long epochMicros, java.lang.ClassLoader initiatingClassLoader)Starts a transaction as a child of the context headers obtained through the providedHeaderGetter.TransactionElasticApmTracer. startRootTransaction(Sampler sampler, long epochMicros, java.lang.ClassLoader initiatingClassLoader)TransactionGlobalTracer. startRootTransaction(Sampler sampler, long epochMicros, java.lang.ClassLoader initiatingClassLoader)TransactionTracer. startRootTransaction(Sampler sampler, long epochMicros, java.lang.ClassLoader initiatingClassLoader)Starts a trace-root transaction with a specified sampler and start timestamp -
Uses of Sampler in co.elastic.apm.agent.impl.sampling
Classes in co.elastic.apm.agent.impl.sampling that implement Sampler Modifier and Type Class Description classConstantSamplerThis is a implementation ofSamplerwhich always returns the same sampling decision.classProbabilitySamplerThis implementation ofSamplersamples based on a sampling probability (or sampling rate) between 0.0 and 1.0.Methods in co.elastic.apm.agent.impl.sampling that return Sampler Modifier and Type Method Description static SamplerConstantSampler. of(boolean decision)static SamplerProbabilitySampler. of(double samplingRate) -
Uses of Sampler in co.elastic.apm.agent.impl.transaction
Methods in co.elastic.apm.agent.impl.transaction with parameters of type Sampler Modifier and Type Method Description voidTraceContext. asRootSpan(Sampler sampler)<T> TransactionTransaction. start(TraceContext.ChildContextCreator<T> childContextCreator, T parent, long epochMicros, Sampler sampler, java.lang.ClassLoader initiatingClassLoader)<T,A>
TransactionTransaction. start(TraceContext.ChildContextCreatorTwoArg<T,A> childContextCreator, T parent, A arg, long epochMicros, Sampler sampler, java.lang.ClassLoader initiatingClassLoader)
-