Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HttpRequestsTotal = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "http_requests_total", }, []string{"pattern", "method", "status"}, ) HttpRequestsCurrent = promauto.NewGaugeVec( prometheus.GaugeOpts{ Name: "http_requests_inflight_current", }, []string{}, ) HttpRequestsInflightMax = promauto.NewGaugeVec( prometheus.GaugeOpts{ Name: "http_requests_inflight_max", }, []string{}, ) HttpRequestsDurationHistorgram = promauto.NewHistogramVec( prometheus.HistogramOpts{ Name: "http_request_duration_seconds_historgram", Buckets: []float64{ 0.1, 0.2, 0.25, 0.5, 1, }, }, []string{"pattern", "method"}, ) HttpRequestsDurationSummary = promauto.NewSummaryVec( prometheus.SummaryOpts{ Name: "http_request_duration_seconds_summary", Objectives: map[float64]float64{ 0.99: 0.001, 0.95: 0.01, 0.5: 0.05, }, }, []string{"pattern", "method"}, ) )
View Source
var QrMe = promauto.NewCounter(prometheus.CounterOpts{
Name: "qr_generations_total",
Help: "The total number of processed qr generation events",
})
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.