saucelabs / forwarder

Forwarder is a production-ready, fast MITM proxy with PAC support. It's suitable for debugging, intercepting and manipulating HTTP traffic. It's used as a core component of Sauce Labs Sauce Connect Proxy.
https://forwarder-proxy.io
Mozilla Public License 2.0
226 stars 13 forks source link

middleware(prom): add customizable label for http metrics #747

Closed Choraden closed 3 months ago

Choraden commented 6 months ago

It can be used to partition the metrics by custom conditions. e.g. Label direct/tunnel mode in SC5.

PrometheusOpt was chosen to ensure compatibility with existing prom instances.

mmatczuk commented 4 months ago

What is the status of this PR?

Choraden commented 4 months ago

Looks like it's good to go. Let's discuss it during our meeting.