collector

package
v2.8.4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: MIT Imports: 17 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
}

func InitCollector

func InitCollector(session *session.Session, client *ent.Client, ctxManager *agent.ContextManager) *Collector

func NewCollector

func NewCollector(args collectorArgs, ctxManager *agent.ContextManager) (*Collector, error)

func (*Collector) Start

func (c *Collector) Start()

func (*Collector) Stop

func (c *Collector) Stop()

Stop never closes the metric queues—a check still running past the bounded wait could still publish, racing a send against a closed channel.

Jump to

Keyboard shortcuts

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