467a411e88
- 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 |
||
---|---|---|
.. | ||
bin | ||
config | ||
controllers | ||
db | ||
dependencies | ||
factories | ||
features | ||
finders | ||
fixtures | ||
frontend | ||
graphql | ||
haml_lint/linter | ||
helpers | ||
initializers | ||
javascripts | ||
lib | ||
mailers | ||
migrations | ||
models | ||
policies | ||
presenters | ||
rack_servers | ||
requests | ||
routing | ||
rubocop | ||
serializers | ||
services | ||
sidekiq/cron | ||
support | ||
tasks | ||
uploaders | ||
validators | ||
views | ||
workers | ||
factories_spec.rb | ||
fast_spec_helper.rb | ||
rails_helper.rb | ||
rake_helper.rb | ||
simplecov_env.rb | ||
spec_helper.rb |