Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HttpDuration = promauto.NewHistogramVec(prometheus.HistogramOpts{ Name: "http_response_time_seconds", Help: "Duration of HTTP requests.", }, []string{"path"})
View Source
var ResponseStatus = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "response_status", Help: "Status of HTTP response", }, []string{"status"}, )
View Source
var TotalRequests = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "http_requests_total", Help: "Number of get requests.", }, []string{"path"}, )
Functions ¶
func CreateRegistry ¶
func CreateRegistry() *prometheus.Registry
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.