QueueKeeperCheck.Finding (queue_keeper_check v0.2.1)

Copy Markdown View Source

One detected problem.

  • :check - which check fired (see QueueKeeperCheck.checks/0)
  • :severity - :warning or :critical
  • :queue / :worker - scope of the finding (either may be nil)
  • :count - number of jobs involved
  • :value / :threshold - the measured value and the limit it crossed
  • :message - one human-readable line
  • :job_ids - up to 10 sample job ids for follow-up

Summary

Types

t()

@type t() :: %QueueKeeperCheck.Finding{
  check: atom(),
  count: non_neg_integer(),
  job_ids: [integer()],
  message: String.t(),
  queue: String.t() | nil,
  severity: :warning | :critical,
  threshold: number() | nil,
  value: number() | nil,
  worker: String.t() | nil
}