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.3.0.tar.gz (3.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.3.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tickerr_reporter-0.3.0.tar.gz
  • Upload date:
  • Size: 3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 3842360632c60973b7bef5606ce864445e8d18ae2122e8800b4782be6d3185d4
MD5 e2c673785b4692ed26bb260b31f070ef
BLAKE2b-256 18b81a090dfe73d1e7ff69b159965a14391cfaf103f4c5f0a4011685fe2dc080

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tickerr_reporter-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bbe7dd0a5f0f4f22cc9f2efee88ef959b036fce8a7b90a1e338bc45525369bda
MD5 5c8e53f892c1b12f4800f008dc37936d
BLAKE2b-256 86d25dea20c66832cb85ef6eeb562b87af21364b3a89426da51254dddab6973d

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