Skip to main content
Sentry, locally

Everything your Sentry SDK sends, on your machine

Your app already has the Sentry SDK or OpenTelemetry. Change one address, and Buggregator shows errors, traces, logs and metrics from your Sentry SDK, traces and logs from OpenTelemetry — on your computer, each in its own tab, linked by trace. No account, no data leaving your machine.

Set it up Tested with the Sentry PHP SDK
127.0.0.1:8000

One request as a trace: database, cache and HTTP calls on a timeline, with the failing call marked. Example data.

Four kinds of data, one place

Each kind has its own tab for the project and period you pick. New data shows up without a reload.

📚

Errors with full context

Stack trace frame by frame, breadcrumbs, request, tags, device, modules. Show them one by one, or grouped by type with a count. Click a frame to open it in your IDE.

🌊

Traces as a waterfall

Every span of a request on a timeline: database queries, cache, HTTP calls, queues — each marked by type. The bar shows how long it took; failed spans are tagged.

🔥

Trace graphs

Next to the waterfall, each trace has a flame graph, a call graph and a sequence diagram. Click a span to see its attributes, events, links and exception.

🗺️

Service map

Which service calls which database, cache or API, with traffic over the period you pick. Click a service to see what it uses and what uses it, or a line to see its numbers and the traces through it.

🔭

OpenTelemetry too

Traces and logs from any OTel SDK or the Collector land in the same tabs, labelled OTel or Sentry SDK. Filter traces by source and by service.

📜

Sentry logs

Structured logs from the SDK, filtered by level. Open a line to see its attributes; jump to its trace.

📈

Sentry metrics

Counters, gauges and distributions as your code sends them, with unit and attributes. Filter by type or by part of the name.

🔗

Linked by trace

An error shows its trace in a small waterfall; a trace lists the errors that happened in it; logs and metrics link to their trace.

💬

User feedback with its error

Feedback from the Sentry feedback widget, captureFeedback or captureUserFeedback shows on the error it is about: name, email, message, page. The Feedback tab lists it all, also feedback sent without an error.

🔔

Desktop notifications

Working in another window? Turn them on in Settings, and each new error brings a notice; click it to open the error. Several errors within 10 seconds come as one. The tab must stay open; needs https or localhost.

⏰

Cron monitors

Sentry Crons check-ins land in a Crons tab: which scheduled runs went fine, failed, never started or never finished.

Cron monitoring

«The pay button did nothing»: read it next to the error

When a user sends feedback through your Sentry SDK, it shows on the error it is about, above the tabs: name, email, message, page and time. Nothing to set up beyond the usual DSN.

127.0.0.1:8000
Buggregator Sentry error page with the user's feedback above the tabs: name, email, message and page

Feedback tied to an error shows on that error's page. The Feedback tab lists all feedback for the project.

Several services on your laptop? See one request go through all of them

Your PHP app calls a Go service, which hands work to a worker. Point each one at the same Buggregator, with its Sentry SDK or with OpenTelemetry. A trace that crosses services shows every service it went through, and the service map shows who calls whom, with the failed calls in red.

127.0.0.1:8000
Buggregator service map: shop-web calls checkout-api, which calls payments-worker; failed calls in red; a panel shows what checkout-api uses and what uses it

Service map: which service calls which, with traffic over the period you pick. Click a service to see what it uses and what uses it.

127.0.0.1:8000
Call graph of one checkout request across three services: shop-web sends with the Sentry SDK, checkout-api and payments-worker with OpenTelemetry

One request across three services as a call graph. shop-web sends with the Sentry SDK, the other two with OpenTelemetry.

Set up OpenTelemetry

Setup in 60 seconds

No registration. No account. Start it and point your app at it.

1

Start Buggregator

Buggregator takes Sentry data on port 8000, next to the web UI. One file, about 40 MB, installed with one command. Prefer containers? Use the Docker tab.

$ curl -fsSL https://raw.githubusercontent.com/buggregator/server/master/scripts/install.sh | sh
$ HTTP_ADDR=127.0.0.1:8000 \
  SMTP_ADDR=127.0.0.1:1025 \
  VAR_DUMPER_ADDR=127.0.0.1:9912 \
  MONOLOG_ADDR=127.0.0.1:9913 \
  PROXY_ADDR=127.0.0.1:8080 \
  ~/.local/bin/buggregator

The script picks the file for your CPU: Intel/AMD or ARM.

One file for Linux, macOS and Windows, about 40 MB. Nothing else to install.

This run line keeps it on this computer. Without the *_ADDR settings it listens on all network interfaces

Rather not run a script? Download the file yourself

Runs on Windows, macOS and Linux, on Intel/AMD and ARM.

Prefer not to do it yourself? Your AI agent can set Buggregator up for you

2

Point your SDK at Buggregator

One line in your config. Put a project name in the DSN to keep each app’s data apart. Using OpenTelemetry? Point its exporter at the same port.

# .env
SENTRY_LARAVEL_DSN=http://sentry@127.0.0.1:8000/my-app
3

Turn on what you want to see

Errors arrive as soon as the DSN is set. Traces, logs and metrics are SDK features: switch them on in your app.

\Sentry\init([
    'dsn' => 'http://sentry@127.0.0.1:8000/my-app',
    'traces_sample_rate' => 1.0, // send every trace while you develop
]);

Laravel: SENTRY_TRACES_SAMPLE_RATE=1.0 in .env.

4

Trigger an error — follow it into the trace

Throw an exception in a request. Buggregator shows it with the stack trace and context, and a small waterfall of the request it happened in. Open the full trace to see every query and call around it.

Built on the Sentry SDK format

Buggregator reads what Sentry SDKs send: errors, traces, logs and metrics. We test it with the Sentry PHP SDK (versions 2.5, 3.22 and 4.x). Other SDKs send the same format; if one doesn’t show up, tell us.

PHP— sentry/sentry, Laravel, Symfony
Any Sentry SDK— set the DSN and try it
OpenTelemetry— any OTel SDK or the Collector, traces and logs over OTLP/HTTP

Your SDK doesn’t show up? Tell us on GitHub

What it leaves out

Session replays, profiles, release health sessions, attachments and screenshots sent with user feedback are not kept. From OpenTelemetry: metrics and OTLP over gRPC (port 4317) are not accepted. For PHP profiling, use the Profiler (XHProf) page.

Tips for Sentry

All tips

Ready to try it?

One command to start. No account needed.