Documentation
Release
Set release once in init. Every error from that build gets the same label.
Product overview (Releases view): Features → Release.
In init
import { init } from '@retrace-kit/sdk';
init({
apiKey: 'your-project-api-key',
release: '1.4.2',
}); Optional. Version number, git commit, or CI build id. Set once at startup — not on each error.
Optional environment (e.g. production, staging) keeps envs separate
when the version string matches.