Browse Source

fix(traces): Option type (#67794)

- Need to declare its a float for the options
William Mak 11 months ago
parent
commit
2c9a0e8fed
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/sentry/options/defaults.py

+ 3 - 1
src/sentry/options/defaults.py

@@ -1628,12 +1628,14 @@ register(
 # Adjusting some time buffers in the trace endpoint
 register(
     "performance.traces.transaction_query_timebuffer_days",
+    type=Float,
     default=1.5,
     flags=FLAG_AUTOMATOR_MODIFIABLE,
 )  # days
 register(
     "performance.traces.span_query_timebuffer_hours",
-    default=1,
+    type=Float,
+    default=1.0,
     flags=FLAG_AUTOMATOR_MODIFIABLE,
 )  # hours