add bugsink
All checks were successful
ci/woodpecker/push/validate_schema Pipeline was successful

This commit is contained in:
JMARyA 2025-07-07 19:32:55 +02:00
parent 8b1502fe6c
commit fa1ac8ff99
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 39 additions and 0 deletions

View file

@ -317,6 +317,7 @@ rev: 2025-01-30
- [rust-script](./development/rust-script.md) - [rust-script](./development/rust-script.md)
- [renovatebot](./development/renovate.md) - [renovatebot](./development/renovate.md)
- [hl](./development/hl.md) - [hl](./development/hl.md)
- [Bugsink](./development/bugsink.md)
## Media ## Media
- [yt-dlp](./media/yt-dlp.md) - [yt-dlp](./media/yt-dlp.md)

View file

@ -0,0 +1,38 @@
---
obj: application
website: https://www.bugsink.com
repo: https://github.com/bugsink/bugsink
---
# Bugsink
SelfHosted Error Tracking, SentrySDK Compatible
## Usage
### Rust
Add `sentry` to your `Cargo.toml`:
```toml
[dependencies]
sentry = "0.41.0"
```
Initialize sentry before any other `main`:
```rs
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());
}
```