Skip to content
bliptracedocs

What Bliptrace captures

Sampling

Keep a share of low-severity events to control volume. Errors, fatals and new bugs are never sampled out.

On this page

Sampling keeps a share of events and drops the rest, to control volume from noisy apps. Bliptrace samples in two places, and both are off (keep everything) by default.

Server-side: per project

Set it in Project → Settings → Sampling: Keep % of non-failure occurrences, from 1 to 100 (default 100).

An event is always kept when any of these is true:

  1. its level is error or fatal (failures are always kept);
  2. the project keeps 100%;
  3. the ingest node has not seen this fingerprint before, so a new bug is never sampled out;
  4. otherwise, a hash of the event_id falls under the percentage.

Because the decision comes from the event_id, a retried event gets the same answer every time. A sampled-out event still gets 202 {"status":"sampled"}, so your app never treats it as a failure.

In practice the setting governs debug, info and warning events.

Client-side: per SDK

Some SDKs can drop events before they are even built. In the Laravel and PHP SDKs set BLIPTRACE_SAMPLE_RATE (0.0 to 1.0, default 1.0). Each event is kept at random with that probability, including errors, so use it only when you need to cut outbound traffic. The server-side sampling still applies on top.

Documentation