From 0cd59fdbcc894e70c2b3d1a0f986f616558e14ab Mon Sep 17 00:00:00 2001 From: Christian Fetzer Date: Wed, 13 Mar 2019 20:48:49 +0100 Subject: [PATCH] docs: Change type of 'tags' in annotationQuery result example to list A datasource plugin must return a list of tags in the 'tags' field of the annotationQuery result. A string 'test' would otherwise result in 4 tags in Grafana: 't','e','s','t'. --- docs/sources/plugins/developing/datasources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/plugins/developing/datasources.md b/docs/sources/plugins/developing/datasources.md index f8792441bbd..7be1b754865 100644 --- a/docs/sources/plugins/developing/datasources.md +++ b/docs/sources/plugins/developing/datasources.md @@ -163,7 +163,7 @@ Expected result from datasource.annotationQuery: "title": "Cluster outage", "time": 1457075272576, "text": "Joe causes brain split", - "tags": "joe, cluster, failure" + "tags": ["joe", "cluster", "failure"] } ] ```