Skip to content

Commit

Permalink
fix(alerts): add on-demand supported search fields (#54437)
Browse files Browse the repository at this point in the history
  • Loading branch information
obostjancic authored Aug 9, 2023
1 parent 56fd332 commit bbd6335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/app/views/alerts/wizard/options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit bbd6335

Please sign in to comment.