Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApplicationTime influxdb.Tag = "time" ApplicationName influxdb.Tag = "name" ApplicationNameSpace influxdb.Tag = "namespace" ApplicationClusterName influxdb.Tag = "cluster_name" ApplicationMetric influxdb.Tag = "metric" ApplicationMetricType influxdb.Tag = "kind" ApplicationGranularity influxdb.Tag = "granularity" ApplicationModelId influxdb.Field = "model_id" ApplicationPredictionId influxdb.Field = "prediction_id" ApplicationValue influxdb.Field = "value" )
View Source
const ( ClusterTime influxdb.Tag = "time" ClusterName influxdb.Tag = "name" ClusterMetric influxdb.Tag = "metric" ClusterMetricType influxdb.Tag = "kind" ClusterGranularity influxdb.Tag = "granularity" ClusterModelId influxdb.Field = "model_id" ClusterPredictionId influxdb.Field = "prediction_id" ClusterValue influxdb.Field = "value" )
View Source
const ( ContainerTime influxdb.Tag = "time" ContainerName influxdb.Tag = "name" ContainerPodName influxdb.Tag = "pod_name" ContainerNamespace influxdb.Tag = "namespace" ContainerNodeName influxdb.Tag = "node_name" ContainerClusterName influxdb.Tag = "cluster_name" ContainerMetric influxdb.Tag = "metric" ContainerMetricType influxdb.Tag = "kind" ContainerGranularity influxdb.Tag = "granularity" ContainerModelId influxdb.Field = "model_id" ContainerPredictionId influxdb.Field = "prediction_id" ContainerValue influxdb.Field = "value" )
View Source
const ( ControllerTime influxdb.Tag = "time" ControllerName influxdb.Tag = "name" ControllerNamespace influxdb.Tag = "namespace" ControllerClusterName influxdb.Tag = "cluster_name" ControllerMetric influxdb.Tag = "metric" ControllerMetricType influxdb.Tag = "kind" ControllerGranularity influxdb.Tag = "granularity" ControllerKind influxdb.Tag = "controller_kind" ControllerModelId influxdb.Field = "model_id" ControllerPredictionId influxdb.Field = "prediction_id" ControllerValue influxdb.Field = "value" )
View Source
const ( NamespaceTime influxdb.Tag = "time" NamespaceName influxdb.Tag = "name" NamespaceClusterName influxdb.Tag = "cluster_name" NamespaceMetric influxdb.Tag = "metric" NamespaceMetricType influxdb.Tag = "kind" NamespaceGranularity influxdb.Tag = "granularity" NamespaceModelId influxdb.Field = "model_id" NamespacePredictionId influxdb.Field = "prediction_id" NamespaceValue influxdb.Field = "value" )
View Source
const ( NodeTime influxdb.Tag = "time" NodeName influxdb.Tag = "name" NodeClusterName influxdb.Tag = "cluster_name" NodeMetric influxdb.Tag = "metric" NodeMetricType influxdb.Tag = "kind" NodeGranularity influxdb.Tag = "granularity" NodeIsScheduled influxdb.Tag = "is_scheduled" NodeModelId influxdb.Field = "model_id" NodePredictionId influxdb.Field = "prediction_id" NodeValue influxdb.Field = "value" )
Variables ¶
View Source
var ( ApplicationTags = []influxdb.Tag{ ApplicationName, ApplicationNameSpace, ApplicationClusterName, ApplicationMetric, ApplicationMetricType, ApplicationGranularity, } ApplicationFields = []influxdb.Field{ ApplicationModelId, ApplicationPredictionId, ApplicationValue, } )
View Source
var ( ClusterTags = []influxdb.Tag{ ClusterName, ClusterMetric, ClusterMetricType, ClusterGranularity, } ClusterFields = []influxdb.Field{ ClusterModelId, ClusterPredictionId, ClusterValue, } )
View Source
var ( ContainerTags = []influxdb.Tag{ ContainerName, ContainerPodName, ContainerNamespace, ContainerNodeName, ContainerClusterName, ContainerMetric, ContainerMetricType, ContainerGranularity, } ContainerFields = []influxdb.Field{ ContainerModelId, ContainerPredictionId, ContainerValue, } )
View Source
var ( ControllerTags = []influxdb.Tag{ ControllerName, ControllerNamespace, ControllerClusterName, ControllerMetric, ControllerMetricType, ControllerGranularity, ControllerKind, } ControllerFields = []influxdb.Field{ ControllerModelId, ControllerPredictionId, ControllerValue, } )
View Source
var ( NamespaceTags = []influxdb.Tag{ NamespaceName, NamespaceClusterName, NamespaceMetric, NamespaceMetricType, NamespaceGranularity, } NamespaceFields = []influxdb.Field{ NamespaceModelId, NamespacePredictionId, NamespaceValue, } )
View Source
var ( NodeTags = []influxdb.Tag{ NodeName, NodeClusterName, NodeMetric, NodeMetricType, NodeGranularity, NodeIsScheduled, } NodeFields = []influxdb.Field{ NodeModelId, NodePredictionId, NodeValue, } )
Functions ¶
This section is empty.
Types ¶
type ApplicationEntity ¶
type ApplicationEntity struct { Time time.Time Name *string Namespace *string ClusterName *string Metric *string MetricType *string Granularity *string ModelId *string PredictionId *string Value *string }
Entity Container prediction entity in influxDB
func NewApplicationEntity ¶
func NewApplicationEntity(data map[string]string) ApplicationEntity
NewEntityFromMap Build entity from map
type ClusterEntity ¶
type ClusterEntity struct { Time time.Time Name *string Metric *string MetricType *string Granularity *string ModelId *string PredictionId *string Value *string }
Entity Container prediction entity in influxDB
func NewClusterEntity ¶
func NewClusterEntity(data map[string]string) ClusterEntity
NewEntityFromMap Build entity from map
type ContainerEntity ¶
type ContainerEntity struct { Time time.Time Name *string PodName *string Namespace *string NodeName *string ClusterName *string Metric *string MetricType *string Granularity *string ModelId *string PredictionId *string Value *string }
Entity Container prediction entity in influxDB
func NewContainerEntity ¶
func NewContainerEntity(data map[string]string) ContainerEntity
NewEntityFromMap Build entity from map
type ControllerEntity ¶
type ControllerEntity struct { Time time.Time Name *string Namespace *string ClusterName *string Metric *string MetricType *string Granularity *string Kind *string ModelId *string PredictionId *string Value *string }
Entity Container prediction entity in influxDB
func NewControllerEntity ¶
func NewControllerEntity(data map[string]string) ControllerEntity
NewEntityFromMap Build entity from map
type NamespaceEntity ¶
type NamespaceEntity struct { Time time.Time Name *string ClusterName *string Metric *string MetricType *string Granularity *string ModelId *string PredictionId *string Value *string }
Entity Container prediction entity in influxDB
func NewNamespaceEntity ¶
func NewNamespaceEntity(data map[string]string) NamespaceEntity
NewEntityFromMap Build entity from map
type NodeEntity ¶
type NodeEntity struct { Time time.Time Name *string ClusterName *string Metric *string MetricType *string Granularity *string IsScheduled *string ModelId *string PredictionId *string Value *string }
Entity Container prediction entity in influxDB
func NewNodeEntity ¶
func NewNodeEntity(data map[string]string) NodeEntity
NewEntityFromMap Build entity from map
Click to show internal directories.
Click to hide internal directories.