entities

package
v4.3.1008+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ColumnStartIndex = 2
)

Functions

This section is empty.

Types

type ApplicationKafkaConsumerGroup

type ApplicationKafkaConsumerGroup struct {
	DatahubEntity            `scope:"application" category:"kafka" type:"consumer_group"`
	Measurement              *Measurement `name:"kafka_consumer_group" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time                     *time.Time   `json:"time"                        required:"false" column:"tag"`
	Name                     string       `json:"name"                        required:"true"  column:"tag"`
	Namespace                string       `json:"namespace"                   required:"true"  column:"tag"`
	ClusterName              string       `json:"cluster_name"                required:"true"  column:"tag"`
	TopicName                string       `json:"topic_name"                  required:"true"  column:"tag"`
	AlamedaScalerName        string       `json:"alameda_scaler_name"         required:"true"  column:"tag"`
	AlamedaScalerNamespace   string       `json:"alameda_scaler_namespace"    required:"true"  column:"tag"`
	AlamedaScalerScalingTool ScalingTool  `json:"alameda_scaler_scaling_tool" required:"true"  column:"tag"`
	ResourceK8sName          string       `json:"resource_k8s_name"           required:"true"  column:"tag"`
	ResourceK8sNamespace     string       `json:"resource_k8s_namespace"      required:"true"  column:"tag"`
	ResourceK8sKind          Kind         `json:"resource_k8s_kind"           required:"true"  column:"tag"`
	ResourceK8sSpecReplicas  int32        `json:"resource_k8s_spec_replicas"  required:"true"  column:"field"`
	ResourceK8sReplicas      int32        `json:"resource_k8s_replicas"       required:"false" column:"field"`
	ResourceK8sMinReplicas   int32        `json:"resource_k8s_min_replicas"   required:"false" column:"field"`
	ResourceK8sMaxReplicas   int32        `json:"resource_k8s_max_replicas"   required:"false" column:"field"`
	ResourceCustomName       string       `json:"resource_custom_name"        required:"false" column:"field"`
	Policy                   Policy       `json:"policy"                      required:"false" column:"field"`
	EnableExecution          bool         `json:"enable_execution"            required:"false" column:"field"`
	ResourceCPULimit         string       `json:"resource_cpu_limit"          required:"false" column:"field"`
	ResourceCPURequest       string       `json:"resource_cpu_request"        required:"false" column:"field"`
	ResourceMemoryLimit      string       `json:"resource_memory_limit"       required:"false" column:"field"`
	ResourceMemoryRequest    string       `json:"resource_memory_request"     required:"false" column:"field"`
	VolumesSize              string       `json:"volumes_size"                required:"false" column:"field"`
	VolumesPvcSize           string       `json:"volumes_pvc_size"            required:"false" column:"field"`
}

type ApplicationKafkaTopic

type ApplicationKafkaTopic struct {
	DatahubEntity          `scope:"application" category:"kafka" type:"topic"`
	Measurement            *Measurement `name:"kafka_topic" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time                   *time.Time   `json:"time"                     required:"false" column:"tag"`
	Name                   string       `json:"name"                     required:"true"  column:"tag"`
	Namespace              string       `json:"namespace"                required:"true"  column:"tag"`
	ClusterName            string       `json:"cluster_name"             required:"true"  column:"tag"`
	AlamedaScalerName      string       `json:"alameda_scaler_name"      required:"true"  column:"tag"`
	AlamedaScalerNamespace string       `json:"alameda_scaler_namespace" required:"true"  column:"tag"`
	Dummy                  string       `json:"dummy"                    required:"true"  column:"field"`
}

type Boundary

type Boundary string
const (
	BoundaryUndefined Boundary = "undefined"
	Raw               Boundary = "raw"
	UpperBound        Boundary = "upper_bound"
	LowerBound        Boundary = "lower_bound"
)

type ConfigTenancyCluster

type ConfigTenancyCluster struct {
	DatahubEntity             `scope:"config" category:"tenancy" type:"cluster"`
	Measurement               *Measurement   `name:"tenancy_cluster" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time                      *time.Time     `json:"time"                        required:"false" column:"tag"`
	Name                      string         `json:"name"                        required:"true"  column:"tag"`
	Organization              string         `json:"organization"                required:"true"  column:"tag"`
	Tenant                    string         `json:"tenant"                      required:"true"  column:"tag"`
	DataSource                DataSource     `json:"data_source"                 required:"true"  column:"field"`
	DataSourceAddress         string         `json:"data_source_address"         required:"true"  column:"field"`
	DataSourceAccount         string         `json:"data_source_account"         required:"true"  column:"field"`
	DataSourceKeys            string         `json:"data_source_keys"            required:"false" column:"field"`
	DataSourceKeysFunctions   string         `json:"data_source_keys_functions"  required:"false" column:"field"`
	ResourcePlanning          bool           `json:"resource_planning"           required:"false" column:"field"`
	ResourcePlanningMode      DataStoredMode `json:"resource_planning_mode"      required:"false" column:"field"`
	CostAnalysis              bool           `json:"cost_analysis"               required:"false" column:"field"`
	CostAnalysisMode          DataStoredMode `json:"cost_analysis_mode"          required:"false" column:"field"`
	WatchedNamespaces         string         `json:"watched_namespaces"          required:"true"  column:"field"`
	WatchedNamespacesOperator LogicOperator  `json:"watched_namespaces_operator" required:"true"  column:"field"`
	RawSpec                   string         `json:"raw_spec"                    required:"true"  column:"field"`
}

type ConfigTenancyOrganization

type ConfigTenancyOrganization struct {
	DatahubEntity `scope:"config" category:"tenancy" type:"organization"`
	Measurement   *Measurement `name:"tenancy_organization" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time          *time.Time   `json:"time"   required:"false" column:"tag"`
	Name          string       `json:"name"   required:"true"  column:"tag"`
	Tenant        string       `json:"tenant" required:"true"  column:"tag"`
	Dummy         string       `json:"dummy"  required:"true"  column:"field"`
}

type ConfigTenancyTenant

type ConfigTenancyTenant struct {
	DatahubEntity `scope:"config" category:"tenancy" type:"tenant"`
	Measurement   *Measurement `name:"tenancy_tenant" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time          *time.Time   `json:"time"  required:"false" column:"tag"`
	Name          string       `json:"name"  required:"true"  column:"tag"`
	Dummy         string       `json:"dummy" required:"true"  column:"field"`
}

type DataSource

type DataSource string
const (
	DataDog    DataSource = "datadog"
	Prometheus DataSource = "prometheus"
)

type DataStoredMode

type DataStoredMode string
const (
	UploadResult DataStoredMode = "uploadResult"
	LocalOnly    DataStoredMode = "localOnly"
)

type DatahubEntity

type DatahubEntity struct {
}

func (*DatahubEntity) FieldNames

func (p *DatahubEntity) FieldNames(entity interface{}) []string

func (*DatahubEntity) Fields

func (p *DatahubEntity) Fields(entity interface{}) []string

func (*DatahubEntity) Populate

func (p *DatahubEntity) Populate(entity interface{}, timestamp *timestamp.Timestamp, columns, values []string)

func (*DatahubEntity) Row

func (p *DatahubEntity) Row(entity interface{}, fields []string) *Row

func (*DatahubEntity) TagNames

func (p *DatahubEntity) TagNames(entity interface{}) []string

func (*DatahubEntity) Tags

func (p *DatahubEntity) Tags(entity interface{}) []string

type Entity

type Entity interface {
	Populate(entity interface{}, timestamp *timestamp.Timestamp, columns, values []string)
	Row(entity interface{}, fields []string) *Row
}

type FedemeterCalculationInstance

type FedemeterCalculationInstance struct {
	DatahubEntity   `scope:"fedemeter" category:"calculation" type:"price"`
	Measurement     *Measurement `name:"calculation_price_instance" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time            *time.Time   `json:"time"            required:"false" column:"tag"`
	NodeName        string       `json:"nodename"        required:"true"  column:"tag"`
	ClusterName     string       `json:"clustername"     required:"true"  column:"tag"`
	Provider        string       `json:"provider"        required:"true"  column:"tag"`
	Region          string       `json:"region"          required:"true"  column:"tag"`
	Unit            string       `json:"unit"            required:"true"  column:"tag"`
	Granularity     string       `json:"granularity"     required:"true"  column:"tag"`
	CPU             float64      `json:"cpu"             required:"false" column:"field"`
	Memory          float64      `json:"memory"          required:"false" column:"field"`
	Description     string       `json:"description"     required:"false" column:"field"`
	DisplayName     string       `json:"displayname"     required:"false" column:"field"`
	InstanceNum     int32        `json:"instancenum"     required:"false" column:"field"`
	InstanceType    string       `json:"instancetype"    required:"false" column:"field"`
	NodeType        string       `json:"nodetype"        required:"false" column:"field"`
	OperatingSystem string       `json:"operatingsystem" required:"false" column:"field"`
	Period          int32        `json:"period"          required:"false" column:"field"`
	PreinstalledSW  string       `json:"preinstalledsw"  required:"false" column:"field"`
	StartTime       int64        `json:"starttime"       required:"false" column:"field"`
	Cost            float64      `json:"cost"            required:"false" column:"field"`
	TotalCost       float64      `json:"totalcost"       required:"false" column:"field"`
}

type FedemeterCalculationStorage

type FedemeterCalculationStorage struct {
	DatahubEntity `scope:"fedemeter" category:"calculation" type:"price"`
	Measurement   *Measurement `name:"calculation_price_storage" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"        required:"false" column:"tag"`
	NodeName      string       `json:"nodename"    required:"true"  column:"tag"`
	ClusterName   string       `json:"clustername" required:"true"  column:"tag"`
	Provider      string       `json:"provider"    required:"true"  column:"tag"`
	Unit          string       `json:"unit"        required:"true"  column:"tag"`
	Granularity   string       `json:"granularity" required:"true"  column:"tag"`
	Description   string       `json:"description" required:"false" column:"field"`
	DisplayName   string       `json:"displayname" required:"false" column:"field"`
	Period        int32        `json:"period"      required:"false" column:"field"`
	StorageNum    int32        `json:"storagenum"  required:"false" column:"field"`
	StorageSize   int64        `json:"storagesize" required:"false" column:"field"`
	VolumeType    string       `json:"volumetype"  required:"false" column:"field"`
	StartTime     int64        `json:"starttime"   required:"false" column:"field"`
	Cost          float64      `json:"cost"        required:"false" column:"field"`
}

type FedemeterRecommendationJERI

type FedemeterRecommendationJERI struct {
	DatahubEntity     `scope:"fedemeter" category:"recommendation" type:"jeri"`
	Measurement       *Measurement `name:"recommendation_jeri" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time              *time.Time   `json:"time"                required:"false" column:"tag"`
	ClusterName       string       `json:"clustername"         required:"true"  column:"tag"`
	Country           string       `json:"country"             required:"true"  column:"tag"`
	InstanceType      string       `json:"instancetype"        required:"true"  column:"tag"`
	Provider          string       `json:"provider"            required:"true"  column:"tag"`
	Rank              string       `json:"rank"                required:"true"  column:"tag"`
	Region            string       `json:"region"              required:"true"  column:"tag"`
	ReservedInstances string       `json:"reservedinstances"   required:"true"  column:"tag"`
	Granularity       string       `json:"granularity"         required:"true"  column:"tag"`
	MasterNum         int32        `json:"master_num"          required:"false" column:"field"`
	WorkerNum         int32        `json:"worker_num"          required:"false" column:"field"`
	MasterStorageSize float64      `json:"master_storage_size" required:"false" column:"field"`
	WorkerStorageSize float64      `json:"worker_storage_size" required:"false" column:"field"`
	AccCost           float64      `json:"acc_cost"            required:"false" column:"field"`
	DisplayName       string       `json:"display_name"        required:"false" column:"field"`
	ResourceName      string       `json:"resource_name"       required:"false" column:"field"`
	StartTime         int64        `json:"start_time"          required:"false" column:"field"`
	OndemandNum       int32        `json:"ondemand_num"        required:"false" column:"field"`
	MasterRiNum       int32        `json:"master_ri_num"       required:"false" column:"field"`
	WorkerRiNum       int32        `json:"worker_ri_num"       required:"false" column:"field"`
	MasterSpotNum     int32        `json:"master_spot_num"     required:"false" column:"field"`
	WorkerSpotNum     int32        `json:"worker_spot_num"     required:"false" column:"field"`
	MasterOndemandNum int32        `json:"master_ondemand_num" required:"false" column:"field"`
	WorkerOndemandNum int32        `json:"worker_ondemand_num" required:"false" column:"field"`
	Reason            string       `json:"reason"              required:"false" column:"field"`
	Cost              float64      `json:"cost"                required:"false" column:"field"`
	TotalCost         float64      `json:"total_cost"          required:"false" column:"field"`
}

type FedemeterResourceHistoryCostApp

type FedemeterResourceHistoryCostApp struct {
	DatahubEntity  `scope:"fedemeter" category:"resource_history" type:"cost"`
	Measurement    *Measurement `name:"resource_history_cost_app" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time           *time.Time   `json:"time"           required:"false" column:"tag"`
	AppName        string       `json:"appname"        required:"true"  column:"tag"`
	NamespaceName  string       `json:"namespacename"  required:"true"  column:"tag"`
	ClusterName    string       `json:"clustername"    required:"true"  column:"tag"`
	Provider       string       `json:"provider"       required:"true"  column:"tag"`
	Type           string       `json:"type"           required:"true"  column:"tag"`
	Granularity    string       `json:"granularity"    required:"true"  column:"tag"`
	CreateTime     int64        `json:"createtime"     required:"false" column:"field"`
	StartTime      int64        `json:"starttime"      required:"false" column:"field"`
	CostPercentage float64      `json:"costpercentage" required:"false" column:"field"`
	WorkloadCost   float64      `json:"workloadcost"   required:"false" column:"field"`
}

type FedemeterResourceHistoryCostNamespace

type FedemeterResourceHistoryCostNamespace struct {
	DatahubEntity  `scope:"fedemeter" category:"resource_history" type:"cost"`
	Measurement    *Measurement `name:"resource_history_cost_namespace" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time           *time.Time   `json:"time"           required:"false" column:"tag"`
	NamespaceName  string       `json:"namespacename"  required:"true"  column:"tag"`
	ClusterName    string       `json:"clustername"    required:"true"  column:"tag"`
	Provider       string       `json:"provider"       required:"true"  column:"tag"`
	Type           string       `json:"type"           required:"true"  column:"tag"`
	Granularity    string       `json:"granularity"    required:"true"  column:"tag"`
	CreateTime     int64        `json:"createtime"     required:"false" column:"field"`
	StartTime      int64        `json:"starttime"      required:"false" column:"field"`
	CostPercentage float64      `json:"costpercentage" required:"false" column:"field"`
	WorkloadCost   float64      `json:"workloadcost"   required:"false" column:"field"`
}

type FedemeterResourcePredictionCostApp

type FedemeterResourcePredictionCostApp struct {
	DatahubEntity  `scope:"fedemeter" category:"resource_prediction" type:"cost"`
	Measurement    *Measurement `name:"resource_prediction_cost_app" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time           *time.Time   `json:"time"           required:"false" column:"tag"`
	AppName        string       `json:"appname"        required:"true"  column:"tag"`
	NamespaceName  string       `json:"namespacename"  required:"true"  column:"tag"`
	ClusterName    string       `json:"clustername"    required:"true"  column:"tag"`
	Provider       string       `json:"provider"       required:"true"  column:"tag"`
	Type           string       `json:"type"           required:"true"  column:"tag"`
	Granularity    string       `json:"granularity"    required:"true"  column:"tag"`
	CreateTime     int64        `json:"createtime"     required:"false" column:"field"`
	StartTime      int64        `json:"starttime"      required:"false" column:"field"`
	CostPercentage float64      `json:"costpercentage" required:"false" column:"field"`
	WorkloadCost   float64      `json:"workloadcost"   required:"false" column:"field"`
}

type FedemeterResourcePredictionCostNamespace

type FedemeterResourcePredictionCostNamespace struct {
	DatahubEntity  `scope:"fedemeter" category:"resource_prediction" type:"cost"`
	Measurement    *Measurement `name:"resource_prediction_cost_namespace" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time           *time.Time   `json:"time"           required:"false" column:"tag"`
	NamespaceName  string       `json:"namespacename"  required:"true"  column:"tag"`
	ClusterName    string       `json:"clustername"    required:"true"  column:"tag"`
	Provider       string       `json:"provider"       required:"true"  column:"tag"`
	Type           string       `json:"type"           required:"true"  column:"tag"`
	Granularity    string       `json:"granularity"    required:"true"  column:"tag"`
	CreateTime     int64        `json:"createtime"     required:"false" column:"field"`
	StartTime      int64        `json:"starttime"      required:"false" column:"field"`
	CostPercentage float64      `json:"costpercentage" required:"false" column:"field"`
	WorkloadCost   float64      `json:"workloadcost"   required:"false" column:"field"`
}

type Kind

type Kind string
const (
	KindUndefined    Kind = "KIND_UNDEFINED"
	Deployment       Kind = "DEPLOYMENT"
	DeploymentConfig Kind = "DEPLOYMENTCONFIG"
	StatefulSet      Kind = "STATEFULSET"
	AlamedaScaler    Kind = "ALAMEDASCALER"
)

type LogicOperator

type LogicOperator string
const (
	Include LogicOperator = "include"
	Exclude LogicOperator = "exclude"
)

type Measurement

type Measurement struct {
}

type MeteringFederatoraiCapacity

type MeteringFederatoraiCapacity struct {
	DatahubEntity     `scope:"metering" category:"federatorai" type:"capacity"`
	Measurement       *Measurement `name:"federatorai_capacity" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time              *time.Time   `json:"time"               required:"false" column:"tag"`
	Name              string       `json:"name"               required:"true"  column:"tag"`
	NumberCluster     int32        `json:"number_cluster"     required:"true"  column:"field"`
	NumberNode        int32        `json:"number_node"        required:"true"  column:"field"`
	NumberNamespace   int32        `json:"number_namespace"   required:"true"  column:"field"`
	NumberApplication int32        `json:"number_application" required:"true"  column:"field"`
	NumberController  int32        `json:"number_controller"  required:"true"  column:"field"`
	CPUCores          int64        `json:"cpu_cores"          required:"true"  column:"field"`
	MemoryBytes       int64        `json:"memory_bytes"       required:"true"  column:"field"`
}

type MetricClusterStatusApplicationCPUUsage

type MetricClusterStatusApplicationCPUUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"application"`
	Measurement   *Measurement `name:"application_cpu" metric:"cpu_millicores_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"    required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricClusterStatusApplicationMemoryUsage

type MetricClusterStatusApplicationMemoryUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"application"`
	Measurement   *Measurement `name:"application_memory" metric:"memory_bytes_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"    required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricClusterStatusClusterCPUUsage

type MetricClusterStatusClusterCPUUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"cluster"`
	Measurement   *Measurement `name:"cluster_cpu" metric:"cpu_millicores_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"  required:"false" column:"tag"`
	Name          string       `json:"name"  required:"true"  column:"tag"`
	Uid           string       `json:"uid"   required:"true"  column:"tag"`
	Value         float64      `json:"value" required:"true"  column:"field"`
}

type MetricClusterStatusClusterMemoryUsage

type MetricClusterStatusClusterMemoryUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"cluster"`
	Measurement   *Measurement `name:"cluster_memory" metric:"memory_bytes_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"  required:"false" column:"tag"`
	Name          string       `json:"name"  required:"true"  column:"tag"`
	Uid           string       `json:"uid"   required:"true"  column:"tag"`
	Value         float64      `json:"value" required:"true"  column:"field"`
}

type MetricClusterStatusContainerCPUUsage

type MetricClusterStatusContainerCPUUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container_cpu" metric:"cpu_millicores_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	PodNamespace  string       `json:"pod_namespace" required:"true"  column:"tag"`
	RateRange     string       `json:"rate_range"    required:"true"  column:"tag"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type MetricClusterStatusContainerMemoryUsage

type MetricClusterStatusContainerMemoryUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container_memory" metric:"memory_bytes_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	PodNamespace  string       `json:"pod_namespace" required:"true"  column:"tag"`
	RateRange     string       `json:"rate_range"    required:"true"  column:"tag"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type MetricClusterStatusContainerRestartsTotal

type MetricClusterStatusContainerRestartsTotal struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container_restarts_total" metric:"restarts_total" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	PodNamespace  string       `json:"pod_namespace" required:"true"  column:"tag"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type MetricClusterStatusContainerRscLimitCPU

type MetricClusterStatusContainerRscLimitCPU struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container_resource_limits_cpu_millicores" metric:"cpu_millicores_total" boundary:"undefined" quota:"limit" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	PodNamespace  string       `json:"pod_namespace" required:"true"  column:"tag"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

Resource limits cpu millicores

type MetricClusterStatusContainerRscLimitMemory

type MetricClusterStatusContainerRscLimitMemory struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container_resource_limits_memory_bytes" metric:"memory_bytes_total" boundary:"undefined" quota:"limit" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	PodNamespace  string       `json:"pod_namespace" required:"true"  column:"tag"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

Resource limits memory bytes

type MetricClusterStatusContainerRscReqCPU

type MetricClusterStatusContainerRscReqCPU struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"container"`
	Measurement   *Measurement `` /* 126-byte string literal not displayed */
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	PodNamespace  string       `json:"pod_namespace" required:"true"  column:"tag"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

Resource requests cpu millicores

type MetricClusterStatusContainerRscReqMemory

type MetricClusterStatusContainerRscReqMemory struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container_resource_requests_memory_bytes" metric:"memory_bytes_total" boundary:"undefined" quota:"request" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	PodNamespace  string       `json:"pod_namespace" required:"true"  column:"tag"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

Resource requests memory bytes

type MetricClusterStatusControllerCPUUsage

type MetricClusterStatusControllerCPUUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"controller"`
	Measurement   *Measurement `name:"controller_cpu" metric:"cpu_millicores_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"    required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Kind          Kind         `json:"kind"         required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricClusterStatusControllerMemoryUsage

type MetricClusterStatusControllerMemoryUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"controller"`
	Measurement   *Measurement `name:"controller_memory" metric:"memory_bytes_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"    required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Kind          Kind         `json:"kind"         required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricClusterStatusNamespaceCPUUsage

type MetricClusterStatusNamespaceCPUUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"namespace"`
	Measurement   *Measurement `name:"namespace_cpu" metric:"cpu_millicores_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true" column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true" column:"tag"`
	Uid           string       `json:"uid"          required:"true" column:"tag"`
	Value         float64      `json:"value"        required:"true" column:"field"`
}

type MetricClusterStatusNamespaceMemoryUsage

type MetricClusterStatusNamespaceMemoryUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"namespace"`
	Measurement   *Measurement `name:"namespace_memory" metric:"memory_bytes_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricClusterStatusNodeCPUAllocatable

type MetricClusterStatusNodeCPUAllocatable struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node_cpu_cores_allocatable" metric:"cpu_cores_alloc" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricClusterStatusNodeCPUTotal

type MetricClusterStatusNodeCPUTotal struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node_cpu_millicores_total" metric:"cpu_millicores_total" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricClusterStatusNodeCPUUsage

type MetricClusterStatusNodeCPUUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node_cpu" metric:"cpu_millicores_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricClusterStatusNodeDiskIOUtil

type MetricClusterStatusNodeDiskIOUtil struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node_disk_io_util" metric:"disk_io_util" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

Disk I/O utilization

type MetricClusterStatusNodeFSPCT

type MetricClusterStatusNodeFSPCT struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node_fs_bytes_usage_pct" metric:"fs_bytes_usage_pct" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Device        string       `json:"device"       required:"false" column:"field"`
	FSType        string       `json:"fs_type"      required:"false" column:"field"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

Filesystem bytes usage percentage

type MetricClusterStatusNodeMemoryTotal

type MetricClusterStatusNodeMemoryTotal struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node_memory_bytes_total" metric:"memory_bytes_total" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricClusterStatusNodeMemoryUsage

type MetricClusterStatusNodeMemoryUsage struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node_memory" metric:"memory_bytes_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricClusterStatusNodePodPhaseCount

type MetricClusterStatusNodePodPhaseCount struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node_pod_phase_count" metric:"number" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Pending       int64        `json:"pending"      required:"true"  column:"field"`
	Running       int64        `json:"running"      required:"true"  column:"field"`
	Succeeded     int64        `json:"succeeded"    required:"true"  column:"field"`
	Failed        int64        `json:"failed"       required:"true"  column:"field"`
	Unknown       int64        `json:"unknown"      required:"true"  column:"field"`
}

type MetricClusterStatusNodeUnschedulable

type MetricClusterStatusNodeUnschedulable struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node_unschedulable" metric:"unschedulable" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricClusterStatusServiceHealth

type MetricClusterStatusServiceHealth struct {
	DatahubEntity `scope:"metric" category:"cluster_status" type:"service"`
	Measurement   *Measurement `name:"service_health" metric:"health" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	PodNamespace  string       `json:"pod_namespace" required:"true"  column:"tag"`
	Job           string       `json:"job"           required:"true"  column:"tag"`
	Value         int32        `json:"value"         required:"true"  column:"field"` // 1: healthy, 0: failed
}

type MetricKafkaConsumerGroupCurrentOffset

type MetricKafkaConsumerGroupCurrentOffset struct {
	DatahubEntity `scope:"metric" category:"kafka" type:"consumer_group"`
	Measurement   *Measurement `name:"kafka_consumer_group_current_offset" metric:"current_offset" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"    required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	TopicName     string       `json:"topic_name"   required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricKafkaConsumerGroupLag

type MetricKafkaConsumerGroupLag struct {
	DatahubEntity `scope:"metric" category:"kafka" type:"consumer_group"`
	Measurement   *Measurement `name:"kafka_consumer_group_lag" metric:"lag" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"    required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	TopicName     string       `json:"topic_name"   required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricKafkaTopicCurrentOffset

type MetricKafkaTopicCurrentOffset struct {
	DatahubEntity `scope:"metric" category:"kafka" type:"topic"`
	Measurement   *Measurement `name:"kafka_topic_partition_current_offset" metric:"current_offset" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"    required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Value         float64      `json:"value"        required:"true"  column:"field"`
}

type MetricTopContainerCPUUsagePCT

type MetricTopContainerCPUUsagePCT struct {
	DatahubEntity `scope:"metric" category:"top" type:"container"`
	Measurement   *Measurement `` /* 128-byte string literal not displayed */
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	PodNamespace  string       `json:"pod_namespace" required:"true"  column:"tag"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type MetricTopContainerMemoryUsage

type MetricTopContainerMemoryUsage struct {
	DatahubEntity `scope:"metric" category:"top" type:"container"`
	Measurement   *Measurement `name:"top_container_memory_bytes_usage" metric:"memory_bytes_usage" boundary:"undefined" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	PodNamespace  string       `json:"pod_namespace" required:"true"  column:"tag"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type MetricType

type MetricType string
const (
	CPUMilliCoresUsage MetricType = "cpu_usage_seconds_percentage"
	MemoryBytesUsage   MetricType = "memory_usage_bytes"
)

type PlanningClusterStatusApplication

type PlanningClusterStatusApplication struct {
	DatahubEntity                `scope:"planning" category:"cluster_status" type:"application"`
	Measurement                  *Measurement `name:"application" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                         *time.Time   `json:"time"                            required:"false" column:"tag"`
	Name                         string       `json:"name"                            required:"true"  column:"tag"`
	Namespace                    string       `json:"namespace"                       required:"true"  column:"tag"`
	ClusterName                  string       `json:"cluster_name"                    required:"true"  column:"tag"`
	PlanningId                   string       `json:"planning_id"                     required:"true"  column:"tag"`
	PlanningType                 PlanningType `json:"planning_type"                   required:"true"  column:"tag"`
	Granularity                  string       `json:"granularity"                     required:"true"  column:"tag"`
	PredictionId                 string       `json:"prediction_id"                   required:"false" column:"field"`
	ResourceRequestCPU           float64      `json:"resource_request_cpu"            required:"false" column:"field"`
	ResourceRequestMemory        float64      `json:"resource_request_memory"         required:"false" column:"field"`
	ResourceLimitCPU             float64      `json:"resource_limit_cpu"              required:"false" column:"field"`
	ResourceLimitMemory          float64      `json:"resource_limit_memory"           required:"false" column:"field"`
	InitialResourceRequestCPU    float64      `json:"initial_resource_request_cpu"    required:"false" column:"field"`
	InitialResourceRequestMemory float64      `json:"initial_resource_request_memory" required:"false" column:"field"`
	InitialResourceLimitCPU      float64      `json:"initial_resource_limit_cpu"      required:"false" column:"field"`
	InitialResourceLimitMemory   float64      `json:"initial_resource_limit_memory"   required:"false" column:"field"`
	StartTime                    int64        `json:"start_time"                      required:"false" column:"field"`
	EndTime                      int64        `json:"end_time"                        required:"false" column:"field"`
	TotalCost                    float64      `json:"total_cost"                      required:"false" column:"field"`
	ApplyPlanningNow             bool         `json:"apply_planning_now"              required:"false" column:"field"`
}

type PlanningClusterStatusCluster

type PlanningClusterStatusCluster struct {
	DatahubEntity                `scope:"planning" category:"cluster_status" type:"cluster"`
	Measurement                  *Measurement `name:"cluster" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                         *time.Time   `json:"time" required:"false" column:"tag" type:"time"`
	Name                         string       `json:"name"                            required:"true"  column:"tag"`
	PlanningId                   string       `json:"planning_id"                     required:"true"  column:"tag"`
	PlanningType                 PlanningType `json:"planning_type"                   required:"true"  column:"tag"`
	Granularity                  string       `json:"granularity"                     required:"true"  column:"tag"`
	PredictionId                 string       `json:"prediction_id"                   required:"false" column:"field"`
	ResourceRequestCPU           float64      `json:"resource_request_cpu"            required:"false" column:"field"`
	ResourceRequestMemory        float64      `json:"resource_request_memory"         required:"false" column:"field"`
	ResourceLimitCPU             float64      `json:"resource_limit_cpu"              required:"false" column:"field"`
	ResourceLimitMemory          float64      `json:"resource_limit_memory"           required:"false" column:"field"`
	InitialResourceRequestCPU    float64      `json:"initial_resource_request_cpu"    required:"false" column:"field"`
	InitialResourceRequestMemory float64      `json:"initial_resource_request_memory" required:"false" column:"field"`
	InitialResourceLimitCPU      float64      `json:"initial_resource_limit_cpu"      required:"false" column:"field"`
	InitialResourceLimitMemory   float64      `json:"initial_resource_limit_memory"   required:"false" column:"field"`
	StartTime                    int64        `json:"start_time"                      required:"false" column:"field"`
	EndTime                      int64        `json:"end_time"                        required:"false" column:"field"`
	TotalCost                    float64      `json:"total_cost"                      required:"false" column:"field"`
	ApplyPlanningNow             bool         `json:"apply_planning_now"              required:"false" column:"field"`
}

type PlanningClusterStatusContainer

type PlanningClusterStatusContainer struct {
	DatahubEntity                `scope:"planning" category:"cluster_status" type:"container"`
	Measurement                  *Measurement `name:"container" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                         *time.Time   `json:"time" required:"false" column:"tag" type:"time"`
	Name                         string       `json:"name"                            required:"true"  column:"tag"`
	PodName                      string       `json:"pod_name"                        required:"true"  column:"tag"`
	Namespace                    string       `json:"namespace"                       required:"true"  column:"tag"`
	ClusterName                  string       `json:"cluster_name"                    required:"true"  column:"tag"`
	PlanningId                   string       `json:"planning_id"                     required:"true"  column:"tag"`
	PlanningType                 PlanningType `json:"planning_type"                   required:"true"  column:"tag"`
	Granularity                  string       `json:"granularity"                     required:"true"  column:"tag"`
	PredictionId                 string       `json:"prediction_id"                   required:"false" column:"field"`
	TopControllerName            string       `json:"top_controller_name"             required:"false" column:"field"`
	TopControllerKind            Kind         `json:"top_controller_kind"             required:"false" column:"field"`
	Policy                       string       `json:"policy"                          required:"false" column:"field"`
	PolicyTime                   int64        `json:"policy_time"                     required:"false" column:"field"`
	ResourceRequestCPU           float64      `json:"resource_request_cpu"            required:"false" column:"field"`
	ResourceRequestMemory        float64      `json:"resource_request_memory"         required:"false" column:"field"`
	ResourceLimitCPU             float64      `json:"resource_limit_cpu"              required:"false" column:"field"`
	ResourceLimitMemory          float64      `json:"resource_limit_memory"           required:"false" column:"field"`
	InitialResourceRequestCPU    float64      `json:"initial_resource_request_cpu"    required:"false" column:"field"`
	InitialResourceRequestMemory float64      `json:"initial_resource_request_memory" required:"false" column:"field"`
	InitialResourceLimitCPU      float64      `json:"initial_resource_limit_cpu"      required:"false" column:"field"`
	InitialResourceLimitMemory   float64      `json:"initial_resource_limit_memory"   required:"false" column:"field"`
	StartTime                    int64        `json:"start_time"                      required:"false" column:"field"`
	EndTime                      int64        `json:"end_time"                        required:"false" column:"field"`
	PodTotalCost                 float64      `json:"pod_total_cost"                  required:"false" column:"field"`
}

type PlanningClusterStatusController

type PlanningClusterStatusController struct {
	DatahubEntity                `scope:"planning" category:"cluster_status" type:"controller"`
	Measurement                  *Measurement `name:"controller" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                         *time.Time   `json:"time" required:"false" column:"tag" type:"time"`
	Name                         string       `json:"name"                            required:"true"  column:"tag"`
	Namespace                    string       `json:"namespace"                       required:"true"  column:"tag"`
	ClusterName                  string       `json:"cluster_name"                    required:"true"  column:"tag"`
	PlanningId                   string       `json:"planning_id"                     required:"true"  column:"tag"`
	PlanningType                 PlanningType `json:"planning_type"                   required:"true"  column:"tag"`
	Kind                         Kind         `json:"kind"                            required:"true"  column:"tag"`
	Granularity                  string       `json:"granularity"                     required:"true"  column:"tag"`
	PredictionId                 string       `json:"prediction_id"                   required:"false" column:"field"`
	ResourceRequestCPU           float64      `json:"resource_request_cpu"            required:"false" column:"field"`
	ResourceRequestMemory        float64      `json:"resource_request_memory"         required:"false" column:"field"`
	ResourceLimitCPU             float64      `json:"resource_limit_cpu"              required:"false" column:"field"`
	ResourceLimitMemory          float64      `json:"resource_limit_memory"           required:"false" column:"field"`
	InitialResourceRequestCPU    float64      `json:"initial_resource_request_cpu"    required:"false" column:"field"`
	InitialResourceRequestMemory float64      `json:"initial_resource_request_memory" required:"false" column:"field"`
	InitialResourceLimitCPU      float64      `json:"initial_resource_limit_cpu"      required:"false" column:"field"`
	InitialResourceLimitMemory   float64      `json:"initial_resource_limit_memory"   required:"false" column:"field"`
	StartTime                    int64        `json:"start_time"                      required:"false" column:"field"`
	EndTime                      int64        `json:"end_time"                        required:"false" column:"field"`
	TotalCost                    float64      `json:"total_cost"                      required:"false" column:"field"`
	ApplyPlanningNow             bool         `json:"apply_planning_now"              required:"false" column:"field"`
}

type PlanningClusterStatusNamespace

type PlanningClusterStatusNamespace struct {
	DatahubEntity                `scope:"planning" category:"cluster_status" type:"namespace"`
	Measurement                  *Measurement `name:"namespace" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                         *time.Time   `json:"time" required:"false" column:"tag" type:"time"`
	Name                         string       `json:"name"                            required:"true"  column:"tag"`
	ClusterName                  string       `json:"cluster_name"                    required:"true"  column:"tag"`
	PlanningId                   string       `json:"planning_id"                     required:"true"  column:"tag"`
	PlanningType                 PlanningType `json:"planning_type"                   required:"true"  column:"tag"`
	Granularity                  string       `json:"granularity"                     required:"true"  column:"tag"`
	PredictionId                 string       `json:"prediction_id"                   required:"false" column:"field"`
	ResourceRequestCPU           float64      `json:"resource_request_cpu"            required:"false" column:"field"`
	ResourceRequestMemory        float64      `json:"resource_request_memory"         required:"false" column:"field"`
	ResourceLimitCPU             float64      `json:"resource_limit_cpu"              required:"false" column:"field"`
	ResourceLimitMemory          float64      `json:"resource_limit_memory"           required:"false" column:"field"`
	InitialResourceRequestCPU    float64      `json:"initial_resource_request_cpu"    required:"false" column:"field"`
	InitialResourceRequestMemory float64      `json:"initial_resource_request_memory" required:"false" column:"field"`
	InitialResourceLimitCPU      float64      `json:"initial_resource_limit_cpu"      required:"false" column:"field"`
	InitialResourceLimitMemory   float64      `json:"initial_resource_limit_memory"   required:"false" column:"field"`
	StartTime                    int64        `json:"start_time"                      required:"false" column:"field"`
	EndTime                      int64        `json:"end_time"                        required:"false" column:"field"`
	TotalCost                    float64      `json:"total_cost"                      required:"false" column:"field"`
	ApplyPlanningNow             bool         `json:"apply_planning_now"              required:"false" column:"field"`
}

type PlanningClusterStatusNode

type PlanningClusterStatusNode struct {
	DatahubEntity                `scope:"planning" category:"cluster_status" type:"node"`
	Measurement                  *Measurement `name:"node" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                         *time.Time   `json:"time" required:"false" column:"tag" type:"time"`
	Name                         string       `json:"name"                            required:"true"  column:"tag"`
	ClusterName                  string       `json:"cluster_name"                    required:"true"  column:"tag"`
	PlanningId                   string       `json:"planning_id"                     required:"true"  column:"tag"`
	PlanningType                 PlanningType `json:"planning_type"                   required:"true"  column:"tag"`
	Granularity                  string       `json:"granularity"                     required:"true"  column:"tag"`
	PredictionId                 string       `json:"prediction_id"                   required:"false" column:"field"`
	ResourceRequestCPU           float64      `json:"resource_request_cpu"            required:"false" column:"field"`
	ResourceRequestMemory        float64      `json:"resource_request_memory"         required:"false" column:"field"`
	ResourceLimitCPU             float64      `json:"resource_limit_cpu"              required:"false" column:"field"`
	ResourceLimitMemory          float64      `json:"resource_limit_memory"           required:"false" column:"field"`
	InitialResourceRequestCPU    float64      `json:"initial_resource_request_cpu"    required:"false" column:"field"`
	InitialResourceRequestMemory float64      `json:"initial_resource_request_memory" required:"false" column:"field"`
	InitialResourceLimitCPU      float64      `json:"initial_resource_limit_cpu"      required:"false" column:"field"`
	InitialResourceLimitMemory   float64      `json:"initial_resource_limit_memory"   required:"false" column:"field"`
	StartTime                    int64        `json:"start_time"                      required:"false" column:"field"`
	EndTime                      int64        `json:"end_time"                        required:"false" column:"field"`
	TotalCost                    float64      `json:"total_cost"                      required:"false" column:"field"`
	ApplyPlanningNow             bool         `json:"apply_planning_now"              required:"false" column:"field"`
}

type PlanningType

type PlanningType string
const (
	PlanningUndefined PlanningType = "PT_UNDEFINED"
	PTRecommendation  PlanningType = "PT_RECOMMENDATION"
	PTPlanning        PlanningType = "PT_PLANNING"
)

type PodPhase

type PodPhase string
const (
	PodPhaseUndefined PodPhase = "POD_PHASE_UNDEFINED"
	Pending           PodPhase = "PENDING"
	Running           PodPhase = "RUNNING"
	Succeeded         PodPhase = "SUCCEEDED"
	Failed            PodPhase = "FAILED"
	Unknown           PodPhase = "UNKNOWN"
	Completed         PodPhase = "COMPLETED"
	CrashLoopBackOff  PodPhase = "CRASHLOOPBACKOFF"
)

type Policy

type Policy string
const (
	PolicyUndefined Policy = "RECOMMENDATION_POLICY_UNDEFINED"
	Stable          Policy = "STABLE"
	Compact         Policy = "COMPACT"
)

type PredictionClusterStatusApplicationCPU

type PredictionClusterStatusApplicationCPU struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"application"`
	Measurement   *Measurement `name:"application" metric:"cpu_millicores_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusApplicationCPULowerBound

type PredictionClusterStatusApplicationCPULowerBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"application"`
	Measurement   *Measurement `name:"application" metric:"cpu_millicores_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusApplicationCPUUpperBound

type PredictionClusterStatusApplicationCPUUpperBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"application"`
	Measurement   *Measurement `name:"application" metric:"cpu_millicores_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusApplicationMemory

type PredictionClusterStatusApplicationMemory struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"application"`
	Measurement   *Measurement `name:"application" metric:"memory_bytes_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusApplicationMemoryLowerBound

type PredictionClusterStatusApplicationMemoryLowerBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"application"`
	Measurement   *Measurement `name:"application" metric:"memory_bytes_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusApplicationMemoryUpperBound

type PredictionClusterStatusApplicationMemoryUpperBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"application"`
	Measurement   *Measurement `name:"application" metric:"memory_bytes_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusClusterCPU

type PredictionClusterStatusClusterCPU struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"cluster"`
	Measurement   *Measurement `name:"cluster" metric:"cpu_millicores_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusClusterCPULowerBound

type PredictionClusterStatusClusterCPULowerBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"cluster"`
	Measurement   *Measurement `name:"cluster" metric:"cpu_millicores_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusClusterCPUUpperBound

type PredictionClusterStatusClusterCPUUpperBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"cluster"`
	Measurement   *Measurement `name:"cluster" metric:"cpu_millicores_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusClusterMemory

type PredictionClusterStatusClusterMemory struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"cluster"`
	Measurement   *Measurement `name:"cluster" metric:"memory_bytes_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusClusterMemoryLowerBound

type PredictionClusterStatusClusterMemoryLowerBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"cluster"`
	Measurement   *Measurement `name:"cluster" metric:"memory_bytes_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusClusterMemoryUpperBound

type PredictionClusterStatusClusterMemoryUpperBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"cluster"`
	Measurement   *Measurement `name:"cluster" metric:"memory_bytes_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusContainerCPU

type PredictionClusterStatusContainerCPU struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container" metric:"cpu_millicores_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusContainerCPULowerBound

type PredictionClusterStatusContainerCPULowerBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container" metric:"cpu_millicores_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusContainerCPUUpperBound

type PredictionClusterStatusContainerCPUUpperBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container" metric:"cpu_millicores_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusContainerMemory

type PredictionClusterStatusContainerMemory struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container" metric:"memory_bytes_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusContainerMemoryLowerBound

type PredictionClusterStatusContainerMemoryLowerBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container" metric:"memory_bytes_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusContainerMemoryUpperBound

type PredictionClusterStatusContainerMemoryUpperBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"container"`
	Measurement   *Measurement `name:"container" metric:"memory_bytes_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	PodName       string       `json:"pod_name"      required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	NodeName      string       `json:"node_name"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusControllerCPU

type PredictionClusterStatusControllerCPU struct {
	DatahubEntity  `scope:"prediction" category:"cluster_status" type:"controller"`
	Measurement    *Measurement `name:"controller" metric:"cpu_millicores_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time           *time.Time   `json:"time"            required:"false" column:"tag"`
	Name           string       `json:"name"            required:"true"  column:"tag"`
	Namespace      string       `json:"namespace"       required:"true"  column:"tag"`
	ClusterName    string       `json:"cluster_name"    required:"true"  column:"tag"`
	MetricType     MetricType   `json:"metric"          required:"false" column:"tag"`
	Boundary       Boundary     `json:"kind"            required:"false" column:"tag"`
	Granularity    string       `json:"granularity"     required:"true"  column:"tag"`
	ControllerKind string       `json:"controller_kind" required:"true"  column:"tag"`
	ModelId        string       `json:"model_id"        required:"true"  column:"field"`
	PredictionId   string       `json:"prediction_id"   required:"true"  column:"field"`
	Value          float64      `json:"value"           required:"true"  column:"field"`
}

type PredictionClusterStatusControllerCPULowerBound

type PredictionClusterStatusControllerCPULowerBound struct {
	DatahubEntity  `scope:"prediction" category:"cluster_status" type:"controller"`
	Measurement    *Measurement `name:"controller" metric:"cpu_millicores_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time           *time.Time   `json:"time"            required:"false" column:"tag"`
	Name           string       `json:"name"            required:"true"  column:"tag"`
	Namespace      string       `json:"namespace"       required:"true"  column:"tag"`
	ClusterName    string       `json:"cluster_name"    required:"true"  column:"tag"`
	MetricType     MetricType   `json:"metric"          required:"false" column:"tag"`
	Boundary       Boundary     `json:"kind"            required:"false" column:"tag"`
	Granularity    string       `json:"granularity"     required:"true"  column:"tag"`
	ControllerKind string       `json:"controller_kind" required:"true"  column:"tag"`
	ModelId        string       `json:"model_id"        required:"true"  column:"field"`
	PredictionId   string       `json:"prediction_id"   required:"true"  column:"field"`
	Value          float64      `json:"value"           required:"true"  column:"field"`
}

type PredictionClusterStatusControllerCPUUpperBound

type PredictionClusterStatusControllerCPUUpperBound struct {
	DatahubEntity  `scope:"prediction" category:"cluster_status" type:"controller"`
	Measurement    *Measurement `name:"controller" metric:"cpu_millicores_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time           *time.Time   `json:"time"            required:"false" column:"tag"`
	Name           string       `json:"name"            required:"true"  column:"tag"`
	Namespace      string       `json:"namespace"       required:"true"  column:"tag"`
	ClusterName    string       `json:"cluster_name"    required:"true"  column:"tag"`
	MetricType     MetricType   `json:"metric"          required:"false" column:"tag"`
	Boundary       Boundary     `json:"kind"            required:"false" column:"tag"`
	Granularity    string       `json:"granularity"     required:"true"  column:"tag"`
	ControllerKind string       `json:"controller_kind" required:"true"  column:"tag"`
	ModelId        string       `json:"model_id"        required:"true"  column:"field"`
	PredictionId   string       `json:"prediction_id"   required:"true"  column:"field"`
	Value          float64      `json:"value"           required:"true"  column:"field"`
}

type PredictionClusterStatusControllerMemory

type PredictionClusterStatusControllerMemory struct {
	DatahubEntity  `scope:"prediction" category:"cluster_status" type:"controller"`
	Measurement    *Measurement `name:"controller" metric:"memory_bytes_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time           *time.Time   `json:"time"            required:"false" column:"tag"`
	Name           string       `json:"name"            required:"true"  column:"tag"`
	Namespace      string       `json:"namespace"       required:"true"  column:"tag"`
	ClusterName    string       `json:"cluster_name"    required:"true"  column:"tag"`
	MetricType     MetricType   `json:"metric"          required:"false" column:"tag"`
	Boundary       Boundary     `json:"kind"            required:"false" column:"tag"`
	Granularity    string       `json:"granularity"     required:"true"  column:"tag"`
	ControllerKind string       `json:"controller_kind" required:"true"  column:"tag"`
	ModelId        string       `json:"model_id"        required:"true"  column:"field"`
	PredictionId   string       `json:"prediction_id"   required:"true"  column:"field"`
	Value          float64      `json:"value"           required:"true"  column:"field"`
}

type PredictionClusterStatusControllerMemoryLowerBound

type PredictionClusterStatusControllerMemoryLowerBound struct {
	DatahubEntity  `scope:"prediction" category:"cluster_status" type:"controller"`
	Measurement    *Measurement `name:"controller" metric:"memory_bytes_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time           *time.Time   `json:"time"            required:"false" column:"tag"`
	Name           string       `json:"name"            required:"true"  column:"tag"`
	Namespace      string       `json:"namespace"       required:"true"  column:"tag"`
	ClusterName    string       `json:"cluster_name"    required:"true"  column:"tag"`
	MetricType     MetricType   `json:"metric"          required:"false" column:"tag"`
	Boundary       Boundary     `json:"kind"            required:"false" column:"tag"`
	Granularity    string       `json:"granularity"     required:"true"  column:"tag"`
	ControllerKind string       `json:"controller_kind" required:"true"  column:"tag"`
	ModelId        string       `json:"model_id"        required:"true"  column:"field"`
	PredictionId   string       `json:"prediction_id"   required:"true"  column:"field"`
	Value          float64      `json:"value"           required:"true"  column:"field"`
}

type PredictionClusterStatusControllerMemoryUpperBound

type PredictionClusterStatusControllerMemoryUpperBound struct {
	DatahubEntity  `scope:"prediction" category:"cluster_status" type:"controller"`
	Measurement    *Measurement `name:"controller" metric:"memory_bytes_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time           *time.Time   `json:"time"            required:"false" column:"tag"`
	Name           string       `json:"name"            required:"true"  column:"tag"`
	Namespace      string       `json:"namespace"       required:"true"  column:"tag"`
	ClusterName    string       `json:"cluster_name"    required:"true"  column:"tag"`
	MetricType     MetricType   `json:"metric"          required:"false" column:"tag"`
	Boundary       Boundary     `json:"kind"            required:"false" column:"tag"`
	Granularity    string       `json:"granularity"     required:"true"  column:"tag"`
	ControllerKind string       `json:"controller_kind" required:"true"  column:"tag"`
	ModelId        string       `json:"model_id"        required:"true"  column:"field"`
	PredictionId   string       `json:"prediction_id"   required:"true"  column:"field"`
	Value          float64      `json:"value"           required:"true"  column:"field"`
}

type PredictionClusterStatusNamespaceCPU

type PredictionClusterStatusNamespaceCPU struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"namespace"`
	Measurement   *Measurement `name:"namespace" metric:"cpu_millicores_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusNamespaceCPULowerBound

type PredictionClusterStatusNamespaceCPULowerBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"namespace"`
	Measurement   *Measurement `name:"namespace" metric:"cpu_millicores_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusNamespaceCPUUpperBound

type PredictionClusterStatusNamespaceCPUUpperBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"namespace"`
	Measurement   *Measurement `name:"namespace" metric:"cpu_millicores_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusNamespaceMemory

type PredictionClusterStatusNamespaceMemory struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"namespace"`
	Measurement   *Measurement `name:"namespace" metric:"memory_bytes_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusNamespaceMemoryLowerBound

type PredictionClusterStatusNamespaceMemoryLowerBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"namespace"`
	Measurement   *Measurement `name:"namespace" metric:"memory_bytes_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusNamespaceMemoryUpperBound

type PredictionClusterStatusNamespaceMemoryUpperBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"namespace"`
	Measurement   *Measurement `name:"namespace" metric:"memory_bytes_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusNodeCPU

type PredictionClusterStatusNodeCPU struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node" metric:"cpu_millicores_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	IsScheduled   string       `json:"is_scheduled"  required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusNodeCPULowerBound

type PredictionClusterStatusNodeCPULowerBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node" metric:"cpu_millicores_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	IsScheduled   string       `json:"is_scheduled"  required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusNodeCPUUpperBound

type PredictionClusterStatusNodeCPUUpperBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node" metric:"cpu_millicores_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	IsScheduled   string       `json:"is_scheduled"  required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusNodeMemory

type PredictionClusterStatusNodeMemory struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node" metric:"memory_bytes_usage" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	IsScheduled   string       `json:"is_scheduled"  required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusNodeMemoryLowerBound

type PredictionClusterStatusNodeMemoryLowerBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node" metric:"memory_bytes_usage" boundary:"lower_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	IsScheduled   string       `json:"is_scheduled"  required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionClusterStatusNodeMemoryUpperBound

type PredictionClusterStatusNodeMemoryUpperBound struct {
	DatahubEntity `scope:"prediction" category:"cluster_status" type:"node"`
	Measurement   *Measurement `name:"node" metric:"memory_bytes_usage" boundary:"upper_bound" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	MetricType    MetricType   `json:"metric"        required:"false" column:"tag"`
	Boundary      Boundary     `json:"kind"          required:"false" column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	IsScheduled   string       `json:"is_scheduled"  required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionKafkaConsumerGroupCurrentOffset

type PredictionKafkaConsumerGroupCurrentOffset struct {
	DatahubEntity `scope:"prediction" category:"kafka" type:"consumer_group"`
	Measurement   *Measurement `name:"kafka_consumer_group_current_offset" metric:"current_offset" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	TopicName     string       `json:"topic_name"    required:"true"  column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionKafkaConsumerGroupCurrentOffsetLowerBound

type PredictionKafkaConsumerGroupCurrentOffsetLowerBound struct {
	DatahubEntity `scope:"prediction" category:"kafka" type:"consumer_group"`
	Measurement   *Measurement `` /* 129-byte string literal not displayed */
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	TopicName     string       `json:"topic_name"    required:"true"  column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionKafkaConsumerGroupCurrentOffsetUpperBound

type PredictionKafkaConsumerGroupCurrentOffsetUpperBound struct {
	DatahubEntity `scope:"prediction" category:"kafka" type:"consumer_group"`
	Measurement   *Measurement `` /* 129-byte string literal not displayed */
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	TopicName     string       `json:"topic_name"    required:"true"  column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionKafkaTopicCurrentOffset

type PredictionKafkaTopicCurrentOffset struct {
	DatahubEntity `scope:"prediction" category:"kafka" type:"topic"`
	Measurement   *Measurement `name:"kafka_topic_partition_current_offset" metric:"current_offset" boundary:"raw" quota:"undefined" ts:"true"`
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionKafkaTopicCurrentOffsetLowerBound

type PredictionKafkaTopicCurrentOffsetLowerBound struct {
	DatahubEntity `scope:"prediction" category:"kafka" type:"topic"`
	Measurement   *Measurement `` /* 130-byte string literal not displayed */
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type PredictionKafkaTopicCurrentOffsetUpperBound

type PredictionKafkaTopicCurrentOffsetUpperBound struct {
	DatahubEntity `scope:"prediction" category:"kafka" type:"topic"`
	Measurement   *Measurement `` /* 130-byte string literal not displayed */
	Time          *time.Time   `json:"time"          required:"false" column:"tag"`
	Name          string       `json:"name"          required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"     required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name"  required:"true"  column:"tag"`
	Granularity   string       `json:"granularity"   required:"true"  column:"tag"`
	ModelId       string       `json:"model_id"      required:"true"  column:"field"`
	PredictionId  string       `json:"prediction_id" required:"true"  column:"field"`
	Value         float64      `json:"value"         required:"true"  column:"field"`
}

type RecommendationClusterStatusApplication

type RecommendationClusterStatusApplication struct {
	DatahubEntity         `scope:"recommendation" category:"cluster_status" type:"application"`
	Measurement           *Measurement       `name:"application" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                  *time.Time         `json:"time"                 required:"false" column:"tag"`
	Name                  string             `json:"name"                 required:"true"  column:"tag"`
	Namespace             string             `json:"namespace"            required:"true"  column:"tag"`
	ClusterName           string             `json:"cluster_name"         required:"true"  column:"tag"`
	Type                  RecommendationType `json:"type"                 required:"true"  column:"tag"`
	Kind                  Kind               `json:"kind"                 required:"true"  column:"field"`
	CurrentReplicas       int32              `json:"current_replicas"     required:"true"  column:"field"`
	DesiredReplicas       int32              `json:"desired_replicas"     required:"true"  column:"field"`
	CreateTime            int64              `json:"create_time"          required:"true"  column:"field"`
	CurrentCPURequests    float64            `json:"current_cpu_requests" required:"false" column:"field"`
	CurrentMemoryRequests float64            `json:"current_mem_requests" required:"false" column:"field"`
	CurrentCPULimits      float64            `json:"current_cpu_limits"   required:"false" column:"field"`
	CurrentMemoryLimits   float64            `json:"current_mem_limits"   required:"false" column:"field"`
	DesiredCPULimits      float64            `json:"desired_cpu_limits"   required:"false" column:"field"`
	DesiredMemoryLimits   float64            `json:"desired_mem_limits"   required:"false" column:"field"`
	TotalCost             float64            `json:"total_cost"           required:"false" column:"field"`
}

type RecommendationClusterStatusCluster

type RecommendationClusterStatusCluster struct {
	DatahubEntity         `scope:"recommendation" category:"cluster_status" type:"cluster"`
	Measurement           *Measurement       `name:"cluster" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                  *time.Time         `json:"time"                 required:"false" column:"tag"`
	Name                  string             `json:"name"                 required:"true"  column:"tag"`
	Type                  RecommendationType `json:"type"                 required:"true"  column:"tag"`
	Kind                  Kind               `json:"kind"                 required:"true"  column:"field"`
	CurrentReplicas       int32              `json:"current_replicas"     required:"true"  column:"field"`
	DesiredReplicas       int32              `json:"desired_replicas"     required:"true"  column:"field"`
	CreateTime            int64              `json:"create_time"          required:"true"  column:"field"`
	CurrentCPURequests    float64            `json:"current_cpu_requests" required:"false" column:"field"`
	CurrentMemoryRequests float64            `json:"current_mem_requests" required:"false" column:"field"`
	CurrentCPULimits      float64            `json:"current_cpu_limits"   required:"false" column:"field"`
	CurrentMemoryLimits   float64            `json:"current_mem_limits"   required:"false" column:"field"`
	DesiredCPULimits      float64            `json:"desired_cpu_limits"   required:"false" column:"field"`
	DesiredMemoryLimits   float64            `json:"desired_mem_limits"   required:"false" column:"field"`
	TotalCost             float64            `json:"total_cost"           required:"false" column:"field"`
}

type RecommendationClusterStatusContainerLimit

type RecommendationClusterStatusContainerLimit struct {
	DatahubEntity              `scope:"recommendation" category:"cluster_status" type:"container"`
	Measurement                *Measurement `name:"container" metric:"undefined" boundary:"undefined" quota:"limit" ts:"true"`
	Time                       *time.Time   `json:"time"                          required:"false" column:"tag"`
	Name                       string       `json:"name"                          required:"true"  column:"tag"`
	Namespace                  string       `json:"namespace"                     required:"true"  column:"tag"`
	ClusterName                string       `json:"cluster_name"                  required:"true"  column:"tag"`
	PodName                    string       `json:"pod_name"                      required:"true"  column:"tag"`
	Granularity                string       `json:"granularity"                   required:"true"  column:"tag"`
	TopControllerName          string       `json:"top_controller_name"           required:"true"  column:"field"`
	TopControllerKind          Kind         `json:"top_controller_kind"           required:"true"  column:"field"`
	Policy                     string       `json:"policy"                        required:"true"  column:"field"`
	PolicyTime                 int64        `json:"policy_time"                   required:"true"  column:"field"`
	PodTotalCost               float64      `json:"pod_total_cost"                required:"true"  column:"field"`
	StartTime                  int64        `json:"start_time"                    required:"true"  column:"field"`
	EndTime                    int64        `json:"end_time"                      required:"true"  column:"field"`
	ResourceLimitCPU           float64      `json:"resource_limit_cpu"            required:"true"  column:"field"`
	ResourceLimitMemory        float64      `json:"resource_limit_memory"         required:"true"  column:"field"`
	InitialResourceLimitCPU    float64      `json:"initial_resource_limit_cpu"    required:"true"  column:"field"`
	InitialResourceLimitMemory float64      `json:"initial_resource_limit_memory" required:"true"  column:"field"`
}

type RecommendationClusterStatusContainerRequest

type RecommendationClusterStatusContainerRequest struct {
	DatahubEntity                `scope:"recommendation" category:"cluster_status" type:"container"`
	Measurement                  *Measurement `name:"container" metric:"undefined" boundary:"undefined" quota:"request" ts:"true"`
	Time                         *time.Time   `json:"time"                            required:"false" column:"tag"`
	Name                         string       `json:"name"                            required:"true"  column:"tag"`
	Namespace                    string       `json:"namespace"                       required:"true"  column:"tag"`
	ClusterName                  string       `json:"cluster_name"                    required:"true"  column:"tag"`
	PodName                      string       `json:"pod_name"                        required:"true"  column:"tag"`
	Granularity                  string       `json:"granularity"                     required:"true"  column:"tag"`
	TopControllerName            string       `json:"top_controller_name"             required:"true"  column:"field"`
	TopControllerKind            Kind         `json:"top_controller_kind"             required:"true"  column:"field"`
	Policy                       string       `json:"policy"                          required:"true"  column:"field"`
	PolicyTime                   int64        `json:"policy_time"                     required:"true"  column:"field"`
	PodTotalCost                 float64      `json:"pod_total_cost"                  required:"true"  column:"field"`
	StartTime                    int64        `json:"start_time"                      required:"true"  column:"field"`
	EndTime                      int64        `json:"end_time"                        required:"true"  column:"field"`
	ResourceRequestCPU           float64      `json:"resource_request_cpu"            required:"true"  column:"field"`
	ResourceRequestMemory        float64      `json:"resource_request_memory"         required:"true"  column:"field"`
	InitialResourceRequestCPU    float64      `json:"initial_resource_request_cpu"    required:"true"  column:"field"`
	InitialResourceRequestMemory float64      `json:"initial_resource_request_memory" required:"true"  column:"field"`
}

type RecommendationClusterStatusController

type RecommendationClusterStatusController struct {
	DatahubEntity         `scope:"recommendation" category:"cluster_status" type:"controller"`
	Measurement           *Measurement       `name:"controller" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                  *time.Time         `json:"time"                 required:"false" column:"tag"`
	Name                  string             `json:"name"                 required:"true"  column:"tag"`
	Namespace             string             `json:"namespace"            required:"true"  column:"tag"`
	ClusterName           string             `json:"cluster_name"         required:"true"  column:"tag"`
	Type                  RecommendationType `json:"type"                 required:"true"  column:"tag"`
	Kind                  Kind               `json:"kind"                 required:"true"  column:"field"`
	CurrentReplicas       int32              `json:"current_replicas"     required:"true"  column:"field"`
	DesiredReplicas       int32              `json:"desired_replicas"     required:"true"  column:"field"`
	CreateTime            int64              `json:"create_time"          required:"true"  column:"field"`
	CurrentCPURequests    float64            `json:"current_cpu_requests" required:"false" column:"field"`
	CurrentMemoryRequests float64            `json:"current_mem_requests" required:"false" column:"field"`
	CurrentCPULimits      float64            `json:"current_cpu_limits"   required:"false" column:"field"`
	CurrentMemoryLimits   float64            `json:"current_mem_limits"   required:"false" column:"field"`
	DesiredCPULimits      float64            `json:"desired_cpu_limits"   required:"false" column:"field"`
	DesiredMemoryLimits   float64            `json:"desired_mem_limits"   required:"false" column:"field"`
	TotalCost             float64            `json:"total_cost"           required:"false" column:"field"`
}

type RecommendationClusterStatusNamespace

type RecommendationClusterStatusNamespace struct {
	DatahubEntity         `scope:"recommendation" category:"cluster_status" type:"namespace"`
	Measurement           *Measurement       `name:"namespace" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                  *time.Time         `json:"time"                 required:"false" column:"tag"`
	Name                  string             `json:"name"                 required:"true"  column:"tag"`
	ClusterName           string             `json:"cluster_name"         required:"true"  column:"tag"`
	Type                  RecommendationType `json:"type"                 required:"true"  column:"tag"`
	Kind                  Kind               `json:"kind"                 required:"true"  column:"field"`
	CurrentReplicas       int32              `json:"current_replicas"     required:"true"  column:"field"`
	DesiredReplicas       int32              `json:"desired_replicas"     required:"true"  column:"field"`
	CreateTime            int64              `json:"create_time"          required:"true"  column:"field"`
	CurrentCPURequests    float64            `json:"current_cpu_requests" required:"false" column:"field"`
	CurrentMemoryRequests float64            `json:"current_mem_requests" required:"false" column:"field"`
	CurrentCPULimits      float64            `json:"current_cpu_limits"   required:"false" column:"field"`
	CurrentMemoryLimits   float64            `json:"current_mem_limits"   required:"false" column:"field"`
	DesiredCPULimits      float64            `json:"desired_cpu_limits"   required:"false" column:"field"`
	DesiredMemoryLimits   float64            `json:"desired_mem_limits"   required:"false" column:"field"`
	TotalCost             float64            `json:"total_cost"           required:"false" column:"field"`
}

type RecommendationClusterStatusNode

type RecommendationClusterStatusNode struct {
	DatahubEntity         `scope:"recommendation" category:"cluster_status" type:"node"`
	Measurement           *Measurement       `name:"node" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                  *time.Time         `json:"time"                 required:"false" column:"tag"`
	Name                  string             `json:"name"                 required:"true"  column:"tag"`
	ClusterName           string             `json:"cluster_name"         required:"true"  column:"tag"`
	Type                  RecommendationType `json:"type"                 required:"true"  column:"tag"`
	Kind                  Kind               `json:"kind"                 required:"true"  column:"field"`
	CurrentReplicas       int32              `json:"current_replicas"     required:"true"  column:"field"`
	DesiredReplicas       int32              `json:"desired_replicas"     required:"true"  column:"field"`
	CreateTime            int64              `json:"create_time"          required:"true"  column:"field"`
	CurrentCPURequests    float64            `json:"current_cpu_requests" required:"false" column:"field"`
	CurrentMemoryRequests float64            `json:"current_mem_requests" required:"false" column:"field"`
	CurrentCPULimits      float64            `json:"current_cpu_limits"   required:"false" column:"field"`
	CurrentMemoryLimits   float64            `json:"current_mem_limits"   required:"false" column:"field"`
	DesiredCPULimits      float64            `json:"desired_cpu_limits"   required:"false" column:"field"`
	DesiredMemoryLimits   float64            `json:"desired_mem_limits"   required:"false" column:"field"`
	TotalCost             float64            `json:"total_cost"           required:"false" column:"field"`
}

type RecommendationKafkaConsumerGroup

type RecommendationKafkaConsumerGroup struct {
	DatahubEntity         `scope:"recommendation" category:"kafka" type:"consumer_group"`
	Measurement           *Measurement `name:"kafka_consumer_group" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"true"`
	Time                  *time.Time   `json:"time"                    required:"false" column:"tag"`
	Name                  string       `json:"name"                    required:"true"  column:"tag"`
	Namespace             string       `json:"namespace"               required:"true"  column:"tag"`
	ClusterName           string       `json:"cluster_name"            required:"true"  column:"tag"`
	ResourceK8sName       string       `json:"resource_k8s_name"       required:"true"  column:"tag"`
	ResourceK8sNamespace  string       `json:"resource_k8s_namespace"  required:"true"  column:"tag"`
	Kind                  Kind         `json:"kind"                    required:"true"  column:"tag"`
	CreateTime            int64        `json:"create_time"             required:"true"  column:"field"`
	CurrentReplicas       int32        `json:"current_replicas"        required:"true"  column:"field"`
	DesiredReplicas       int32        `json:"desired_replicas"        required:"true"  column:"field"`
	PerConsumerCapability float64      `json:"per_consumer_capability" required:"false" column:"field"`
}

type RecommendationType

type RecommendationType string
const (
	RecommendationUndefined RecommendationType = "CRT_UNDEFINED"
	Primitive               RecommendationType = "PRIMITIVE"
	K8s                     RecommendationType = "K8S"
)

type ResourceClusterStatusApplication

type ResourceClusterStatusApplication struct {
	DatahubEntity `scope:"resource" category:"cluster_status" type:"application"`
	Measurement   *Measurement `name:"application" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	Namespace     string       `json:"namespace"    required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Dummy         string       `json:"dummy"        required:"true"  column:"field"`
}

type ResourceClusterStatusCluster

type ResourceClusterStatusCluster struct {
	DatahubEntity     `scope:"resource" category:"cluster_status" type:"cluster"`
	Measurement       *Measurement `name:"cluster" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time              *time.Time   `json:"time"                required:"false" column:"tag"`
	Name              string       `json:"name"                required:"true"  column:"tag"`
	Uid               string       `json:"uid"                 required:"true"  column:"tag"`
	Value             string       `json:"value"               required:"true"  column:"field"`
	CrashingPods      int64        `json:"crashing_pods"       required:"true"  column:"field"`
	CrashingPlanePods int64        `json:"crashing_plane_pods" required:"false" column:"field"`
}

type ResourceClusterStatusContainer

type ResourceClusterStatusContainer struct {
	DatahubEntity                             `scope:"resource" category:"cluster_status" type:"container"`
	Measurement                               *Measurement `name:"container" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time                                      *time.Time   `json:"time"                                           required:"false" column:"tag"`
	Name                                      string       `json:"name"                                           required:"true"  column:"tag"`
	Namespace                                 string       `json:"namespace"                                      required:"true"  column:"tag"`
	NodeName                                  string       `json:"node_name"                                      required:"true"  column:"tag"`
	ClusterName                               string       `json:"cluster_name"                                   required:"true"  column:"tag"`
	Uid                                       string       `json:"uid"                                            required:"true"  column:"tag"`
	PodName                                   string       `json:"pod_name"                                       required:"true"  column:"tag"`
	TopControllerName                         string       `json:"top_controller_name"                            required:"true"  column:"tag"`
	TopControllerKind                         Kind         `json:"top_controller_kind"                            required:"true"  column:"tag"`
	AlamedaScalerName                         string       `json:"alameda_scaler_name"                            required:"true"  column:"tag"`
	AlamedaScalerNamespace                    string       `json:"alameda_scaler_namespace"                       required:"true"  column:"tag"`
	AlamedaScalerScalingTool                  ScalingTool  `json:"alameda_scaler_scaling_tool"                    required:"true"  column:"tag"`
	ResourceRequestCPU                        string       `json:"resource_request_cpu"                           required:"true"  column:"field"`
	ResourceRequestMemory                     string       `json:"resource_request_memory"                        required:"false" column:"field"`
	ResourceLimitCpu                          string       `json:"resource_limit_cpu"                             required:"false" column:"field"`
	ResourceLimitMemory                       string       `json:"resource_limit_memory"                          required:"false" column:"field"`
	StatusWaitingReason                       string       `json:"status_waiting_reason"                          required:"false" column:"field"`
	StatusWaitingMessage                      string       `json:"status_waiting_message"                         required:"false" column:"field"`
	StatusRunningStartTt                      int64        `json:"status_running_start_at"                        required:"false" column:"field"`
	StatusTerminatedExitCode                  int32        `json:"status_terminated_exit_code"                    required:"false" column:"field"`
	StatusTerminatedReason                    string       `json:"status_terminated_reason"                       required:"false" column:"field"`
	StatusTerminatedMessage                   string       `json:"status_terminated_message"                      required:"false" column:"field"`
	StatusTerminatedStartedAt                 int64        `json:"status_terminated_started_at"                   required:"false" column:"field"`
	StatusTerminatedFinishedAt                int64        `json:"status_terminated_finished_at"                  required:"false" column:"field"`
	LastTerminationStatusWaitingReason        string       `json:"last_termination_status_waiting_reason"         required:"false" column:"field"`
	LastTerminationStatusWaitingMessage       string       `json:"last_termination_status_waiting_message"        required:"false" column:"field"`
	LastTerminationStatusRunningStartAt       int64        `json:"last_termination_status_running_start_at"       required:"false" column:"field"`
	LastTerminationStatusTerminatedExitCode   int32        `json:"last_termination_status_terminated_exit_code"   required:"false" column:"field"`
	LastTerminationStatusTerminatedReason     string       `json:"last_termination_status_terminated_reason"      required:"false" column:"field"`
	LastTerminationStatusTerminatedMessage    string       `json:"last_termination_status_terminated_message"     required:"false" column:"field"`
	LastTerminationStatusTerminatedStartedAt  int64        `json:"last_termination_status_terminated_started_at"  required:"false" column:"field"`
	LastTerminationStatusTerminatedFinishedAt int64        `json:"last_termination_status_terminated_finished_at" required:"false" column:"field"`
	RestartCount                              int32        `json:"restart_count"                                  required:"false" column:"field"`
}

type ResourceClusterStatusController

type ResourceClusterStatusController struct {
	DatahubEntity            `scope:"resource" category:"cluster_status" type:"controller"`
	Measurement              *Measurement `name:"controller" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time                     *time.Time   `json:"time"                        required:"false" column:"tag"`
	Name                     string       `json:"name"                        required:"true"  column:"tag"`
	Namespace                string       `json:"namespace"                   required:"true"  column:"tag"`
	ClusterName              string       `json:"cluster_name"                required:"true"  column:"tag"`
	Uid                      string       `json:"uid"                         required:"true"  column:"tag"`
	Kind                     Kind         `json:"kind"                        required:"true"  column:"tag"`
	AlamedaScalerName        string       `json:"alameda_scaler_name"         required:"true"  column:"tag"`
	AlamedaScalerNamespace   string       `json:"alameda_scaler_namespace"    required:"true"  column:"tag"`
	AlamedaScalerScalingTool ScalingTool  `json:"alameda_scaler_scaling_tool" required:"true"  column:"tag"`
	Replicas                 int32        `json:"replicas"                    required:"true" column:"field"`
	SpecReplicas             int32        `json:"spec_replicas"               required:"false" column:"field"`
	ResourceK8sMinReplicas   int32        `json:"resource_k8s_min_replicas"   required:"false" column:"field"`
	ResourceK8sMaxReplicas   int32        `json:"resource_k8s_max_replicas"   required:"false" column:"field"`
	Policy                   Policy       `json:"policy"                      required:"false" column:"field"`
	EnableExecution          bool         `json:"enable_execution"            required:"false" column:"field"`
}

type ResourceClusterStatusNamespace

type ResourceClusterStatusNamespace struct {
	DatahubEntity `scope:"resource" category:"cluster_status" type:"namespace"`
	Measurement   *Measurement `name:"namespace" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time          *time.Time   `json:"time"         required:"false" column:"tag"`
	Name          string       `json:"name"         required:"true"  column:"tag"`
	ClusterName   string       `json:"cluster_name" required:"true"  column:"tag"`
	Uid           string       `json:"uid"          required:"true"  column:"tag"`
	Value         string       `json:"value"        required:"true"  column:"field"`
}

type ResourceClusterStatusNode

type ResourceClusterStatusNode struct {
	DatahubEntity               `scope:"resource" category:"cluster_status" type:"node"`
	Measurement                 *Measurement `name:"node" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time                        *time.Time   `json:"time"                          required:"false" column:"tag"`
	Name                        string       `json:"name"                          required:"true"  column:"tag"`
	ClusterName                 string       `json:"cluster_name"                  required:"true"  column:"tag"`
	Uid                         string       `json:"uid"                           required:"true"  column:"tag"`
	CreateTime                  int64        `json:"create_time"                   required:"true"  column:"field"`
	NodeCPUCores                int64        `json:"node_cpu_cores"                required:"false" column:"field"` // NodeCPUCores is the amount of cores in node
	NodeMemoryBytes             int64        `json:"node_memory_bytes"             required:"false" column:"field"` // NodeMemoryBytes is the amount of memory bytes in node
	NodeNetworkMbps             int64        `json:"node_network_mbps"             required:"false" column:"field"` // NodeNetworkMbps is mega bits per second
	IOProvider                  string       `json:"io_provider"                   required:"false" column:"field"` // Cloud service provider
	IOInstanceType              string       `json:"io_instance_type"              required:"false" column:"field"`
	IORegion                    string       `json:"io_region"                     required:"false" column:"field"`
	IOZone                      string       `json:"io_zone"                       required:"false" column:"field"`
	IOOs                        string       `json:"io_os"                         required:"false" column:"field"`
	IORole                      string       `json:"io_role"                       required:"false" column:"field"`
	IOInstanceId                string       `json:"io_instance_id"                required:"false" column:"field"`
	IOStorageSize               int64        `json:"io_storage_size"               required:"false" column:"field"`
	ConditionReady              bool         `json:"condition_ready"               required:"false" column:"field"`
	ConditionDiskPressure       bool         `json:"condition_disk_pressure"       required:"false" column:"field"`
	ConditionMemoryPressure     bool         `json:"condition_memory_pressure"     required:"false" column:"field"`
	ConditionPIDPressure        bool         `json:"condition_pid_pressure"        required:"false" column:"field"`
	ConditionNetworkUnavailable bool         `json:"condition_network_unavailable" required:"false" column:"field"`
}

type ResourceClusterStatusPod

type ResourceClusterStatusPod struct {
	DatahubEntity                      `scope:"resource" category:"cluster_status" type:"pod"`
	Measurement                        *Measurement `name:"pod" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time                               *time.Time   `json:"time"                                   required:"false" column:"tag"`
	Name                               string       `json:"name"                                   required:"true"  column:"tag"`
	Namespace                          string       `json:"namespace"                              required:"true"  column:"tag"`
	NodeName                           string       `json:"node_name"                              required:"true"  column:"tag"`
	ClusterName                        string       `json:"cluster_name"                           required:"true"  column:"tag"`
	Uid                                string       `json:"uid"                                    required:"true"  column:"tag"`
	TopControllerName                  string       `json:"top_controller_name"                    required:"true"  column:"tag"`
	TopControllerKind                  Kind         `json:"top_controller_kind"                    required:"true"  column:"tag"`
	AlamedaScalerName                  string       `json:"alameda_scaler_name"                    required:"true"  column:"tag"`
	AlamedaScalerNamespace             string       `json:"alameda_scaler_namespace"               required:"true"  column:"tag"`
	AlamedaScalerScalingTool           ScalingTool  `json:"alameda_scaler_scaling_tool"            required:"true"  column:"tag"`
	AppName                            string       `json:"app_name"                               required:"true"  column:"tag"`
	AppPartOf                          string       `json:"app_part_of"                            required:"true"  column:"tag"`
	PodCreateTime                      int64        `json:"pod_create_time"                        required:"true"  column:"field"`
	ResourceLink                       string       `json:"resource_link"                          required:"false" column:"field"`
	TopControllerReplicas              int32        `json:"top_controller_replicas"                required:"false" column:"field"`
	PodPhase                           PodPhase     `json:"pod_phase"                              required:"false" column:"field"`
	PodMessage                         string       `json:"pod_message"                            required:"false" column:"field"`
	PodReason                          string       `json:"pod_reason"                             required:"false" column:"field"`
	Policy                             Policy       `json:"policy"                                 required:"false" column:"field"`
	UsedRecommendationDd               string       `json:"used_recommendation_id"                 required:"false" column:"field"`
	AlamedaScalerResourceLimitCPU      string       `json:"alameda_scaler_resource_limit_cpu"      required:"false" column:"field"`
	AlamedaScalerResourceLimitMemory   string       `json:"alameda_scaler_resource_limit_memory"   required:"false" column:"field"`
	AlamedaScalerResourceRequestCPU    string       `json:"alameda_scaler_resource_request_cpu"    required:"false" column:"field"`
	AlamedaScalerResourceRequestMemory string       `json:"alameda_scaler_resource_request_memory" required:"false" column:"field"`
}

type ResourceClusterStatusRunTime

type ResourceClusterStatusRunTime struct {
	DatahubEntity `scope:"resource" category:"cluster_status" type:"run_time"`
	Measurement   *Measurement `name:"run_time" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time          *time.Time   `json:"time"  required:"false" column:"tag"`
	Name          string       `json:"name"  required:"true"  column:"tag"`
	Type          RunTimeType  `json:"type"  required:"true"  column:"tag"`
	Value         string       `json:"value" required:"true"  column:"field"`
}

type Row

type Row struct {
	Time    *timestamp.Timestamp
	Columns []string
	Values  []string
}

type RunTimeType

type RunTimeType string
const (
	RunTimeUndefined          RunTimeType = "undefined"
	RunTimeKeycodeGracePeriod RunTimeType = "1"
)

type ScalingTool

type ScalingTool string
const (
	ScalingToolUndefined ScalingTool = "SCALING_TOOL_UNDEFINED"
	None                 ScalingTool = "NONE"
	VPA                  ScalingTool = "VPA"
	HPA                  ScalingTool = "HPA"
)

type TargetClusterStatusCluster

type TargetClusterStatusCluster struct {
	DatahubEntity          `scope:"target" category:"cluster_status" type:"cluster"`
	Measurement            *Measurement `name:"cluster" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time                   *time.Time   `json:"time"                     required:"false" column:"tag"`
	Name                   string       `json:"name"                     required:"true"  column:"tag"`
	AlamedaScalerName      string       `json:"alameda_scaler_name"      required:"true"  column:"tag"`
	AlamedaScalerNamespace string       `json:"alameda_scaler_namespace" required:"true"  column:"tag"`
	RawSpec                string       `json:"raw_spec"                 required:"true"  column:"field"`
}

type TargetClusterStatusController

type TargetClusterStatusController struct {
	DatahubEntity            `scope:"target" category:"cluster_status" type:"controller"`
	Measurement              *Measurement `name:"controller" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time                     *time.Time   `json:"time"                        required:"false" column:"tag"`
	Name                     string       `json:"name"                        required:"true"  column:"tag"`
	Namespace                string       `json:"namespace"                   required:"true"  column:"tag"`
	ClusterName              string       `json:"cluster_name"                required:"true"  column:"tag"`
	Kind                     Kind         `json:"kind"                        required:"true"  column:"tag"`
	AlamedaScalerName        string       `json:"alameda_scaler_name"         required:"true"  column:"tag"`
	AlamedaScalerNamespace   string       `json:"alameda_scaler_namespace"    required:"true"  column:"tag"`
	AlamedaScalerScalingTool ScalingTool  `json:"alameda_scaler_scaling_tool" required:"true"  column:"tag"`
	MinReplicas              int32        `json:"resource_k8s_min_replicas"   required:"false" column:"field"`
	MaxReplicas              int32        `json:"resource_k8s_max_replicas"   required:"false" column:"field"`
	Policy                   string       `json:"policy"                      required:"false" column:"field"`
	EnableExecution          bool         `json:"enable_execution"            required:"false" column:"field"`
	RawSpec                  string       `json:"raw_spec"                    required:"false" column:"field"`
}

type TargetKafkaConsumerGroup

type TargetKafkaConsumerGroup struct {
	DatahubEntity            `scope:"target" category:"kafka" type:"consumer_group"`
	Measurement              *Measurement `name:"kafka_consumer_group" metric:"undefined" boundary:"undefined" quota:"undefined" ts:"false"`
	Time                     *time.Time   `json:"time"                        required:"false" column:"tag"`
	Name                     string       `json:"name"                        required:"true"  column:"tag"`
	ClusterName              string       `json:"cluster_name"                required:"true"  column:"tag"`
	ExporterNamespace        string       `json:"exporter_namespace"          required:"true"  column:"tag"`
	TopicName                string       `json:"topic_name"                  required:"true"  column:"tag"`
	AlamedaScalerName        string       `json:"alameda_scaler_name"         required:"true"  column:"tag"`
	AlamedaScalerNamespace   string       `json:"alameda_scaler_namespace"    required:"true"  column:"tag"`
	AlamedaScalerScalingTool ScalingTool  `json:"alameda_scaler_scaling_tool" required:"true"  column:"tag"`
	ResourceK8sName          string       `json:"resource_k8s_name"           required:"true"  column:"tag"`
	ResourceK8sNamespace     string       `json:"resource_k8s_namespace"      required:"true"  column:"tag"`
	ResourceK8sKind          Kind         `json:"resource_k8s_kind"           required:"true"  column:"tag"`
	ResourceK8sMinReplicas   int32        `json:"resource_k8s_min_replicas"   required:"false" column:"field"`
	ResourceK8sMaxReplicas   int32        `json:"resource_k8s_max_replicas"   required:"false" column:"field"`
	Policy                   Policy       `json:"policy"                      required:"false" column:"field"`
	GroupId                  string       `json:"group_id"                    required:"true"  column:"field"`
	EnableExecution          bool         `json:"enable_execution"            required:"false" column:"field"`
	RawSpec                  string       `json:"raw_spec"                    required:"false" column:"field"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL