{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "insights/v1/events/honeybadger-ruby/retry_stopped.active_job.json",
  "title": "ActiveJob: retry_stopped",
  "description": "An Active Job job stopped retrying after too many failed attempts.",
  "x-hb": {
    "notifiers": [
      "honeybadger-ruby"
    ],
    "category": "jobs",
    "component": "Active Job"
  },
  "type": "object",
  "properties": {
    "event_type": {
      "type": "string",
      "const": "retry_stopped.active_job"
    },
    "job_class": {
      "type": "string",
      "description": "ActiveJob class name.",
      "examples": [
        "SyncInventoryJob"
      ]
    },
    "job_id": {
      "type": "string",
      "description": "Unique job identifier.",
      "examples": [
        "c2e3f4a5-6b7c-4d8e-9f0a-1b2c3d4e5f6a"
      ]
    },
    "queue_name": {
      "type": "string",
      "description": "Queue the job is on.",
      "examples": [
        "default"
      ]
    },
    "adapter_class": {
      "type": "string",
      "description": "ActiveJob adapter class, e.g. \"SidekiqAdapter\".",
      "examples": [
        "ActiveJob::QueueAdapters::SidekiqAdapter"
      ]
    },
    "duration": {
      "type": "number",
      "description": "Duration in milliseconds.",
      "examples": [
        1.05
      ]
    },
    "instrumenter_id": {
      "type": "string",
      "description": "Rails ActiveSupport::Notifications instrumenter UUID.",
      "examples": [
        "d6a5b3f4c2e1908a7b6c"
      ]
    },
    "request_id": {
      "type": "string",
      "description": "Rails request UUID from the active web request context, if any. Merged globally by the Honeybadger agent.",
      "examples": [
        "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01"
      ]
    },
    "hostname": {
      "type": "string",
      "description": "Server hostname. Attached to every event by default (events.attach_hostname).",
      "examples": [
        "worker-1.example.com"
      ]
    },
    "environment": {
      "type": "string",
      "description": "Application environment, e.g. \"production\". Attached to every event by default (events.attach_environment).",
      "examples": [
        "production"
      ]
    }
  },
  "required": [
    "event_type",
    "job_class",
    "job_id"
  ]
}
