impl

package
v0.0.0-...-f5108b3 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventCollect

type EventCollect struct {
	// contains filtered or unexported fields
}

收集事件指标的采集器

func NewEventCollect

func NewEventCollect() *EventCollect

func (*EventCollect) Collect

func (c *EventCollect) Collect(ch chan<- prometheus.Metric)

指标的值的采集

func (*EventCollect) Describe

func (c *EventCollect) Describe(ch chan<- *prometheus.Desc)

指标元数据注册

func (*EventCollect) Inc

func (c *EventCollect) Inc()

Jump to

Keyboard shortcuts

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