> 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 Open Telemetry LogConfig

> Configuration for an OTLP log subscriber.

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 struct OpenTelemetryLogConfig { /* private fields */ }
```

Configuration for an OTLP log subscriber.

## Implementations

### `impl OpenTelemetryLogConfig`

<pre />

#### `new`

<pre />

Create a log exporter for a required OTLP endpoint.

#### `with_transport`

<pre />

Select the OTLP transport.

#### `with_header`

<pre />

Add an exporter header or gRPC metadata entry.

#### `with_resource_attribute`

<pre />

Add an OpenTelemetry resource attribute.

#### `with_service_name`

<pre />

Set the `service.name` resource attribute.

#### `with_service_namespace`

<pre />

Set the optional `service.namespace` resource attribute.

#### `with_service_version`

<pre />

Set the optional `service.version` resource attribute.

#### `with_instrumentation_scope`

<pre />

Set the instrumentation scope name.

#### `with_timeout`

<pre />

Set the OTLP request timeout.

#### `with_minimum_severity`

<pre />

Set the minimum mark severity exported as a log.

#### `with_max_queue_size`

<pre />

Set the maximum queued log records.

#### `with_max_export_batch_size`

<pre />

Set the maximum records in one export batch.

#### `with_scheduled_delay`

<pre />

Set the maximum delay before exporting a partial batch.

## Trait Implementations

### `impl Clone for OpenTelemetryLogConfig`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for OpenTelemetryLogConfig`

<pre />

#### `fmt`

<pre />