runtimemetrics

package
v0.1.36 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 7 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stopper

type Stopper interface {
	Stop() error
}

Stopper represents something that has a Stop method

func Start

func Start(m metrics.Interface) Stopper

Start launches background goroutines that write metrics for CPU usage etc. to m. The caller should call Stop on the returned Stopper to shut down metrics collection.

Jump to

Keyboard shortcuts

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