ks888 / LambStatus

[Maintenance mode] Serverless Status Page System
https://lambstatus.github.io
Apache License 2.0
1.3k stars 120 forks source link

NaN on custom metrics #164

Closed cxnky closed 5 years ago

cxnky commented 5 years ago

Every minute I am posting something along the lines of

{"xxxxx":[{"timestamp":"2019-08-16T00:38Z","value":"254.4"}]}

but when I go onto the metrics page, it just says "NaN.00"

cxnky commented 5 years ago

Okay, so it appears to happen when I submit another metric?

ks888 commented 5 years ago

Sorry for my late reply.

Okay, so it appears to happen when I submit another metric?

I can't understand this very much. Can you share steps to reproduce the bug?

cxnky commented 5 years ago

No worries, so I submit

{"xxxxx":[{"timestamp":"2019-08-16T00:38Z","value":"254.4"}]}

and it displays "254.4" for the metric, however when I post (with an updated timestamp)

{"xxxxx":[{"timestamp":"2019-08-16T01:38Z","value":"254.4"}]}

then it shows as NaN on the metric

cxnky commented 5 years ago

Closing this as it is obviously going no where, gonna be moving to something else.