33 releases

new 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

#159 in Hardware support

Download history 88524/week @ 2024-01-01 106938/week @ 2024-01-08 95658/week @ 2024-01-15 120271/week @ 2024-01-22 107981/week @ 2024-01-29 110285/week @ 2024-02-05 119648/week @ 2024-02-12 80899/week @ 2024-02-19 127080/week @ 2024-02-26 102694/week @ 2024-03-04 120631/week @ 2024-03-11 118399/week @ 2024-03-18 140671/week @ 2024-03-25 143016/week @ 2024-04-01 98954/week @ 2024-04-08 103775/week @ 2024-04-15

489,574 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–34MB
~503K SLoC