- Service health tells you whether the process and Cloud route are running.
- Processor progress tells you whether the indexer continues to commit blocks.
- Data freshness compares processed height or timestamp with the expected source head.
Metrics endpoints
Each processor exposes Prometheus metrics through its slot URL:<processor> defaults to processor for a single unnamed service. For a multi-processor manifest, use the processor’s name.
Use the tag endpoint for production monitoring so the scrape target follows a zero-downtime cutover.
Indexing metrics
The built-in metrics include:
Inspect the endpoint for the complete list produced by your SDK version.
Diagnose progress
- Record
sqd_processor_last_blockat two points in time. - If it does not increase, inspect processor logs.
- Compare it with
sqd_processor_chain_height. - Confirm that the reported source height matches an independent source for the chain.
- Check whether the upstream Portal, SQD Network dataset, or RPC has the required historical range.
Logs
Follow the processor selected by a stable tag:Multi-processor deployments
Monitor each named processor independently. One processor can be current while another is stalled. For TypeORM-based multi-processor squids, processor state may be stored in separate database schemas. Do not assume every processor writes tosquid_processor.status; inspect the stateSchema configured by that processor.
Background jobs
A background processor service should expose job-specific metrics such as:- runs by result;
- last successful run timestamp;
- duration;
- rows affected;
- lock-contention or skipped-run count.
External monitoring
Scrape the tag-based metrics URL from Prometheus or another compatible service. A basic production dashboard should show:- last processed block;
- source height and lag;
- processing rate;
- processor restarts and errors;
- API request latency and error rate from the client or API service;
- database connections, storage, and slow queries where available;
- last success and duration for scheduled jobs.
Support information
When requesting help, provide:- organization and squid name;
- exact slot, not only the tag;
- affected processor name;
- time range and timezone;
- first relevant error and a short surrounding log window;
- last processed block and expected chain height;
- whether the same commit works locally.