prometheus/web/ui/static/js
David Coles 1591ebf985 ui: Fix hover when metric has null value. (#4906)
When a metric has a null value, number formatters like
`humanizeNoSmallPrefix` will throw "Uncaught TypeError: Cannot read
property 'toPrecision' of null".

This is fixed by explicitly checking for `null` and returning the string
"null".

Note: This is usually not seen as rickshaw doesn't show annotations for
null values, but still calls the formatter.

Signed-off-by: David Coles <coles.david@gmail.com>
2018-11-25 14:16:48 +08:00
..
graph Support to query elements by a specific time (#4764) 2018-10-26 14:16:40 +02:00
alerts.js Make show annotations checkbox match query history checkbox (#3936) 2018-03-09 14:39:28 +01:00
prom_console.js ui: Fix hover when metric has null value. (#4906) 2018-11-25 14:16:48 +08:00
targets.js Merge branch 'release-2.2' into update 2018-06-05 05:29:11 -04:00