Status | |
---|---|
Stability | beta: metrics |
Distributions | contrib |
Issues | |
Code Owners | @djaglowski |
This receiver fetches stats from a Apache Web Server instance using the server-status?auto
endpoint.
This receiver supports Apache Web Server version 2.4+
In order to receive server statistics, you must configure the server's httpd.conf
file to enable status support.
The following settings are required:
endpoint
(default:http://localhost:8080/server-status?auto
): The URL of the httpd status endpoint
The following settings are optional:
collection_interval
(default =10s
): This receiver collects metrics on an interval. This value must be a string readable by Golang's time.ParseDuration. Valid time units arens
,us
(orµs
),ms
,s
,m
,h
.initial_delay
(default =1s
): defines how long this receiver waits before starting.
receivers:
apache:
endpoint: "http://localhost:8080/server-status?auto"
The full list of settings exposed for this receiver are documented here with detailed sample configurations here.
Details about the metrics produced by this receiver can be found in metadata.yaml