35 releases

0.34.0 Jun 5, 2024
0.32.3 Apr 16, 2024
0.32.2 Jan 30, 2024
0.32.1 Dec 18, 2023
0.19.0 Jun 18, 2020

#120 in Hardware support

Download history 124652/week @ 2024-07-21 123976/week @ 2024-07-28 121845/week @ 2024-08-04 152834/week @ 2024-08-11 163096/week @ 2024-08-18 211066/week @ 2024-08-25 155126/week @ 2024-09-01 182697/week @ 2024-09-08 156816/week @ 2024-09-15 178019/week @ 2024-09-22 231036/week @ 2024-09-29 154500/week @ 2024-10-06 232692/week @ 2024-10-13 189206/week @ 2024-10-20 216017/week @ 2024-10-27 146295/week @ 2024-11-03

789,201 downloads per month
Used in 33 crates (via sentry)

Apache-2.0

230KB
4.5K 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

~4–30MB
~451K SLoC