func()

in components/otelopscol/receiver/dcgmreceiver/internal/metadata/generated_metrics.go [31:51]


func (av AttributeGpuClockViolation) String() string {
	switch av {
	case AttributeGpuClockViolationPower:
		return "power"
	case AttributeGpuClockViolationThermal:
		return "thermal"
	case AttributeGpuClockViolationSyncBoost:
		return "sync_boost"
	case AttributeGpuClockViolationBoardLimit:
		return "board_limit"
	case AttributeGpuClockViolationLowUtil:
		return "low_util"
	case AttributeGpuClockViolationReliability:
		return "reliability"
	case AttributeGpuClockViolationAppClock:
		return "app_clock"
	case AttributeGpuClockViolationBaseClock:
		return "base_clock"
	}
	return ""
}