Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusCallbacks ¶
type PrometheusCallbacks struct {
// contains filtered or unexported fields
}
func NewPrometheusCallbacks ¶
func NewPrometheusCallbacks(opts prometheus.SummaryOpts) *PrometheusCallbacks
func (*PrometheusCallbacks) Initialize ¶
func (p *PrometheusCallbacks) Initialize(db *gorm.DB) error
Initialize 在 GORM 中注册 Prometheus 回调
Click to show internal directories.
Click to hide internal directories.