Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestCount = prometheus.NewCounter(prometheus.CounterOpts{
Subsystem: "chii",
Name: "request_count_total",
Help: "",
})
View Source
var RequestHistogram = prometheus.NewHistogram(prometheus.HistogramOpts{ Subsystem: "chii", Name: "response_time_seconds", Help: "web response time", Buckets: []float64{ 0.001, 0.005, 0.010, 0.020, 0.050, 0.100, 0.200, 0.300, 0.500, 1.000, }, })
View Source
var SQLHistogram = prometheus.NewHistogram(prometheus.HistogramOpts{ Subsystem: "chii", Name: "sql_time_seconds", Help: "sql execution time", Buckets: []float64{ 0.001, 0.002, 0.003, 0.004, 0.005, 0.010, 0.020, 0.030, 0.040, 0.050, 0.100, 0.200, 0.300, 0.500, 1.000, }, })
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.