Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewGrafanaClient ¶
NewGrafanaClient initializes a new Grafana client with the specified URL and API key.
func (*Client) Annotate ¶ added in v0.5.2
func (c *Client) Annotate(annotation Annotation) ([]PostAnnotationResponse, []*resty.Response, error)
Annotate adds annotation to all the dashboards, works for both single point annotation with just StartTime and for ranges with StartTime/EndTime
type PostAnnotationResponse ¶
Click to show internal directories.
Click to hide internal directories.