Documentation ¶
Index ¶
- func NewCPUCollector() metric.Collector
- func NewDiskCollector(path string) metric.Collector
- func NewFFmpegCollector(f ffmpeg.FFmpeg) metric.Collector
- func NewFilesystemCollector(name string, fs fs.Filesystem) metric.Collector
- func NewMemCollector() metric.Collector
- func NewNetCollector() metric.Collector
- func NewRestreamCollector(r restream.Restreamer) metric.Collector
- func NewSessionCollector(r session.RegistryReader, collectors []string) metric.Collector
- func NewUptimeCollector() metric.Collector
- type Config
- type HistoryConfig
- type HistoryMetrics
- type HistoryMonitor
- type HistoryReader
- type Monitor
- type Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCPUCollector ¶
func NewDiskCollector ¶
func NewFilesystemCollector ¶
func NewFilesystemCollector(name string, fs fs.Filesystem) metric.Collector
func NewMemCollector ¶
func NewNetCollector ¶
func NewRestreamCollector ¶
func NewRestreamCollector(r restream.Restreamer) metric.Collector
func NewSessionCollector ¶
func NewSessionCollector(r session.RegistryReader, collectors []string) metric.Collector
func NewUptimeCollector ¶
Types ¶
type HistoryConfig ¶
type HistoryMonitor ¶
type HistoryMonitor interface { HistoryReader Register(c metric.Collector) UnregisterAll() }
func NewHistory ¶
func NewHistory(config HistoryConfig) (HistoryMonitor, error)
type HistoryReader ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.