metrics

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConnBufferLen = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "gev_conn_buffer_len",
	}, []string{bufferType, perAddr})
	ConnBufferCap = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "gev_conn_buffer_cap",
	}, []string{bufferType, perAddr})

	ConnHandlerDuration = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "gev_conn_duration_microseconds",
		},
		[]string{"action"},
	)

	DoPendingFuncDuration = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name: "gev_pending_func_duration_microseconds",
		},
	)
)
View Source
var (
	Enable atomic.Bool
)

Functions

func MustRun

func MustRun(path, address string)

func PrometheusMustRegister

func PrometheusMustRegister(cs ...prometheus.Collector)

Types

This section is empty.

Jump to

Keyboard shortcuts

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