Documentation ¶
Index ¶
- type GrafanaAnnotation
- func (n *GrafanaAnnotation) Creator(params map[string]interface{}, baseInfo config.BaseInfo) (notifiers.Notifier, error)
- func (n *GrafanaAnnotation) Description() string
- func (n *GrafanaAnnotation) Id() string
- func (n *GrafanaAnnotation) Name() string
- func (n *GrafanaAnnotation) Notify(notifyReq *models.NotifyRequest) error
- type OptsGrafanaAnnotation
- type ReqGrafanaAnnotation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrafanaAnnotation ¶
type GrafanaAnnotation struct {
// contains filtered or unexported fields
}
func (*GrafanaAnnotation) Description ¶ added in v1.6.1
func (n *GrafanaAnnotation) Description() string
func (*GrafanaAnnotation) Id ¶
func (n *GrafanaAnnotation) Id() string
func (*GrafanaAnnotation) Name ¶
func (n *GrafanaAnnotation) Name() string
func (*GrafanaAnnotation) Notify ¶
func (n *GrafanaAnnotation) Notify(notifyReq *models.NotifyRequest) error
type OptsGrafanaAnnotation ¶
type OptsGrafanaAnnotation struct { ApiKey string `mapstructure:"api_key"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` Endpoint string `mapstructure:"endpoint"` DashboardId int `mapstructure:"dashboard_id"` PanelId int `mapstructure:"panel_id"` Tag string `mapstructure:"tag"` TimeZone string `mapstructure:"time_zone"` InsecureSkipVerify bool `mapstructure:"insecure_skip_verify"` OrgID int `mapstructure:"org_id"` }
Click to show internal directories.
Click to hide internal directories.