Commit Graph

27 Commits

Author SHA1 Message Date
GitLab Bot 4fa04f789e Add latest changes from gitlab-org/gitlab@master 2020-09-02 12:10:35 +00:00
GitLab Bot 782f250531 Add latest changes from gitlab-org/gitlab@master 2020-07-03 18:08:58 +00:00
GitLab Bot 874c603d7a Add latest changes from gitlab-org/gitlab@master 2020-06-18 15:08:45 +00:00
GitLab Bot 3caf5a8a00 Add latest changes from gitlab-org/gitlab@master 2020-06-15 18:08:43 +00:00
GitLab Bot c2879da99d Add latest changes from gitlab-org/gitlab@master 2020-06-10 06:08:18 +00:00
GitLab Bot c66aadd2ee Add latest changes from gitlab-org/gitlab@master 2020-06-04 06:08:42 +00:00
GitLab Bot ab801bd018 Add latest changes from gitlab-org/gitlab@master 2020-05-27 18:08:14 +00:00
GitLab Bot 8dc1e72e2b Add latest changes from gitlab-org/gitlab@master 2020-05-13 00:07:50 +00:00
GitLab Bot 3f45eb27e9 Add latest changes from gitlab-org/gitlab@master 2020-05-11 21:09:40 +00:00
GitLab Bot cfc6fe5100 Add latest changes from gitlab-org/gitlab@master 2020-04-24 21:09:48 +00:00
GitLab Bot b77fb04678 Add latest changes from gitlab-org/gitlab@master 2020-04-13 15:09:20 +00:00
GitLab Bot 5372e109c0 Add latest changes from gitlab-org/gitlab@master 2020-04-08 15:09:29 +00:00
GitLab Bot 2711c26bea Add latest changes from gitlab-org/gitlab@master 2020-03-24 00:09:24 +00:00
GitLab Bot cddaddb86b Add latest changes from gitlab-org/gitlab@master 2020-01-09 12:08:03 +00:00
GitLab Bot a821bd6ad1 Add latest changes from gitlab-org/gitlab@master 2020-01-08 09:07:53 +00:00
GitLab Bot 3888bc4261 Add latest changes from gitlab-org/gitlab@master 2019-12-24 00:07:31 +00:00
GitLab Bot 1a9d9cc14e Add latest changes from gitlab-org/gitlab@master 2019-12-18 09:07:38 +00:00
GitLab Bot d10a462fed Add latest changes from gitlab-org/gitlab@master 2019-12-16 12:07:43 +00:00
GitLab Bot 8cc5f27909 Add latest changes from gitlab-org/gitlab@master 2019-12-13 12:07:41 +00:00
GitLab Bot 330eac18ce Add latest changes from gitlab-org/gitlab@master 2019-12-09 03:07:57 +00:00
David Wilkins 467a411e88 Convert RestClient to Gitlab::HTTP for Prometheus Monitor
- Closes #60024

- Change PrometheusClient.new to accept a base url instead of an
  already created RestClient

- Use Gitlab::HTTP in PrometheusClient instead of creating RestClient
  in PrometheusService

- Move http_options from PrometheusService to
  PrometheusClient (follow_redirects: false)

- ensure that base urls don't have the trailing slash

- Created a `PrometheusClient#url` method that might not be strictly
  required

- Change rescued exceptions from RestClient::* to
  HTTParty::ResponseError where possible and StandardError for the
  rest
2019-08-07 02:42:20 +00:00
James Fargher 398c0e48f7 Remove now unused KubernetesService methods
Now that KubernetesService can no longer be a DeploymentPlatform we can
remove all kubernetes client code and KubernetesService edge cases.
2019-07-05 06:41:07 +12:00
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