Commit da522efa authored by Tim Zallmann's avatar Tim Zallmann

Merge branch '38789-prometheus-graphs-occasionally-have-incorrect-y-scale' into 'master'

Resolve "Prometheus graphs occasionally have incorrect Y scale"

Closes #38789

See merge request gitlab-org/gitlab-ce!14693
parents db239dc2 9a4ab760
...@@ -13,7 +13,7 @@ function normalizeMetrics(metrics) { ...@@ -13,7 +13,7 @@ function normalizeMetrics(metrics) {
...result, ...result,
values: result.values.map(([timestamp, value]) => ({ values: result.values.map(([timestamp, value]) => ({
time: new Date(timestamp * 1000), time: new Date(timestamp * 1000),
value, value: Number(value),
})), })),
})), })),
})), })),
......
---
title: Fix broken Y-axis scaling in some Prometheus graphs
merge_request: 14693
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment