scout_apm v1.0.7 ScoutApm.Internal.Layer
Internal to the ScoutAPM agent.
Represents a single layer during a TrackedRequest
Link to this section Summary
Link to this section Types
Link to this type
t()
t() :: %ScoutApm.Internal.Layer{
backtrace: nil | [any()],
children: [
%ScoutApm.Internal.Layer{
backtrace: term(),
children: term(),
desc: term(),
manual_duration: term(),
name: term(),
scopable: term(),
started_at: term(),
stopped_at: term(),
type: term(),
uri: term()
}
],
desc: nil | String.t(),
manual_duration: nil | ScoutApm.Internal.Duration.t(),
name: nil | String.t(),
scopable: boolean(),
started_at: number(),
stopped_at: nil | Integer,
type: String.t(),
uri: nil | String.t()
}
Link to this section Functions
Link to this function
set_manual_duration(layer, duration)
Link to this function
total_child_time(layer)
Link to this function
total_exclusive_time(layer)
Link to this function
total_time(layer)
Link to this function
update_backtrace(layer, backtrace)
Link to this function
update_children(layer, children)
Link to this function
update_desc(layer, desc)
Link to this function
update_fields(layer, fields)
Link to this function
update_name(layer, name)
Link to this function
update_stopped_at(layer)
Link to this function
update_stopped_at(layer, stopped_at)
Link to this function