Documentation
¶
Index ¶
- Constants
- func GetCounter(name, help string, labels prometheus.Labels) *prometheus.CounterVec
- func GetHistogram(name, help string, labels prometheus.Labels) *prometheus.HistogramVec
- func MeasureHTTPClientRequest(req *http.Request, path string) func(int)
- func MeasureHTTPServerRequest(req *http.Request, path string) func(int)
- func RegisterServer(appN, appV string, srv httpServer)
Constants ¶
View Source
const (
URLPath = "/metrics"
)
Variables ¶
This section is empty.
Functions ¶
func GetCounter ¶
func GetCounter(name, help string, labels prometheus.Labels) *prometheus.CounterVec
func GetHistogram ¶
func GetHistogram(name, help string, labels prometheus.Labels) *prometheus.HistogramVec
func RegisterServer ¶
func RegisterServer(appN, appV string, srv httpServer)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.