Commit graph

3 commits

Author SHA1 Message Date
Tony Compton
9641e70005 Fixing some refactoring bugs, first half-decent external metrics attempt.
Fixed:
* `basicMetricLister` wasn't applying the appropriate start time because I had forgotten to set the `lookback`.

There are still a number of issues:
* The `externalPrometheusProvider` is not hooked up to the web application yet, so it doesn't serve requests.
* The namespace and label approach used in `external_info_map.go` is horrifically incorrect. It doesn't appropriately store multiple series with the same name but different labels.
* The configuration is still not updated to appropriately handle external metrics, it's sort of half-piggy-backing on the pre-existing work.
2018-07-20 12:35:49 -04:00
Tony Compton
056cb7f7f2 Test fix.
Should probably sort the results, but that's for another time.
2018-07-19 14:25:46 -04:00
Tony Compton
f7c0657115 Tests for periodicMetricLister and resourceConverter. 2018-07-19 14:20:55 -04:00