Closed bluemaex closed 7 years ago
@bluemaex Thanks for reporting this. Might be possible that something recently changed in our API to cause this.
Out of curiosity, is your Librato account enabled for tag support? Or are you still using the legacy version (0.1.7) of this library?
@bryanmikaelian no, I stumpled upon this bug on the published npm version 2.0.2
.
As for the the tag support, I am not completely sure - I don't think so because our account is pretty old. I will check this tomorrow, though!
@bluemaex Perfect. We'll dig on our end too and get back to you by tomorrow.
So I think we are still on the sources plan - The raw metrics page says: Showing 1-3 of 3 Sources
Thanks for digging in too!
@bluemaex Thanks for the info! Did some digging and this is definitely an issue with the backend plugin. The type
param isn't always in the error message from our legacy API and definitely won't be there in the tag-based API error messages.
Appreciate the fix!
@bryanmikaelian can we also have a new release?
Ping @gilleyj this needs to be included in the new container.
@till Yup. 2.0.4
should be live on NPM
Thanks @bryanmikaelian!
If the API responds with an HTTP 400 because the measure time is too far in the past it crashes the entire statsd server.
This additional checks fixes this error.