Apache HTTP Server (HTTPD) Metrics
Requirements
The Apache Status module must be enabled.
Configuration Options
Required Options
endpoints(required)
mod_status
endpoints to scrape metrics from.
Type | Syntax | Default | Example |
---|---|---|---|
array | literal | ["http://localhost:8080/server-status/?auto"] |
type(required)
The component type. This is a required field for all components and tells Vector which component to use.
Type | Syntax | Default | Example |
---|---|---|---|
string | literal | ["apache_metrics"] |
Advanced Options
scrape_interval_secs(optional)
The interval between scrapes.
Type | Syntax | Default | Example |
---|---|---|---|
uint | 15 |
proxy(optional)
Configures an HTTP(S) proxy for Vector to use. By default, the globally configured proxy is used.
Type | Syntax | Default | Example |
---|---|---|---|
hash | literal | [] |
namespace(optional)
The namespace of the metric. Disabled if empty.
Type | Syntax | Default | Example |
---|---|---|---|
string | literal | apache |
How it Works
State
This component is stateless, meaning its behavior is consistent across each input.
Context
By default, the apache_metrics
source augments events with helpful
context keys.