Skip to content
5 changes: 5 additions & 0 deletions src/sentry/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2650,6 +2650,11 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
OrganizationObjectstoreEndpoint.as_view(),
name="sentry-api-0-organization-objectstore",
),
re_path(
r"^(?P<organization_id_or_slug>[^/]+)/preprod/app-size-stats/$",
preprod_urls.OrganizationPreprodAppSizeStatsEndpoint.as_view(),
name="sentry-api-0-organization-preprod-app-size-stats",
),
]

PROJECT_URLS: list[URLPattern | URLResolver] = [
Expand Down
5 changes: 5 additions & 0 deletions src/sentry/models/dashboard_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ class DashboardWidgetTypes(TypesClass):
These represent the tracemetrics item type on the EAP dataset.
"""
TRACEMETRICS = 104
"""
Mobile app size metrics from preprod item type on the EAP dataset.
"""
MOBILE_APP_SIZE = 105

TYPES = [
(DISCOVER, "discover"),
Expand All @@ -85,6 +89,7 @@ class DashboardWidgetTypes(TypesClass):
(SPANS, "spans"),
(LOGS, "logs"),
(TRACEMETRICS, "tracemetrics"),
(MOBILE_APP_SIZE, "mobile-app-size"),
]
TYPE_NAMES = [t[1] for t in TYPES]

Expand Down
Loading
Loading