Skip to content

Commit

Permalink
Merge pull request #104 from mineshp-mecha/chore/remove-sentry
Browse files Browse the repository at this point in the history
chore: sentry removed
  • Loading branch information
shoaibmerchant authored May 21, 2024
2 parents b4b64a3 + fa63a3f commit 95c6053
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 396 deletions.
417 changes: 37 additions & 380 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ serde_json = "1.0.33"
serde_yaml = "0.9.21"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
sentry-tracing = {version= "0.32.1"}
sentry = { version = "0.32.1",features = ["backtrace", "anyhow"] }
init-tracing-opentelemetry = { version = "0.12.0", features = ["otlp", "tracing_subscriber_ext"] }
anyhow = { version= "1.0.71", features = ["backtrace"]}
opentelemetry = "0.21.0"
Expand Down
2 changes: 0 additions & 2 deletions agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ serde = { workspace = true }
serde_json = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
sentry-tracing = { workspace = true }
sentry = { workspace = true }
init-tracing-opentelemetry = { workspace = true }
anyhow = { workspace = true }
opentelemetry = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions agent/src/bin/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use init_tracing_opentelemetry::tracing_subscriber_ext::{
use mecha_agent::init::init_services;
use opentelemetry::global;
use opentelemetry_appender_tracing::layer::OpenTelemetryTracingBridge;
use sentry_tracing::EventFilter;
use telemetry::config::init_logs_config;
use tracing_subscriber::prelude::__tracing_subscriber_SubscriberExt;
const PACKAGE_NAME: &str = env!("CARGO_PKG_NAME");
Expand Down Expand Up @@ -35,7 +34,6 @@ async fn main() -> Result<()> {

let subscriber = tracing_subscriber::registry()
.with(tracing_bridge_layer)
.with(sentry_tracing::layer().event_filter(|_| EventFilter::Ignore))
.with(build_loglevel_filter_layer()) //temp for terminal log
.with(build_logger_text()) //temp for terminal log
.with(build_otel_layer().unwrap());
Expand Down
2 changes: 0 additions & 2 deletions client/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ tokio-util = "0.7.10"
reqwest = "0.11"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
sentry-tracing = {version= "0.32.1"}
sentry = { version = "0.32.1",features = ["backtrace", "anyhow"] }
init-tracing-opentelemetry = { version = "0.12.0", features = ["otlp", "tracing_subscriber_ext"] }
opentelemetry-appender-tracing = "0.2.0"
simple-base64 = "0.23.2"
Expand Down
1 change: 0 additions & 1 deletion commons/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ tracing = { workspace = true }
base64 = "0.21.4"
mkdirp = "1.0.0"
rand = "0.8.5"
sentry = { workspace = true }
serde_json = { workspace = true }
serde = { workspace = true }
tonic = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion grpc-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ telemetry = { path = "../telemetry" }
tokio = { version = "1.27.0", features = ["full"] }
serde = { version = "1.0.159", features = ["derive"]}
tracing = "0.1"
sentry = { version = "0.32.1",features = ["backtrace", "anyhow"] }
anyhow = { workspace = true }
prost = { workspace = true }
prost-types = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion messaging/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ tonic = { workspace = true }
tonic-types = { workspace = true }
tracing = { workspace = true }
reqwest = { workspace = true }
sentry-tracing = { workspace = true }

serde = { workspace = true }
sha256 = { workspace = true }
2 changes: 0 additions & 2 deletions networking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ tonic-types = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
reqwest = { workspace = true }
sentry = { workspace = true }
sentry-tracing = { workspace = true }

serde = { workspace = true }
serde_json = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions provisioning/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ fs = { path = "../commons/fs" }
anyhow = { workspace = true }
async-trait = { workspace = true }
reqwest = { workspace = true }
sentry = { workspace = true }
sentry-tracing = { workspace = true }

serde = { workspace = true }
serde_json = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion status/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ channel = { path = "../commons/channel" }
agent-settings = { path = "../core/settings" }
crypto = { path = "../commons/crypto" }
anyhow = { workspace = true }
sentry = { workspace = true }

serde_json = { workspace = true }
serde = { workspace = true }
Expand Down

0 comments on commit 95c6053

Please sign in to comment.