collector

package
v0.0.0-...-869124a Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 10 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 {
	// contains filtered or unexported fields
}

Collector handles profile collection

func NewCollector

func NewCollector(cfg *config.Config) *Collector

NewCollector creates a new profile collector

func (*Collector) CollectOnce

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

CollectOnce collects a single snapshot

func (*Collector) Start

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

Start starts the profile collection daemon

func (*Collector) Stop

func (c *Collector) Stop() error

Stop stops the collector

Jump to

Keyboard shortcuts

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