prometheus/web
CSTDev 4262ad92ce React ui add query stats (#6190)
* Adds the query stats to UI

Adds the query load time, resolution and total number of time series,
as the current UI has

Signed-off-by: cstdev <pietomb00@hotmail.com>

* Implement unit test for QueryStats

Signed-off-by: cstdev <pietomb00@hotmail.com>

* Tidy Query Stats component

Rename it and expose a interface for the values it displays
Make it a functional component as it has no state or lifecycle
Better null/undefined checks
Only render if needed, decided by the panel
Remove old stats if the next errors

Signed-off-by: cstdev <pietomb00@hotmail.com>
2019-10-23 12:47:37 +02:00
..
api cleanup redundant code of TestEndpoints (#6022) 2019-09-18 11:40:50 +01:00
ui React ui add query stats (#6190) 2019-10-23 12:47:37 +02:00
federate.go *: enable all default linters (#5504) 2019-05-03 15:11:28 +02:00
federate_test.go Fix staticcheck errors 2019-04-17 01:40:10 +02:00
web.go Improve message when Lifecycle API is not enabled 2019-09-25 10:57:21 +01:00
web_test.go Cleanup after merging tsdb into prometheus 2019-08-13 14:04:14 +05:30