Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prometheus ¶
type Prometheus struct { Namespace string Subsystem string MetricPath string // contains filtered or unexported fields }
Prometheus of prometheus monitor
func NewPrometheus ¶
func NewPrometheus(namespace string, subsystem string) *Prometheus
NewPrometheus for prometheus
func (*Prometheus) HandlerPrometheus ¶
func (m *Prometheus) HandlerPrometheus() fiber.Handler
HandlerPrometheus for prometheus collect data
func (*Prometheus) Register ¶
func (m *Prometheus) Register(app *fiber.App)
Register app for metrics collect
func (*Prometheus) SetupPath ¶
func (m *Prometheus) SetupPath(app *fiber.App)
SetupPath for metrics view
Click to show internal directories.
Click to hide internal directories.