Help us shape the future of Go! Take the 2026 Go Developer Survey

processmetrics

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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