server

package
v0.0.0-...-7c4ebca Latest Latest
Warning

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

Go to latest
Published: May 25, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 NewMonitorServer

func NewMonitorServer(config *config.Config) *MonitorServer

New Config

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) Run

func (server *MonitorServer) Run() error

Run http server

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

Jump to

Keyboard shortcuts

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