Release tracking
Track error rates across deployments and detect regressions automatically.
Overview
Release tracking lets you tag every event with a version string
and see how each deployment affects your error rate.
Setup
Pass release to init():
init({
apiKey: 'your-key',
dashboardUrl: 'https://...',
release: 'v1.2.3',
})Every event captured after this will include
metadata.release = "v1.2.3".
Automatic detection
You don't need to call /api/releases manually. Trovi
detects new release versions from incoming events and creates
release records automatically.
Regression detection
Trovi compares the error rate of each new release against
the previous one. If the error rate increases by more than 10%,
the release is flagged as a regression.
You can set up an alert rule with trigger type error_spike
to get notified in Slack when a regression is detected.
Comparing releases
Open the Releases page in your dashboard and click "Compare"
to see a side-by-side comparison of any two releases.
Filtering by release
On the Tickets and Events pages, use the Release filter
dropdown to see only issues from a specific release.