mirror of https://github.com/prometheus/prometheus
Browse Source
When there is an empty result set, the Prometheus server replies with {"status":"success","data":{"resultType":"vector","result":null}} That "null" reply was not handled correctly by the graphing library. This commit handles that case and shows "no data" in the UI console view instead of throwing an error in the browser javascript console. Fixes #3515 Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>reviewable/pr3524/r1
Julien Pivotto
7 years ago
committed by
Brian Brazil
2 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue