Production observability for AI-built apps

YOUR APP
BROKE IN PROD.
YOU MISSED IT.

FlareLog catches unhandled errors, silent crashes, and cost spikes in your Cloudflare and AI-built apps — automatically, with one npm install. Then it lets Lovable, Cursor, and Claude read your live logs so your AI can fix them without leaving the editor.

$ npm install @flarelog/sdk

// Free up to 10,000 logs/mo · no card needed · install in under 2 min

EXAMPLE_FEED.EXE
DEMO
INFOGET /api/users - 200 OK (24ms)
WARNKV read latency high: 145ms
INFOPOST /webhooks/stripe - 200 OK (89ms)
ERRORUncaught TypeError: Cannot read properties of undefined
INFOWorker tail connected successfully
01FLYING BLIND

What Cloudflare can't tell you.

Cloudflare's native observability got better in 2025. It still can't tell you when your Worker died silently, when a KV loop is burning money, or why a 500 happened with zero logs. FlareLog can.

01
CRITICAL BLINDSPOT

HTTP 500, zero logs

When a Worker times out, exceeds its CPU limit, or crashes before your code can log anything, no SDK can report it. The Tail Worker — a small companion Worker Cloudflare runs after each request — still sees the failure.

02

Errors captured automatically

No boilerplate. The FlareLog SDK picks up console.error and unhandled exceptions on its own, with the context you need to reproduce them.

03

Short memory

Cloudflare keeps Workers logs for 7 days at most, and longer retention is still on their roadmap, not shipped. If a customer reports an incident from two weeks ago, the evidence is gone. FlareLog Pro keeps 90 days, searchable.

02LIVE CONSOLE

Every crash, fully inspectable.

Click any entry to see the message, source, and trace ID behind it. Example data shown below.

ACTIVE_STREAM_CONSOLE
DEMO_DATA
7 events · newest first
// INCIDENT_DETAILSWARN
Message

Database connection delay: 450ms

Source Service

db.d1

Unique Trace ID

tr_218cd98b8df116aa

03AI DEBUGGING

Let your AI fix it.

Connect FlareLog to Claude, Cursor, or Lovable over MCP. Ask "why is checkout failing?" and your assistant reads the real production errors instead of guessing from the code.

Claude · FlareLog MCPExample
You

Why is checkout returning 500s?

get_recent_errors(hours: 1)
Claude

3 errors in the last hour, all TypeError: Cannot read properties of undefined (reading 'plan') from worker.billing at src/billing.ts:88. getUser() returns null when the session has expired, and the handler doesn't check for it. Here's a fix that returns 401 instead of crashing…

  • Search logs by level, source, text, or time range
  • Pull the latest errors and follow a trace end to end
  • Check cost-burn and AI-call spend without opening a dashboard
// mcp.json
{
  "mcpServers": {
    "flarelog": {
      "url": "https://mcp.flarelog.dev",
      "headers": {
        "Authorization": "Bearer fl_your_api_key_here"
      }
    }
  }
}
Set up AI debugging →
04HOW IT WORKS

Two layers, no blind spots

Your code reports what it knows. A Tail Worker — a companion Worker Cloudflare runs after every request — reports what your code can't: timeouts, CPU limits, and cost.

// LAYER_01ACTIVE_PRODUCER

SDK Layer

Embedded inside your standard worker script. Dispatches captured exception payloads and developer info log commands.

console.error / logger.info()
// LAYER_02CONSUMER_TAIL

Tail Worker Layer

Listens out-of-band at the edge interface. Measures the final compute cost, wall CPU, memory limits, and handles silent timeouts.

CPU + class_a_ops + class_b_ops
CONVERGED INSIGHTS

Unified FlareLog Dashboard

05COST BURN MONITOR

Catch a $500 KV loop before billing sees it.

Cloudflare's cost metrics lag 15–60 minutes. A misconfigured loop can rack up KV writes, R2 Class A operations, or D1 row reads long before the bill appears. FlareLog estimates the cost of every request in real time from its CPU time, subrequests, and duration.

1

Per-Request Cost Estimation

Immediately calculates costs from incoming Tail Worker CPU & subrequest metrics.

2

Instant Alert Triggering

Emails you, and posts to Slack or Discord, when a request's cost crosses your threshold or spikes above your recent average.

3

Find the leaking Worker

Every alert names the Worker responsible, so you know which deploy to roll back.

Cost per requestIllustrative example
Alert Triggered
Request cost exceeded your $0.005 threshold by 24x.
06QUICK INTEGRATION

Get running in under 2 minutes.

Install the lightweight SDK package or map our tail listener worker script globally.

07PRICING

Free to start. $19 when it matters.

Free

$0/forever
  • 10,000 logs / month
  • 3 projects, 7-day retention
  • Email error alerts
  • SDK + Tail Worker + MCP
Start free

Pro

$19/month
  • 1,000,000 logs / month
  • Unlimited projects, 90-day retention
  • Cost burn alerts
  • Slack & Discord webhooks
See Pro details
STAY OBSERVANT

KNOW WHEN IT BROKE.

Add the SDK in minutes. Get alerted when something breaks or a bill starts to spike — and let your AI fix it without leaving the editor.