consul/ui/packages/consul-ui/vendor/metrics-providers
John Cowen 959974e960
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
..
consul.js ui: Add vendor directory as a target for JS linting and lint (#9157) 2020-11-11 16:59:15 +00:00
prometheus.js ui: Replace NaN and undefined metrics values with `-` (#9200) 2020-11-16 15:22:24 +00:00