Thank you for your response, I found this page and I tried to work based on what I read there. I do not have any pages or dashboards, so I left that out, also I do not have a modules.ts for the app itself. Can it cause troubles?
Because what I see is, even with defining my includes in my-app/src/plugin.json:
having a plugin.json with datasource type in my-app/src/datasources/my-datasource
I can see grafana loads the plugin:
t=2021-01-21T16:02:38+0000 lvl=info msg="Registering plugin" logger=plugins name=my-datasource
t=2021-01-21T16:02:38+0000 lvl=dbug msg="Getting signature state of plugin" logger=plugins plugin=asd-my-datasource
t=2021-01-21T16:02:38+0000 lvl=dbug msg="Plugins: Adding route" logger=http.server route=/public/plugins/asd-my-datasource dir=/var/lib/grafana/plugins/gitlabci-pipeline-app/dist/datasources/my-datasource
but the datasource is not showing up in the add new datasource page. The panel is visible when I want to add it to a dashboard. Any idea what can go wrong? I uploaded the prototype (based on the grafana panel and datasource templates to: GitHub - kalidasya/grafana-bundle-plugin-example: test project to demonstrate how to bundle a grafana panel and a datasource)
Maybe I am missing an enabling step? The doc is not clear to me about it.
btw its a great dev friendly ecosystem, I really liked the plugin templates and the tutorials, really nicely done.