> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Struct Otlp Attribute Mapping

> Copies a projected OTLP attribute to a second attribute name.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker`.

<pre />

Copies a projected OTLP attribute to a second attribute name.

`key` names the fully-qualified projected attribute and `alias` names the additional attribute to emit with the same typed value.

## Fields

### `key: String`

Fully-qualified projected attribute to copy.

### `alias: String`

Additional attribute name receiving the copied value.

## Implementations

### `impl OtlpAttributeMapping`

<pre />

#### `new`

<pre />

Creates an attribute mapping.

## Trait Implementations

### `impl Clone for OtlpAttributeMapping`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for OtlpAttributeMapping`

<pre />

#### `fmt`

<pre />

### `impl<'de> Deserialize<'de> for OtlpAttributeMapping`

<pre />

#### `deserialize`

<pre />

### `impl EditorConfig for OtlpAttributeMapping`

<pre />

#### `editor_schema`

<pre />

### `impl PartialEq for OtlpAttributeMapping`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for OtlpAttributeMapping`

<pre />

#### `serialize`

<pre />

### `impl Eq for OtlpAttributeMapping`

<pre />

### `impl StructuralPartialEq for OtlpAttributeMapping`

<pre />