Documentation ¶
Index ¶
Constants ¶
View Source
const (
Namespace = "memcached"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter collects metrics from a memcached server.
func (*Exporter) Collect ¶
func (e *Exporter) Collect(ch chan<- prometheus.Metric)
Collect fetches the statistics from all configured memcached servers, and delivers them as Prometheus metrics. It implements prometheus.Collector.
func (*Exporter) CollectServer ¶
func (e *Exporter) CollectServer(ch chan<- prometheus.Metric, server string)
CollectServer fetches the statistics from the configured memcached server, and delivers them as Prometheus metrics. It implements prometheus.Collector.
func (*Exporter) Describe ¶
func (e *Exporter) Describe(ch chan<- *prometheus.Desc)
Describe describes all the metrics exported by the memcached exporter. It implements prometheus.Collector.
Click to show internal directories.
Click to hide internal directories.