monitoring

package
v0.0.0-...-fa91818 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MIT, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// trigger metric send if this number is reached
	AppMetricSendCount int
	// trigger metric send if this duration is reached
	AppMetricSendInterval time.Duration
	// clear metrics when this number is reached
	AppMetricOverflowLimit uint64
	// clear metrics when this number of bytes
	AppMetricOverflowLimitBytes uint64
	// sleep before adding back metrics back into the bucket on API failure
	AppMetricSleepDurationOnFailure time.Duration
	// trigger server metric collection
	ServerMetricSendInterval time.Duration
}

Config holds metric collection configuration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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