Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConvertDatahub = iota ConvertInflux ConvertPrometheus ConvertNormal )
Variables ¶
View Source
var PRELOADERENABLE = "/var/tmp/.preloader_enable"
View Source
var PRELOADERLOADFUTURE = "/var/tmp/.preloader_load_future_hours"
Functions ¶
This section is empty.
Types ¶
type AgentQueueItem ¶
type AgentQueueItem struct { QueueType string RawData dpRawData.WriteRawdataRequest }
type ConvertInt ¶
type ConvertInt int
type DataSourceConverter ¶
type DataSourceConverter interface {
GetWriteRequest() (*dpRawData.WriteRawdataRequest, error)
}
type InfluxField ¶
type InfluxField struct { Name string Type DataHubCommon.DataType Default interface{} }
type QueueType ¶
type QueueType int
const ( QueueTypePod QueueType = 0 QueueTypeNode QueueType = 1 QueueTypePodMetrics QueueType = 2 QueueTypeApplicationMetrics QueueType = 3 QueueTypeControllerMetrics QueueType = 4 QueueTypeNamespaceMetrics QueueType = 5 QueueTypeNodeMetrics QueueType = 6 QueueTypeClusterMetrics QueueType = 7 QueueTypeTopic QueueType = 8 QueueTypeConsumerGroup QueueType = 9 QueueTypeConsumerLag QueueType = 10 QueueTypeNginx QueueType = 11 )
type TargetData ¶
type TargetData interface { IsTagKey(string) bool GetFieldKey(string) *InfluxField GetSourceData() interface{} GetClusterID() string }
Click to show internal directories.
Click to hide internal directories.