TelemetryContext
Defined in the Telemetry Funcs module.Rust AI Agent SDK Telemetry context for scoped tracking
Fields
| Name | Type | Description |
|---|---|---|
name | String | Context name |
start_time | std::time::Instant | Start time |
properties | std::collections::HashMap<String | Properties |
serde_json | :Value> | Properties |
Methods
new
| Name | Type |
|---|---|
name | impl Into<String> |
property
| Name | Type |
|---|---|
key | impl Into<String> |
value | serde_json::Value |
elapsed_ms
complete
Source
View on GitHub
praisonai/src/parity/telemetry_funcs.rs at line 256
