class Fiber
- Fiber
- Reference
- Object
Overview
Extends Fiber to hold Logit context hashes.
Defined in:
logit/context.crlogit/tracing/span.cr
Instance Method Summary
-
#current_logit_span : Array(Logit::Span)
The stack of active Logit spans for this fiber.
-
#current_logit_span=(current_logit_span : Array(Logit::Span))
The stack of active Logit spans for this fiber.
-
#logit_fiber_context : Hash(String, String)
Fiber-local context that persists across method calls.
-
#logit_fiber_context=(logit_fiber_context : Hash(String, String))
Fiber-local context that persists across method calls.
-
#logit_method_context : Hash(String, String)
Method-local context that is cleared after each instrumented method.
-
#logit_method_context=(logit_method_context : Hash(String, String))
Method-local context that is cleared after each instrumented method.
Instance Method Detail
The stack of active Logit spans for this fiber.
Used internally by Logit::Span for trace context management.
The stack of active Logit spans for this fiber.
Used internally by Logit::Span for trace context management.
Fiber-local context that persists across method calls.
Fiber-local context that persists across method calls.
Method-local context that is cleared after each instrumented method.
Method-local context that is cleared after each instrumented method.