• rpereira2's avatar
    Add a proxy method to PrometheusClient · baab836b
    rpereira2 authored
    - Also refactor the get and json_api_get methods so that the get method
    can be reused by the new proxy method.
    - The new proxy method makes no changes to the request to the prometheus
    server and response from the prometheus server. This allows it to be
    used as a proxy to the Prometheus server, hence the name.
    baab836b
prometheus_client.rb 3.91 KB