Skip to Content
CrawlersMonitoring & Alerts

Monitoring & Alerts

Every run is observable end to end — status, live logs, and metrics parsed straight from Scrapy — and you can have the platform watch those metrics for you and act when something looks wrong.

Jobs

The Jobs tab lists every run, filterable by project, spider, status, tags, or free-text search. A job moves through these states:

StatusMeaning
pendingQueued, waiting for a worker.
runningExecuting in its container.
finishedCompleted (check the finish reason and counts).
errorEnded in failure.
cancelledStopped by you (or by an alert).

Open any job to see its detail.

Live logs

Each job streams its logs in real time — follow a run as it happens, or read the full log after the fact, filtered by level. Logs are retained per job so you can go back to a previous run.

Metrics & progress

The platform parses your Scrapy log as it runs and captures, with no configuration on your part:

  • Items scraped, pages crawled, errors and warnings
  • HTTP response-code breakdown and retry counts
  • The finish reason and full Scrapy stats
  • A progress chart — items and pages over the life of the run

The Overview and Monitoring tabs roll this up: recent activity, currently running jobs, and items-per-job while runs are in flight.

Alerts

In the Alerts tab, define rules that watch job metrics and notify you — or intervene — automatically.

A rule is a metric, an operator, and a threshold:

  • Metrics: error_count, warning_count, items_scraped, pages_scraped, runtime_seconds, retry_count, error_rate.
  • Operators: >, >=, <, <=, ==, !=.

For example: error_count > 50, or items_scraped < 1 to catch a run that silently produced nothing.

When a rule is evaluated

Rules are checked on a polling interval while a run is in flight, and once more when the run finishes or errors. Which operators can act mid-run depends on direction:

  • >, >= and != 0 can fire mid-run — as soon as the metric crosses the threshold — and, if the rule says so, stop the job right then.
  • <, <=, == and every other != are judged once, when the run finishes or errors, and never stop anything: a value that is “too low so far” may still grow, so these rules can only tell you how the run ended.
  • error_rate rules act mid-run only after the run has crawled 20 pages, so a couple of early failures don’t trip them.
  • retry_count is only known at the end of a run, so it is evaluated then.
  • Runs shorter than the polling interval are still evaluated: their rules fire at the end.
  • A rule with a cooldown alerts once per cooldown window, even when several runs match in the same check.

When a rule trips it can:

  • Notify through a channel — Slack, email, or a webhook.
  • Optionally stop or force-stop the offending job, so a runaway or broken run doesn’t keep burning time.

Rules support cooldowns and active windows (working hours / days, in your timezone) so you’re alerted when it matters and not flooded. A history of fired alerts is kept for review.

A good starting pair: alert on items_scraped < 1 (a run that scraped nothing usually means a broken selector or a block) and on a high error_count (a target that started rejecting you). Point both at a Slack channel and you’ll hear about failures before they pile up.

Last updated on