Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendAnonymousTelemetry ¶
func SendAnonymousTelemetry(nodeInfo *api.NodeInfo, hardwareVendor string, sampleGPUModel string, workersCount int, isolationMode api.IsolationMode)
SendAnonymousTelemetry sends Anonymous telemetry data without ANY sensitive data
func ShouldSendTelemetry ¶
func ShouldSendTelemetry() bool
Types ¶
type HypervisorMetricsRecorder ¶
type HypervisorMetricsRecorder struct {
// contains filtered or unexported fields
}
func NewHypervisorMetricsRecorder ¶
func NewHypervisorMetricsRecorder( ctx context.Context, outputPath string, deviceController framework.DeviceController, workerController framework.WorkerController, allocationController framework.WorkerAllocationController, metricsInterval time.Duration, ) *HypervisorMetricsRecorder
func (*HypervisorMetricsRecorder) RecordDeviceMetrics ¶
func (h *HypervisorMetricsRecorder) RecordDeviceMetrics(writer io.Writer)
func (*HypervisorMetricsRecorder) RecordWorkerMetrics ¶
func (h *HypervisorMetricsRecorder) RecordWorkerMetrics(writer io.Writer)
func (*HypervisorMetricsRecorder) Start ¶
func (h *HypervisorMetricsRecorder) Start()
type TelemetryConfig ¶
type TelemetryConfig struct {
WorkersCount int
IsolationMode string
SampleGPUModel string
DeviceController framework.DeviceController
}
TelemetryConfig contains optional telemetry parameters
Click to show internal directories.
Click to hide internal directories.