annotations.go 381 B

123456789101112131415
  1. package dtos
  2. import "github.com/grafana/grafana/pkg/components/simplejson"
  3. type Annotation struct {
  4. AlertId int64 `json:"alertId"`
  5. NewState string `json:"newState"`
  6. PrevState string `json:"prevState"`
  7. Time int64 `json:"time"`
  8. Title string `json:"title"`
  9. Text string `json:"text"`
  10. Metric string `json:"metric"`
  11. Data *simplejson.Json `json:"data"`
  12. }