types

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PushPolicy = "push"
	PullPolicy = "pull"
)
View Source
const (
	MoNConfig           = "config"
	CollectorGroupTopic = "collectorGroupTopic"
	Topic               = "topic"
)
View Source
const (
	NsId    = "nsId"
	McisId  = "mcisId"
	VmId    = "vmId"
	OsType  = "osType"
	CspType = "cspType"
)
View Source
const (
	AgentCnt = "AGENTCOUNT"
	CSP      = "CSP"
)
View Source
const (
	ALIBABA     = "ALIBABA"
	AWS         = "AWS"
	AZURE       = "AZURE"
	CLOUDIT     = "CLOUDIT"
	CLOUDTWIN   = "CLOUDTWIN"
	DOCKER      = "DOCKER"
	GCP         = "GCP"
	OPENSTACK   = "OPENSTACK"
	TotalCspCnt = 8
)

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
	DELTOPICS                           = "delTopics/"
)

func (AggregateType) ToString added in v0.3.5

func (a AggregateType) ToString() string

type Metric

type Metric string
const (
	Cpu          Metric = "cpu"
	CpuFrequency Metric = "cpufreq"
	Memory       Metric = "memory"
	Disk         Metric = "disk"
	DiskIO       Metric = "diskio"
	Network      Metric = "network"
	None         Metric = "none"
)

func (Metric) ToAgentMetricKey added in v0.3.5

func (m Metric) ToAgentMetricKey() string

func (Metric) ToString added in v0.3.5

func (m Metric) ToString() string

Jump to

Keyboard shortcuts

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