Browse Source

fix(alerts): add on-demand supported search fields (#54437)

Ogi 1 year ago
parent
commit
bbd6335bed
1 changed files with 2 additions and 2 deletions
  1. 2 2
      static/app/views/alerts/wizard/options.tsx

+ 2 - 2
static/app/views/alerts/wizard/options.tsx

@@ -11,7 +11,7 @@ import {
   SpanOpBreakdown,
   WebVital,
 } from 'sentry/utils/fields';
-import {STANDARD_SEARCH_FIELD_KEYS} from 'sentry/utils/onDemandMetrics/constants';
+import {ON_DEMAND_METRICS_SUPPORTED_TAGS} from 'sentry/utils/onDemandMetrics/constants';
 import {
   Dataset,
   EventTypes,
@@ -260,7 +260,7 @@ export function datasetSupportedTags(
 
 function transactionSupportedTags(org: Organization) {
   if (org.features.includes('on-demand-metrics-extraction')) {
-    return [...STANDARD_SEARCH_FIELD_KEYS];
+    return [...ON_DEMAND_METRICS_SUPPORTED_TAGS];
   }
   return TRANSACTION_SUPPORTED_TAGS;
 }