Commit graph

22 commits

Author SHA1 Message Date
Robert Speicher
4edfad9678 Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
Pawel Chojnacki
48778ac589 Tests for query context variables 2017-07-31 16:32:26 +02:00
Pawel Chojnacki
6df5bd8b84 Context handling and tests cleanup + simple test kube_namespace context test 2017-07-31 16:32:26 +02:00
Rémy Coutable
ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Pawel Chojnacki
13902e40a8 Memoize only yaml loading method 2017-06-16 20:58:18 +02:00
Pawel Chojnacki
b97d5b65dd Use include ActiveModel::Model to hold metrics data parsed from yaml. 2017-06-16 14:34:23 +02:00
Pawel Chojnacki
0e7e7c2f2b Test Additional metrics parser and fix query checking tests 2017-06-09 22:47:01 +02:00
Pawel Chojnacki
ccf89acc71 expand Namespaces:: and refactoring yaml parsing out of MetricGroup class 2017-06-06 16:15:11 +02:00
Pawel Chojnacki
336cef4343 Fix transient error in deployment test 2017-06-06 11:07:29 +02:00
Pawel Chojnacki
1b6ab2dffc Remove orig file + rubocop cleanup 2017-06-05 21:00:57 +02:00
Pawel Chojnacki
ffedc52eaa Cleanup Additional Metrics tests 2017-06-05 20:11:22 +02:00
Pawel Chojnacki
a3eb8264f3 Refactor Metric tests to use more common code 2017-06-05 19:43:30 +02:00
Pawel Chojnacki
eccc187a70 Additional Metrics of deployment tests 2017-06-05 19:26:46 +02:00
Pawel Chojnacki
cf4aeafa6f Test Partial additional query response 2017-06-05 15:12:32 +02:00
Pawel Chojnacki
eaaad702de Additional metrics test using multiple groups 2017-06-05 13:33:11 +02:00
Pawel Chojnacki
ae5268ce8c Additional Metrics tests 2017-06-05 11:37:07 +02:00
Pawel Chojnacki
6a70509a27 Towards Reviewable prometheus 2017-06-05 11:37:07 +02:00
Pawel Chojnacki
e74896df0c Matched Metrics tests 2017-06-05 11:36:56 +02:00
Pawel Chojnacki
0ddd1d52fd Due to DB rounding timestamp to 1s resolution - freeze date on non fractional time 2017-05-15 21:11:14 +02:00
Pawel Chojnacki
436e90780b match query times with appropriate delta 2017-05-11 23:24:26 +02:00
Pawel Chojnacki
693602d957 Keep presentation logic in one place and remove unecessary arguments.
+ fix tests
2017-05-11 23:07:12 +02:00
Pawel Chojnacki
4f824d2aec Custom queries for prometheus
- Tests for prometheus queries

- fix rubocop warnings

- Remove unused method. Add more queries to deployment queries.

- Wrap BaseQuery in module hierarchy

Renname Prometheus class to PrometheusClient
2017-05-11 23:07:12 +02:00