Commit Graph

27 Commits

Author SHA1 Message Date
Pawel Chojnacki 277f7fef2c Make prometheus service querying approach much nicer wrt to arity and default function params 2018-02-07 01:54:09 +01:00
Pawel Chojnacki 720032733a Cleanup PrometheusService tests 2018-01-04 15:04:14 +01:00
Pawel Chojnacki 80d4c0675f Add test checking if prometheus integration is enabled after prometheus is installed 2018-01-04 02:45:57 +01:00
Pawel Chojnacki db2433c36d wip 2018-01-02 20:24:12 +01:00
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 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