mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 18:12:13 +08:00
Elasticsearch: Migrate annotation calls to be run trough resources (#68075)
* Update * Remove comment * Add annotation to test dashboard * Update devenv dashboard to correctly use textField
This commit is contained in:
@ -12,6 +12,23 @@
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"name": "Annotations & Alerts",
|
||||
"type": "dashboard"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "elasticsearch",
|
||||
"uid": "gdev-elasticsearch"
|
||||
},
|
||||
"enable": true,
|
||||
"iconColor": "red",
|
||||
"name": "errors",
|
||||
"tagsField": "metric",
|
||||
"target": {
|
||||
"lines": 10,
|
||||
"query": "level:error",
|
||||
"refId": "Anno",
|
||||
"scenarioId": "annotations"
|
||||
},
|
||||
"textField": "line"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
Reference in New Issue
Block a user