Skip to content

Commit 3c7fbcc

Browse files
authoredOct 9, 2024
feat(dashboards): Add feature flag for metrics in AM2+ (#78870)
Since users transitioning to AM3 will see full ingestion of transactions, orgs with highly sampled rates will see a large spike due to us showing transactions data instead of metrics data. Add a feature flag so we can continue showing metrics data until the transactions are fully ingested for at least 90d for orgs going onto AM3.
1 parent 5db1b51 commit 3c7fbcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/sentry/features/temporary.py

+2
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ def register_temporary_features(manager: FeatureManager):
9898
manager.add("organizations:dashboards-import", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
9999
# Enable metrics enhanced performance in dashboards
100100
manager.add("organizations:dashboards-mep", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
101+
# Enable metrics enhanced performance for AM2+ customers as they transition from AM2 to AM3
102+
manager.add("organizations:dashboards-metrics-transition", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
101103
manager.add("organizations:dashboards-span-metrics", OrganizationFeature, FeatureHandlerStrategy.OPTIONS, api_expose=False)
102104
# Enable releases overlay on dashboard chart widgets
103105
manager.add("organizations:dashboards-releases-on-charts", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)

0 commit comments

Comments
 (0)