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.

TypeSyntaxDefaultExample
arrayliteral["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.

TypeSyntaxDefaultExample
stringliteral["apache_metrics"]

Advanced Options

scrape_interval_secs(optional)

The interval between scrapes.

TypeSyntaxDefaultExample
uint15
proxy(optional)

Configures an HTTP(S) proxy for Vector to use. By default, the globally configured proxy is used.

TypeSyntaxDefaultExample
hashliteral[]
namespace(optional)

The namespace of the metric. Disabled if empty.

TypeSyntaxDefaultExample
stringliteralapache

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.