Skip to content

Implement proper timestamp handling

Pre-release
Pre-release
Compare
Choose a tag to compare
@Serphentas Serphentas released this 15 Jan 13:36

In this release, we properly define what kind of timestamp should be fed when writing metrics with a fixed timestamp.

Until now, it was unclear whether one should use Date.now() or Math.floor(Date.now() / 1000). Having made it clear in the readme that the former option must be used, this ambiguity is now gone.