> This page is for NeMo Relay, version dev.
> For other versions, use one of these documentation indexes:
> - Latest (v0.10.4) (default): https://docs.nvidia.com/nemo/relay/latest/llms.txt
> - dev: https://docs.nvidia.com/nemo/relay/dev/llms.txt
> - v0.10.4: https://docs.nvidia.com/nemo/relay/v0.10.4/llms.txt
> - v0.9.4: https://docs.nvidia.com/nemo/relay/v0.9.4/llms.txt
> - v0.8.4: https://docs.nvidia.com/nemo/relay/v0.8.4/llms.txt
> - v0.7.3: https://docs.nvidia.com/nemo/relay/v0.7.3/llms.txt

> 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 Diagnostic Totals

> Fixed numeric accounting for one explicitly identified lifetime or refresh scope.

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

Fixed numeric accounting for one explicitly identified lifetime or refresh scope.

Recent-evidence loss cannot roll back accepted counts. Saturated counts remain explicit lower bounds. Code and event filters never redefine the summary scope.

## Fields

### `recorded_events_total: DiagnosticCount`

Accepted recording calls, one per call regardless of occurrence delta.

### `occurrences_total: DiagnosticCount`

Accepted occurrence deltas across all outcomes and codes.

### `history_evictions_total: DiagnosticCount`

Previously retained events owned by this component or context and evicted.

### `successes_total: DiagnosticCount`

Occurrences whose owning operation explicitly succeeded.

### `failures_total: DiagnosticCount`

Occurrences whose owning operation explicitly failed.

### `unspecified_total: DiagnosticCount`

Occurrences without an established operation outcome.

## Implementations

### `impl DiagnosticTotals`

<pre />

#### `record`

<pre />

Add one accepted recording call and its observed occurrence delta.

The recording boundary validates the positive delta before updating every applicable scope. This helper does not perform admission or retain evidence.

## Trait Implementations

### `impl Clone for DiagnosticTotals`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for DiagnosticTotals`

<pre />

#### `fmt`

<pre />

### `impl Default for DiagnosticTotals`

<pre />

#### `default`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for DiagnosticTotals`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for DiagnosticTotals`

<pre />

#### `serialize`

<pre />

### `impl Copy for DiagnosticTotals`

<pre />

### `impl Eq for DiagnosticTotals`

<pre />

### `impl StructuralPartialEq for DiagnosticTotals`

<pre />