apache_exporter
apache_exporter copied to clipboard
Exporter returns two Apache Versions after Apache Update
Hi,
after the recent frequent version updates, the exporter returns both (all) of the last versions.
# HELP apache_info Apache version information
# TYPE apache_info gauge
apache_info{mpm="worker",version="Apache/2.4.50 (Debian) OpenSSL/1.1.1l"} 1
apache_info{mpm="worker",version="Apache/2.4.51 (Debian) OpenSSL/1.1.1l"} 1
I noticed this, as Grafana shows the older version only.
Seems that this data is cached, as it disappears only after a restart.
Best regards
Peter
Whereas apache_version is up to date and a single value
BTW: interestingly: apache_version 2.0405 vs. apache_version 2.04051
I'm guessing the value have to be reset in Apache exporter, open to PRs
@logopk likely this is similar to the issue https://github.com/Lusitaniae/apache_exporter/issues/109