Documentation ¶
Index ¶
- Constants
- type Exporter
- func (exporter *Exporter) AddApplicationMetricDrift(ns, name, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) AddClusterMetricDrift(name, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) AddControllerMetricDrift(ns, name, kind, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) AddGPUMetricDrift(host, minor_number, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) AddNamespaceMetricDrift(name, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) AddNodeMetricDrift(name, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) AddPodMetricDrift(podNS, podName, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) ExportApplicationMetricModelTime(ns, name, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) ExportClusterMetricModelTime(name, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) ExportControllerMetricModelTime(ns, name, kind, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) ExportGPUMetricModelTime(host, minor_number, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) ExportNamespaceMetricModelTime(name, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) ExportNodeMetricModelTime(name, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) ExportPodMetricModelTime(podNS, podName, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) SetApplicationMetricMAPE(ns, name, metricType, dataGranularity string, exportTimestamp int64, ...)
- func (exporter *Exporter) SetApplicationMetricRMSE(ns, name, metricType, dataGranularity string, exportTimestamp int64, ...)
- func (exporter *Exporter) SetClusterMetricMAPE(name, metricType, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) SetClusterMetricRMSE(name, metricType, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) SetContainerMetricMAPE(podNS, podName, name, metricType, dataGranularity string, ...)
- func (exporter *Exporter) SetContainerMetricRMSE(podNS, podName, name, metricType, dataGranularity string, ...)
- func (exporter *Exporter) SetControllerMetricMAPE(ns, name, kind, metricType, dataGranularity string, exportTimestamp int64, ...)
- func (exporter *Exporter) SetControllerMetricRMSE(ns, name, kind, metricType, dataGranularity string, exportTimestamp int64, ...)
- func (exporter *Exporter) SetGPUMetricMAPE(host, minor_number, metricType, dataGranularity string, exportTimestamp int64, ...)
- func (exporter *Exporter) SetGPUMetricRMSE(host, minor_number, metricType, dataGranularity string, exportTimestamp int64, ...)
- func (exporter *Exporter) SetNamespaceMetricMAPE(name, metricType, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) SetNamespaceMetricRMSE(name, metricType, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) SetNodeMetricMAPE(name, metricType, dataGranularity string, exportTimestamp int64, val float64)
- func (exporter *Exporter) SetNodeMetricRMSE(name, metricType, dataGranularity string, exportTimestamp int64, 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) AddApplicationMetricDrift ¶
func (*Exporter) AddClusterMetricDrift ¶
func (*Exporter) AddControllerMetricDrift ¶
func (*Exporter) AddGPUMetricDrift ¶
func (*Exporter) AddNamespaceMetricDrift ¶
func (*Exporter) AddNodeMetricDrift ¶
func (*Exporter) AddPodMetricDrift ¶ added in v0.9.205
func (*Exporter) ExportApplicationMetricModelTime ¶
func (exporter *Exporter) ExportApplicationMetricModelTime(ns, name, dataGranularity string, exportTimestamp int64, val float64)
Application
func (*Exporter) ExportClusterMetricModelTime ¶
func (exporter *Exporter) ExportClusterMetricModelTime( name, dataGranularity string, exportTimestamp int64, val float64)
Cluster
func (*Exporter) ExportControllerMetricModelTime ¶
func (exporter *Exporter) ExportControllerMetricModelTime(ns, name, kind, dataGranularity string, exportTimestamp int64, val float64)
Controller
func (*Exporter) ExportGPUMetricModelTime ¶
func (exporter *Exporter) ExportGPUMetricModelTime(host, minor_number, dataGranularity string, exportTimestamp int64, val float64)
GPU
func (*Exporter) ExportNamespaceMetricModelTime ¶
func (exporter *Exporter) ExportNamespaceMetricModelTime( name, dataGranularity string, exportTimestamp int64, val float64)
Namespace
func (*Exporter) ExportNodeMetricModelTime ¶
func (exporter *Exporter) ExportNodeMetricModelTime( name, dataGranularity string, exportTimestamp int64, val float64)
Node
func (*Exporter) ExportPodMetricModelTime ¶ added in v0.9.205
func (exporter *Exporter) ExportPodMetricModelTime( podNS, podName, dataGranularity string, exportTimestamp int64, val float64)
Pod
func (*Exporter) SetApplicationMetricMAPE ¶
func (*Exporter) SetApplicationMetricRMSE ¶
func (*Exporter) SetClusterMetricMAPE ¶
func (*Exporter) SetClusterMetricRMSE ¶
func (*Exporter) SetContainerMetricMAPE ¶
func (*Exporter) SetContainerMetricRMSE ¶
func (*Exporter) SetControllerMetricMAPE ¶
func (*Exporter) SetControllerMetricRMSE ¶
func (*Exporter) SetGPUMetricMAPE ¶
func (*Exporter) SetGPUMetricRMSE ¶
func (*Exporter) SetNamespaceMetricMAPE ¶
func (*Exporter) SetNamespaceMetricRMSE ¶
func (*Exporter) SetNodeMetricMAPE ¶
Click to show internal directories.
Click to hide internal directories.