scout_apm v1.0.7 ScoutApm.Internal.JobRecord
Stores a single or multiple runs of a background job. Both metadata ("queue" and "name"), and metrics ("total time", "metrics")
Link to this section Summary
Functions
Given a Job layer (probably the root-layer of a TrackedRequest), turn it into a JobRecord, with fully populated metrics and timing info
Link to this section Types
Link to this type
t()
t() :: %ScoutApm.Internal.JobRecord{
count: non_neg_integer(),
errors: non_neg_integer(),
exclusive_time: ApproximateHistogram.t(),
metrics: ScoutApm.MetricSet.t(),
name: String.t(),
queue: String.t(),
total_time: ApproximateHistogram.t()
}
Link to this section Functions
Link to this function
from_layer(layer, scope)
from_layer(ScoutApm.Internal.Layer.t(), any()) :: t()
Given a Job layer (probably the root-layer of a TrackedRequest), turn it into a JobRecord, with fully populated metrics and timing info
Link to this function