metrics

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(cfg *config.MetricsConfig, collectors ...prometheus.Collector) *server

Types

type TvheadendCollector

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

func NewTvheadendCollector

func NewTvheadendCollector(client tvheadend.Client) *TvheadendCollector

func (*TvheadendCollector) Collect

func (c *TvheadendCollector) Collect(ch chan<- prometheus.Metric)

func (*TvheadendCollector) Describe

func (c *TvheadendCollector) Describe(_ chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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