ocruntime

package module
v0.0.0-...-b611210 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GoroutineView = &view.View{
		Name:        "process/cpu_goroutines",
		Description: "number of running goroutines",
		Measure:     grM,
		Aggregation: view.LastValue(),
	}

	HeapAllocView = &view.View{
		Name:        "process/heap_alloc",
		Description: "total bytes of allocated heap",
		Measure:     haM,
		Aggregation: view.LastValue(),
	}

	HeapSystemView = &view.View{
		Name:        "process/sys_heap",
		Description: "Bytes of heap memory obtained from the OS",
		Measure:     hsM,
		Aggregation: view.LastValue(),
	}

	PauseNSView = &view.View{
		Name:        "process/pause_ns",
		Description: "most recent stop the world duration",
		Measure:     pnsM,
		Aggregation: view.LastValue(),
	}
)

Runtime Views

Functions

func Start

func Start(ctx context.Context, dur time.Duration) (close func())

Start starts an infinite loop that profiles the process and reports the views

Types

This section is empty.

Jump to

Keyboard shortcuts

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