Documentation
¶
Index ¶
- Constants
- func GetMCISMonInfo() (interface{}, error)
- func GetMCISOnDemandProcessInfo(publicIp string) (map[string][]ProcessUsage, int, error)
- func GetMCISRealtimeMonInfo(nsId string, mcisId string) (interface{}, error)
- func GetVMMonInfo(nsId string, mcisId string, vmId string, metricName string, period string, ...) (interface{}, int, error)
- func GetVMOnDemandMonInfo(metricName string, publicIP string) (interface{}, int, error)
- type CBMCISMetric
- type MCBMCISMetric
- type MCISMetric
- type McisVMSpecs
- type Mrequest
- type NetworkPacketsResult
- type PacketsInfo
- type Parameter
- type ProcessUsage
- type Request
Constants ¶
View Source
const ( Rtt = "Rtt" Mrtt = "Mrtt" )
View Source
const ( AgentPort = 8888 AgentTimeout = 30 )
Variables ¶
This section is empty.
Functions ¶
func GetMCISMonInfo ¶
func GetMCISMonInfo() (interface{}, error)
func GetMCISOnDemandProcessInfo ¶
func GetMCISOnDemandProcessInfo(publicIp string) (map[string][]ProcessUsage, int, error)
func GetMCISRealtimeMonInfo ¶
Types ¶
type CBMCISMetric ¶
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 메트릭
func GetMCISCommonMonInfo ¶
func GetMCISCommonMonInfo(nsId string, mcisId string, vmId string, agentIp string, metricName string) (*CBMCISMetric, int, error)
GetMCISCommonMonInfos ...
func GetMCISMonRTTInfo ¶
func GetMCISMonRTTInfo(nsId string, mcisId string, vmId string, agentIp string, rttParam Request) (*CBMCISMetric, int, error)
GetMCISMonRTTInfo ...
type MCBMCISMetric ¶
type MCBMCISMetric struct {
ResultArray []CBMCISMetric `json:"resultarray"`
}
MCBMCISMetric 멀티 MCIS Milkyway 메트릭
func GetMCISMonMRTTInfo ¶
func GetMCISMonMRTTInfo(nsId string, mcisId string, vmId string, agentIp string, mrttParam Mrequest) (*MCBMCISMetric, int, error)
GetMCISMonMRTTInfo ...
type MCISMetric ¶
type MCISMetric struct {
// contains filtered or unexported fields
}
func (*MCISMetric) CheckParameter ¶
func (mc *MCISMetric) CheckParameter(c echo.Context) error
func (*MCISMetric) GetMCISMonMRTTInfo ¶
func (mc *MCISMetric) GetMCISMonMRTTInfo(c echo.Context) error
GetMCISMonMRTTInfo ...
type McisVMSpecs ¶
type McisVMSpecs struct {
AvgNumvCpu float64
AvgMemGiB float64
AvgCostPerHour float64
VmSpec []vmSpec
}
func GetMCISSpecInfo ¶
type Mrequest ¶
type Mrequest struct {
MultiHost []Request `json:"multihost"`
}
Mrequest GET Request 멀티 Body 정보
type NetworkPacketsResult ¶
type NetworkPacketsResult struct {
WatchTime string
PacketsInfos map[int]PacketsInfo
}
type PacketsInfo ¶
type ProcessUsage ¶
Click to show internal directories.
Click to hide internal directories.