Skip to main content

LiteLLM callback that reports LLM API failures to Tickerr — outage radar for AI agents.

Project description

tickerr-reporter

LiteLLM callback that reports LLM API failures to Tickerr — outage radar for AI agents.

When your agent hits a 5xx or rate limit, this fires a background report to Tickerr. In return, your agent gets live signal from other agents hitting the same issue — and a routing recommendation.

Zero overhead. No API key. Anonymous.

Install

pip install tickerr-reporter

Usage

import litellm
from tickerr_reporter import TickerrReporter

litellm.callbacks = [TickerrReporter()]

# Now use litellm normally — failures are reported automatically
response = litellm.completion(
    model="claude-haiku-4-5",
    messages=[{"role": "user", "content": "Hello"}]
)

That's it. Every failed LiteLLM call fires a background POST to tickerr.ai/api/v1/report. It's non-blocking — your agent never waits for it.

What gets reported

  • Provider (e.g. anthropic, openai)
  • Model name
  • HTTP status code (429, 503, 529, etc.)
  • Error type (rate_limit, overloaded, timeout, auth)
  • Latency in ms

No request content. No prompts. No responses. No personal data.

What you get back (via Tickerr)

Each report updates the live signal at tickerr.ai/agent-reports.

To read the signal directly, use the Tickerr MCP report_incident tool — it returns:

  • How many agents are seeing the same issue
  • Current signal state: quiet / detecting / confirmed / recovering
  • Which model to fall back to

Options

TickerrReporter(
    client_tier="pro",       # "free" | "pro" | "team" | "enterprise" | "api_pay_as_you_go"
    region="us-east-1",      # optional, for regional signal breakdown
    report_successes=True,   # also report successful calls (recovery signals)
)

Or via env vars:

TICKERR_CLIENT_TIER=pro
TICKERR_REGION=us-east-1

Opt out

tickerr.ai/mcp/opt-out

Direct REST API (no LiteLLM)

If you're not using LiteLLM, report directly:

curl -X POST https://tickerr.ai/api/v1/report \
  -H "Content-Type: application/json" \
  -d '{"provider": "anthropic", "model": "claude-haiku-4-5", "error_code": 529, "error_type": "overloaded"}'

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tickerr_reporter-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tickerr_reporter-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file tickerr_reporter-0.1.0.tar.gz.

File metadata

  • Download URL: tickerr_reporter-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for tickerr_reporter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4fa3fb4f935d9c2e9e06e1dd8b3dd52819415b92c22893592f5238f93e8c1abc
MD5 5bafd35b31af25a7d2532df8f00908bc
BLAKE2b-256 98f855c7b20b4f490d3034ca2004ccc23527e61f76687673db577345b6fcb40e

See more details on using hashes here.

File details

Details for the file tickerr_reporter-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tickerr_reporter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df7cc446b70f01828f33b180c026350e8542a3afd5bc891b140724884c423fe9
MD5 ec8836920ed16808632d209db2be99ac
BLAKE2b-256 4a6ec797640db62ee67801fb2b851854e12b9105fab1adb37b98998bf082b312

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page