> 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 full documentation content, see https://docs.nvidia.com/nemo/relay/llms-full.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 Section Config

> Shared OTLP exporter config for OpenTelemetry and OpenInference.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi`.

<pre />

Shared OTLP exporter config for OpenTelemetry and OpenInference.

The `opentelemetry` and `openinference` sections share the same shape but construct different subscriber implementations. Both sections are disabled by default and use `http_binary` transport unless configured otherwise.

## Fields

### `enabled: bool`

Whether the subscriber is active.

### `transport: String`

OTLP transport: `http_binary` or `grpc`.

### `endpoint: Option<String>`

OTLP endpoint.

### `headers: HashMap<String, String>`

Extra exporter headers or metadata.

### `resource_attributes: HashMap<String, String>`

Extra resource attributes.

### `service_name: String`

`service.name` resource attribute.

### `service_namespace: Option<String>`

Optional `service.namespace` resource attribute.

### `service_version: Option<String>`

Optional `service.version` resource attribute.

### `instrumentation_scope: Option<String>`

Instrumentation scope name.

### `timeout_millis: u64`

Export timeout in milliseconds.

## Trait Implementations

### `impl Clone for OtlpSectionConfig`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for OtlpSectionConfig`

<pre />

#### `fmt`

<pre />

### `impl Default for OtlpSectionConfig`

<pre />

#### `default`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl EditorConfig for OtlpSectionConfig`

<pre />

#### `editor_schema`

<pre />

### `impl Serialize for OtlpSectionConfig`

<pre />

#### `serialize`

<pre />