Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callbacks ¶
type Callbacks struct {
// contains filtered or unexported fields
}
func (*Callbacks) Register ¶
func (c *Callbacks) Register(opt prometheus.SummaryOpts, db *gorm.DB) error
Register 使用gorm的callback 采集增删改查的sql响应时间
Click to show internal directories.
Click to hide internal directories.