Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DetectTimes = promauto.NewCounter(prometheus.CounterOpts{ Name: "detect_times", Help: "The times of availability detecting", }) ReadFailureTimes = promauto.NewCounter(prometheus.CounterOpts{ Name: "read_failure_detect_times", Help: "The failure times of read detecting", }) WriteFailureTimes = promauto.NewCounter(prometheus.CounterOpts{ Name: "write_failure_detect_times", Help: "The failure times of write detecting", }) ReadLatency = promauto.NewGauge(prometheus.GaugeOpts{ Name: "read_latency_ms", Help: "The latency of read data in milliseconds", }) WriteLatency = promauto.NewGauge(prometheus.GaugeOpts{ Name: "write_latency_ms", Help: "The latency of write data in milliseconds", }) )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.