plex

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 8 Imported by: 0

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

type Collector struct {
	plex.API
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL