ExRay.Store (ex_ray_d v0.1.2) View Source
Store the span chains in an ETS table. The table must be created during the application initialization using the create call. The span chain acts like a call stack by pushing and popping spans as they come in and out of scope.
Link to this section Summary
Functions
Initializes the spans ETS table. The span table can be shared across process boundary.
Fetch the top level span for a given key
Fetch span stack for the given key
Pops the top span off the stack.
Pushes a new span to the span stack. The key must be unique.
Link to this section Functions
Specs
create() :: any()
Initializes the spans ETS table. The span table can be shared across process boundary.
Specs
Fetch the top level span for a given key
Specs
Fetch span stack for the given key
Specs
Pops the top span off the stack.
Specs
Pushes a new span to the span stack. The key must be unique.