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:
Ivana Huckova
2023-05-10 09:30:57 +02:00
committed by GitHub
parent 903cf3e30d
commit d88da205f6
5 changed files with 348 additions and 173 deletions

View File

@ -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"
}
]
},