- Companion
- class
Value members
Concrete methods
Adds an event with attributes to the current span.
Adds an event with attributes to the current span.
Create a child of 'span' with name 'spanName' as the current span. Ends the span when the effect finishes.
Create a child of 'span' with name 'spanName' as the current span. Ends the span when the effect finishes.
Sets the current span to be the new root span with name 'spanName' Ends the span when the effect finishes.
Sets the current span to be the new root span with name 'spanName' Ends the span when the effect finishes.
Introduces a thread-local scope during the execution allowing for non-zio context propagation.
Introduces a thread-local scope during the execution allowing for non-zio context propagation.
Closes the scope when the effect finishes.
Introduces a thread-local scope from the currently active zio span allowing for non-zio context propagation. This scope will only be active during Future creation, so another mechanism must be used to ensure that the scope is passed into the Future callbacks.
Introduces a thread-local scope from the currently active zio span allowing for non-zio context propagation. This scope will only be active during Future creation, so another mechanism must be used to ensure that the scope is passed into the Future callbacks.
The java auto instrumentation package provides such a mechanism out of the box, so one is not provided as a part of this method.
CLoses the scope when the effect finishes
Introduces a thread-local scope during the execution allowing for non-zio context propagation.
Introduces a thread-local scope during the execution allowing for non-zio context propagation.
Closes the scope when the effect finishes.
Sets the current span to be the child of the current span with name 'spanName' Ends the span when the effect finishes.
Sets the current span to be the child of the current span with name 'spanName' Ends the span when the effect finishes.
Extracts the span from carrier C
and set its child span with name 'spanName' as the current span. Ends the span
when the effect finishes.
Extracts the span from carrier C
and set its child span with name 'spanName' as the current span. Ends the span
when the effect finishes.
Extracts the span from carrier C
and unsafely set its child span with name 'spanName' as the current span. You
need to make sure to call the finalize effect to end the span. Primarily useful for interop.
Extracts the span from carrier C
and unsafely set its child span with name 'spanName' as the current span. You
need to make sure to call the finalize effect to end the span. Primarily useful for interop.
Unsafely sets the current span to be the child of the current span with name 'spanName' You need to manually call the finalizer to end the span. Useful for interop.
Unsafely sets the current span to be the child of the current span with name 'spanName' You need to manually call the finalizer to end the span. Useful for interop.