apache_exporter
apache_exporter copied to clipboard
Error scraping apache: strconv.ParseFloat: parsing \"3.9M\": invalid syntax
Hi,
we have the error with one of our apache.
the only corresponding value in the server-status seem to be this one:
ProxyBalancer[0]Worker[0]Sent: 3.9M
apache_exporter --version
apache_exporter, version 0.10.1 (branch: HEAD, revision: c441bd39063e3190ac07813b54bb021ef9c1c200)
build user: root@c68b50de981f
build date: 20210920-13:15:21
go version: go1.16.8
platform: linux/amd64
apache2 -v
Server version: Apache/2.4.25 (Debian)
Server built: 2019-04-02T19:05:1
Regards.
HI,
on a more recent apache the value is well shown always in kilo not in mega
ProxyBalancer[0]Worker[0]Rcvd: 3105327K
apache2 -v
Server version: Apache/2.4.57 (Debian)
Server built: 2023-04-13T03:26:51
Regards.
Hey @Unknow0, thanks for the bug report would you like to open a pull request to fix this issue?