-
Notifications
You must be signed in to change notification settings - Fork 48
Librato reporter gets 400 errors from Librato if it has no data to send #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you using the reporter from my experimental branch? On Tue, Oct 1, 2013 at 1:44 PM, Myron Marston [email protected]
|
Yep, we're using the |
Cool. I have this fix for other versions of the reporter. Sorry for the oversight. Feel free to submit a pull requests. Otherwise I'll try to push a fix for it in the next day or so. On Tue, Oct 1, 2013 at 1:51 PM, Myron Marston [email protected]
|
In our system, the activity of our job queues is very bursty: every day around midnight, millions of jobs are enqueued and processed, and then there are times later in the day where there is no work to do. We've been getting a bunch of 400 errors from Librato with an error like this:
Looking at the Metriks librato reporter this makes sense: it submits all measurements that were taken in the last minute regardless of whether or not there were any. When there were none, it gets the 400 error from Librato.
It would be nice if the Metriks librato reporter was a bit smarter about this and would not try to submit a request with no metrics.
@eric, if you're on board with that idea I'll try to make time to submit a PR for this in the next week or so.
The text was updated successfully, but these errors were encountered: