Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AccessCounter = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "api_requests_total", }, []string{"method", "uri"}, )
View Source
var HttpDurations = prometheus.NewSummaryVec( prometheus.SummaryOpts{ Name: "http_durations_millisecond", Objectives: map[float64]float64{0.5: 0.05, 0.9: 0.01, 0.99: 0.001}, }, []string{"method", "uri"}, )
View Source
var HttpDurationsHistogram = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "http_durations_histogram_millisecond", Buckets: []float64{30, 60, 100, 200, 300, 500, 1000}, }, []string{"method", "uri"}, )
View Source
var QueueGauge = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "queue_num_total", }, []string{"method", "uri"}, )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.