{
  "db_name": "PostgreSQL",
  "query": "INSERT INTO metrics (id, value)\n                        VALUES ($1, to_jsonb((\n                            SELECT EXTRACT(EPOCH FROM now() - scheduled_for)\n                            FROM v2_job_queue\n                            WHERE tag = $2 AND running = false AND scheduled_for <= now() - ('3 seconds')::interval\n                            ORDER BY priority DESC NULLS LAST, scheduled_for LIMIT 1\n                        )))",
  "describe": {
    "columns": [],
    "parameters": {
      "Left": [
        "Varchar",
        "Text"
      ]
    },
    "nullable": []
  },
  "hash": "00e63eab76d26e148b77e932848de74e8b0943d30481465da453942e299a128f"
}
