Expand description
OTLP exporter setup helpers for agent-level telemetry.
Provides a convenience TelemetrySetup builder that configures tracing-subscriber
with optional OpenTelemetry exporters. This is a higher-level wrapper around the
L0 gemini_genai_rs::telemetry::TelemetryConfig tailored for agent applications.
§Feature flags
Console logging (tracing-subscriber with env-filter and fmt layer) is always available. Exporters are opt-in:
otel-otlp: Adds OTLP trace export viaopentelemetry-otlp.otel-gcp: Adds Google Cloud Trace export viaopentelemetry-gcloud-trace.
Structs§
- Telemetry
Setup - Configuration for telemetry export.