prometheus

package
v0.0.0-...-f664ad0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 3 Imported by: 0

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 回调

func (*PrometheusCallbacks) Name

func (p *PrometheusCallbacks) Name() string

Name 返回插件的名称

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL