prometheus/web/ui/static/js
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
..
alerts.js Tidy up .js files based on static analysis from jshint 2015-11-11 20:06:47 +01:00
graph.js Correctly handle empty data set in the console view (#3521) 2017-11-30 10:04:02 +00:00
graph_template.handlebar #2371 fix to display utc date at datetime picker 2017-09-16 11:38:29 +09:00
prom_console.js Console graph color scheme support (#2900) 2017-07-04 15:30:12 +01:00
targets.js Align columns in Targets view (#3445) 2017-11-26 12:49:24 +08:00