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" MCK8STopic = "/mck8s/push/topic" MCK8SCollectorTopicMap = "/mck8s/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 ( AgentPort = 8888 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-" MCK8SConfigMapName = "cb-dragonfly-mck8s-collector-configmap" MCK8SDeploymentName = "cb-dragonfly-mck8s-collector-" )
View Source
const ( LabelKey = "name" MCISCollectorImage = "cloudbaristaorg/cb-dragonfly:0.7.0-mcis-collector" MCK8SCollectorImage = "cloudbaristaorg/cb-dragonfly:0.7.0-mck8s-collector" )
View Source
const ( CREATE = "create" DELETE = "delete" )
View Source
const ( MCIS string = "mcis" VM string = "vm" MCK8S string = "mck8s" KUBERNETES string = "kubernetes" K8S string = "k8s" Cluster string = "cluster" Node string = "node" Namespace string = "namespace" ALL string = "all" )
View Source
const ReadConnectionTimeout = 5
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" )
func (AggregateType) ToString ¶ added in v0.3.5
func (a AggregateType) ToString() string
type CBMCISMetric ¶ added in v0.5.2
type CBMCISMetric struct { Result string `json:"result"` Unit string `json:"unit"` Desc string `json:"desc"` Elapsed string `json:"elapsed"` SpecId string `json:"specid"` }
CBMCISMetric 단일 MCIS Milkyway 메트릭
type DBMetricRequestInfo ¶ added in v0.5.2
type MCBMCISMetric ¶ added in v0.5.2
type MCBMCISMetric struct {
ResultArray []CBMCISMetric `json:"resultarray"`
}
MCBMCISMetric 멀티 MCIS Milkyway 메트릭
type MCK8SReqInfo ¶ added in v0.5.2
type Metric ¶
type Metric string
func GetMetricType ¶ added in v0.4.1
func (Metric) ToAgentMetricKey ¶ added in v0.3.5
type Mrequest ¶ added in v0.5.2
type Mrequest struct {
MultiHost []Request `json:"multihost"`
}
Mrequest GET Request 멀티 Body 정보
Click to show internal directories.
Click to hide internal directories.