apache_exporter icon indicating copy to clipboard operation
apache_exporter copied to clipboard

Exporter returns two Apache Versions after Apache Update

Open logopk opened this issue 4 years ago • 3 comments

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

logopk avatar Oct 13 '21 16:10 logopk

Whereas apache_version is up to date and a single value

BTW: interestingly: apache_version 2.0405 vs. apache_version 2.04051

logopk avatar Oct 13 '21 16:10 logopk

I'm guessing the value have to be reset in Apache exporter, open to PRs

Lusitaniae avatar Nov 27 '21 05:11 Lusitaniae

@logopk likely this is similar to the issue https://github.com/Lusitaniae/apache_exporter/issues/109

frittentheke avatar Dec 12 '22 14:12 frittentheke