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'.
pull/15987/head
Christian Fetzer 7 years ago
parent 4bbd6ab79c
commit 0cd59fdbcc
  1. 2
      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"]
}
]
```

Loading…
Cancel
Save