mon

package
v0.3.1-rc03 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mon helps cloud monitoring

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGCFWidget

func GetGCFWidget(microserviceName string, widgetType string) (widget monitoring.Widget, err error)

GetGCFWidget assemble a monitoring widget for given widget type and microservice name

Types

type DashboardDeployment

type DashboardDeployment struct {
	Artifacts struct {
		Widgets []*monitoring.Widget
	}
	Core     *deploy.Core
	Settings struct {
		Instance struct {
			MON DashboardParameters
		}
	}
}

DashboardDeployment struct

func NewDashboardDeployment

func NewDashboardDeployment() *DashboardDeployment

NewDashboardDeployment create deployment structure

func (DashboardDeployment) Deploy

func (dashboardDeployment DashboardDeployment) Deploy() (err error)

Deploy dashboard

type DashboardParameters

type DashboardParameters struct {
	DisplayName          string
	Columns              int64
	MicroServiceNameList []string `yaml:"microServiceNameList"`
	WidgetTypeList       []string `yaml:"widgetTypeList"`
}

DashboardParameters structure

Jump to

Keyboard shortcuts

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