dashboards

package
v1.17.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 8 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 {
	Id          string              `json:"id"`
	Name        string              `json:"name"`
	Description string              `json:"description"`
	Config      *db.DashboardConfig `json:"config,omitempty"`
}

type Dashboards

type Dashboards struct {
}

func (*Dashboards) Dashboard

func (ds *Dashboards) Dashboard(dashboard *db.Dashboard) Dashboard

func (*Dashboards) List

func (ds *Dashboards) List(dashboards []*db.Dashboard) []Dashboard

func (*Dashboards) PanelData

func (ds *Dashboards) PanelData(ctx context.Context, promClients map[string]prom.Client, config db.DashboardPanel, from, to timeseries.Time, step timeseries.Duration) (*PanelData, error)

type PanelData

type PanelData struct {
	Chart *model.Chart `json:"chart,omitempty"`
}

Jump to

Keyboard shortcuts

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