Skip to content

Commit 7e3f4c3

Browse files
authored
chore(performance): Remove old anomaly detection backend (#80696)
Effectively reverts #31533. As far as we can tell, this never shipped, and has been replaced with a different service. You tell me, though! Frontend removed in #80692
1 parent 7b7e795 commit 7e3f4c3

File tree

5 files changed

+0
-318
lines changed

5 files changed

+0
-318
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@ yarn.lock @getsentry/owners-js-de
228228
/tests/snuba/api/endpoints/test_organization_events_vitals.py @getsentry/visibility
229229
/tests/snuba/api/endpoints/test_organization_tagkey_values.py @getsentry/visibility
230230

231-
/src/sentry/api/endpoints/organization_transaction_anomaly_detection.py @getsentry/data
232-
233231
/src/sentry/spans/ @getsentry/visibility
234232
/tests/sentry/spans/ @getsentry/visibility
235233

src/sentry/api/endpoints/organization_transaction_anomaly_detection.py

Lines changed: 0 additions & 143 deletions
This file was deleted.

src/sentry/api/urls.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,6 @@
560560
OrganizationTraceSpansEndpoint,
561561
OrganizationTracesStatsEndpoint,
562562
)
563-
from .endpoints.organization_transaction_anomaly_detection import (
564-
OrganizationTransactionAnomalyDetectionEndpoint,
565-
)
566563
from .endpoints.organization_user_details import OrganizationUserDetailsEndpoint
567564
from .endpoints.organization_user_reports import OrganizationUserReportsEndpoint
568565
from .endpoints.organization_user_teams import OrganizationUserTeamsEndpoint
@@ -1997,11 +1994,6 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
19971994
OrganizationJoinRequestEndpoint.as_view(),
19981995
name="sentry-api-0-organization-join-request",
19991996
),
2000-
re_path(
2001-
r"^(?P<organization_id_or_slug>[^\/]+)/transaction-anomaly-detection/$",
2002-
OrganizationTransactionAnomalyDetectionEndpoint.as_view(),
2003-
name="sentry-api-0-organization-transaction-anomaly-detection",
2004-
),
20051997
# relay usage
20061998
re_path(
20071999
r"^(?P<organization_id_or_slug>[^\/]+)/relay_usage/$",

src/sentry/features/temporary.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,6 @@ def register_temporary_features(manager: FeatureManager):
242242
manager.add("organizations:ownership-size-limit-large", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
243243
# Enable xlarge ownership rule file size limit
244244
manager.add("organizations:ownership-size-limit-xlarge", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
245-
# Enable views for anomaly detection
246-
manager.add("organizations:performance-anomaly-detection-ui", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
247245
# Enable mobile performance score calculation for transactions in relay
248246
manager.add("organizations:performance-calculate-mobile-perf-score-relay", OrganizationFeature, FeatureHandlerStrategy.INTERNAL, api_expose=False)
249247
# Enable performance change explorer panel on trends page

tests/sentry/api/endpoints/test_organization_transaction_anomaly_detection.py

Lines changed: 0 additions & 163 deletions
This file was deleted.

0 commit comments

Comments
 (0)