memory_metrics_collector

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryMetricsCollector

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

func NewMemoryMetricsCollector

func NewMemoryMetricsCollector() (*MemoryMetricsCollector, error)

func (*MemoryMetricsCollector) IncrementCount

func (m *MemoryMetricsCollector) IncrementCount(ctx context.Context, counterName string, n int64) (int64, error)

func (*MemoryMetricsCollector) ReadCount

func (m *MemoryMetricsCollector) ReadCount(ctx context.Context, counterName string) (int64, error)

Jump to

Keyboard shortcuts

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