Documentation
¶
Index ¶
Constants ¶
View Source
const STATS_POLL_RATE = time.Duration(5) * time.Second
Variables ¶
This section is empty.
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 ProcessPerfInfo ¶ added in v1.2.0
type ProcessPerfInfo struct {
// contains filtered or unexported fields
}
func ListProcesses ¶ added in v1.2.0
func ListProcesses(processNames []string) ([]*ProcessPerfInfo, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.