33 releases

0.32.3 Apr 16, 2024
0.32.2 Jan 30, 2024
0.32.1 Dec 18, 2023
0.32.0 Nov 28, 2023
0.19.0 Jun 18, 2020

#164 in Hardware support

Download history 98141/week @ 2024-01-09 101537/week @ 2024-01-16 121685/week @ 2024-01-23 107069/week @ 2024-01-30 111162/week @ 2024-02-06 112566/week @ 2024-02-13 90181/week @ 2024-02-20 126236/week @ 2024-02-27 111561/week @ 2024-03-05 120278/week @ 2024-03-12 109185/week @ 2024-03-19 150562/week @ 2024-03-26 132146/week @ 2024-04-02 100146/week @ 2024-04-09 106237/week @ 2024-04-16 91374/week @ 2024-04-23

458,022 downloads per month
Used in 15 crates (via sentry)

Apache-2.0

220KB
4K SLoC

Sentry

Sentry Rust SDK: sentry-contexts

Adds Contexts to Sentry Events.

This integration is enabled by default in sentry and adds device, os and rust contexts to Events, and also sets a server_name if it is not already defined.

See the Contexts Interface documentation for more info.

Examples

let integration = sentry_contexts::ContextIntegration::new().add_os(false);
let _sentry = sentry::init(sentry::ClientOptions::new().add_integration(integration));

Resources

License: Apache-2.0


lib.rs:

Adds Contexts to Sentry Events.

This integration is enabled by default in sentry and adds device, os and rust contexts to Events, and also sets a server_name if it is not already defined.

See the Contexts Interface documentation for more info.

Examples

let integration = sentry_contexts::ContextIntegration::new().add_os(false);
let _sentry = sentry::init(sentry::ClientOptions::new().add_integration(integration));

Dependencies

~3–32MB
~499K SLoC