Open toredash opened 5 years ago
Would require a bit of work here: https://github.com/matomo-org/plugin-QueuedTracking/blob/3.3.5/Queue/Manager.php#L153 to count the number of errors across all requests (we wouldn't stop all requests but only throw an exception at the end of the method if any failed).
Would also need to return the success value here: https://github.com/matomo-org/plugin-QueuedTracking/blob/3.3.5/Queue.php#L75 and would also need to return success/failure status in the MySQL and Redis backend in the appendValuesToList()
method.
It may not all be hard to develop but creating tests for all this is the time consuming part.
If matomo is configured to use QueuedTracking with Redis as backend, and matomo.php is unable to connect to such Redis instance, HTTP 200 is returned.
I would expect matomo.php return !200. For monitoring the availability of the tracker API, it makes it harder to validate that the Tracker API is healthy.
The error msg that is returned: