> For the complete documentation index, see [llms.txt](https://docs.bindplane.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bindplane.com/integrations/processors/rename-metric.md).

# 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

<table><thead><tr><th width="99.4765625">Field</th><th>Description</th></tr></thead><tbody><tr><td>Operation</td><td>The operation to perform when renaming a metric. <code>Name</code>: Rename an entire metric. <code>Prefix</code>: Rename the prefix of multiple metrics.</td></tr><tr><td>Old Name</td><td>The name of an incoming metric to rename. Required when <code>Operation</code> is set to <code>Name</code>.</td></tr><tr><td>New Name</td><td>The new name of an incoming metric. Required when <code>Operation</code> is set to <code>Name</code>.</td></tr><tr><td>Old Prefix</td><td>The prefix of incoming metrics to rename. Required when <code>Operation</code> is set to <code>Prefix</code>.</td></tr><tr><td>New Prefix</td><td>The new prefix of incoming metrics. Required when <code>Operation</code> is set to <code>Prefix</code>.</td></tr></tbody></table>

### Example Configuration(s)

#### Renaming A Single Metric

In this configuration, the `system.network.packets` metric is renamed to just `network.traffic`.

**Web Interface**

<figure><img src="/files/4fl9qIazTik9FtNZGAjS" alt="Bindplane docs - Rename Metric - image 1"><figcaption></figcaption></figure>

#### Renaming A Metric Prefix

In this configuration, the `system` prefix for host metrics is replaced with `macos`.

**Web Interface**

<figure><img src="/files/Pf4FJR5E2aD6B6Z7JDDh" alt="Bindplane docs - Rename Metric - image 2"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.bindplane.com/integrations/processors/rename-metric.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
