Commit graph

26 commits

Author SHA1 Message Date
Shinya Maeda
53da3d976f Replce kubernetes_service and deployment_service to deployment_platform 2017-11-28 20:47:59 +09:00
Maxim Rydkin
e6c7c11a5b replace has_matching_label with has_matching_label? 2017-08-29 11:14:42 +03:00
Bob Van Landuyt
fda83a6179 Use correct Environment-class within Gitlab namespace 2017-08-07 15:54:30 +02:00
Pawel Chojnacki
ba97a42193 Remove default arguments for common query context 2017-08-01 22:11:59 +02:00
Pawel Chojnacki
feb94e8ea3 Move timeframe_start and timeframe_end to common query context 2017-08-01 21:51:53 +02:00
Pawel Chojnacki
b243c3ea78 Give metric query context rspec examples correctly sounding names. + missing whitespace 2017-08-01 20:28:25 +02:00
Pawel Chojnacki
6df5bd8b84 Context handling and tests cleanup + simple test kube_namespace context test 2017-07-31 16:32:26 +02:00
Pawel Chojnacki
ce83e5635d add kube_namespace and standardize common variables for additional metrics queries 2017-07-31 16:32:26 +02:00
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