Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusHook ¶
type PrometheusHook struct {
// contains filtered or unexported fields
}
func NewPrometheusHook ¶
func NewPrometheusHook(opt prometheus.SummaryOpts, isCluster bool) *PrometheusHook
NewPrometheusHook 使用redis的hook接口采集cmd响应时间
func (*PrometheusHook) DialHook ¶
func (p *PrometheusHook) DialHook(next redis.DialHook) redis.DialHook
func (*PrometheusHook) ProcessHook ¶
func (p *PrometheusHook) ProcessHook(next redis.ProcessHook) redis.ProcessHook
func (*PrometheusHook) ProcessPipelineHook ¶
func (p *PrometheusHook) ProcessPipelineHook(next redis.ProcessPipelineHook) redis.ProcessPipelineHook
Click to show internal directories.
Click to hide internal directories.