Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the Grafana HTTP API client
func (*Client) CreateDashboard ¶
CreateDashboard creates a new dashboard from the provided dashboard data
func (*Client) DeleteDashboard ¶
DeleteDashboard deletes a dashboard specified with data. data is expected to be JSON-encoded and contain a field named `title` which names the dashboard to delete.
type CreateDashboardRequest ¶
type CreateDashboardRequest struct { // Dashboard is the dashboard data Dashboard map[string]interface{} `json:"dashboard"` // Overwrite is whether to overwrite existing dashboard with newer version or with same dashboard title Overwrite bool `json:"overwrite"` }
CreateDashboardRequest is request to create a new dashboard
Click to show internal directories.
Click to hide internal directories.