Settings

object Settings
Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case class Group(name: String, operations: Seq[String], rules: Rules)

Describes a group of named operations and the rules that apply to them.

Describes a group of named operations and the rules that apply to them.

Value parameters:
name

Identifier for the group.

operations

Names of all operations that will be part of the group.

rules

Rules to should be applied to all operations in this group.

case class Rules(sample: Option[SamplingDecision], minimumThroughput: Option[Double], maximumThroughput: Option[Double])

Describes the rules that must be applied to certain operation.

Describes the rules that must be applied to certain operation.

Value parameters:
maximumThroughput

Maximum throughput that the sampler will try to guarantee for a matched operation.

minimumThroughput

Minimum throughput that the sampler will try to guarantee for a matched operation.

sample

Fixed sampled decision. If this parameter is provided any other rules will be ignored.

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def from(config: Config): Settings

Constructs an adaptive sampler settings instance from the provided global config object. All relevant configuration settings are take from the "kamon.trace.adaptive-sampler" path.

Constructs an adaptive sampler settings instance from the provided global config object. All relevant configuration settings are take from the "kamon.trace.adaptive-sampler" path.