ensure prometheus graph values are properly typecast as numbers
This commit is contained in:
parent
8921af39e7
commit
4f82b92199
|
@ -13,7 +13,7 @@ function normalizeMetrics(metrics) {
|
|||
...result,
|
||||
values: result.values.map(([timestamp, value]) => ({
|
||||
time: new Date(timestamp * 1000),
|
||||
value,
|
||||
value: Number(value),
|
||||
})),
|
||||
})),
|
||||
})),
|
||||
|
|
Loading…
Reference in New Issue