Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
/ hyperf-tracer Public archive
forked from hyperf/tracer

Commit

Permalink
[CORE-909] Mascara em URIs que terminam com números (#14)
Browse files Browse the repository at this point in the history
E máscara seguindo padrão do New Relic.
https://picpay.atlassian.net/browse/CORE-909
  • Loading branch information
leocavalcante authored Dec 7, 2022
1 parent 91c0f2a commit ce1c6a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Aspect/HttpClientAspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ public function process(ProceedingJoinPoint $proceedingJoinPoint)
protected function clearUri(string $uri): string
{
return preg_replace(
'/\/[0-9]+\//',
'/****/',
'/\/[0-9]+\/?/',
'/<NUMBER>/',
$uri
);
}
Expand Down

0 comments on commit ce1c6a2

Please sign in to comment.