Commit graph

7 commits

Author SHA1 Message Date
Tony Compton
fe0859aa5c More implementation work in conversion.
Notable next steps include:
* Intelligently select the aggregation method (rate/avg_over_time/etc).
* Intelligenty select the aggregation window.
* Figure out how to handle "namespace", if at all.
* Fix the crazy type conversion in `sample_converter.go`.
2018-06-29 11:45:37 -04:00
Tony Compton
d90012439c Intermediate progress.
Working through some of the result conversions.
I want to use this code in a harness project to exercise some of it, but there are some versioning issues around my modified code vs. the current version of the real project. The easiest way to work around them at the moment is to push this.
2018-06-29 09:46:26 -04:00
Tony Compton
a69a5cbbcc Stubbing out metric converters. 2018-06-28 22:08:21 -04:00
Tony Compton
c30cc6c396 Undoing the rename of prometheusProvider to make it easier to focus on the new functionality. 2018-06-27 22:16:31 -04:00
Tony Compton
5533ff7580 A touch more work on GetExternalMetric.
Also added some comments for anyone reviewing this to help explain what I'm thinking.
2018-06-27 22:11:28 -04:00
Tony Compton
3727f99343 Moving the query building logic, adding first unit test.
Moving it into its own type to better organize and separate concerns. Also makes unit testing easier.
2018-06-27 21:37:21 -04:00
Tony Compton
e9af0455ba Re-implementing changes on top of the latest master. 2018-06-27 17:29:49 -04:00