{
  "slug": "doctl-apps-adds-autoscaling-event-commands-and-logs-f62e55976c4b",
  "title": "doctl apps adds autoscaling event commands and logs",
  "tools": [
    "doctl"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-18T12:05:22.000Z",
  "announced_at": "2026-03-18T12:05:22.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "For an App Platform app, use `list-events` to inspect events; use `cancel-event` with the app and event IDs to cancel an in-progress autoscaling event. To retrieve event logs, pass the event ID to `apps logs` and set the type to `autoscale_event`.",
    "examples": [
      "doctl apps list-events <app-id>",
      "doctl apps cancel-event <app-id> <event-id>",
      "doctl apps logs <app-id> <component-name> --event-id <event-id> --type autoscale_event"
    ],
    "gotchas": [
      "Version: v1.152.0",
      "<app-id> (required): App ID; required by the list-events and cancel-event command syntax.",
      "<event-id> (required): Event ID used by cancel-event; with logs, supplied as the value of `--event-id`.",
      "<component-name>: Component whose logs to retrieve; defaults to all components.",
      "--event-id: Selects logs for a specific autoscaling event ID.",
      "--type: Selects the log type; defaults to `run`. `autoscale_event` is a supported type.",
      "Docs conflict: The current official CLI reference pages are generated from doctl v1.178.0, v1.173.0, and v2.0.0, later than the card’s v1.152.0; exact v1.152.0 command details could not be verified from those pages."
    ]
  },
  "why_it_matters": "Inspect an App Platform app's autoscaling events, cancel one, or retrieve its event logs.",
  "sources": [
    "https://github.com/digitalocean/doctl/releases/tag/v1.152.0",
    "https://github.com/digitalocean/doctl/pull/1810",
    "https://docs.digitalocean.com/reference/doctl/reference/apps/list-events/",
    "https://docs.digitalocean.com/reference/doctl/reference/apps/cancel-event/",
    "https://docs.digitalocean.com/reference/doctl/reference/apps/logs/"
  ],
  "rank": 0.95023,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-ef5381c07d5a8261-0:gate",
    "evidence_hash": "588c28f97870cd80dff98bc23112b113a053c1c088c77423fd5f0c6d7aa9bbd4"
  },
  "review": {
    "draft_hash": "4c7977c16d4b521076e20c699c6a14121ced12e41d6137350571592fdd7b20bf",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.78 (>= 0.6 needed)."
  }
}
