Browse Source

feat(spans): Add metric strings for mobile (#54107)

As a follow-up to https://github.com/getsentry/relay/pull/2379 and in
preparation for future PRs around mobile span metrics, add corresponding
strings to the static indexer lookup.
Joris Bayer 1 year ago
parent
commit
017c2fc538
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/sentry/sentry_metrics/indexer/strings.py

+ 4 - 0
src/sentry/sentry_metrics/indexer/strings.py

@@ -150,6 +150,8 @@ SHARED_TAG_STRINGS = {
     "span.group": PREFIX + 252,
     "transaction.method": PREFIX + 253,
     "span.category": PREFIX + 254,
+    "span.main_thread": PREFIX + 255,
+    "device.class": PREFIX + 256,
     # More Transactions
     "has_profile": PREFIX + 260,
     "query_hash": PREFIX + 261,
@@ -168,6 +170,8 @@ SPAN_METRICS_NAMES = {
     "d:spans/duration@millisecond": PREFIX + 404,
     "d:spans/exclusive_time@millisecond": PREFIX + 405,
     "d:spans/exclusive_time_light@millisecond": PREFIX + 406,
+    "d:spans/frames_frozen@none": PREFIX + 407,
+    "d:spans/frames_slow@none": PREFIX + 408,
 }
 
 SHARED_STRINGS = {