Преглед изворни кода

example(plugin.json): add dashboards array in includes

bergquist пре 9 година
родитељ
комит
ae3bda81c5
1 измењених фајлова са 7 додато и 4 уклоњено
  1. 7 4
      examples/nginx-app/plugin.json

+ 7 - 4
examples/nginx-app/plugin.json

@@ -34,10 +34,13 @@
     "updated": "2015-02-10"
     "updated": "2015-02-10"
   },
   },
 
 
-  "includes": [
-    {"type": "panel", "name": "Nginx Panel"},
-    {"type": "datasource", "name": "Nginx Datasource"}
-  ],
+  "includes": {
+    "dashboards": [],
+    "plugins": [
+      {"type": "panel", "name": "Nginx Panel"},
+      {"type": "datasource", "name": "Nginx Datasource"}
+    ]
+  },
 
 
   "dependencies": {
   "dependencies": {
     "grafanaVersion": "3.x.x",
     "grafanaVersion": "3.x.x",