• rpereira2's avatar
    Add a proxy method to PrometheusClient · 1fb82961
    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.
    1fb82961
prometheus_client.rb 3.91 KB