diff --git a/src/DataCollector/GuzzleHttpDataCollector.php b/src/DataCollector/GuzzleHttpDataCollector.php index 932b68a..d16fd90 100644 --- a/src/DataCollector/GuzzleHttpDataCollector.php +++ b/src/DataCollector/GuzzleHttpDataCollector.php @@ -66,7 +66,10 @@ public function getName() */ public function onGuzzleHttpCommand(AbstractGuzzleHttpEvent $event) { - $client = 'm6web_guzzlehttp_'.$event->getClientId(); + $client = 'm6web_guzzlehttp'; + if ($event->getClientId() !== 'default') { + $client .= '_'.$event->getClientId(); + } $request = $event->getRequest(); $response = $event->getResponse();