Skip to content

Apache receiver doesn't extract all the metrics from Apache server status page #41886

@devamanv

Description

@devamanv

Component(s)

receiver/apache

Is your feature request related to a problem? Please describe.

Apache exposes some performance metrics through its mod_status module. These can then be accessed at /server-status endpoint of the host running the serve.

Image

As seen from the screenshot above, some key metrics like ReqPerSec are provided by the mod_status module, but apachereceiver does not extract this value , instead it just sticks to the cumulative total as in apache.requests{} value.
Simillarly, the BytesPerSec, BytesPerReq are also not extracted, but are available in the output of the server status.

Additionally, the Apache server keeps track of async connection states, which are different from the per-thread scoreboard:

  • ConnsAsyncWriting = number of connections where Apache is still writing data asynchronously.
  • ConnsAsyncKeepAlive = async keepalive connections waiting for a new request.
  • ConnsAsyncClosing = async connections being torn down

These metrics are also not extracted by the receiver.

The README of the receiver also has no mention of the said metrics. So, this could be a useful enhancement.

Describe the solution you'd like

Apache OTel receiver should be able to extract the above mentioned metrics out-of-the-box.

Describe alternatives you've considered

No response

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions