SamplingDecision

zio.blocks.telemetry.SamplingDecision
See theSamplingDecision companion trait

Attributes

Companion
trait
Source
Sampler.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case object Drop extends SamplingDecision

The span will not be recorded and all events and attributes will be dropped.

The span will not be recorded and all events and attributes will be dropped.

Attributes

Source
Sampler.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Drop.type
case object RecordAndSample extends SamplingDecision

The span will be recorded and the sampled flag will be set, so it will be exported.

The span will be recorded and the sampled flag will be set, so it will be exported.

Attributes

Source
Sampler.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object RecordOnly extends SamplingDecision

The span will be recorded but the sampled flag will not be set, so it will not be exported.

The span will be recorded but the sampled flag will not be set, so it will not be exported.

Attributes

Source
Sampler.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
RecordOnly.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala