• Reuben Pereira's avatar
    Add a proxy method to PrometheusClient · 7f529353
    Reuben Pereira 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.
    7f529353
prometheus_client.rb 3.87 KB