mon

package
v0.3.0-rc01 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 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 {
	Core     *deploy.Core
	Settings struct {
		DisplayName string
		Columns     int64
		Widgets     []*monitoring.Widget
	}
}

DashboardDeployment struct

func NewDashboardDeployment

func NewDashboardDeployment() *DashboardDeployment

NewDashboardDeployment create deployment structure

func (DashboardDeployment) Deploy

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

Deploy dashboard

Jump to

Keyboard shortcuts

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