gitlab-org--gitlab-foss/app
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
..
assets Merge branch 'remove-peek-gc' into 'master' 2019-08-06 20:57:20 +00:00
controllers Add inheritance flexibility to issuable collections 2019-08-06 11:38:50 +03:00
finders Add group level container repository endpoints 2019-08-05 20:00:50 +00:00
graphql Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
helpers Add backwards compatibility for legacy setting 2019-08-02 15:39:18 +01:00
mailers Respect alt email when sending group access notifications 2019-07-25 21:09:25 -06:00
models Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
policies Add group level container repository endpoints 2019-08-05 20:00:50 +00:00
presenters Merge branch '65152-selective-highlight' into 'master' 2019-08-06 16:42:14 +00:00
serializers Merge branch '43080-speed-up-deploy-keys' into 'master' 2019-08-06 13:39:35 +00:00
services Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
uploaders Merge branch 'security-60551-fix-upload-scope' into 'master' 2019-07-26 13:40:54 +00:00
validators Refactor SystemHookUrlValidator and specs 2019-08-02 15:39:18 +01:00
views Merge branch 'analytics-top-nav' into 'master' 2019-08-06 16:44:34 +00:00
workers Update reliable fetcher 2019-08-06 03:23:30 +03:00