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 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 GPUStatsCollector ¶ added in v1.1.0
type GPUStatsCollector struct {
// contains filtered or unexported fields
}
func NewGPUStatsCollector ¶ added in v1.1.0
func NewGPUStatsCollector() GPUStatsCollector
func (GPUStatsCollector) GetStats ¶ added in v1.1.0
func (gpu GPUStatsCollector) GetStats() []GPUUsage
func (GPUStatsCollector) Shutdown ¶ added in v1.1.0
func (gpu GPUStatsCollector) Shutdown()
type IOAggregator ¶
type IOAggregator struct {
// contains filtered or unexported fields
}
func (*IOAggregator) UpdateAggregates ¶
func (aggregator *IOAggregator) UpdateAggregates(currentRead uint64, currentWrite uint64) IOStats
Source Files
¶
Click to show internal directories.
Click to hide internal directories.