open-consul/ui/packages/consul-ui/mock-api/v1
John Cowen 4515d6141b
ui: Replace NaN and undefined metrics values with - (#9200)
* ui: Add functionality to metrics mocks:

1. More randomness during blocking queries
2. NaN and undefined values that come from prometheus
3. General trivial amends to bring things closer to the style of the
project

* Provider should always provide data as a string or undefined

* Use a placeholder `-` if the metrics endpoint responds with undefined data
2020-11-16 15:22:24 +00:00
..
acl ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
agent ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
catalog ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
connect ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
coordinate ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
discovery-chain ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
health/service ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
internal ui: Replace NaN and undefined metrics values with - (#9200) 2020-11-16 15:22:24 +00:00
kv ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
namespace ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
session ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
status ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
.config ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00
namespaces ui: Move mocks into the ui project (#9084) 2020-11-05 16:03:49 +00:00