collector

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransmissionCollector

type TransmissionCollector struct {
	// contains filtered or unexported fields
}

TransmissionCollector implements the prometheus.Collector interface.

func NewTransmissionCollector

func NewTransmissionCollector(client *transmission.Client, logger log.Logger) (*TransmissionCollector, error)

func (*TransmissionCollector) Collect

func (t *TransmissionCollector) Collect(ch chan<- prometheus.Metric)

Collect implements the prometheus.Collector interface.

func (*TransmissionCollector) Describe

func (t *TransmissionCollector) 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