mirror of https://github.com/grafana/grafana.git
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:
parent
2be4e44a02
commit
e74b4456e4
|
@ -101,11 +101,12 @@ If you want to contribute to any of the plugins listed below (that are found wit
|
|||
- grafana-postgresql-datasource
|
||||
- grafana-pyroscope-datasource
|
||||
- grafana-testdata-datasource
|
||||
- jaegar
|
||||
- jaeger
|
||||
- mysql
|
||||
- parca
|
||||
- tempo
|
||||
- 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.
|
||||
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
### Backend
|
||||
|
|
Loading…
Reference in New Issue