Skip to content

Commit

Permalink
Removed heavy hitting methods from generation
Browse files Browse the repository at this point in the history
  • Loading branch information
gechetspr committed Nov 18, 2024
1 parent 3c7b069 commit ba073bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ public function onEnd(ReadableSpanInterface $span): void
&& $span->getParentSpanId()
&& $span->getStatus()->getCode() === StatusCode::STATUS_OK
) {
$this->dropped++;
return;
}

Expand Down
2 changes: 2 additions & 0 deletions src/Spryker/Zed/Opentelemetry/OpentelemetryConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public function getExcludedDirs(): array
'Acl',
'Twig',
'WebProfiler',
'Translator',
'Money',
'templates',
'config',
'tests',
Expand Down

0 comments on commit ba073bb

Please sign in to comment.