Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DashboardFilename ¶
Types ¶
type GrafanaAnnotation ¶ added in v0.7.8
type GrafanaAnnotations ¶ added in v0.7.8
type GrafanaAnnotations struct {
List []GrafanaAnnotation `json:"list"`
}
type GrafanaDashboard ¶
type GrafanaDashboard struct { Title string `json:"title"` Rows []GrafanaRow `json:"rows"` Annotations GrafanaAnnotations `json:"annotations"` }
func DocumentToDashboard ¶
func DocumentToDashboard(document indicator.Document) GrafanaDashboard
type GrafanaPanel ¶
type GrafanaPanel struct { Title string `json:"title"` Type string `json:"type"` Targets []GrafanaTarget `json:"targets"` Thresholds []GrafanaThreshold `json:"thresholds"` }
type GrafanaRow ¶
type GrafanaRow struct { Title string `json:"title"` Panels []GrafanaPanel `json:"panels"` }
type GrafanaTarget ¶
type GrafanaTarget struct {
Expression string `json:"expr"`
}
Click to show internal directories.
Click to hide internal directories.