File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 2424logger = logging .getLogger (__name__ )
2525
2626PROCESSING_ERROR_NAMESPACE = uuid .UUID ("a4d8f4e2-1b3c-4a9d-9e1f-5c2b1a0d7f6e" )
27-
2827EAP_ITEMS_CODEC : Codec [TraceItem ] = get_topic_codec (Topic .SNUBA_ITEMS )
2928
3029
@@ -100,7 +99,7 @@ def produce_processing_errors_to_eap(
10099 organization_id = project .organization_id ,
101100 project_id = project .id ,
102101 item_id = item_id ,
103- item_type = TraceItemType .TRACE_ITEM_TYPE_PREPROD , # TODO: switch to TRACE_ITEM_TYPE_PROCESSING_ERROR once sentry-protos is updated
102+ item_type = TraceItemType .TRACE_ITEM_TYPE_PROCESSING_ERROR ,
104103 timestamp = timestamp ,
105104 trace_id = trace_id ,
106105 retention_days = retention_days ,
Original file line number Diff line number Diff line change 2020from sentry .issues .grouptype import GroupCategory
2121from sentry .issues .issue_occurrence import IssueOccurrence
2222from sentry .killswitches import killswitch_matches_context
23+ from sentry .processing_errors .eap .producer import produce_processing_errors_to_eap
2324from sentry .replays .lib .event_linking import transform_event_for_linking_payload
2425from sentry .replays .lib .kafka import initialize_replays_publisher
2526from sentry .seer .autofix .constants import FixabilityScoreThresholds
@@ -1291,8 +1292,6 @@ def process_processing_errors_eap(job: PostProcessJob):
12911292 if not processing_errors :
12921293 return
12931294
1294- from sentry .processing_errors .eap .producer import produce_processing_errors_to_eap
1295-
12961295 produce_processing_errors_to_eap (event .project , event .data , processing_errors )
12971296
12981297
You can’t perform that action at this time.
0 commit comments