processmetrics

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 7 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 New

func New() *Collector

func (*Collector) Collect

func (collector *Collector) Collect() Metrics

type Metrics

type Metrics struct {
	RSSBytes uint64  `json:"rssBytes"`
	CPUUsage float64 `json:"cpuUsage"`
}

Jump to

Keyboard shortcuts

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