@@ -8009,6 +8009,20 @@ class EdgeApplication:
|
||||
started = time.monotonic()
|
||||
event_id = str(event.get("event_id", ""))
|
||||
group_id = str(event.get("group_fingerprint", ""))
|
||||
if event.get("shadow_only") or event.get("dispatch_allowed") is False:
|
||||
self.telemetry.elapsed(
|
||||
"edge.event.accepted",
|
||||
started,
|
||||
status="shadow_ignored",
|
||||
event_id=event_id,
|
||||
group_id=group_id,
|
||||
route="none",
|
||||
execution_path="none",
|
||||
)
|
||||
return {
|
||||
"status": "ignored",
|
||||
"reason": "shadow_only",
|
||||
}
|
||||
question = event_question(event)
|
||||
decision = route_question(question)
|
||||
route = decision.route.value
|
||||
|
||||
Reference in New Issue
Block a user