Просмотр исходного кода

fix(snuba) The device.* fields are strings not numeric (#20733)

The device.* fields are part of the contexts data, which is stored as strings in
snuba. Treat these values as strings in sentry to avoid errors.
evanh 4 лет назад
Родитель
Сommit
2fa4a909b1
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      src/sentry/tagstore/snuba/backend.py

+ 0 - 4
src/sentry/tagstore/snuba/backend.py

@@ -37,10 +37,6 @@ BLACKLISTED_COLUMNS = frozenset(["project_id"])
 
 FUZZY_NUMERIC_KEYS = frozenset(
     [
-        "device.battery_level",
-        "device.charging",
-        "device.online",
-        "device.simulator",
         "error.handled",
         "stack.colno",
         "stack.in_app",