Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Observability ¶
type Observability struct {
Logger clog.Logger
Meter metrics.Meter
// contains filtered or unexported fields
}
Observability 持有应用创建的可观测性资源。
调用方只向业务组件注入 Logger 和 Meter;底层资源统一由 Shutdown 关闭。
Click to show internal directories.
Click to hide internal directories.