open-consul/ui/packages/consul-ui/mock-api/v1/internal
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
ui ui: Replace NaN and undefined metrics values with - (#9200) 2020-11-16 15:22:24 +00:00