ScoutApm.Internal.WebTrace (scout_apm v2.0.0)

Copy Markdown

A record of a single trace.

Summary

Types

t()

@type t() :: %ScoutApm.Internal.WebTrace{
  contexts: ScoutApm.Internal.Context.t(),
  git_sha: String.t(),
  hostname: String.t(),
  metrics: [ScoutApm.Internal.Metric.t()],
  name: String.t(),
  score: number(),
  time: any(),
  total_call_time: ScoutApm.Internal.Duration.t(),
  type: String.t(),
  uri: nil | String.t()
}

Functions

as_scored_item(trace)

from_tracked_request(tracked_request)

new(type, name, duration, metrics, uri, contexts, time, hostname, git_sha)

score(trace)