ScalixScalix Docs
Sign up

Glitches

Edge-observed faults on your own project's traffic: missing buckets and objects, dead routes, and 5xx from your app, grouped and ranked. Report-only, metadata-only. Enable Glitch Tracker (free, 7 days) or upgrade to Glitch Tracker Plus.

Overview

Glitches (the glitch tracker) surfaces the faults the Scalix edge already observed on your project's traffic while serving it: storage reads that named a missing bucket or object, dead routes, broken auth, rate limits, and 5xx from your own app. Groups are ranked by frequency with first/last seen and a bounded sample of real paths, so you learn what your deployment is getting wrong without filing a support ticket.

The feed is off until your org enables Glitch Tracker: a free, explicitly opted-in service. If your org has not enabled it, the Glitches page shows the enable card and the API returns an empty feed. Once enabled, the feed is:

  • Free. No metering, no charge, no payment account required.
  • Report-only. The platform never modifies your resources. Fixing stays with you, and every hint points at your own remediation.
  • Metadata-only. Status codes, routes, hostnames, and bucket/object names. No request payloads, no query strings, no IP addresses.
  • Project-scoped. A project's feed can only ever show that project's own traffic. It is stored per project and isolated from every other tenant.

Glitch classes

ClassMeaning
missing_bucketA storage read named a bucket that does not exist for the project. Recreate the bucket or fix the reference.
missing_objectAn object inside an existing bucket was requested but not found. Check the file was uploaded.
not_foundYour app returned 404 (route or file gone).
auth_errorYour app returned 401/403 (may be intentional access control).
rate_limitedYour app returned 429 (its own limits, or Shield policy).
server_errorYour app returned 5xx. Check your logs.
other_client_errorAny other 4xx (400, 405, 410, 422).

Retention and Glitch Tracker Plus

The free Glitch Tracker keeps 7 days of history. Glitch Tracker Plus is the optional paid upgrade (org owner/admin, $1.40 per 1M events, metered) that extends retention to 30 days and adds a weekly digest email. Enabling either starts collection immediately; disabling stops it within a minute, events collected before disabling are billed (Plus only), and there are no refunds.

The weekly digest is fix-aware: it is only sent when there is something new or worsening, and it acknowledges resolved and improving issues rather than re-listing faults you are already fixing.

Console

Open your project, then Glitches in the sidebar. If Glitch Tracker is not enabled, the page shows the free enable card and nothing else. Once enabled, you can switch the window between 1, 7, and 30 days, expand any group to see sample paths, read the recent-events list, and author your own glitch rules. The Plus upgrade card lives on the same page.

CLI

bash
# Aggregated summary for the project (default 7-day window)
scalix-cloud glitches get-glitch-summary
 
# Recent events, newest first
scalix-cloud glitches list-glitch-events

REST API

Both endpoints require a project-scoped token with the glitches:read scope and Glitch Tracker (free) or Glitch Tracker Plus enabled for the org; orgs that have not opted in receive an empty feed.

Summary

bash
curl "https://api.scalix.world/v1/glitches?window_days=7" \
  -H "Authorization: Bearer $SCALIX_API_KEY" \
  -H "x-project-id: $SCALIX_PROJECT_ID"

Recent events

bash
curl "https://api.scalix.world/v1/glitches/events?limit=50" \
  -H "Authorization: Bearer $SCALIX_API_KEY" \
  -H "x-project-id: $SCALIX_PROJECT_ID"

MCP

The glitch feed is a REST and console surface. It is not currently exposed as an MCP tool; an MCP client cannot read it.