ks888 / LambStatus

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

NaN on custom metrics #164

Closed cxnky closed 4 years ago

cxnky commented 4 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 4 years ago

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

ks888 commented 4 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 4 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 4 years ago

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