metrics

package
v0.90.74 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(method string, value float64, labels ...interface{})

func CollectDatabase added in v0.90.53

func CollectDatabase(stats sql.DBStats)

func Gauge added in v0.90.51

func Gauge(method string, value float64, labels ...interface{})

func Histo

func Histo(method string, value float64, labels ...interface{})

func Inc

func Inc(method string, labels ...interface{})

func InitMetrics added in v0.90.53

func InitMetrics()

func Query added in v0.90.53

func Query(objType, method string)

func ServiceTimer added in v0.90.53

func ServiceTimer(labels ...interface{}) prometheus.Observer

func Timer added in v0.90.53

func Timer(labels ...interface{}) prometheus.Observer

Types

This section is empty.

Jump to

Keyboard shortcuts

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