Documentation
¶
Index ¶
- type Client
- func (c *Client) GetAllDashboardDetails(uids []string) (dashboardDetails []DashboardDetail, err error)
- func (c *Client) GetAllDatasources() (dataSources map[string]DataSource, err error)
- func (c *Client) GetDashboardDetail(uid string) (dashboardDetail DashboardDetail, err error)
- func (c *Client) SearchAllDashboardUIDs() (uids []string, err error)
- type Config
- type Dashboard
- type DashboardDetail
- type DataSource
- type Extractor
- type Meta
- type Panel
- type Target
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
}
func (*Client) GetAllDashboardDetails ¶
func (c *Client) GetAllDashboardDetails(uids []string) (dashboardDetails []DashboardDetail, err error)
func (*Client) GetAllDatasources ¶
func (c *Client) GetAllDatasources() (dataSources map[string]DataSource, err error)
func (*Client) GetDashboardDetail ¶
func (c *Client) GetDashboardDetail(uid string) (dashboardDetail DashboardDetail, err error)
func (*Client) SearchAllDashboardUIDs ¶
type Config ¶
type Config struct { BaseURL string `mapstructure:"base_url" validate:"required"` APIKey string `mapstructure:"api_key" validate:"required"` }
Config holds the set of configuration for the grafana extractor
type DashboardDetail ¶
type DataSource ¶
type Extractor ¶
type Extractor struct { plugins.BaseExtractor // contains filtered or unexported fields }
Extractor manages the communication with the Grafana Server
Click to show internal directories.
Click to hide internal directories.