metrics

package
v0.0.0-...-39e0c7e Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 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

func CollectDatabase(stats sql.DBStats)

func Gauge

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

func InitMetrics()

func Query

func Query(objType, method string)

func ServiceTimer

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

func Timer

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