dashboard

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dashboard

type Dashboard struct {
	// contains filtered or unexported fields
}

func NewDashboard

func NewDashboard(metricsService *DbMetricsService) *Dashboard

func (*Dashboard) Render

func (d *Dashboard) Render(c echo.Context) error

type MetricRow

type MetricRow struct {
	Id      string
	Host    string
	Name    string
	IsAlert bool
	State   string
	Values  []string
}

type Table

type Table struct {
	Headers     []string
	Rows        []MetricRow
	DeleteLabel string
}

Jump to

Keyboard shortcuts

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