scout_apm v0.3.1 ScoutApm.ScopeStack

Internal to ScoutApm agent.

Used as a helper to track the current scope a layer is under, as we build up a trace.

This doesn’t have any way to pop, since it’s used in a recursive call, and coppies should just be tossed as the call stack finishes

Summary

Functions

current_scope(list)
layer_to_scope(layer)
new()
push_scope(stack, layer)