Documentation ¶
Index ¶
Constants ¶
View Source
const ( PushPolicy = "push" PullPolicy = "pull" )
View Source
const ( Agent = "/monitoring/agents/" MonConfig = "/monitoring/configs" EventLog = "/monitoring/eventLogs" CollectorPolicy = "/monitoring/collectorPolicy" Topic = "/push/topic" CollectorTopicMap = "/push/collectorTopicMap" )
CB-Store key
View Source
const ( NsId = "nsId" McisId = "mcisId" VmId = "vmId" OsType = "osType" CspType = "cspType" )
View Source
const ( AgentCntCollectorPolicy = "AGENTCOUNT" CSPCollectorPolicy = "CSP" )
View Source
const ( Alibaba = "ALIBABA" Aws = "AWS" Azure = "AZURE" Cloudit = "CLOUDIT" Cloudtwin = "CLOUDTWIN" Docker = "DOCKER" Gcp = "GCP" Openstack = "OPENSTACK" TotalCspCnt = 8 )
View Source
const ( KafkaDefaultPort = 9092 InfluxDefaultPort = 8086 KapacitorDefaultPort = 9092 )
View Source
const ( Dev = "dev" Helm = "helm" Compose = "compose" )
View Source
const ( TopicAdd = "TopicAdd" TopicDel = "TopicDel" )
View Source
const ( ConfigMapName = "cb-dragonfly-collector-configmap" DeploymentName = "cb-dragonfly-collector-" )
View Source
const ( LabelKey = "name" Namespace = "dragonfly" //CollectorImage = "docker.io/hojun121/collector:latest" CollectorImage = "cloudbaristaorg/cb-dragonfly:0.5.0-collector" )
View Source
const (
TBRestAPIURL = "http://localhost:1323/tumblebug"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateType ¶ added in v0.3.5
type AggregateType string
const ( MIN AggregateType = "min" MAX AggregateType = "max" AVG AggregateType = "avg" LAST AggregateType = "last" ReadConnectionTimeout = 6 )
func (AggregateType) ToString ¶ added in v0.3.5
func (a AggregateType) ToString() string
type Metric ¶
type Metric string
func GetMetricType ¶ added in v0.4.1
func (Metric) ToAgentMetricKey ¶ added in v0.3.5
Click to show internal directories.
Click to hide internal directories.