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
graphql
helpers
mailers
models Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
policies
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
validators
views Merge branch 'analytics-top-nav' into 'master' 2019-08-06 16:44:34 +00:00
workers