This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/collector/components/contrib/apachereceiver.md.

Apache Web Server Receiver

OpenTelemetry Collector receiver · contrib distribution

The Apache Web Server Receiver fetches stats from an Apache Web Server instance using the server-status?auto endpoint.

  • Component ID: contrib-apachereceiver
  • Name: apachereceiver
  • Type: receiver
  • Distribution: contrib
  • Repository: opentelemetry-collector-contrib

Stability

LevelSignals
betametrics

Metrics

MetricTypeValue typeUnitStabilityEnabledAttributesDescription
apache.connection.activesumint{connection}developmentyesThe number of active connections currently attached to the HTTP server.
apache.connection.statussumint1developmentyesapache.connection.state (string)The number of connections in different asynchronous states reported by Apache's server-status.
apache.connections.asyncgaugeint{connections}developmentyesconnection_state (string)The number of connections in different asynchronous states reported by Apache's server-status.
apache.cpu.loadgaugedouble%developmentyesCurrent load of the CPU.
apache.cpu.timesum (monotonic)double{jiff}developmentyescpu_level (string), cpu_mode (string)Jiffs used by processes of given category.
apache.current_connectionssumint{connections}developmentyesThe number of active connections currently attached to the HTTP server.
apache.load.1gaugedouble%developmentyesThe average server load during the last minute.
apache.load.15gaugedouble%developmentyesThe average server load during the last 15 minutes.
apache.load.5gaugedouble%developmentyesThe average server load during the last 5 minutes.
apache.request.countsum (monotonic)int{request}developmentyesThe number of requests serviced by the HTTP server.
apache.request.rategaugedouble{request}/sdevelopmentnoAverage number of requests served per second since the server was started, as reported by mod_status.
apache.request.timesum (monotonic)intmsdevelopmentyesTotal time spent on handling requests.
apache.requestssum (monotonic)int{requests}developmentyesThe number of requests serviced by the HTTP server per second.
apache.scoreboardsumint{workers}developmentyesscoreboard_state (string)The number of workers in each state. The apache scoreboard is an encoded representation of the state of all the server's workers. This metric decodes the scoreboard and presents a count of workers in each state.
apache.trafficsum (monotonic)intBydevelopmentyesTotal HTTP server traffic.
apache.traffic.rategaugedoubleBy/sdevelopmentnoAverage number of bytes transmitted per second since the server was started, as reported by mod_status.
apache.uptimesum (monotonic)intsdevelopmentyesThe amount of time that the server has been running in seconds.
apache.worker.activesumint{worker}developmentyesThe number of busy workers currently attached to the HTTP server.
apache.worker.idlesumint{worker}developmentyesThe number of idle workers currently attached to the HTTP server.
apache.worker.limitsumint{worker}developmentyesThe maximum number of worker slots configured for the HTTP server, derived from the scoreboard length.
apache.worker.statussumint1developmentyesapache.worker.state (string)The number of workers in each state. The apache scoreboard is an encoded representation of the state of all the server's workers. This metric decodes the scoreboard and presents a count of workers in each state.
apache.workerssumint{workers}developmentyesworkers_state (string)The number of workers currently attached to the HTTP server.

Attributes

AttributeTypeDescription
apache.connection.statestringThe asynchronous connection state reported by Apache's server-status.
apache.worker.statestringThe state of a worker.
connection_statestringThe asynchronous connection state reported by Apache's server-status.
cpu_levelstringLevel of processes.
cpu_modestringMode of processes.
scoreboard_statestringThe state of a connection.
workers_statestringThe state of workers.

Data

  • JSON (latest): /data/collector/components/contrib-apachereceiver/latest.json
  • JSON (pinned): /data/collector/components/contrib-apachereceiver/contrib-apachereceiver-57007c2f852f.json
  • Explore: /collector/components/contrib/apachereceiver