-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Description
Hello all!
We intermittently get this failure on our production environments.
ErrorException: socket_sendto(): Unable to write to socket [111]: Connection refused in /var/www/vendor/datadog/php-datadogstatsd/src/DogStatsd.php:502
We are running on a Kubernetes cluster.
This is incredibly frustrating, as we have to wrap every call to write metrics in try-catches to avoid having DB transactions rolled back or returning 500 errors to users.
Was wondering if there's any reason that this would be happening, and if there should be a configuration option to allow gracefully handling these? (See: League's statsd implementation https://github.com/thephpleague/statsd/blob/master/src/Client.php#L341-L354)
Metadata
Metadata
Assignees
Labels
No labels