Documentation ¶
Index ¶
- func Add(method string, value float64, labels ...interface{})
- func CollectDatabase(stats sql.DBStats)
- func Gauge(method string, value float64, labels ...interface{})
- func Histo(method string, value float64, labels ...interface{})
- func Inc(method string, labels ...interface{})
- func InitMetrics()
- func Query(objType, method string)
- func ServiceTimer(labels ...interface{}) prometheus.Observer
- func Timer(labels ...interface{}) prometheus.Observer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectDatabase ¶
func InitMetrics ¶
func InitMetrics()
func ServiceTimer ¶
func ServiceTimer(labels ...interface{}) prometheus.Observer
func Timer ¶
func Timer(labels ...interface{}) prometheus.Observer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.