> 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.

# Enum Metric Kind

> OpenTelemetry instrument kind represented by a metric measurement mark.

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`.

```rust
pub enum MetricKind {
    Counter,
    UpDownCounter,
    Gauge,
    Histogram,
}
```

OpenTelemetry instrument kind represented by a metric measurement mark.

## Variants

### `Counter`

<pre />

Monotonic additive value.

### `UpDownCounter`

<pre />

Additive value that may increase or decrease.

### `Gauge`

<pre />

Current sampled value.

### `Histogram`

<pre />

Distribution sample.

## Implementations

### `impl MetricKind`

<pre />

#### `as_str`

<pre />

Return the canonical lowercase wire value.

## Trait Implementations

### `impl Clone for MetricKind`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for MetricKind`

<pre />

#### `fmt`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl Display for MetricKind`

<pre />

#### `fmt`

<pre />

### `impl Hash for MetricKind`

<pre />

#### `hash`

<pre />

#### `hash_slice`

<pre />

### `impl PartialEq for MetricKind`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for MetricKind`

<pre />

#### `serialize`

<pre />

### `impl Copy for MetricKind`

<pre />

### `impl Eq for MetricKind`

<pre />

### `impl StructuralPartialEq for MetricKind`

<pre />