فهرست منبع

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'.
Christian Fetzer 6 سال پیش
والد
کامیت
0cd59fdbcc
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      docs/sources/plugins/developing/datasources.md

+ 1 - 1
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"]
   }
 ]
 ```