metrics

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 License: GPL-2.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 Manager

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

func NewManager

func NewManager(syncManager *qbittorrent.SyncManager, clientPool *qbittorrent.ClientPool) *Manager

func (*Manager) GetRegistry

func (m *Manager) GetRegistry() *prometheus.Registry

type TorrentCollector

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

func NewTorrentCollector

func NewTorrentCollector(syncManager *qbittorrent.SyncManager, clientPool *qbittorrent.ClientPool) *TorrentCollector

func (*TorrentCollector) Collect

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

func (*TorrentCollector) Describe

func (c *TorrentCollector) Describe(ch chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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