Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollector ¶
func NewCollector(url, username, password string, _ time.Duration) prometheus.Collector
NewCollector creates a new Collector
Types ¶
type Collector ¶
Collector presents Plex statistics as Prometheus metrics
func (*Collector) Collect ¶
func (coll *Collector) Collect(ch chan<- prometheus.Metric)
Collect implements the prometheus.Collector interface
func (*Collector) Describe ¶
func (coll *Collector) Describe(ch chan<- *prometheus.Desc)
Describe implements the prometheus.Collector interface
Click to show internal directories.
Click to hide internal directories.