Tracer
zio.blocks.telemetry.Tracer
Creates spans within a single instrumentation scope.
A tracer consults the configured sampler, manages parent context propagation, and notifies registered span processors as spans start and end.
Attributes
- Source
- Tracer.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Returns the currently active span context, if one is bound.
Creates an internal span around the supplied block.
Creates a span of the specified kind around the supplied block.
Creates a span of the specified kind and attributes around the supplied block.
Creates a span of the specified kind and attributes around the supplied block.
Attributes
- Source
- Tracer.scala
Returns a builder for creating manually managed spans.
In this article