Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 937 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 937 Bytes

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, as well as sets a server_name if 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