Commit graph

5 commits

Author SHA1 Message Date
Reuben Pereira
7f529353e7 Add a proxy method to PrometheusClient
- Also refactor the get and json_api_get methods so that the get method
can be reused by the new proxy method.
- The new proxy method makes no changes to the request to the prometheus
server and response from the prometheus server. This allows it to be
used as a proxy to the Prometheus server, hence the name.
2019-04-05 08:05:54 +00:00
Thong Kuah
13bb704d50 Remove #ready? method in favor of #available?
Given https://github.com/helm/helm/issues/3338, I think that we should
exclude applications that are :update_errored, :updating as well.
2019-02-15 12:43:44 +13:00
Tiago Botelho
eb7c08c7a6 Backports relevant changes made in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5163 to CE 2018-07-25 09:39:39 +01:00
gfyoung
0cf45debb4 Enable more frozen string in app/services/**/*.rb
Partially addresses #47424.
2018-07-18 14:07:50 -07:00
Pawel Chojnacki
5ceec83a01 Implemente Prometheus:AdapterService 2018-03-05 19:34:59 +01:00