Commit graph

18 commits

Author SHA1 Message Date
Pawel Chojnacki
19812e3eca Make queries not die when underlying data cannot be found 2017-06-20 16:09:38 +02:00
Pawel Chojnacki
13902e40a8 Memoize only yaml loading method 2017-06-16 20:58:18 +02:00
Pawel Chojnacki
8b69523b01 move additional_metrics.yaml into prometheus/ config folder 2017-06-16 20:54:15 +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
f78fd3de5d Fix Additional metrics filtering
+ remove test button that was leftover after a bad merge
2017-06-08 12:29:53 +02:00
Pawel Chojnacki
6eb96b2019 Use key? instead of has_key? 2017-06-07 12:41:06 +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
1b6ab2dffc Remove orig file + rubocop cleanup 2017-06-05 21:00:57 +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
aaeda829dd Add Y Label field to yml and responses 2017-05-30 13:17:13 +02:00
Pawel Chojnacki
608186d54b Add per deployment additional metrics 2017-05-25 17:39:43 +02:00
Pawel Chojnacki
61d7b7f117 Finalize refactoring additional metrics query 2017-05-25 15:05:56 +02:00
Pawel Chojnacki
2061414054 Additional metrics initial work, with working metrics listing, but without actoual metrics mesurements 2017-05-25 15:05:56 +02:00
Pawel Chojnacki
2a89d2c97d Avoid comma t the end of hash 2017-05-12 13:09:46 +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