Skip to content

Commit

Permalink
fix(alerts): Use metrics_enhanced_performance dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
ceorourke committed Sep 27, 2024
1 parent 09cb65f commit e6f9f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/seer/anomaly_detection/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def fetch_historical_data(
dataset_label = "errors"
elif dataset_label in ["generic_metrics", "transactions"]:
# XXX: performance alerts dataset differs locally vs in prod
dataset_label = "discover"
dataset_label = "metricsEnhanced"
dataset = get_dataset(dataset_label)

if not project or not dataset or not alert_rule.organization:
Expand Down

0 comments on commit e6f9f2f

Please sign in to comment.