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)
Click to show internal directories.
Click to hide internal directories.