class Fiber

Overview

Extends Fiber to hold Logit context hashes.

Defined in:

logit/context.cr
logit/tracing/span.cr

Instance Method Summary

Instance Method Detail

def current_logit_span : Array(Logit::Span) #

The stack of active Logit spans for this fiber. Used internally by Logit::Span for trace context management.


[View source]
def current_logit_span=(current_logit_span : Array(Logit::Span)) #

The stack of active Logit spans for this fiber. Used internally by Logit::Span for trace context management.


[View source]
def logit_fiber_context : Hash(String, String) #

Fiber-local context that persists across method calls.


[View source]
def logit_fiber_context=(logit_fiber_context : Hash(String, String)) #

Fiber-local context that persists across method calls.


[View source]
def logit_method_context : Hash(String, String) #

Method-local context that is cleared after each instrumented method.


[View source]
def logit_method_context=(logit_method_context : Hash(String, String)) #

Method-local context that is cleared after each instrumented method.


[View source]