Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HTTPRequestsTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "http_requests_total", Help: "Number of get requests.", }, []string{"method", "path", "code"}, ) HTTPInflightRequests = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "http_inflight_requests", Help: "Status of HTTP response", }, []string{"method", "path"}, ) HTTPRequestsDuration = prometheus.NewHistogramVec(prometheus.HistogramOpts{ Name: "http_requests_duration_seconds", Help: "Duration of HTTP requests.", }, []string{"method", "path"}) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.