Lusitaniae/apache_exporter

Apache server-status issue

Kenzi007220 opened this issue · 1 comments

Hi,
The official httpd docs states clearly the correct syntax - (https://httpd.apache.org/docs/2.4/mod/mod_status.html#machinereadable).
https://github.com/Lusitaniae/apache_exporter/blob/master/apache_exporter.go#L32

This is clearly causing an issue, since we are using LocationMatch (with negative lookahead) for the redirects. Due to this, all scrape requests are landing on https://www.XXX.com/?auto and resulting in failures.
image

Can you please prepare an HF for it?

Hey @Kenzi007220 would you like to submit a pull request with a fix?