prometheus/web
Julien Pivotto 52c0121890 Correctly handle empty data set in the console view (#3521)
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>
2017-11-30 10:04:02 +00:00
..
api *: adapt to storage interface changes 2017-11-23 19:05:04 +01:00
ui Correctly handle empty data set in the console view (#3521) 2017-11-30 10:04:02 +00:00
federate.go *: adapt to storage interface changes 2017-11-23 19:05:04 +01:00
federate_test.go Merge branch 'master' into dev-2.0 2017-09-04 14:09:21 +02:00
web.go rules: remove dependency on promql.Engine 2017-11-24 07:57:54 +01:00
web_test.go Merge pull request #3286 from prometheus/dev-2.0 2017-10-12 16:19:10 +02:00