Documentation ¶
Index ¶
- Constants
- type Exporter
- func (exporter *Exporter) AddGPUMetricDrift(host, minor_number, dataGranularity string, val float64)
- func (exporter *Exporter) AddNodeMetricDrift(name, dataGranularity string, val float64)
- func (exporter *Exporter) AddPodMetricDrift(podNS, podName, dataGranularity string, val float64)
- func (exporter *Exporter) ExportGPUMetricModelTime(host, minor_number, dataGranularity string, val float64)
- func (exporter *Exporter) ExportNodeMetricModelTime(name, dataGranularity string, val float64)
- func (exporter *Exporter) ExportPodMetricModelTime(podNS, podName, dataGranularity string, val float64)
- func (exporter *Exporter) SetContainerMetricMAPE(podNS, podName, name, metricType, dataGranularity string, val float64)
- func (exporter *Exporter) SetContainerMetricRMSE(podNS, podName, name, metricType, dataGranularity string, val float64)
- func (exporter *Exporter) SetGPUMetricMAPE(host, minor_number, metricType, dataGranularity string, val float64)
- func (exporter *Exporter) SetGPUMetricRMSE(host, minor_number, metricType, dataGranularity string, val float64)
- func (exporter *Exporter) SetNodeMetricMAPE(name, metricType, dataGranularity string, val float64)
- func (exporter *Exporter) SetNodeMetricRMSE(name, metricType, dataGranularity string, val float64)
Constants ¶
View Source
const ( MetricTypeLabelCPUUsageSecondsPercentage = "CPU_USAGE_SECONDS_PERCENTAGE" MetricTypeLabelMemoryUsageBytes = "MEMORY_USAGE_BYTES" MetricTypeLabelPowerUsageWatts = "POWER_USAGE_WATTS" MetricTypeLabelTemperatureCelsius = "TEMPERATURE_CELSIUS" MetricTypeLabelDutyCycle = "DUTY_CYCLE" )
View Source
const ( MetricTypeLabelDataGranularity30s = "30s" MetricTypeLabelDataGranularity1h = "1h" MetricTypeLabelDataGranularity6h = "6h" MetricTypeLabelDataGranularity24h = "24h" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
func NewExporter ¶
func NewExporter() *Exporter
func (*Exporter) AddGPUMetricDrift ¶
func (*Exporter) AddNodeMetricDrift ¶
func (*Exporter) AddPodMetricDrift ¶ added in v0.9.205
func (*Exporter) ExportGPUMetricModelTime ¶
func (*Exporter) ExportNodeMetricModelTime ¶
func (*Exporter) ExportPodMetricModelTime ¶ added in v0.9.205
func (*Exporter) SetContainerMetricMAPE ¶
func (*Exporter) SetContainerMetricRMSE ¶
func (*Exporter) SetGPUMetricMAPE ¶
func (*Exporter) SetGPUMetricRMSE ¶
func (*Exporter) SetNodeMetricMAPE ¶
func (*Exporter) SetNodeMetricRMSE ¶
Click to show internal directories.
Click to hide internal directories.