ScoutApm.Internal.Context (scout_apm v2.0.0)

Copy Markdown

Internal representation of a Context. As a user of ScoutApm, you likely will not need this module

Summary

Types

context_types()

@type context_types() :: :user | :extra

t()

@type t() :: %ScoutApm.Internal.Context{
  key: String.t(),
  type: context_types(),
  value: number() | boolean() | String.t()
}

Functions

new(type, key, value)