Documentation ¶
Index ¶
- type Client
- func (c *Client) GetAllDashboardDetails(ctx context.Context, uids []string) ([]DashboardDetail, error)
- func (c *Client) GetAllDatasources(ctx context.Context) (map[string]DataSource, error)
- func (c *Client) GetDashboardDetail(uid string) (DashboardDetail, error)
- func (c *Client) SearchAllDashboardUIDs(ctx context.Context) ([]string, 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 (*Client) GetAllDatasources ¶
func (*Client) GetDashboardDetail ¶
func (c *Client) GetDashboardDetail(uid string) (DashboardDetail, error)
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.