Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a Grafana API client.
type Dashboard ¶
type Dashboard struct { FolderID int64 `json:"folderId"` Meta DashboardMeta `json:"meta"` // read-only Model DashboardModel `json:"dashboard"` }
Dashboard represents a Grafana dashboard.
type DashboardMeta ¶
type DashboardModel ¶
type Datasource ¶
type Panel ¶
type Panel struct { Id int `json:"id"` Title string `json:"title"` Type string `json:"type"` GridPos GridPos `json:"gridPos"` Datasource Datasource `json:"datasource"` Targets []PanelTargets `json:"targets"` }
type PanelTargets ¶
type PanelTargets struct { Datasource Datasource `json:"datasource"` QueryType string `json:"queryType"` RefId string `json:"refId"` }
Click to show internal directories.
Click to hide internal directories.