• David Wilkins's avatar
    Convert RestClient to Gitlab::HTTP for Prometheus Monitor · 467a411e
    David Wilkins authored
    - 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
    467a411e
Name
Last commit
Last update
..
client.rb Loading commit data...