Documentation ¶
Index ¶
- type MonitorServer
- func (server *MonitorServer) AddApplicationInstanceToModule(context *gin.Context)
- func (server *MonitorServer) AddModule(context *gin.Context)
- func (server *MonitorServer) AddProject(context *gin.Context)
- func (server *MonitorServer) AddService(context *gin.Context)
- func (server *MonitorServer) DelApplicationInstanceFromModule(context *gin.Context)
- func (server *MonitorServer) DelModule(context *gin.Context)
- func (server *MonitorServer) DelProject(context *gin.Context)
- func (server *MonitorServer) DelService(context *gin.Context)
- func (server *MonitorServer) GetApplicationInstancesMapping(context *gin.Context)
- func (server *MonitorServer) GetApplicationMetrix(context *gin.Context)
- func (server *MonitorServer) GetModule(context *gin.Context)
- func (server *MonitorServer) GetNodeMerixCpu(context *gin.Context)
- func (server *MonitorServer) GetNodeMerixFileSystem(context *gin.Context)
- func (server *MonitorServer) GetNodeMerixInterfaces(context *gin.Context)
- func (server *MonitorServer) GetNodeMerixMemory(context *gin.Context)
- func (server *MonitorServer) GetNodeMerixNet(context *gin.Context)
- func (server *MonitorServer) GetNodeMerixPage(context *gin.Context)
- func (server *MonitorServer) GetNodeMerixProcess(context *gin.Context)
- func (server *MonitorServer) GetNodes(context *gin.Context)
- func (server *MonitorServer) GetNodesMapping(context *gin.Context)
- func (server *MonitorServer) GetProject(context *gin.Context)
- func (server *MonitorServer) GetService(context *gin.Context)
- func (server *MonitorServer) InitInfluxdb() error
- func (server *MonitorServer) InitMongodb() error
- func (server *MonitorServer) Run() error
- func (server *MonitorServer) SearchApplicationInstance(context *gin.Context)
- func (server *MonitorServer) SetModule(context *gin.Context)
- func (server *MonitorServer) SetProject(context *gin.Context)
- func (server *MonitorServer) SetService(context *gin.Context)
- func (server *MonitorServer) SyncMetaDataApplication(duration time.Duration, period string)
- func (server *MonitorServer) SyncMetaDataNode(duration time.Duration)
- func (server *MonitorServer) SyncMetaDataToMongodb()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MonitorServer ¶
type MonitorServer struct {
// contains filtered or unexported fields
}
func (*MonitorServer) AddApplicationInstanceToModule ¶
func (server *MonitorServer) AddApplicationInstanceToModule(context *gin.Context)
Add application instance
func (*MonitorServer) AddModule ¶
func (server *MonitorServer) AddModule(context *gin.Context)
Add module
func (*MonitorServer) AddProject ¶
func (server *MonitorServer) AddProject(context *gin.Context)
Add project
func (*MonitorServer) AddService ¶
func (server *MonitorServer) AddService(context *gin.Context)
Add service
func (*MonitorServer) DelApplicationInstanceFromModule ¶
func (server *MonitorServer) DelApplicationInstanceFromModule(context *gin.Context)
Del application instance
func (*MonitorServer) DelModule ¶
func (server *MonitorServer) DelModule(context *gin.Context)
Del module
func (*MonitorServer) DelProject ¶
func (server *MonitorServer) DelProject(context *gin.Context)
Del project
func (*MonitorServer) DelService ¶
func (server *MonitorServer) DelService(context *gin.Context)
Del service
func (*MonitorServer) GetApplicationInstancesMapping ¶
func (server *MonitorServer) GetApplicationInstancesMapping(context *gin.Context)
Http interface /monitor/application/instances/mapping
func (*MonitorServer) GetApplicationMetrix ¶
func (server *MonitorServer) GetApplicationMetrix(context *gin.Context)
Http interface get_application_metrix
func (*MonitorServer) GetModule ¶
func (server *MonitorServer) GetModule(context *gin.Context)
Get module
func (*MonitorServer) GetNodeMerixCpu ¶
func (server *MonitorServer) GetNodeMerixCpu(context *gin.Context)
Http interface /monitor/nodes/metrix/cpu
func (*MonitorServer) GetNodeMerixFileSystem ¶
func (server *MonitorServer) GetNodeMerixFileSystem(context *gin.Context)
Http interface /monitor/nodes/metrix/filesystem
func (*MonitorServer) GetNodeMerixInterfaces ¶
func (server *MonitorServer) GetNodeMerixInterfaces(context *gin.Context)
Http interface /monitor/nodes/metrix/interfaces
func (*MonitorServer) GetNodeMerixMemory ¶
func (server *MonitorServer) GetNodeMerixMemory(context *gin.Context)
Http interface /monitor/nodes/metrix/memory
func (*MonitorServer) GetNodeMerixNet ¶
func (server *MonitorServer) GetNodeMerixNet(context *gin.Context)
Http interface /monitor/nodes/metrix/net
func (*MonitorServer) GetNodeMerixPage ¶
func (server *MonitorServer) GetNodeMerixPage(context *gin.Context)
Http interface /monitor/nodes/metrix/page
func (*MonitorServer) GetNodeMerixProcess ¶
func (server *MonitorServer) GetNodeMerixProcess(context *gin.Context)
Http interface /monitor/nodes/metrix/process
func (*MonitorServer) GetNodes ¶
func (server *MonitorServer) GetNodes(context *gin.Context)
Http interface /monitor/nodes
func (*MonitorServer) GetNodesMapping ¶
func (server *MonitorServer) GetNodesMapping(context *gin.Context)
Http interface /monitor/application/nodes/mapping
func (*MonitorServer) GetProject ¶
func (server *MonitorServer) GetProject(context *gin.Context)
Get project
func (*MonitorServer) GetService ¶
func (server *MonitorServer) GetService(context *gin.Context)
Get service
func (*MonitorServer) InitInfluxdb ¶
func (server *MonitorServer) InitInfluxdb() error
Init influxdb
func (*MonitorServer) InitMongodb ¶
func (server *MonitorServer) InitMongodb() error
func (*MonitorServer) SearchApplicationInstance ¶
func (server *MonitorServer) SearchApplicationInstance(context *gin.Context)
Search instance
func (*MonitorServer) SetModule ¶
func (server *MonitorServer) SetModule(context *gin.Context)
Set module
func (*MonitorServer) SetProject ¶
func (server *MonitorServer) SetProject(context *gin.Context)
Set project
func (*MonitorServer) SetService ¶
func (server *MonitorServer) SetService(context *gin.Context)
Set service
func (*MonitorServer) SyncMetaDataApplication ¶
func (server *MonitorServer) SyncMetaDataApplication(duration time.Duration, period string)
Sync application info
func (*MonitorServer) SyncMetaDataNode ¶
func (server *MonitorServer) SyncMetaDataNode(duration time.Duration)
Sync node info
func (*MonitorServer) SyncMetaDataToMongodb ¶
func (server *MonitorServer) SyncMetaDataToMongodb()
Sync meta data from influxdb to mongodb