@@ -285,7 +285,7 @@ def log_snuba_info(content):
285
285
Dataset .MetricsSummaries : METRICS_SUMMARIES_COLUMN_MAP ,
286
286
Dataset .PerformanceMetrics : METRICS_COLUMN_MAP ,
287
287
Dataset .SpansIndexed : SPAN_COLUMN_MAP ,
288
- Dataset .SpansEAP : SPAN_EAP_COLUMN_MAP ,
288
+ Dataset .EventsAnalyticsPlatform : SPAN_EAP_COLUMN_MAP ,
289
289
Dataset .IssuePlatform : ISSUE_PLATFORM_MAP ,
290
290
Dataset .Replays : {},
291
291
}
@@ -300,7 +300,7 @@ def log_snuba_info(content):
300
300
Dataset .Sessions : SESSIONS_FIELD_LIST ,
301
301
Dataset .IssuePlatform : list (ISSUE_PLATFORM_MAP .values ()),
302
302
Dataset .SpansIndexed : list (SPAN_COLUMN_MAP .values ()),
303
- Dataset .SpansEAP : list (SPAN_EAP_COLUMN_MAP .values ()),
303
+ Dataset .EventsAnalyticsPlatform : list (SPAN_EAP_COLUMN_MAP .values ()),
304
304
Dataset .MetricsSummaries : list (METRICS_SUMMARIES_COLUMN_MAP .values ()),
305
305
}
306
306
@@ -1417,7 +1417,7 @@ def _resolve_column(col):
1417
1417
if isinstance (col , int ) or isinstance (col , float ):
1418
1418
return col
1419
1419
if (
1420
- dataset != Dataset .SpansEAP
1420
+ dataset != Dataset .EventsAnalyticsPlatform
1421
1421
and isinstance (col , str )
1422
1422
and (col .startswith ("tags[" ) or QUOTED_LITERAL_RE .match (col ))
1423
1423
):
@@ -1428,7 +1428,7 @@ def _resolve_column(col):
1428
1428
1429
1429
if isinstance (col , (list , tuple )) or col in ("project_id" , "group_id" ):
1430
1430
return col
1431
- elif dataset == Dataset .SpansEAP :
1431
+ elif dataset == Dataset .EventsAnalyticsPlatform :
1432
1432
if isinstance (col , str ) and col .startswith ("sentry_tags[" ):
1433
1433
# Replace the first instance of sentry tags with attr str instead
1434
1434
return col .replace ("sentry_tags" , "attr_str" , 1 )
@@ -1460,7 +1460,7 @@ def _resolve_column(col):
1460
1460
span_op_breakdown_name = get_span_op_breakdown_name (col )
1461
1461
if "span_op_breakdowns_key" in DATASETS [dataset ] and span_op_breakdown_name :
1462
1462
return f"span_op_breakdowns[{ span_op_breakdown_name } ]"
1463
- if dataset == Dataset .SpansEAP :
1463
+ if dataset == Dataset .EventsAnalyticsPlatform :
1464
1464
return f"attr_str[{ col } ]"
1465
1465
return f"tags[{ col } ]"
1466
1466
0 commit comments