monitoring

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: PostgreSQL Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatUnit

func FormatUnit(value, k float64, unit string) string

func NewMemChecker

func NewMemChecker(maximum uint64) *memChecker

func ReadVMPeak

func ReadVMPeak() size

Types

type Rate

type Rate struct {
	Value uint64
	// contains filtered or unexported fields
}

func NewIRate

func NewIRate(unit string) *Rate

func NewRate

func NewRate(unit string) *Rate

func (*Rate) Duration

func (r *Rate) Duration() time.Duration

func (*Rate) FormatValue

func (r *Rate) FormatValue() string

func (*Rate) String

func (r *Rate) String() string

Jump to

Keyboard shortcuts

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