sdk

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrafanaClient

type GrafanaClient struct {
	BaseURL    string
	APIKey     string
	HTTPClient *http.Client
}

func NewGrafanaClient

func NewGrafanaClient(baseURL, apiKey string) *GrafanaClient

func (*GrafanaClient) DataSourceQuery

func (c *GrafanaClient) DataSourceQuery(query any) (*backend.QueryDataResponse, error)

func (*GrafanaClient) GetDashboard

func (c *GrafanaClient) GetDashboard(uid string) (map[string]json.RawMessage, error)

func (*GrafanaClient) LoginPing

func (c *GrafanaClient) LoginPing() error

Jump to

Keyboard shortcuts

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