collector

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: Apache-2.0 Imports: 1 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 interface {
	// CollectorName returns the unique name of the collector
	CollectorName() string

	// InitCollector initializes the collector with a controller
	// The controller can be nil during early initialization
	// The config parameter is the collector-specific configuration, which can be cast to the appropriate type
	InitCollector(controller ds.Controller, config any, appRunContext ds.AppRunContext) error

	Enable()
	Disable()
}

Collector defines the interface for collection functionality

Directories

Path Synopsis
Package loginitex provides external process-based log capture functionality
Package loginitex provides external process-based log capture functionality

Jump to

Keyboard shortcuts

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