Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 30 additions & 5 deletions rust_snuba/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust_snuba/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ sentry-kafka-schemas = "2.1.39"
sentry-options = "1.2.1"
sentry_protos = "0.80.0"
sentry_arroyo = { git = "https://github.com/getsentry/arroyo", branch = "rbroughan/pull-based-arroyo-part-2", features = ["ssl"] }
sentry_usage_accountant = { version = "0.1.2", features = ["kafka"] }
sentry_usage_accountant = { version = "0.2.0", features = ["kafka"] }
seq-macro = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] }
Expand Down
8 changes: 0 additions & 8 deletions rust_snuba/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ pub fn setup_logging() {
// everything at or above INFO, instead of breadcrumbs.
let sentry_layer = sentry::integrations::tracing::layer().event_filter(|metadata| {
match *metadata.level() {
// The usage accountant is a best-effort billing side channel. Its
// Kafka producer logs "Purged in queue/flight" at ERROR whenever the
// producer is flushed during a consumer shutdown/rebalance. These
// are transient and don't affect ingestion, so keep them as logs
// rather than issues (SNUBA-474, SNUBA-475).
Level::ERROR if metadata.target().starts_with("sentry_usage_accountant") => {
EventFilter::Log
}
// The DogStatsD forwarder logs at ERROR on every undeliverable flush
// (e.g. "Connection refused"), which self-heals but floods Sentry when
// the target is unreachable. Keep it as logs only (SNUBA-BQ8).
Expand Down
Loading