DocsGet started

Point your Sentry SDK at Bugroo

Bugroo takes reports in the format Sentry SDKs send. Keep your SDK and your code, and change where the reports go.

Before you start
  • A Bugroo project and its DSN, from Project settings, Client keys.
  • An auth token, if you upload source maps or create releases.

1Change the DSN

Replace the Sentry DSN in your start call with the Bugroo one. Every other option stays as it is.

main.jsapp.pymain.go
Sentry.init({dsn: 'https://4f9e…@o1.ingest.sentry.io/7',dsn: 'https://b41e…6b21@ingest.bugroo.dev/42',tracesSampleRate: 0.2,})sentry_sdk.init(dsn="https://4f9e…@o1.ingest.sentry.io/7",dsn="https://b41e…6b21@ingest.bugroo.dev/42",traces_sample_rate=0.2,)sentry.Init(sentry.ClientOptions{Dsn: "https://4f9e…@o1.ingest.sentry.io/7",Dsn: "https://b41e…6b21@ingest.bugroo.dev/42",TracesSampleRate: 0.2,})

The Sentry setup wizard does not work with Bugroo. Set the DSN by hand as above.

2Let your site send from the browser

A project with no allowed origins listed takes reports from every site, as Sentry does. List your own domains in the project settings to take reports from those only.

3Point sentry-cli at Bugroo

Every sentry-cli command takes --url. Check the connection first: info answers with your token's access.

Terminal
$ npx sentry-cli --url <bugroo url> --auth-token <token> info

These commands work against Bugroo:

CommandWhat it does
infoChecks the address and your token
organizations list, projects listLists what your token can reach
issues list, resolve, mute, unresolveReads and changes issues
releases new, set-commits, finalize, deploys newCreates releases, links commits and records deploys
sourcemaps inject, uploadAdds debug ids and uploads source maps
send-eventSends a test event
debug-files checkChecks a native debug file before upload

Checked with sentry-cli 3.8.2. Releases also take list, info, deploys list, archive, restore and delete, and repos list works.

4Upload source maps

Add debug ids to your built files, then upload them.

Terminal
$ npx sentry-cli --url <bugroo url> --auth-token <token> sourcemaps inject ./dist$ npx sentry-cli --url <bugroo url> --auth-token <token> sourcemaps upload --org <org> --project <project> ./dist

Bugroo matches source maps by debug id only. Run inject before you upload and before you deploy the files, or stack traces stay minified.

5Check it worked

Send one event from the command line. It appears in your project as an issue.

Terminal
$ npx sentry-cli --url <bugroo url> --auth-token <token> send-event -m "Hello from sentry-cli"

Bugroo is coming soon

Be first to know.

One address, no newsletter. We write when Bugroo ships.

We keep your address only to tell you about Bugroo. Unsubscribe any time.