gitlab-org--gitlab-foss/lib
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
..
api Add group level container repository endpoints 2019-08-05 20:00:50 +00:00
assets
backup Remove dead MySQL code 2019-07-23 16:53:03 +01:00
banzai Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq 2019-07-29 13:19:50 -05:00
bitbucket
bitbucket_server
constraints
container_registry Explicitly reject non http(s) schemes 2019-07-29 19:20:30 -03:00
declarative_policy
feature Remove catfile cache feature flag 2019-07-15 11:32:56 -07:00
flowdock
generators/rails/post_deployment_migration
gitaly
gitlab Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
google_api
json_web_token
mattermost Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
microsoft_teams Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
object_storage
omni_auth/strategies
peek/views Only track Redis calls if Peek is enabled 2019-08-02 23:48:14 -07:00
prometheus Fix pid discovery for Unicorn in PidProvider 2019-07-26 15:02:21 +00:00
quality Resolves confusion within spec rake tasks 2019-07-23 18:34:50 -06:00
rouge Support selective highlighting of lines 2019-08-06 09:32:29 +08:00
rspec_flaky Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
safe_zip
sentry Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
serializers Remove dead MySQL code 2019-07-23 16:53:03 +01:00
support Fix incorrect web server parameter in init.d script 2019-07-24 08:48:49 +00:00
system_check
tasks Fix broken update_project_templates rake task 2019-07-30 13:52:28 +00:00
after_commit_queue.rb
backup.rb
banzai.rb
carrier_wave_string_file.rb
declarative_policy.rb
event_filter.rb
expand_variables.rb
extracts_path.rb
feature.rb Add new Feature.remove method 2019-08-01 08:29:14 +10:00
file_size_validator.rb
forever.rb Remove dead MySQL code 2019-07-23 16:53:03 +01:00
gitlab.rb Backport EE changes made to the scripts/ directory 2019-07-29 13:53:20 +02:00
gt_one_coercion.rb
milestone_array.rb
static_model.rb
system_check.rb
uploaded_file.rb
version_check.rb