Browse Source

fix(starfish): Use PerformanceMetrics dataset under the hood (#49629)

Use `PerformanceMetrics` instead of `Metrics` so that we hit
the correct `generic_metrics` tables for span metrics.

![Screenshot 2023-05-23 at 2 35 31
PM](https://github.com/getsentry/sentry/assets/63818634/d22f3d22-effd-4f8f-a15b-bd612d54e64c)
Shruthi 1 year ago
parent
commit
320121a0fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sentry/snuba/spans_metrics.py

+ 1 - 1
src/sentry/snuba/spans_metrics.py

@@ -31,7 +31,7 @@ def query(
     extra_columns=None,
 ):
     builder = SpansMetricsQueryBuilder(
-        dataset=Dataset.Metrics,
+        dataset=Dataset.PerformanceMetrics,
         params=params,
         snuba_params=snuba_params,
         query=query,