Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRadarrCollector ¶
func NewRadarrCollector(url, apiKey string, interval time.Duration) prometheus.Collector
NewRadarrCollector creates a new RadarrCollector
func NewSonarrCollector ¶
func NewSonarrCollector(url, apiKey string, interval time.Duration) prometheus.Collector
NewSonarrCollector creates a new SonarrCollector
Types ¶
type RadarrCollector ¶
RadarrCollector presents Radarr statistics as Prometheus metrics
func (*RadarrCollector) Collect ¶
func (coll *RadarrCollector) Collect(ch chan<- prometheus.Metric)
Collect implements the prometheus.Collector interface
func (*RadarrCollector) Describe ¶
func (coll *RadarrCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements the prometheus.Collector interface
type SonarrCollector ¶
SonarrCollector presents Sonarr statistics as Prometheus metrics
func (*SonarrCollector) Collect ¶
func (coll *SonarrCollector) Collect(ch chan<- prometheus.Metric)
Collect implements the prometheus.Collector interface
func (*SonarrCollector) Describe ¶
func (coll *SonarrCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements the prometheus.Collector interface
Click to show internal directories.
Click to hide internal directories.