Documentation
¶
Overview ¶
Package telemetry 封装 OpenTelemetry SDK 初始化逻辑, 为 AgentFlow 提供集中式的 TracerProvider 和 MeterProvider 配置。 当遥测功能禁用时,使用 noop 实现,不连接任何外部服务。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Providers ¶
type Providers struct {
// contains filtered or unexported fields
}
Providers holds the OTel SDK TracerProvider and MeterProvider. When telemetry is disabled, both fields are nil and Shutdown is a no-op.
Click to show internal directories.
Click to hide internal directories.