Error monitoring

Errors and issues

Capture exceptions and messages on every platform, add context, filter what you send, and triage the grouped issues they become.

Markdown

AppHelm records each exception your code raises or reports as an event, and groups events with the same cause into an issue. You triage issues, not events: resolve, ignore, assign, merge and search them on the Issues page (Reliability → Issues in the sidebar, /app/errors).

The Issues page has five tabs: Issues, Releases (release health), Alerts (alert rules), Monitors (cron monitors) and Settings (ownership rules, data scrubbing and inbound filters).

Every SDK scrubs emails, keys and tokens from error text before it is sent, and the server scrubs again before anything is stored. Error events count against your event allowance like any other event.

#Catch uncaught errors

Some SDKs report uncaught errors as soon as they start. Others leave the process's crash behaviour alone until you opt in, because the same client is also used in scripts and CLIs. Reports from these handlers are marked unhandled (handled: false).

Platform Uncaught errors What to do
Browser, React, Next.js (client), Vue, Svelte On by default (errorCapture: true): window error and unhandledrejection Give analytics consent: nothing is captured until setConsent({ analytics: true }) or the consent option
React Native On by default (captureUnhandled): ErrorUtils and promise rejections Nothing
Android (apphelm-android) On by default (captureCrashes), plus ANRs and NDK crashes Nothing; see Crashes, ANRs and app hangs
Python On by default after apphelm.init (capture_unhandled=True): sys.excepthook and threading.excepthook Nothing
Node Opt in apphelm.captureUnhandled()
iOS Opt in try apphelm.installCrashReporting()
Flutter Opt in Apphelm.init(…, appRunner:) or captureFlutterErrors: true
Kotlin JVM Opt in apphelm.installCrashReporting(store)
Go No global hook defer client.Recover(), or client.Middleware for HTTP
Ruby Opt in APPHELM.capture_unhandled!, or the Rails/Rack integration
PHP Opt in $apphelm->registerErrorHandlers()
.NET Opt in apphelm.CaptureUnhandledExceptions()
Rust Opt in apphelm.install_panic_hook()
Elixir Opt in Add Apphelm.LoggerHandler

No example for this step; showing Next.js.

app/providers.tsx
"use client";
import { ApphelmNextProvider } from "@sansavision/apphelm/next";

// Uncaught errors in the browser are captured once analytics consent is given.
export function Providers({ children }: { children: React.ReactNode }) {
  return <ApphelmNextProvider options={{ key: "ahl_pub_…", workspaceId: "org_…", productId: "prd_…", release: process.env.NEXT_PUBLIC_RELEASE }}>{children}</ApphelmNextProvider>;
}
import { ApphelmProvider } from "@sansavision/apphelm/react";

<ApphelmProvider options={{ key: "ahl_pub_…", workspaceId: "org_…", productId: "prd_…", release: "web@2.4.1" }}>
  <App />
</ApphelmProvider>;
main.ts
import { createApp } from "vue";
import { apphelm } from "@sansavision/apphelm/vue";

// captureErrors (default true) also installs app.config.errorHandler.
createApp(App).use(apphelm, { options: { key: "ahl_pub_…", workspaceId: "org_…", productId: "prd_…" } }).mount("#app");
+layout.svelte (script)
import { createApphelm } from "@sansavision/apphelm/svelte";

const apphelm = createApphelm({ options: { key: "ahl_pub_…", workspaceId: "org_…", productId: "prd_…" } });
import { createBrowserSdk } from "@sansavision/apphelm/browser";

const analytics = createBrowserSdk({ key: "ahl_pub_…", workspaceId: "org_…", productId: "prd_…", release: "web@2.4.1" });
analytics.setConsent({ analytics: true }); // from your consent banner; error capture starts here
const mobile = createReactNativeSdk({ apiKey: "ahl_pub_…", workspaceId: "org_…", productId: "prd_…", release: "shop@2.4.1", storage: AsyncStorage });
// captureUnhandled is on: fatal errors are queued and, with storage, sent on the next launch if offline.
let apphelm = ApphelmClient(options: ApphelmOptions(apiKey: "ahl_pub_…", workspaceId: "org_…", productId: "prd_…", release: "shop@2.4.1"))
try apphelm.installCrashReporting()          // crashes, app hangs and watchdog terminations
Task { await apphelm.sendPendingCrashReports() }
Apphelm.setup(this, ApphelmConfig("ahl_pub_…", "org_…", "prd_…")) // crashes and ANRs are on by default
void main() => Apphelm.init(
      ApphelmConfig(apiKey: 'ahl_pub_…', workspaceId: 'org_…', productId: 'prd_…', release: 'shop@2.4.1'),
      appRunner: () => runApp(const MyApp()),
    ); // FlutterError.onError, PlatformDispatcher.onError, isolate errors and a guarded zone
const apphelm = new Apphelm({ apiKey: process.env.APPHELM_API_KEY!, workspaceId: "org_…", productId: "prd_…", release: process.env.RELEASE });
apphelm.captureUnhandled(); // reports, then exits with code 1 as Node would; { exit: false } keeps running
import os, apphelm

apphelm.init(api_key=os.environ["APPHELM_API_KEY"], workspace_id="org_…", product_id="prd_…",
             release=os.environ.get("RELEASE"))  # capture_unhandled=True by default
val crashes = FileCrashReportStore(File("/var/lib/myapp/apphelm-crashes"))
apphelm.installCrashReporting(crashes)   // Thread.setDefaultUncaughtExceptionHandler, chained
apphelm.sendPendingCrashReports(crashes) // on the next start
func main() {
	client, err := apphelm.New(apphelm.Config{APIKey: os.Getenv("APPHELM_API_KEY"), WorkspaceID: "org_…", ProductID: "prd_…"})
	if err != nil { log.Fatal(err) }
	defer client.Recover() // reports a panic as unhandled, flushes, then re-panics
	run()
}
APPHELM = Apphelm::Client.new(api_key: ENV["APPHELM_API_KEY"], workspace_id: "org_…", product_id: "prd_…")
APPHELM.capture_unhandled! # at_exit hook; SystemExit and signals are skipped
$apphelm = new Client(apiKey: getenv('APPHELM_API_KEY'), workspaceId: 'org_…', productId: 'prd_…');
$apphelm->registerErrorHandlers(); // uncaught exceptions, fatal errors, and warnings as breadcrumbs
using var unhandled = apphelm.CaptureUnhandledExceptions(); // AppDomain and unobserved Task exceptions
let apphelm = Client::new(Options::new(std::env::var("APPHELM_API_KEY")?).workspace_id("org_…").product_id("prd_…"))?;
apphelm.install_panic_hook(); // reports the panic, flushes for up to 2 s, then runs the previous hook
# In Application.start/2: GenServer, :gen_statem and Task crashes
:logger.add_handler(:apphelm, Apphelm.LoggerHandler, %{config: %{name: Apphelm}})

#Report an error yourself

Call captureException (or your SDK's equivalent) where you catch an error you handle but still want to know about. The event is marked handled. Most SDKs return the event's id, which you can pass to a feedback form.

No example for this step; showing Next.js.

"use client";
import { useApphelm } from "@sansavision/apphelm/react";

const apphelm = useApphelm();
try { await pay(order); } catch (error) {
  apphelm?.captureException(error, { tags: { step: "payment" } });
}
const apphelm = useApphelm(); // from "@sansavision/apphelm/react"
try { await pay(order); } catch (error) {
  apphelm?.captureException(error, { tags: { step: "payment" } });
}
const apphelm = useApphelm(); // from "@sansavision/apphelm/vue"
try { await pay(order); } catch (error) { apphelm?.captureException(error, { tags: { step: "payment" } }); }
try { await pay(order); } catch (error) { apphelm.client.captureException(error, { tags: { step: "payment" } }); }
try { await pay(order); } catch (error) {
  const eventId = analytics.captureException(error, { tags: { step: "payment" }, level: "error" });
}
try { await pay(order); } catch (error) { await mobile.captureException(error, { tags: { step: "payment" } }); }
do { try await pay(order) } catch {
  _ = try? await apphelm.captureException(error, tags: ["step": "payment"])
}
try { pay(order) } catch (e: Exception) { Apphelm.captureException(e) }
// Tags or a fingerprint: Apphelm.client.captureException(e, tags = mapOf("step" to "payment"))
try { await pay(order); } catch (error, stackTrace) {
  apphelm.captureException(error, stackTrace: stackTrace, tags: {'step': 'payment'});
}
try { await pay(order); } catch (error) {
  await apphelm.captureException(error, { tags: { step: "payment" }, userId: user.id }); // only the id's hash is sent
}
try:
    pay(order)
except Exception as error:
    apphelm.capture_exception(error, tags={"step": "payment"}, user_id=user.id)
try { pay(order) } catch (e: Exception) { apphelm.captureException(e, tags = mapOf("step" to "payment")) }
if err := pay(ctx, order); err != nil {
	client.CaptureExceptionContext(ctx, err, apphelm.ExceptionOptions{Tags: map[string]string{"step": "payment"}, UserID: user.ID})
}
begin
  pay(order)
rescue => e
  APPHELM.capture_exception(e, tags: { step: "payment" }, user_id: user.id)
end
try { pay($order); } catch (\Throwable $e) {
    $apphelm->captureException($e, tags: ['step' => 'payment'], userId: (string) $user->id);
}
try { await PayAsync(order); }
catch (Exception ex) { apphelm.CaptureException(ex, new ExceptionOptions { Tags = new Dictionary<string, object?> { ["step"] = "payment" }, UserId = user.Id }); }
if let Err(error) = pay(&order) {
    apphelm.capture_exception(&error, ExceptionOptions::new().tag("step", "payment").user_id(&user.id))?;
}
try do
  pay(order)
rescue
  e -> Apphelm.capture_exception(e, __STACKTRACE__, tags: %{step: "payment"}, user_id: user.id)
end
curl -X POST https://apphelm.dev/api/v1/events \
  -H "Authorization: Bearer $APPHELM_API_KEY" -H "Content-Type: application/json" \
  --data '{"workspaceId":"org_…","productId":"prd_…","eventName":"$exception","properties":{"name":"PaymentError","message":"Card declined","stack":"PaymentError: Card declined\n    at pay (src/pay.ts:42:11)","handled":true,"release":"api@1.4.2","environment":"production","tags":{"step":"payment"}}}'

#Messages

captureMessage records something that isn't an exception, such as a fallback you want to count. It becomes an issue like an exception does, with a level (fatal, error, warning, info or debug; info by default).

No example for this step; showing JavaScript (browser).

analytics.captureMessage("Fell back to card payment", "warning");
await apphelm.captureMessage("Fell back to card payment", { level: "warning" });
await mobile.captureMessage("Fell back to card payment", { level: "warning" });
_ = try? await apphelm.captureMessage("Fell back to card payment", level: .warning)
Apphelm.captureMessage("Fell back to card payment", MessageLevel.WARNING)
apphelm.captureMessage('Fell back to card payment', level: ApphelmLevel.warning);
apphelm.capture_message("Fell back to card payment", level="warning")
apphelm.captureMessage("Fell back to card payment", level = MessageLevel.WARNING)
client.CaptureMessage("Fell back to card payment", apphelm.ExceptionOptions{Level: "warning"})
APPHELM.capture_message("Fell back to card payment", level: "warning")
$apphelm->captureMessage('Fell back to card payment', 'warning');
apphelm.CaptureMessage("Fell back to card payment", ApphelmLevel.Warning);
apphelm.capture_message("Fell back to card payment", ExceptionOptions::new().level(Level::Warning))?;
Apphelm.capture_message("Fell back to card payment", level: "warning")
# From a terminal or CI, to check a key end to end:
npx @sansavision/apphelm send-event --product prd_… --message "Deploy smoke test" --level error

#Framework integrations

These integrations report what the framework catches, so errors that never reach a global handler still arrive. Each needs the SDK set up first.

No example for this step; showing Next.js.

instrumentation.ts
import { Apphelm, apphelmOnRequestError, registerApphelm } from "@sansavision/apphelm";

const apphelm = new Apphelm({ apiKey: process.env.APPHELM_API_KEY!, workspaceId: "org_…", productId: "prd_…" });
export function register() { registerApphelm(apphelm); }
// Next.js 15+: server component, route handler and middleware errors, reported as unhandled.
export const onRequestError = apphelmOnRequestError(apphelm);
import { ApphelmErrorBoundary } from "@sansavision/apphelm/react";

<ApphelmErrorBoundary fallback={({ error, reset }) => <Crashed onRetry={reset} />} showDialog>
  <Checkout />
</ApphelmErrorBoundary>;
// The plugin sets app.config.errorHandler (captureErrors: true by default) and keeps any handler you had.
app.use(apphelm, { options: { key: "ahl_pub_…", workspaceId: "org_…", productId: "prd_…" }, router });
src/hooks.server.ts
import { Apphelm } from "@sansavision/apphelm";
import { handleErrorWithApphelm } from "@sansavision/apphelm/svelte";

const apphelm = new Apphelm({ apiKey: APPHELM_API_KEY, workspaceId: "org_…", productId: "prd_…" });
export const handleError = handleErrorWithApphelm(apphelm); // skips 404s
Express
app.use(expressRequestHandler(apphelm)); // first: a scope per request
// … your routes …
setupExpressErrorHandler(app, apphelm);  // last: reports errors with no status or a 5xx status
// Fastify: await fastify.register(fastifyIntegration(apphelm));
# Django (settings.py), first in the list
MIDDLEWARE = ["apphelm_django.ApphelmMiddleware", *MIDDLEWARE]
# Flask
apphelm_flask.init_app(app)
# FastAPI / Starlette
from apphelm_asgi import ApphelmMiddleware
app.add_middleware(ApphelmMiddleware)
# Rails: Apphelm::Railtie loads with the gem and starts after Apphelm.init (config/initializers/apphelm.rb).
Apphelm.init(api_key: ENV["APPHELM_API_KEY"], workspace_id: "org_…", product_id: "prd_…")
# It adds Apphelm::Rack, ActiveJob reporting and a Rails.error subscriber (Rails 7+).
// Laravel 10–12: not auto-discovered. bootstrap/providers.php
return [
    Apphelm\Laravel\ApphelmServiceProvider::class, // every exception Laravel reports is sent
];
builder.Services.AddApphelm(builder.Configuration.GetSection("Apphelm"));
var app = builder.Build();
app.UseApphelm(); // unhandled request exceptions (CaptureExceptions = true)
// Feature "tower" (axum, hyper, tonic): a request scope for errors, breadcrumbs and tags.
apphelm.install_panic_hook();
let app = axum::Router::new().route("/checkout", post(checkout)).layer(apphelm::ApphelmLayer::new(&apphelm));
# lib/my_app_web/endpoint.ex: reports exceptions (not 4xx) and re-raises them
use Apphelm.Plug
mux := http.NewServeMux()
http.ListenAndServe(":8080", client.Middleware(mux)) // reports handler panics, then re-panics
// client.MiddlewareWith(apphelm.MiddlewareOptions{RecoverPanics: true}) answers 500 instead

Every integration that exists today:

Platform Integration Notes
React ApphelmErrorBoundary, withErrorBoundary, ErrorReportDialog Render errors only, reported as handled; event handlers and effects go through the global handlers. showDialog asks the person what happened. Must sit inside ApphelmProvider
Next.js registerApphelm, apphelmOnRequestError, withApphelm, withServerActionInstrumentation Server actions skip redirect() and notFound(). The client side uses ApphelmNextProvider and the React boundary
Vue / Nuxt the apphelm plugin captureErrors: false turns the error handler off
SvelteKit handleErrorWithApphelm (server) No client handleError helper; client errors use the browser handlers
Angular provideApphelm Installs ApphelmErrorHandler (see below)
Node Express, Fastify, Next.js No Koa, Hono or NestJS integration. instrument() adds request scopes and tracing, not error capture
Python Django, Flask, FastAPI/Starlette (ASGI), Celery (apphelm_celery.instrument())
Ruby Rails (Railtie), Rack, Sidekiq Railtie toggles: config.apphelm.middleware, active_job, error_subscriber and more
PHP Laravel, Symfony (ApphelmBundle, reports 5xx), PSR-15 (Psr15Middleware)
.NET ASP.NET Core (AddApphelm, UseApphelm), logging (builder.Logging.AddApphelm) UseApphelm doesn't install CaptureUnhandledExceptions; call it yourself for background work
Go net/http middleware (works with chi, gorilla/mux)
Rust ApphelmLayer (tower) .capture_panics(true) is off by default; leave it off when the panic hook is installed
Elixir Apphelm.Plug (Phoenix, Plug), Apphelm.LoggerHandler Options: user_id:, tags:, tracing:

#Angular

app.config.ts
import { provideApphelm } from "@sansavision/apphelm/angular";

export const appConfig: ApplicationConfig = {
  providers: [provideApphelm({ options: { key: "ahl_pub_…", workspaceId: "org_…", productId: "prd_…" } })],
};
// In a component: inject(ApphelmService).captureException(error)

provideApphelm registers ApphelmErrorHandler as Angular's ErrorHandler: each error is reported, then handled as before. Pass captureErrors: false to keep your own handler.

#Add context

Context set on the scope is sent with every later error from that scope: on a server, per request; in an app, for the session.

No example for this step; showing JavaScript (browser).

analytics.setTag("plan", "pro");
analytics.setContext("cart", { items: 3, currency: "EUR" });
analytics.addBreadcrumb("Applied coupon", "checkout");
// No setUser in the browser: pass distinctId or call identify.
mobile.setTag("plan", "pro");
mobile.setContext("cart", { items: 3 });
mobile.addBreadcrumb("Applied coupon", "checkout");
apphelm.setTag("plan", "pro")
apphelm.setContext("cart", ["items": 3])
apphelm.setUser(id: user.id) // only a hash is sent
apphelm.addBreadcrumb(category: "checkout", message: "Applied coupon")
Apphelm.setTag("plan", "pro")
Apphelm.setContext("cart", mapOf("items" to 3))
Apphelm.setUser(user.id)
Apphelm.addBreadcrumb("checkout", "Applied coupon")
apphelm.setTag('plan', 'pro');
apphelm.setContext('cart', {'items': 3});
apphelm.setUser(user.id);
apphelm.addBreadcrumb('Applied coupon', category: 'checkout');
import { setTag, setContext, setUser, addBreadcrumb, withScope } from "@sansavision/apphelm";

setTag("plan", "pro");
setUser({ id: user.id }); // only the hash is sent
setContext("cart", { items: 3 });
addBreadcrumb("Applied coupon", "checkout");
withScope((scope) => { scope.setFingerprint(["checkout"]); scope.setLevel("warning"); /* … */ });
apphelm.set_tag("plan", "pro")
apphelm.set_user(user.id)
apphelm.set_context("cart", {"items": 3})
apphelm.add_breadcrumb("Applied coupon", category="checkout")
with apphelm.new_scope():
    ...  # tags set here stay here
apphelm.setTag("plan", "pro")
apphelm.setUser(user.id)
apphelm.setContext("cart", mapOf("items" to 3))
apphelm.addBreadcrumb("checkout", "Applied coupon")
ctx, scope := client.NewScope(ctx) // a scope for this request
scope.SetTag("plan", "pro")
scope.SetUser(user.ID)
scope.SetContext("cart", map[string]any{"items": 3})
client.AddBreadcrumb(ctx, apphelm.Breadcrumb{Category: "checkout", Message: "Applied coupon"})
APPHELM.set_tag("plan", "pro")
APPHELM.set_user(user.id)
APPHELM.set_context("cart", { items: 3 })
APPHELM.add_breadcrumb("Applied coupon", category: "checkout")
$apphelm->setTag('plan', 'pro');
$apphelm->setUser((string) $user->id);
$apphelm->setContext('cart', ['items' => 3]);
$apphelm->addBreadcrumb('Applied coupon', 'checkout');
apphelm.SetTag("plan", "pro");
apphelm.SetUser(user.Id);
apphelm.SetContext("cart", new Dictionary<string, object?> { ["items"] = 3 });
apphelm.AddBreadcrumb("Applied coupon", "checkout");
using (apphelm.PushScope()) { /* tags set here stay here */ }
apphelm.set_tag("plan", "pro");
apphelm.set_user(&user.id);
apphelm.set_context("cart", serde_json::json!({ "items": 3 }));
apphelm.add_breadcrumb(Breadcrumb::new("checkout", "Applied coupon"));
Apphelm.set_tag("plan", "pro")
Apphelm.set_user(user.id)
Apphelm.set_context("cart", %{items: 3})
Apphelm.add_breadcrumb("Applied coupon", category: "checkout")

What the server keeps from each event:

Field Limit
Tags 20 per event; keys match [A-Za-z0-9_.-]{1,40}; values scrubbed and cut to 200 characters
Contexts (browser) Sent as context.<name>.<key> tags: up to 10, inside the 20-tag limit, scalar values only
Breadcrumbs The last 30 per event; category cut to [a-z0-9_.-]{1,20}, message scrubbed and cut to 200 characters
User Only a hash of the id, never the id, email or name. It counts the person toward the issue's affected users

SDKs keep more breadcrumbs than they send: 20 by default in the browser (maxBreadcrumbs, 0–100), 30 in Node and React Native, 100 in the other SDKs, with the newest 30 sent. Automatic breadcrumbs:

  • Browser: navigation, clicks (tag and role only) and earlier errors, with errorContext: true (off by default).
  • React Native: navigation and app state.
  • iOS (enableAutoBreadcrumbs, on): navigation, app lifecycle, device events, HTTP and taps.
  • Android: taps (captureTapBreadcrumbs) and fragment lifecycle.
  • Python: log records at warning and above (logging_breadcrumbs).
  • PHP: warnings and notices, once registerErrorHandlers() runs.

#Levels and fingerprints

Level is one of fatal, error, warning, info and debug. Pass it per call (level) where the SDK takes one: Python, Ruby and PHP exceptions take no level, only messages do. setLevel on the scope exists in the browser, React Native and the Node Scope only.

A fingerprint decides grouping: every event with the same fingerprint joins one issue, whatever its message or stack. Pass up to 10 strings of up to 200 characters (fingerprint: ["checkout", "card-declined"]). It is literal in AppHelm SDKs. {{ default }} and the other Sentry variables work only in events from Sentry SDKs. setFingerprint on the scope exists in the browser, React Native and the Node Scope; elsewhere pass it per call.

#Filter and sample before sending

Every SDK can drop errors before they leave the process. Nothing about a dropped error is sent. The order is: ignoreErrors, then denyUrls, then allowUrls, then sampleRate, then scrubbing, then beforeSend.

Option What it does
ignoreErrors Drops errors whose message (or Type: message) contains a string or matches a pattern
denyUrls Drops errors whose top stack frame's file matches
allowUrls Sends only errors whose top frame's file matches; errors with no frame file are kept
sampleRate The share of errors and messages to send, 0–1. Default 1
beforeSend Sees each event after scrubbing; return it (changed or not) or null to drop it. A hook that throws drops the event
beforeBreadcrumb The same for each breadcrumb
ignoreTransactions Drops transactions by name (see Tracing)

Names follow each language: ignore_errors, deny_urls, allow_urls, sample_rate, before_send in Python, Ruby, Rust and Elixir; IgnoreErrors, DenyURLs, SampleRate, BeforeSend in Go (with …Regexp variants); IgnoreErrors, DenyUrls, SampleRate, BeforeSend in .NET. On iOS, denyUrls/allowUrls match the binary or image name.

No example for this step; showing JavaScript (browser).

const analytics = createBrowserSdk({
  key: "ahl_pub_…", workspaceId: "org_…", productId: "prd_…",
  ignoreErrors: ["ResizeObserver loop limit exceeded", /^NetworkError/],
  denyUrls: [/extensions\//, /googletagmanager\.com/],
  sampleRate: 0.5,
  beforeSend: (event) => (event.properties?.message?.includes("staging-only") ? null : event),
});
const apphelm = new Apphelm({
  apiKey: process.env.APPHELM_API_KEY!, workspaceId: "org_…", productId: "prd_…",
  ignoreErrors: ["ECONNRESET"],
  denyUrls: [/node_modules\/noisy-lib\//],
  beforeSend: (event) => (event.eventName === "$exception" && event.properties?.name === "AbortError" ? null : event),
});
def before_send(event):
    if event["eventName"] == "$exception" and "health check" in event["properties"].get("message", ""):
        return None
    return event

apphelm.init(api_key=os.environ["APPHELM_API_KEY"], workspace_id="org_…", product_id="prd_…",
             ignore_errors=["BrokenPipeError"], sample_rate=0.5, before_send=before_send)
client, err := apphelm.New(apphelm.Config{
	APIKey: os.Getenv("APPHELM_API_KEY"), WorkspaceID: "org_…", ProductID: "prd_…",
	IgnoreErrors: []string{"context canceled"},
	SampleRate:   apphelm.Float(0.5),
	BeforeSend:   func(e *apphelm.Event) *apphelm.Event { return e },
})

#How errors become issues

AppHelm decides each event's issue in this order:

  1. Your fingerprint, when the event has one.
  2. In the browser, a fingerprint the SDK computes from the error's name, message and first frame.
  3. Otherwise the default: the exception type, the normalised message and the top in-app frame (with line numbers ignored). Normalising replaces UUIDs, hex strings, quoted strings and digits, so Order 1234 not found and Order 5678 not found share an issue.

A frame is in-app unless it is library code: node_modules, site-packages, the Go module cache and standard library, gems, /vendor/, System./Microsoft. namespaces, JVM and Android packages, Rust's std/tokio, Elixir and Erlang dependencies, and dart:/flutter. Apple frames group by image and symbol. Mobile events with uploaded symbols group on the symbolicated frame, so upload them with each build (Source maps and debug symbols).

Each product holds up to 2,000 issues. Past that, events that would open a new issue are counted under one overflow issue; existing issues keep counting. If you reach it, add fingerprints to the noisy errors or resolve and merge old issues.

#Work with issues

#Statuses

An issue is unresolved, resolved or ignored. Viewers and billing members can read issues but not change them.

  • Resolve when a fix ships. Any new event reopens a resolved issue as a regression.
  • Resolve in next release marks the issue fixed in the release of its latest event. Only an event from a newer release reopens it (semver order when both releases parse, otherwise the order AppHelm first saw them). The issue must have reported a release, or the change fails with no_release.
  • Ignore hides an issue and stops its alerts. With a condition (ignoreUntil: up to 90 days, or up to 1,000,000 more events, whichever comes first) the first event past it escalates the issue back to unresolved. Without a condition it stays ignored.

A regression records when and in which release it reopened; release health counts regressed issues per release, and an alert rule can notify you.

#Assign, prioritise and own

  • Assign an issue to one member who can see the product, or to a team, not both. A single assignment emails the assignee, or up to 20 members of the team; bulk assignment notifies no one.
  • Priority is high, medium or low, set from the first event: unhandled or fatal is high; warning, info or debug is low; the rest are medium. An escalation raises it to high unless a member set it by hand.
  • Ownership rules (Issues → Settings → Ownership) match on path, module, url, tags or a codeowners file, with up to 200 rules and 10 owners each. With auto-assign set to owner, a new issue is assigned to its owner.

#Merge, bulk changes and activity

  • Merge up to 10 issues into one; AppHelm remembers their fingerprints, so new events keep joining. Unmerge restores the events exactly while they are still indexed.
  • Bulk changes apply to up to 100 issues at a time.
  • The Activity tab records status changes, assignments, priority, merges, regressions, escalations, tracker links and comments (up to 5,000 characters, 500 per issue). @ a member to email them.
  • Saved searches can be personal or shared (50 each), with one pinned default per member.

Terms are joined by AND. Use key:value, key:"quoted value", key:[a,b], and ! to negate. Free text matches the title, message and culprit.

Key Values
is: unresolved, resolved, ignored (also archived), assigned, unassigned, for_review, regressed, bookmarked, imported
assigned:, owner: me, my_teams, none, an email, #team
level:, release:, environment:, priority: A value; release:latest is the newest release
firstSeen:, lastSeen: -24h, +7d, >2026-10-01
times_seen:, users: >100, >=10
has:, tags[key]: or any tag key A tag value; * is a wildcard

A query can have up to 20 terms and 500 characters. An unknown key is refused with invalid_issue_search. Example: is:unresolved level:error release:latest users:>=10 !environment:staging.

#Stack traces

The issue shows the latest event's stack, scrubbed, with query strings removed: up to 40 frames, 200 characters each and 4,000 characters in all (the browser SDK sends up to 12 lines). Minified JavaScript, obfuscated Android code and native addresses are mapped back to your source when you open the issue, not when the event arrives, so symbols uploaded after an error still apply.

Each frame is marked mapped, missing (no map or symbols found) or unchanged. The view folds runs of unmapped frames when others were mapped. Mapped JavaScript frames show the original line of source from the map's sourcesContent; there are no surrounding context lines. If frames stay minified, run apphelm sourcemaps explain <event id>; Source maps and debug symbols covers every platform.

#Debug ids

A debug id is a UUID that ties a built JavaScript file to its source map. AppHelm's bundler plugins and apphelm sourcemaps upload write one into each file and its map (the same format sentry-cli uses). The browser, Node and React Native SDKs send the ids of the files in an error's stack (debug_ids, at most 20), and AppHelm looks the map up by id before trying release and path. With debug ids, a map matches even when the release is missing or wrong. Native platforms use their own build ids: dSYM UUIDs, ELF build ids and Breakpad module ids. See Source maps and debug symbols.

#Scrubbing and inbound filters

#What is always scrubbed

Before an error is stored, the server replaces emails with [email], AppHelm keys with [key], bearer/basic/token/api_key values with [redacted], secret-looking query values (token=, key=, secret=, password=, auth=) with [redacted], and 32–128 character hex strings with [token]. Breadcrumbs and tags are scrubbed the same way. The SDKs run a wider scrubber first (private keys, JWTs, provider keys and more).

#Data scrubbing rules

Issues → Settings → Data scrubbing adds per-product rules. Owners and admins can change them.

Rule Default Effect
Credit cards off 13–19 digit runs that pass the Luhn check become [card]
IP addresses off IPv4 and IPv6 addresses become [ip]
Terms none Up to 50 words or phrases (3–100 characters, any case) become [redacted]
Drop tag keys none Up to 50 tag keys are removed

Rules apply to the exception's name, message, stack, path, breadcrumbs and tags before anything is stored. They take up to a minute to apply and don't change events already stored. Because grouping uses the scrubbed message, a new rule can split an issue in two.

#Inbound filters

Issues → Settings → Move from Sentry → Inbound filters drops errors on arrival, before scrubbing, storage and your event allowance. They apply to errors from AppHelm and Sentry SDKs.

Filter Default Drops
Browser extensions on Errors from chrome-extension://, moz-extension://, safari-extension:// and similar frames, and known extension messages
Web crawlers on Errors from crawler user agents (curl and python-requests are not crawlers)
Localhost off Errors from localhost, 127.x, ::1, 0.0.0.0 and *.localhost
Legacy browsers none Any of: Internet Explorer, legacy Edge, Safari before 12, Firefox before 78, Chrome before 80, Opera Mini, the Android stock browser
Error messages none Up to 50 case-insensitive patterns (* wildcard) matched against Type: message
Releases none Up to 50 release patterns

Settings take up to a minute to apply. Dropped events are counted by reason in the settings.

#User feedback and AI summaries

  • Feedback: pass the event id that captureException returned to your SDK's captureFeedback (or open the browser's showReportDialog({ eventId }), or React's showDialog), and what the person wrote appears on the issue's Feedback tab. See In-app feedback.
  • AI summary: Summarize on an issue's Details tab writes a headline, likely cause and next steps from a scrubbed digest (title, culprit, top frames, counts and technical tags; no user, breadcrumb, request or custom tag data). It runs only when you press it and uses AI credits; with none left it answers insufficient_credits.

Events have no file attachments. Attachments sent by Sentry SDKs are counted and dropped; feedback can carry a screenshot and files.

#Limits

What Limit When you reach it
Event request body 64 KB of JSON 400 invalid_request; send a shorter message or stack
Batch 50 events 422 batch_too_large; send smaller batches
Browser key rate 2,400 requests a minute per key per location, 240 a minute per IP 429 rate_limited with Retry-After: 60
Monthly events Your plan's allowance 429 event_limit, no Retry-After; raise the cap or add events in billing
Issues per product 2,000 New groups count under one overflow issue
Events kept per issue The latest 10,000 Older events stay in the counts
Sentry envelopes 2 MB (4 MB decompressed), 1 MB per item, 100 items 413; 429 carries Retry-After and X-Sentry-Rate-Limits

#API and CLI

Read and triage issues with a workspace API key. issues:read lists and reads; issues:write changes, and needs an Idempotency-Key header (8–160 characters).

Method Path Does
GET /api/v1/issues List issues: productId, status (unresolved, resolved, ignored, all), q (the search language), environment, release, sort (last_seen, first_seen, events, users, priority), limit, cursor
GET /api/v1/issues/{id} One issue
POST /api/v1/issues/{id} Change status, inNextRelease, ignoreUntil (minutes, events), assignedUserId or assignedTeamId, priority
GET /api/v1/issues/{id}/events The issue's events (limit 1–100, cursor, environment, release)
GET /api/v1/issues/{id}/events/{eventId} One event; latest, oldest or recommended also work
GET /api/v1/issue-events Search events across the product (query, days 1–90)
curl -X POST https://apphelm.dev/api/v1/issues/$ISSUE_ID \
  -H "Authorization: Bearer $APPHELM_API_KEY" -H "Idempotency-Key: $(uuidgen)" -H "Content-Type: application/json" \
  --data '{"status":"resolved","inNextRelease":true}'
apphelm issues list --product prd_… --query "is:unresolved level:error" --limit 25
apphelm issues resolve erg_…,erg_… --in-next-release
apphelm issues ignore erg_…

Merging, bulk changes, comments and saved searches are in the app only. The full schemas are in the API reference.

#Check it works

  1. Send a test error

    Run npx @sansavision/apphelm send-event --product prd_… --message "Test error" --level error, or throw an error in your app on purpose.

  2. Find it

    Open Reliability → Issues. The error appears within seconds, with its release, environment and tags.

  3. Check the stack

    Open the issue. If frames are minified or show addresses, upload source maps or symbols for that release and open it again.

#Best practices

  • Set release and environment everywhere. Without a release there is no regression detection, no "resolve in next release", no source map fallback and no release health.
  • Turn on uncaught capture explicitly on platforms where it is opt-in. A server that only calls captureException misses the errors that actually take it down.
  • Report handled errors you would act on. Catching and reporting everything makes noise; use captureMessage for counts and logs for detail.
  • Fingerprint known noise into one issue (timeouts from one upstream, for example) instead of ignoring it, so you still see if it grows.
  • Upload source maps and symbols in CI with every build, before the release ships.
  • Ignore with a condition rather than forever, so a quiet problem that gets worse comes back.

#Troubleshooting

Symptom Likely cause What to do
No browser errors arrive Analytics consent was never given Call setConsent({ analytics: true }) from your consent banner. Global Privacy Control also turns consent off
No server errors from crashes Uncaught capture is opt-in on your platform Add the call from Catch uncaught errors
Every error from a script or extension Third-party code Keep the browser extensions filter on, and add denyUrls or an inbound error-message filter
Frames are minified or show addresses No source map or symbols for that build Upload them and run apphelm sourcemaps explain <event id>; see Source maps and debug symbols
One bug is split across many issues Different messages or top frames Pass a fingerprint, or merge the issues
Different bugs share one issue A shared fingerprint or a generic wrapper frame Remove the fingerprint, or throw more specific errors
no_release when resolving in next release The issue's events carry no release Set release in the SDK
A resolved issue keeps reopening Events still arrive from older builds Use Resolve in next release
429 event_limit The monthly allowance is used up Raise the cap in billing, or lower sampleRate for noisy errors
An ignored issue is back Its ignore condition passed Ignore it again with a longer condition, or fix it