grafana

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnnotateRequest

type AnnotateRequest struct {
	What string   `json:"what,omitempty"`
	Tags []string `json:"tags,omitempty"`
	Data string   `json:"data,omitempty"`
}

type AnnotateResponse

type AnnotateResponse struct {
	Message string `json:"message,omitempty"`
	Id      int64  `json:"id,omitempty"`
}

type Environment added in v0.0.15

type Environment struct {
	APIKey  string
	BaseURL string
}

type Service added in v0.0.15

type Service struct {
	Environments map[string]Environment
}

func (*Service) Annotate added in v0.0.15

func (s *Service) Annotate(ctx context.Context, env string, body AnnotateRequest) error

Jump to

Keyboard shortcuts

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