最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to add a backend to a nested plugin in Grafana and build it? - Stack Overflow

programmeradmin5浏览0评论

I followed this guide on the Grafana developer page to add a nested datasource plugin to an app.

On the page it is stated that:

each nested data source can have its own backend, independent of the app plugin's backend.

But nowhere is described how and searching on the internet didn't really lead to anything.

When i follow the guide it completely omits the backend and breaks the normal plugin structure by renaming the src directory to the plugins name.

I tried to solve this by adding the pkg dir to the plugins directory, but due to the messed up folder structure mage build fails, since the plugin.json file is now in the root directory instead of in src.

What is the proper way to create and build a nested plugin that has its own independent backend?

发布评论

评论列表(0)

  1. 暂无评论