Update developer-guide.md for running decoupled plugins (#108604)

* Update developer-guide for running decoupled plugins

* Update contribute/developer-guide.md

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* Fix lint

---------

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
This commit is contained in:
Ivana Huckova 2025-07-24 17:51:44 +02:00 committed by GitHub
parent 2be4e44a02
commit e74b4456e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 1 deletions

View File

@ -101,11 +101,12 @@ If you want to contribute to any of the plugins listed below (that are found wit
- grafana-postgresql-datasource - grafana-postgresql-datasource
- grafana-pyroscope-datasource - grafana-pyroscope-datasource
- grafana-testdata-datasource - grafana-testdata-datasource
- jaegar - jaeger
- mysql - mysql
- parca - parca
- tempo - tempo
- zipkin - zipkin
- loki
To build and watch all these plugins you can run the following command. Note this can be quite resource intensive as it will start separate build processes for each plugin. To build and watch all these plugins you can run the following command. Note this can be quite resource intensive as it will start separate build processes for each plugin.
@ -119,6 +120,16 @@ If, instead, you would like to build and watch a specific plugin you can run the
yarn workspace <name_of_plugin> dev yarn workspace <name_of_plugin> dev
``` ```
If you want to run multiple specific plugins, you can use the following command.
```
yarn nx run-many -t dev --projects="@grafana-plugins/grafana-azure-monitor-datasource,@grafana-plugins/jaeger"
```
If you're unsure of the name of the plugins you'd like to run you can query nx with the following command to get a list of all plugins:
`yarn nx show projects --projects="@grafana-plugins/*"`
Next, we'll explain how to build and run the web server that serves these frontend assets. Next, we'll explain how to build and run the web server that serves these frontend assets.
### Backend ### Backend