linkerd2/proxy/tests/support
Eliza Weisman 1c9ce4d118
Add Prometheus /metrics endpoint to proxy (#569)
This PR adds an endpoint to the proxy that serves metrics in Prometheus' text exposition format. The endpoint currently serves the `request_total`, `response_total`, `response_latency_ms`, and `response_duration_ms metrics`, as described in #536. The endpoint's port and address are configurable with the `CONDUIT_PROXY_METRICS_LISTENER` environment variable.

Tests have been added in t`ests/telemetry.rs`
2018-03-21 16:19:32 -07:00
..
client.rs proxy: preserve body headers in http1 (#457) 2018-03-05 18:10:51 -08:00
controller.rs Add timeout to Outbound::bind_service (#436) 2018-02-26 10:18:35 -08:00
mod.rs proxy: preserve body headers in http1 (#457) 2018-03-05 18:10:51 -08:00
proxy.rs Add Prometheus /metrics endpoint to proxy (#569) 2018-03-21 16:19:32 -07:00
server.rs Enforce that requests are mapped to connections for each Host: header values (#492) 2018-03-06 16:44:14 -08:00
tcp.rs Enforce that requests are mapped to connections for each Host: header values (#492) 2018-03-06 16:44:14 -08:00