Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRingPopStatsD ¶
func GetRingPopStatsD(conf *conf.StatsdConfig) bark.StatsReporter
Types ¶
type PrometheusMonitor ¶
type PrometheusMonitor struct { Counters map[string]*prometheus.CounterVec Histograms map[string]*prometheus.HistogramVec Mu sync.RWMutex }
func NewPrometheusMonitor ¶
func NewPrometheusMonitor() *PrometheusMonitor
func (*PrometheusMonitor) IncCounter ¶
func (p *PrometheusMonitor) IncCounter(name string, labels map[string]string, value int)
func (*PrometheusMonitor) RecordTiming ¶
Click to show internal directories.
Click to hide internal directories.