pyro

package
v0.0.0-...-12bb316 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2025 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TargetsOptions sd.TargetsOptions
	RelabelConfig  []*RelabelConfig
	SessionOptions ebpfspy.SessionOptions
}

type RelabelConfig

type RelabelConfig struct {
	SourceLabels []string
	Separator    string
	Regex        string
	TargetLabel  string `yaml:"target_label,omitempty"`
	Replacement  string `yaml:"replacement,omitempty"`
	Action       string
}

type StackCollector

type StackCollector struct {
	ebpfspy.Session
	// contains filtered or unexported fields
}

func NewStackCollector

func NewStackCollector(
	logger log.Logger,
	config *Config,
	discoveryFreq time.Duration,
	collectFreq time.Duration,
) (*StackCollector, error)

func (*StackCollector) Shutdown

func (s *StackCollector) Shutdown() error

func (*StackCollector) Start

func (s *StackCollector) Start() (chan *pushv1.PushRequest, error)

Jump to

Keyboard shortcuts

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