sensu/grafana-sensu-go-datasource

Bug in Sensu timestamp parsing by Grafana

blufor opened this issue · 0 comments

Issue

Resulting parsed timestamps are in the 1970s

  • Grafana expects Unix timestamps in milliseconds
  • Sensu reports Unix timestamps in seconds

Solution

Timestamp fields should be multiplied by 1000:

  • timestamp
  • check.executed
  • check.issued
  • check.last_ok
  • entity.last_seen

PR #15 covers this