Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1,349 Commits

Repository files navigation

Sentry

Sentry SDK for Rust

Build Statuscodecov

This workspace contains various crates that provide support for logging events and errors / panics to the Sentry error logging service.

  • sentrycrates.iodocs.rs

    The main sentry crate aimed at application users that want to log events to sentry.

  • sentry-actixcrates.iodocs.rs

    An integration for the actix-web (3.0+) framework.

  • sentry-anyhowcrates.iodocs.rs

    An integration for anyhow errors.

  • sentry-backtracecrates.iodocs.rs

    A utility crate that creates and processes backtraces.

  • sentry-contextscrates.iodocs.rs

    An integration that provides os, device and rust contexts.

  • sentry-corecrates.iodocs.rs

    The core of sentry, which can be used to instrument code, and to write integrations that generate events or hook into event processing.

  • sentry-debug-imagescrates.iodocs.rs

    An integration that adds a list of loaded libraries to events.

  • sentry-logcrates.iodocs.rs

    An integration for the log and env_logger crate.

  • sentry-opentelemetrycrates.iodocs.rs

    An integration for the opentelemetry crate.

  • sentry-paniccrates.iodocs.rs

    An integration for capturing and logging panics.

  • sentry-slogcrates.iodocs.rs

    An integration for the slog crate.

  • sentry-tracingcrates.iodocs.rs

    An integration for the tracing crate.

  • sentry-typescrates.iodocs.rs

    Contains types for the Sentry v7 protocol as well as other common types.

Note: Until the 1.0 release, the crates in this repository are considered work in progress and do not follow semver semantics. Between minor releases, we might occasionally introduce breaking changes while we are exploring the best API and adding new features.

Requirements

We currently only verify this crate against a recent version of Sentry hosted on sentry.io but it should work with on-prem Sentry versions 20.6 and later.

The Minimum Supported Rust Version is currently at 1.88.0. The Sentry crates tries to support a 6 months old Rust version at time of release, and the MSRV will be increased in accordance with its dependencies.

Resources

  • Discord server for project discussions.
  • Follow @sentry on X for updates.

About

The official Sentry SDK for Rust

Topics

Resources

Code of conduct

Security policy

Stars

748 stars

Watchers

48 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages