-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
I have been following the doc (https://scoutapm.com/docs/php/advanced-features#custom-instrumentation) in order to send a backgroundTransaction :
$ret = $this->scout->enabled();
var_dump($ret);
$this->scout->backgroundTransaction($this->getName(), function(){
...
});
$this->scout->send();
Injecting private Scoutapm\ScoutApmAgent $scout
in the command __construct
.
But I'm getting the following error :
{"message":"[Scout] Failed to connect to socket on address \"tcp://127.0.0.1:6590\", previous message: socket_connect(): unable to connect [111]: Connection refused","context":{},"level":400,"level_name":"ERROR","channel":"app","datetime":"2022-01-31T21:59:41.168531+00:00","extra":{}}
21:59:41 ERROR [app] [Scout] Failed to connect to socket on address "tcp://127.0.0.1:6590", previous message: socket_connect(): unable to connect [111]: Connection refused
Any idea why ?
Thanks in advance,
Julien
Metadata
Metadata
Assignees
Labels
No labels