knowledge/technology/applications/development/bugsink.md
JMARyA fa1ac8ff99
All checks were successful
ci/woodpecker/push/validate_schema Pipeline was successful
add bugsink
2025-07-07 19:32:55 +02:00

692 B
Raw Blame History

obj website repo
application https://www.bugsink.com https://github.com/bugsink/bugsink

Bugsink

SelfHosted Error Tracking, SentrySDK Compatible

Usage

Rust

Add sentry to your Cargo.toml:

[dependencies]
sentry = "0.41.0"

Initialize sentry before any other main:

fn main() {
    let _guard = sentry::init((
        "<YOUR_DSN>",
        sentry::ClientOptions {
            release: sentry::release_name!(),
            send_default_pii: true,
            ..Default::default()
        },
    ));

    tokio::runtime::Builder::new_multi_thread()
        .enable_all()
        .build()
        .unwrap()
        .block_on(async_main());
}