ensure prometheus graph values are properly typecast as numbers

This commit is contained in:
Mike Greiling 2017-10-04 23:26:28 -05:00
parent 8921af39e7
commit 4f82b92199
No known key found for this signature in database
GPG Key ID: 0303DF507FA67596
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ function normalizeMetrics(metrics) {
...result,
values: result.values.map(([timestamp, value]) => ({
time: new Date(timestamp * 1000),
value,
value: Number(value),
})),
})),
})),