> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Trace Exporter • Rust AI Agent SDK

> TraceExporter: Trait for trace exporters.

# TraceExporter

> Defined in the [**trace**](../modules/trace) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

Trait for trace exporters.

## Methods

### `export`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn export(&self, trace: &TraceContext) -> Result<(), Box<dyn std::error::Error>>
```

Export a trace.

**Parameters:**

| Name    | Type            |
| ------- | --------------- |
| `trace` | `&TraceContext` |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/trace/mod.rs">
  `praisonai/src/trace/mod.rs` at line 0
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Tracing" icon="chart-line" href="/docs/rust/tracing" />

  <Card title="Rust Telemetry" icon="signal" href="/docs/rust/telemetry" />
</CardGroup>
