Closed alezkv closed 4 years ago
I've confirmed the bug as reported. I think we fixed this once, but may have put it back when re refactored the reverse proxy. I'll attempt a proper fix.
Fixed this on master, it might be a while before I get round to doing a release.
This should be resolved in 0.4.0
Example config
Expected behaviour: proxy request
/proxy?module=consul
must return metrics from consul agentActual behaviour: proxy request
/proxy?module=consul
returns 404Actual request to consul are URL encoded by exporter_exporter which is lead to the following
/v1/agent/metrics%3Fformat=prometheus
On that request consul returns 404But if try to get metrics directly from consul it works well.