Builder

org.typelevel.otel4s.sdk.trace.samplers.ParentBasedSampler.Builder
sealed trait Builder

A builder for creating parent-based sampler.

Attributes

Source
ParentBasedSampler.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def build: Sampler

Creates a parent-based sampler using the configuration of this builder.

Creates a parent-based sampler using the configuration of this builder.

Attributes

Source
ParentBasedSampler.scala

Assigns the Sampler to use when there is a local parent that was not sampled.

Assigns the Sampler to use when there is a local parent that was not sampled.

If not set, defaults to never sampling when the local parent isn't sampled.

Attributes

Source
ParentBasedSampler.scala

Assigns the Sampler to use when there is a local parent that was sampled.

Assigns the Sampler to use when there is a local parent that was sampled.

If not set, defaults to always sampling if the local parent was sampled.

Attributes

Source
ParentBasedSampler.scala

Assigns the Sampler to use when there is a remote parent that was not sampled.

Assigns the Sampler to use when there is a remote parent that was not sampled.

If not set, defaults to never sampling when the remote parent isn't sampled.

Attributes

Source
ParentBasedSampler.scala

Assigns the Sampler to use when there is a remote parent that was sampled.

Assigns the Sampler to use when there is a remote parent that was sampled.

If not set, defaults to always sampling if the remote parent was sampled.

Attributes

Source
ParentBasedSampler.scala