For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/opentelemetry/integrations/apache_metrics.md. A documentation index is available at /llms.txt.

Overview

OpenTelemetry Apache metrics in an Apache dashboard

The Apache receiver allows for collection of Apache Web Server metrics. Configure the receiver according to the specifications of the latest version of the apachereceiver.

For more information, see the OpenTelemetry project documentation for the Apache receiver.

Setup

To collect Apache Web Server metrics with OpenTelemetry for use with Datadog:

  1. Configure the Apache receiver in your OpenTelemetry Collector configuration.
  2. Ensure the OpenTelemetry Collector is configured to export to Datadog.

See the Apache receiver documentation for detailed configuration options and requirements.

Data collected

OTELDESCRIPTIONFILTER
apache.cpu.loadCurrent load of the CPU.
apache.current_connectionsThe number of active connections currently attached to the HTTP server.
apache.requestsThe number of requests serviced by the HTTP server per second.
apache.scoreboardThe number of workers in each state.state: waiting
apache.scoreboardThe number of workers in each state.state: starting
apache.scoreboardThe number of workers in each state.state: sending
apache.scoreboardThe number of workers in each state.state: reading
apache.scoreboardThe number of workers in each state.state: open
apache.scoreboardThe number of workers in each state.state: logging
apache.scoreboardThe number of workers in each state.state: keepalive
apache.scoreboardThe number of workers in each state.state: idle_cleanup
apache.scoreboardThe number of workers in each state.state: finishing
apache.scoreboardThe number of workers in each state.state: dnslookup
apache.scoreboardThe number of workers in each state.state: closing
apache.uptimeThe amount of time that the server has been running in seconds.
apache.workersThe number of workers currently attached to the HTTP server.state: busy
apache.workersThe number of workers currently attached to the HTTP server.state: idle

For the full mapping between OpenTelemetry and Datadog metric names, see OpenTelemetry Metrics Mapping.

Further reading

Additional helpful documentation, links, and articles: