system

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemCollector

type SystemCollector struct {
	// contains filtered or unexported fields
}

SystemCollector gathers system resource usage (CPU, memory, disk). Linux only.

func NewSystemCollector

func NewSystemCollector(ctx context.Context, cfg *config.Config) *SystemCollector

func (*SystemCollector) Collect

func (c *SystemCollector) Collect(ch chan<- prometheus.Metric)

func (*SystemCollector) Describe

func (c *SystemCollector) Describe(ch chan<- *prometheus.Desc)

func (*SystemCollector) Shutdown

func (c *SystemCollector) Shutdown() error

Jump to

Keyboard shortcuts

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