Skip to content

Commit

Permalink
Ignore tracking internal bulk reporting events.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiasco committed Nov 21, 2023
1 parent ece7e21 commit 7a83614
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/EventsSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ public function trackReport(Report $report):void {
return;

}
// Ignore batch audits triggered by report streaming in profile:run.
if ($report->profile->name == '_policy_audit_batch') {
return;
}
$agent = sprintf('%s %s (%s)', $this->application->getName(), $this->application->getVersion(), $this->user->getIdentity());

$this->analytics->queueEvent('report.build', [
Expand Down

0 comments on commit 7a83614

Please sign in to comment.