Skip to content

Error tracking

Exceptions grouped by fingerprint, linked to their traces.

In the console: Console → Observe → Applications (APM) → your application → Errors

All guides

Error tracking groups exceptions by a stable fingerprint, so ten thousand copies of one error are one issue. Each issue shows the stack trace, release, environment, how often it happens and the trace that produced it.

Errors arrive automatically with APM (OpenTelemetry records exceptions on spans) and RUM (browser errors). For code that has no tracing, use the one-file SDK or one HTTP call.

Why use it

  • Exceptions are buried in logs and you want each distinct error once, with how often it happens.
  • You want to know which release introduced an error and which request triggered it.
  • You want a suggested fix, or a pull request from a fix task.

How it works

  1. 1Errors arrive from OpenTelemetry spans, the browser (RUM), the one-file SDK or a plain POST to /ingest/errors.
  2. 2Each is grouped by its fingerprint; the group counts occurrences and remembers first and last seen, release and environment.
  3. 3With a trace id it links to the trace; AI can explain the group after secrets are scrubbed.

What you get

  • New-error and spike detection, with resolve and ignore triage.
  • A link from each error to its trace and its release.
  • An AI explanation and suggested fix per group (secrets scrubbed first), and Fix tasks that can open a pull request.

Set it up

Get Started shows these commands with your key already filled in — copying from there is the quickest path. Here, <your-key> marks where it goes.

  1. 1

    Download the SDK file

    Get Started → Error tracking → Automatic with the SDK. The SDK is a single file you add to your project (no package to install).

    terminal
    curl -O https://agent.appstatus.io/download/sdk/appstatus.js   # or appstatus.py / appstatus.go
  2. 2

    Node.js

    js
    const appstatus = require('./appstatus')({
      endpoint: 'https://agent.appstatus.io/api/v1', apiKey: '<your-key>', service: 'api',
    })
    appstatus.captureErrors()          // uncaught exceptions + rejections
    appstatus.captureError(err, {})    // or report manually
  3. 3

    Python

    python
    appstatus = AppStatus(endpoint="https://agent.appstatus.io/api/v1", api_key="<your-key>", service="api")
    appstatus.capture_errors()          # uncaught exceptions
  4. 4

    Go

    go
    as := appstatus.New(appstatus.Config{Endpoint: "https://agent.appstatus.io/api/v1", APIKey: "<your-key>", Service: "api"})
    defer as.Recover()                  // panics reported automatically

Check it works

  1. 1

    Send a test error

    Run the curl above once. It appears under Errors within a few seconds.

Uninstall / remove

  1. 1

    Stop sending

    Remove the SDK file and the lines that load it, or the HTTP call. Then revoke the key under Settings → Credentials.

  2. 2

    Clear issues

    Resolve or ignore issues on the Errors page. Removing the application from APM deletes all of its errors.

Troubleshooting

The problems seen most, each with what to run. Still stuck? See the general Troubleshooting guide.

Every occurrence is a separate issue

The fingerprint changes each time (it includes an id, a timestamp or a memory address). Build it from the exception type and the code location only.

Errors arrive but have no trace link

Send the trace_id with the error (the SDK does it when tracing is on), or use OpenTelemetry so exceptions are recorded on spans.

429 or errors missing on a busy day

Each plan has a daily error allowance (Free 1,000, Starter 10,000, Pro 100,000). Fix the noisy error or ignore it.

Plan limits

  • Errors per day: Free 1,000 · Starter 10,000 · Pro 100,000 · Business 1,000,000 · Enterprise unlimited.
Compare plans →

Something here does not match what you see in the console? Open Help → Support in AppStatus or write to support@appstatus.io with the page and what you ran.