30 releases
new 0.32.0 | Nov 28, 2023 |
---|---|
0.31.7 | Sep 14, 2023 |
0.31.5 | Jun 16, 2023 |
0.30.0 | Feb 24, 2023 |
0.19.0 | Jun 18, 2020 |
#56 in Hardware support
521,720 downloads per month
Used in 8 crates
(via sentry)
165KB
3K
SLoC
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
- Discord server for project discussions.
- Follow @getsentry on Twitter for updates
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.5–5MB
~122K SLoC