documentation.md 4.1 KB

apache

Default Metrics

The following metrics are emitted by default. Each of them can be disabled by applying the following configuration:

metrics:
  <metric_name>:
    enabled: false

apache.cpu.load

Current load of the CPU.

Unit Metric Type Value Type
% Gauge Double

apache.cpu.time

Jiffs used by processes of given category.

Unit Metric Type Value Type Aggregation Temporality Monotonic
{jiff} Sum Double Cumulative true

Attributes

Name Description Values
level Level of processes. Str: self, children
mode Mode of processes. Str: system, user

apache.current_connections

The number of active connections currently attached to the HTTP server.

Unit Metric Type Value Type Aggregation Temporality Monotonic
{connections} Sum Int Cumulative false

apache.load.1

The average server load during the last minute.

Unit Metric Type Value Type
% Gauge Double

apache.load.15

The average server load during the last 15 minutes.

Unit Metric Type Value Type
% Gauge Double

apache.load.5

The average server load during the last 5 minutes.

Unit Metric Type Value Type
% Gauge Double

apache.request.time

Total time spent on handling requests.

Unit Metric Type Value Type Aggregation Temporality Monotonic
ms Sum Int Cumulative true

apache.requests

The number of requests serviced by the HTTP server per second.

Unit Metric Type Value Type Aggregation Temporality Monotonic
{requests} Sum Int Cumulative true

apache.scoreboard

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. Additional details can be found here.

Unit Metric Type Value Type Aggregation Temporality Monotonic
{workers} Sum Int Cumulative false

Attributes

Name Description Values
state The state of a connection. Str: open, waiting, starting, reading, sending, keepalive, dnslookup, closing, logging, finishing, idle_cleanup, unknown

apache.traffic

Total HTTP server traffic.

Unit Metric Type Value Type Aggregation Temporality Monotonic
By Sum Int Cumulative true

apache.uptime

The amount of time that the server has been running in seconds.

Unit Metric Type Value Type Aggregation Temporality Monotonic
s Sum Int Cumulative true

apache.workers

The number of workers currently attached to the HTTP server.

Unit Metric Type Value Type Aggregation Temporality Monotonic
{workers} Sum Int Cumulative false

Attributes

Name Description Values
state The state of workers. Str: busy, idle

Resource Attributes

Name Description Values Enabled
apache.server.name The name of the Apache HTTP server. Any Str true
apache.server.port The port of the Apache HTTP server. Any Str true