librato / librato-metrics

Ruby wrapper to make it easy to interact with Librato's API.
https://librato.com
Other
108 stars 51 forks source link

Always use client start time to prevent start/end time mismatch #109

Closed nextmat closed 9 years ago

nextmat commented 9 years ago

Annotation start_time was previously resolved at the API if not specified. However end_time is always based on client time. In cases of clock drift on the client this could result in an update end_time submission which is actually earlier than the start time, causing failures.

Potential fix for #108

mheffner commented 9 years ago

:+1: