runtime

package
v0.9.1-0...-94679d8 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package runtime holds runtime related files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

Monitor is used to export runtime.MemStats metrics for debugging purposes

func NewRuntimeMonitor

func NewRuntimeMonitor(client statsd.ClientInterface) *Monitor

NewRuntimeMonitor returns a new instance of Monitor

func (*Monitor) SendStats

func (m *Monitor) SendStats() error

SendStats sends the metric of the runtime monitor

Jump to

Keyboard shortcuts

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