runtime

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Overview

Package runtime implements runtime stats collection convenience functions.

Index

Constants

This section is empty.

Variables

View Source
var DefaultRuntimeInterval = 10 * time.Second

DefaultRuntimeInterval is the default runtime collection interval.

Functions

func Collect

func Collect(s *statter.Statter)

Collect collects runtime metrics periodically sending them to s.

func CollectEvery

func CollectEvery(s *statter.Statter, d time.Duration)

CollectEvery collects runtime metrics at interval d sending them to s.

Types

This section is empty.

Jump to

Keyboard shortcuts

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