Skip to content

Commit

Permalink
instr(metrics): Add separate buckets for aggregated spans metrics obs…
Browse files Browse the repository at this point in the history
…ervability (#2267)
  • Loading branch information
iker-barriocanal authored Jun 29, 2023
1 parent 867ba42 commit 9dffb22
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions relay-metrics/src/statsd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,12 @@ pub fn metric_name_tag(value: &str) -> &str {
return "d:transactions/measurements.*";
}

if value.starts_with("s:spans/") {
return "s:spans/";
}
if value.starts_with("d:spans/") {
return "d:spans/";
}

"other"
}

0 comments on commit 9dffb22

Please sign in to comment.