DebugBundle

Availability Checks

Monitor public HTTP endpoints from DebugBundle infrastructure and open normal incidents when they fail.

Availability checks are hosted GET or HEAD requests that DebugBundle runs against public HTTP endpoints. They are useful for answering a different question than SDK capture: is this external endpoint reachable from outside the service?

When a check fails repeatedly, DebugBundle opens or regresses one normal incident for that check. The incident then flows through the same bundle generation, alert, webhook, dashboard, CLI, and MCP paths as application errors.

In the web app, availability checks live under the project Health tab. The API, CLI, MCP, contracts, and docs use the more precise term availability checks or hosted health checks.

When To Use Availability Checks

  • Monitor public /health, /ready, status, or landing endpoints from outside your app.
  • Open a DebugBundle incident when an endpoint stays unreachable past a configured threshold.
  • Give agents one place to inspect endpoint status, retained results, incidents, bundles, alerts, and webhook evidence.
  • Keep external uptime signal separate from SDK-captured exceptions, logs, and request failures.

Availability checks do not replace SDK capture. SDKs explain failures from inside the application. Availability checks detect when the outside world cannot reach a configured public endpoint.

How Availability Checks Work

Configure

Create a project-scoped hosted health check with URL, method, interval, timeout, thresholds, environment, and optional service label.

Execute

DebugBundle workers claim due checks and run guarded external HTTP requests.

Record

Each execution stores a recent raw result and contributes to per-day rollups.

Incident

Consecutive failures open or regress one linked availability incident.

Recover

Consecutive successes mark the check passing and auto-resolve the linked incident.

  1. Configure — Owners or admins create a check from the Health tab, API, CLI, or MCP.
  2. Validate — DebugBundle validates the target and blocks unsafe outbound requests.
  3. Execute — The hosted worker sends GET or HEAD requests on the configured interval.
  4. Record — Recent execution results and daily rollups are retained for status history.
  5. Incident — When consecutive failures reach failure_threshold, DebugBundle opens or regresses one linked incident.
  6. Recover — When consecutive successes reach recovery_threshold, DebugBundle auto-resolves the linked incident.

Configuration

FieldDescriptionDefault
nameHuman-readable check nameRequired
urlExternal http or https targetRequired
methodHTTP methodGET
expected_status_minLowest status treated as success200
expected_status_maxHighest status treated as success399
timeout_msRequest timeout, between 500 and 5000 ms5000
interval_secondsExecution interval, subject to plan minimumsRequired
failure_thresholdConsecutive failures needed to open or regress an incident3
recovery_thresholdConsecutive successes needed to recover2
environmentProject-scoped environment labelProject default behavior
service_nameOptional service label for filtering and incident contextnull
enabledWhether the saved check executestrue

Disabled checks stay saved and visible, but they do not execute until re-enabled.

Safety Rules

Availability checks are hosted outbound requests, so DebugBundle applies SSRF guardrails before each request and redirect:

  • Only external http and https URLs are allowed.
  • Only ports 80 and 443 are allowed.
  • Embedded credentials, localhost, private hostnames, private and reserved IP ranges, metadata service addresses, and unsafe redirects are blocked.
  • Retained evidence, audit logs, synthetic events, and bundle context must not store raw query values or URL fragments from checked targets.

Run test before saving a new target when you want to verify behavior without side effects.

Side-Effect-Free Tests

The one-off test path runs the same target validation and request guardrails as saved checks, but it does not create incidents, write retained history rows, or advance check counters.

debugbundle health checks test \
  --project-id proj_01HXYZ... \
  --url https://app.example.com/health \
  --method GET \
  --json

Use test results to confirm status-code expectations, timeout behavior, and target reachability before creating or updating a saved check.

Tier Limits

PlanChecks Per ProjectMinimum Interval
Free1300 seconds
Solo560 seconds
Team2530 seconds

If a project downgrades below its saved check count or interval allowance, existing checks remain readable. Checks that exceed the current plan's count or interval limits show a paused state and stop executing until the project becomes eligible again.

Retention

DebugBundle keeps raw availability-check execution results and per-day rollups for at least 30 days. Retained rollups are designed to support a future project status history surface without requiring a schema redesign.

Managing Availability Checks

InterfaceReference
Web appProject Health tab
APIAPI endpoint reference
CLICLI Cloud Workflow
MCPMCP Tools

Useful CLI commands:

debugbundle health checks list --project-id proj_01HXYZ... --json
debugbundle health checks create --project-id proj_01HXYZ... --name "Primary app" --url https://app.example.com/health --interval-seconds 60 --json
debugbundle health checks results <check-id> --project-id proj_01HXYZ... --json
debugbundle health checks daily-rollups <check-id> --project-id proj_01HXYZ... --json

Useful MCP tools:

ToolUse
list_health_checksReview saved checks and current plan limits
get_health_checkInspect one check
test_health_checkVerify a target without creating history or incidents
create_health_checkCreate a saved check
update_health_checkChange configuration or enable/disable execution
delete_health_checkRemove a saved check
list_health_check_resultsInspect recent raw executions
list_health_check_daily_rollupsInspect retained per-day history

Agent Workflow

When an agent investigates reachability, uptime, or endpoint-health issues, use this order:

  1. List checks for the affected project and confirm plan limits.
  2. Inspect recent results and daily rollups for the target check.
  3. Run a side-effect-free test_health_check or debugbundle health checks test when validating a target change.
  4. If the check opened an incident, fetch the normal DebugBundle incident context, bundle, and reproduction evidence.
  5. Resolve the incident only after the endpoint has recovered or the intentional verification incident has served its purpose.

Next Steps

  • MCP Workflows — Agent pattern for endpoint health investigations
  • Alerts — Notify teams when availability incidents open or regress
  • Webhooks — Deliver signed lifecycle events to automation
  • Pricing — Plan limits for hosted health checks

On this page