Get Collector • Rust AI Agent SDK

get_collector: Get the global telemetry collector.

get_collector

Function

</div>

This function is defined in the telemetry module.

Get the global telemetry collector.

Signature

python
def get_collector() -> &'static TelemetryCollector

Returns

ResponseField &'static TelemetryCollector

The result of the operation.

Uses

  • get_or_init

Source

View on GitHub

praisonai/src/telemetry/mod.rs at line 467