Skip to content

Commit

Permalink
Revert "Add alert_id tag to cleanup transaction (#1341)"
Browse files Browse the repository at this point in the history
This reverts commit cbf9e54.
  • Loading branch information
aayush-se authored Oct 25, 2024
1 parent cbf9e54 commit e0efc7f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/seer/anomaly_detection/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
@celery_app.task
@sentry_sdk.trace
def cleanup_timeseries(alert_id: int, date_threshold: float):
span = sentry_sdk.get_current_span()

if span is not None:
span.set_tag("alert_id", alert_id)

logger.info("Deleting timeseries points over 28 days old and updating matrix profiles")
toggle_data_purge_flag(alert_id)

Expand Down

0 comments on commit e0efc7f

Please sign in to comment.