Skip to content

Commit

Permalink
ref: Add new mobile vitals (#1943)
Browse files Browse the repository at this point in the history
- There's going to be two new mobile vitals, time to initial & first
display
- Closes getsentry/sentry#45879

#skip-changelog
  • Loading branch information
wmak authored Mar 16, 2023
1 parent 31383cb commit ce763d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions relay-general/src/store/normalize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ fn get_metric_measurement_unit(measurement_name: &str) -> Option<MetricUnit> {
"frames_slow_rate" => Some(MetricUnit::Fraction(FractionUnit::Ratio)),
"frames_frozen" => Some(MetricUnit::None),
"frames_frozen_rate" => Some(MetricUnit::Fraction(FractionUnit::Ratio)),
"time_to_initial_display" => Some(MetricUnit::Duration(DurationUnit::MilliSecond)),
"time_to_first_display" => Some(MetricUnit::Duration(DurationUnit::MilliSecond)),

// React-Native
"stall_count" => Some(MetricUnit::None),
Expand Down

0 comments on commit ce763d1

Please sign in to comment.