metrics

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Incr

func Incr(name string)

Incr will increase a feature report to the prometheus

func RegisterCounter

func RegisterCounter(name, help string)

RegisterCounter will store a prometheus counter to be used later. the parameters of name means the counter's name. the parameters of help means the tips for the counter so that it can improve the readibility.

func Run

func Run(prefix string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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