batchinsights

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const STATS_POLL_RATE = time.Duration(5) * time.Second

Variables

View Source
var IS_PLATFORM_WINDOWS = runtime.GOOS == "windows"

Functions

func ListenForStats

func ListenForStats(poolId string, nodeId string, appInsightsKey string)

func PrintSystemInfo

func PrintSystemInfo()

Types

type AppInsightsService

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

func NewAppInsightsService

func NewAppInsightsService(instrumentationKey string, poolId string, nodeId string) AppInsightsService

func (AppInsightsService) UploadStats

func (service AppInsightsService) UploadStats(stats NodeStats)

type IOAggregator

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

func (*IOAggregator) UpdateAggregates

func (aggregator *IOAggregator) UpdateAggregates(currentRead uint64, currentWrite uint64) IOStats

type IOStats

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

type NodeStats

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

Jump to

Keyboard shortcuts

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