Internal Metrics
Configuration Options
Required Options
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 | ["internal_metrics"] |
Advanced Options
namespace(optional)
The namespace of the metric.
| Type | Syntax | Default | Example |
|---|---|---|---|
| string | literal | vector |
scrape_interval_secs(optional)
The interval between metric gathering, in seconds.
| Type | Syntax | Default | Example |
|---|---|---|---|
| uint | 2 |
tags(optional)
Metric tag options.
| Type | Syntax | Default | Example |
|---|---|---|---|
| hash | literal | [] |
How it Works
State
This component is stateless, meaning its behavior is consistent across each input.
Context
By default, the internal_metrics source augments events with helpful
context keys.