Can I create multiple panels for an app plugin?

Hi, first of all Grafana is great and really easy to use!

My question is can I create multiple panels within a Grafana app plugin? When I look around the existing samples, it looks like I can only create one datasource and one plugin for an app plugin?

Like the plugin.json I can:

...
  "includes": [
    {
      "type": "dashboard",
      "name": "Example dashboard 1",
      "path": "dashboards/example-dashboard1.json",
      "role": "Admin",
      "addToNav": false,
      "uid": "Av57mRHVz"
    },
    {
      "type": "datasource",
      "name": "My Datasource",
      "role": "Admin"
    },
    {
      "type": "panel",
      "name": "My panel"
    }
  ],
...

Then I can create dedicated folders named as datasource and panel to place my source code.

@likidu Yes, you can. Just put them in separate folders in src with the plugin.json file.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.