Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The current code does not check if db.serverStatus() returns an error (e.g. insufficient privileges). If that is the case, no message is logged anywhere, so user has no clue why metrics are not being posted. I propose to log a warning with the error message.
- Loading branch information