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.1.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.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tickerr_reporter-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 1a78a1f7a9a3774d754dc4ccf49ca480760fdba32e1fde57ab11053ea1e60821
MD5 3ce844ca127bd27ce5ca4dbea404b373
BLAKE2b-256 f528124559b46be6dcc7f03c1402428cc8cde3f9c0b377eaa40169a201fb1ef8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tickerr_reporter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c300a9c83e4669cd06d2f389c7f30f7455e471bc22be7f077506365cb6cfe8f
MD5 7e9a29f7a51fa3f3f725e925ec7f1052
BLAKE2b-256 c2cec215eee5a6cee9f8b262f2de326473c15e073a4e8e1e8fa0ca85e73331e6

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