relay_event_normalization/statsd.rs
1use relay_statsd::TimerMetric;
2
3pub enum Timers {
4 /// Measures how log normalization of SQL queries in span description take.
5 ///
6 /// This metric is tagged with:
7 /// - `mode`: The method used for normalization (either `parser` or `regex`).
8 SpanDescriptionNormalizeSQL,
9}
10
11impl TimerMetric for Timers {
12 fn name(&self) -> &'static str {
13 match *self {
14 Self::SpanDescriptionNormalizeSQL => "normalize.span.description.sql",
15 }
16 }
17}