collector

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestCollector

type RequestCollector struct {
	Count *prometheus.Desc
	// contains filtered or unexported fields
}

func NewRequestCollector

func NewRequestCollector(client *goverseerr.Overseerr, doGenre, doCompany bool) *RequestCollector

func (*RequestCollector) Collect

func (rc *RequestCollector) Collect(ch chan<- prometheus.Metric)

func (*RequestCollector) Describe

func (rc *RequestCollector) Describe(ch chan<- *prometheus.Desc)

type RequestMetricLabel

type RequestMetricLabel struct {
	MediaType     string
	RequestStatus string
	MediaStatus   string
	UHD           string
	Company       string
	Genre         string
}

type UserCollector

type UserCollector struct {
	Requests *prometheus.Desc
	// contains filtered or unexported fields
}

func NewUserCollector

func NewUserCollector(client *goverseerr.Overseerr) *UserCollector

func (*UserCollector) Collect

func (rc *UserCollector) Collect(ch chan<- prometheus.Metric)

func (*UserCollector) Describe

func (rc *UserCollector) Describe(ch chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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