scout_apm v0.3.1 ScoutApm.Internal.JobRecord
Stores a single or multiple runs of a background job. Both metadata (“queue” and “name”), and metrics (“total time”, “metrics”)
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
Types
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}
Functions
Given a Job layer (probably the root-layer of a TrackedRequest), turn it into a JobRecord, with fully populated metrics and timing info