collector

package
v0.0.0-...-55e0aa4 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	Config   *config.CollectorConfig
	Monitors []*monitor.Monitor
	Store    storage.Store
	// contains filtered or unexported fields
}

func NewCollector

func NewCollector(ctx context.Context, logger *slog.Logger, cfg *config.CollectorConfig, store storage.Store) *Collector

func (*Collector) Reload

func (c *Collector) Reload(cfg *config.CollectorConfig) error

func (*Collector) Shutdown

func (c *Collector) Shutdown() error

func (*Collector) Start

func (c *Collector) Start(ctx context.Context) error

Directories

Path Synopsis
web

Jump to

Keyboard shortcuts

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