Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing metric #164

Open
bmgante opened this issue May 2, 2023 · 2 comments
Open

Missing metric #164

bmgante opened this issue May 2, 2023 · 2 comments

Comments

@bmgante
Copy link

bmgante commented May 2, 2023

Hi @Lusitaniae

Metric apache_duration_ms_total is missing and apache version is unknown. Can someone provide some guidance on how to handle this?

[root@centos-test /]# curl -s http://x.x.x.x:9117/metrics | grep apache | grep -v "^#"
apache_accesses_total 55587
apache_cpuload 0.00257345
apache_exporter_build_info{branch="HEAD",goarch="amd64",goos="linux",goversion="go1.19.8",revision="7fb777fa88f6210f92d44212b8de9e94a27615ff",tags="netgo",version="0.13.3"} 1
apache_info{mpm="UNKNOWN",version="UNKNOWN"} 1
apache_scoreboard{state="closing"} 0
apache_scoreboard{state="dns"} 0
apache_scoreboard{state="graceful_stop"} 0
apache_scoreboard{state="idle"} 36
apache_scoreboard{state="idle_cleanup"} 0
apache_scoreboard{state="keepalive"} 0
apache_scoreboard{state="logging"} 0
apache_scoreboard{state="open_slot"} 475
apache_scoreboard{state="read"} 0
apache_scoreboard{state="reply"} 1
apache_scoreboard{state="startup"} 0
apache_sent_kilobytes_total 862426
apache_up 1
apache_uptime_seconds_total 3.649183e+06
apache_workers{state="busy"} 1
apache_workers{state="idle"} 36

Is it somehow related to MPM prefork?

[root@abcd ~]$ httpd -V | grep MPM
Server MPM:     prefork
@LarryLovestein
Copy link

+1, but my MPM is worker

@LarryLovestein
Copy link

No, the issue is related to the apache version. In my case version 2.4.6 is not exposing those.
On the latest version on RHEL 9 I'm able to see those metrics correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants