Use your Sentry SDK with Flowhawk

Keep the Sentry SDK you already run and point its DSN at Flowhawk. Errors, transactions, replays and profiles arrive without a code change.

Flowhawk accepts the Sentry envelope protocol. Sentry's SDKs for the browser, mobile and backend languages send to it as they send to Sentry, and their data lands next to your OpenTelemetry traces and logs.

What you get

  • Errors grouped into Issues, with the flows they broke, the release they first appeared in and the customers they hit.
  • Transactions as traces, matched to your business flows.
  • Web and mobile session replays, masked by default.
  • CPU profiles as flame graphs on each service's page, when profiling is on in the SDK.
  • Crashes from iOS, Android and Flutter symbolicated from the debug files you upload.

Set it up

First create an ingest key: in the app, open Settings > API keys and pick Services. In the examples below, KEY stands for that key. Keep it out of your repository, like any other secret.

Change the DSN, and nothing else:

SENTRY_DSN=https://KEY@api.flowhawk.dev/1

In a DSN that ships to users, in a web page or a mobile app, use a Web pages key from Settings > API keys instead. It is meant to be public and can only send telemetry.

To upload debug files for native crashes, point sentry-cli at Flowhawk with a CI uploads key from Settings > API keys:

SENTRY_URL=https://api.flowhawk.dev SENTRY_AUTH_TOKEN=UPLOAD_KEY sentry-cli debug-files upload ./build

Common questions

Can I run both, Sentry and Flowhawk?

A Sentry SDK sends to one DSN. To try Flowhawk on one service, change its DSN in one environment first.

Do I need a Flowhawk SDK too?

No. A Flowhawk SDK adds exact flow tags across services and sampling per flow. In React Native, @flowhawk/react-native sits next to @sentry/react-native and does that for screens (Mobile apps).

How does Flowhawk compare with Sentry?

See Flowhawk vs Sentry.