metrics

package
v1.56.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

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

Jump to

Keyboard shortcuts

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