Skip to content

Commit

Permalink
feat: API for manual performance monitoring (NATIVE-309) (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem authored Jan 10, 2022
1 parent a800b0b commit 281f3ff
Show file tree
Hide file tree
Showing 6 changed files with 568 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sentry-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ log_ = { package = "log", version = "0.4.8", optional = true, features = ["std"]
# Because we re-export all the public API in `sentry`, we actually run all the
# doctests using the `sentry` crate. This also takes care of the doctest
# limitation documented in https://github.com/rust-lang/rust/issues/45599.
sentry = { path = "../sentry", default-features = false, features = ["test"] }
sentry = { path = "../sentry", default-features = false, features = ["test", "transport"] }
thiserror = "1.0.15"
anyhow = "1.0.30"
tokio = { version = "1.0", features = ["rt", "rt-multi-thread", "macros"] }
Expand Down
2 changes: 2 additions & 0 deletions sentry-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ mod futures;
mod hub;
mod integration;
mod intodsn;
mod performance;
mod scope;
mod transport;

Expand All @@ -75,6 +76,7 @@ pub use crate::futures::{SentryFuture, SentryFutureExt};
pub use crate::hub::Hub;
pub use crate::integration::Integration;
pub use crate::intodsn::IntoDsn;
pub use crate::performance::*;
pub use crate::scope::{Scope, ScopeGuard};
pub use crate::transport::{Transport, TransportFactory};

Expand Down
Loading

0 comments on commit 281f3ff

Please sign in to comment.