From install to first grouped issue in minutes.
bughq is one SDK and one init call. Drop it into your app, point it at your project's DSN, and every uncaught error is captured, fingerprinted, and grouped. Start here, then dive into the topic you need.
Quickstart
Three steps take you from an empty project to grouped issues arriving in your dashboard.
Install the SDK
Add @bughq/sdk to your app with your package manager of choice. It ships as a single dependency with no native build step.
Initialize once
Call bughq.init at the top of your entry point with the DSN from your project settings, plus a release and environment.
Deploy and watch issues land
From here, uncaught errors are captured on throw, grouped by fingerprint, and sorted by impact. No per-call-site wiring.
# install
bun add @bughq/sdk
# initialize once, at your entry point
import { bughq } from '@bughq/sdk'
bughq.init({
dsn: 'https://ingest.bughq.org/p_9f2c',
release: 'checkout@2.14.0',
environment: 'production',
})
Read up by topic
Capturing errors
How the global handler collects uncaught exceptions and unhandled rejections across every runtime.
Read moreSource maps and traces
Upload a source map so every minified frame resolves back to your original file and line.
Read moreGrouping and fingerprints
How identical errors fold into one issue, and how to tune the fingerprint when they should not.
Read moreReleases and environments
Tag every event with a release and environment so a regression names its own deploy.
Read moreAlerts and triage
Route new and spiking issues to your channel or pager, and stay quiet for the known and handled.
Read moreSelf-hosting
Run bughq on your own Postgres so sensitive stack data never leaves your infrastructure.
Read more