Rename Metric
Description
The Rename Metric processor can be used to rename metrics.
Use
The Rename Metric processor is utilized for renaming metrics. It supports renaming either the entire name of a single metric or the prefix of multiple metrics.
Supported Types
Metrics | Logs | Traces |
---|---|---|
✓ |
Configuration
Field | Description |
---|---|
Operation | The operation to perform when renaming a metric. Name : Rename an entire metric. Prefix : Rename the prefix of multiple metrics. |
Old Name | The name of an incoming metric to rename. Required when Operation is set to Name . |
New Name | The new name of an incoming metric. Required when Operation is set to Name . |
Old Prefix | The prefix of incoming metrics to rename. Required when Operation is set to Prefix . |
New Prefix | The new prefix of incoming metrics. Required when Operation is set to Prefix . |
Example Configuration(s)
Renaming A Single Metric
In this configuration, the system.network.packets
metric is renamed to just network.traffic
.
Web Interface
Renaming A Metric Prefix
In this configuration, the system
prefix for host metrics is replaced with macos
.
Web Interface