The Rename Metric processor can be used to rename metrics.
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.
Metrics | Logs | Traces |
---|---|---|
✓ |
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 . |
In this configuration, the system.network.packets
metric is renamed to just network.traffic
.
In this configuration, the system
prefix for host metrics is replaced with macos
.