Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jjbayer committed May 24, 2024
1 parent 6c56b92 commit c6d9110
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ pub(crate) fn scrub_span_description(
.map(|op| op.split_once('.').unwrap_or((op, "")))
.and_then(|(op, sub)| match (op, sub) {
("http", _) => scrub_http(description),
("cache", _) | ("db", "redis") | ("db", _) if db_system == Some("redis") => {
scrub_redis_keys(description)
}
("cache", _) | ("db", "redis") => scrub_redis_keys(description),
("db", _) if db_system == Some("redis") => scrub_redis_keys(description),
("db", sub) => {
if sub.contains("clickhouse")
|| sub.contains("mongodb")
Expand Down

0 comments on commit c6d9110

Please sign in to comment.