Rust
Altix ErrorTrack speaks the Sentry protocol, so you use the official sentry SDK. The snippets below use a placeholder DSN; your project's setup page shows them with the real one.
Install the SDK
Add
sentry, the official Sentry SDK. It works unmodified with Altix ErrorTrack.toml
# Cargo.toml [dependencies] sentry = "0.49.3"Configure it
Initialise the SDK as early as possible in your app, with your DSN.
src/main.rs
fn main() { let _guard = sentry::init(( "https://<public-key>@errortrack.altixcode.com/<project-id>", sentry::ClientOptions { release: Some("my-app@1.0.0".into()), traces_sample_rate: 1.0, ..Default::default() }, )); }Verify
Trigger an error on purpose. It appears in your issue stream within seconds.
rust
panic!("My first ErrorTrack error");
Create a project and its setup page fills in your real DSN.