model

package
v0.0.0-...-982fff5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: AFL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CpuConfs

type CpuConfs struct {
	Run            bool  `json:"run"`
	ReportInterval int64 `json:"report_interval"`
}

cpu_rate配置接收结构体

type CpuMemConfs

type CpuMemConfs struct {
	Run                 bool    `json:"run"`
	SamplingInterval    int64   `json:"sampling_interval"`
	ReportInterval      int64   `json:"report_interval"`
	CpuPercentThreshold float64 `json:"cpu_percent_threshold"`
	MemPercentThreshold float64 `json:"mem_percent_threshold"`
}

cpu_mem配置接收结构体

type DiskConfs

type DiskConfs struct {
	Run            bool  `json:"run"`
	ReportInterval int64 `json:"report_interval"`
}

disk_used配置接收结构体

type MemConfs

type MemConfs struct {
	Run              bool  `json:"run"`
	SamplingInterval int64 `json:"sampling_interval"`
	ReportInterval   int64 `json:"report_interval"`
}

memory_used配置接收结构体

Jump to

Keyboard shortcuts

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