Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContainerTime influxdb.Tag = "time" ContainerNamespace influxdb.Tag = "namespace" ContainerPodName influxdb.Tag = "pod_name" ContainerName influxdb.Tag = "name" ContainerMetric influxdb.Tag = "metric" ContainerKind influxdb.Tag = "kind" ContainerGranularity influxdb.Tag = "granularity" ContainerModelId influxdb.Field = "model_id" ContainerPredictionId influxdb.Field = "prediction_id" ContainerValue influxdb.Field = "value" )
View Source
const ( NodeTime influxdb.Tag = "time" NodeName influxdb.Tag = "name" NodeMetric influxdb.Tag = "metric" NodeIsScheduled influxdb.Tag = "is_scheduled" NodeGranularity influxdb.Tag = "granularity" NodeKind influxdb.Tag = "kind" NodeModelId influxdb.Field = "model_id" NodePredictionId influxdb.Field = "prediction_id" NodeValue influxdb.Field = "value" )
Variables ¶
View Source
var ( ContainerTags = []influxdb.Tag{ContainerNamespace, ContainerPodName, ContainerName, ContainerMetric, ContainerKind, ContainerGranularity} ContainerFields = []influxdb.Field{ContainerModelId, ContainerPredictionId, ContainerValue} )
View Source
var ( NodeTags = []influxdb.Tag{NodeName, NodeMetric, NodeIsScheduled, NodeGranularity, NodeKind} NodeFields = []influxdb.Field{NodeModelId, NodePredictionId, NodeValue} )
Functions ¶
This section is empty.
Types ¶
type ContainerEntity ¶
type ContainerEntity struct { Time time.Time Namespace *string PodName *string Name *string Metric *string Granularity *string Kind *string ModelId *string PredictionId *string Value *string }
Entity Container prediction entity in influxDB
func NewContainerEntityFromMap ¶
func NewContainerEntityFromMap(data map[string]string) ContainerEntity
NewEntityFromMap Build entity from map
type NodeEntity ¶
type NodeEntity struct { Time time.Time Name *string Metric *string IsScheduled *string Granularity *string Kind *string ModelId *string PredictionId *string Value *string }
Entity Container prediction entity in influxDB
func NewNodeEntityFromMap ¶
func NewNodeEntityFromMap(data map[string]string) NodeEntity
NewEntityFromMap Build entity from map
Click to show internal directories.
Click to hide internal directories.