Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graphite ¶
type Graphite struct{}
Graphite struct
func NewGraphite ¶
func NewGraphite() *Graphite
NewGraphite create a new instance of graphite backend
type Prometheus ¶
type Prometheus struct{}
Prometheus struct
func NewPrometheus ¶
func NewPrometheus() *Prometheus
NewPrometheus create a new instance of prometheus backend
func (*Prometheus) Counter ¶
func (p *Prometheus) Counter(item model.Metric) error
Counter updates or creates a counter
func (*Prometheus) Gauge ¶
func (p *Prometheus) Gauge(item model.Metric) error
Gauge updates or creates a gauge
func (*Prometheus) Histogram ¶
func (p *Prometheus) Histogram(item model.Metric) error
Histogram updates or creates a histogram
Click to show internal directories.
Click to hide internal directories.