mirror of
https://github.com/grafana/grafana.git
synced 2025-09-18 05:02:51 +08:00

* Draft * Fix? * Prettier * Fix? * Update docs/sources/administration/plugin-management/_index.md Co-authored-by: David Harris <david.harris@grafana.com> * Update docs/sources/administration/plugin-management/_index.md Co-authored-by: David Harris <david.harris@grafana.com> * Feedback, new docs * Prettier * More feedback * Prettier * Minor edits * Edits * Prettier * Edits * Prettier * Solving conflicts * Prettier * Update docs/sources/administration/plugin-management/_index.md Co-authored-by: David Harris <david.harris@grafana.com> * Update docs/sources/administration/plugin-management/_index.md Co-authored-by: David Harris <david.harris@grafana.com> * Update docs/sources/administration/plugin-management/_index.md Co-authored-by: David Harris <david.harris@grafana.com> * Fix? * Fix? * fix links? * Update plugin-integrate.md * fix link * fix link? * Update plugin-install.md * Update plugin-install.md * fix link * fix link * fix links * Update plugin-types.md * Fix? * Fixing * More links * Final touches * Update docs/sources/administration/plugin-management/plugin-integrate.md Co-authored-by: David Harris <david.harris@grafana.com> * Prettier --------- Co-authored-by: David Harris <david.harris@grafana.com> Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
48 lines
1.5 KiB
Markdown
48 lines
1.5 KiB
Markdown
---
|
|
title: Plugin backend communication
|
|
description: Allow plugin frontends to communicate locally with the backends of other installed plugins.
|
|
labels:
|
|
products:
|
|
- enterprise
|
|
- oss
|
|
keywords:
|
|
- grafana
|
|
- plugins
|
|
- plugin
|
|
- navigation
|
|
- customize
|
|
- configuration
|
|
- grafana.ini
|
|
- sandbox
|
|
- frontend
|
|
weight: 350
|
|
---
|
|
|
|
# Allow plugin backend communication
|
|
|
|
By default, you can only communicate with plugin backends remotely.
|
|
|
|
However, you can configure your Grafana instance to let the frontends of installed plugins to directly communicate with the backends of other plugins installed locally. You can use this configuration to, for example, enable a [canvas panel](https://grafana.com/docs/grafana/<GRAFANA_VERSION>/panels-visualizations/visualizations/canvas/) to call an application resource API that is permitted by the `actions_allow_post_url` option.
|
|
|
|
## Integrate your plugins
|
|
|
|
To enable backend communication between plugins, set the plugins you want to communicate with. In your configuration file (`grafana.ini` or `custom.ini` depending on your operating system), remove the semicolon to enable and then set the following configuration option:
|
|
|
|
```
|
|
actions_allow_post_url=
|
|
```
|
|
|
|
This is a comma-separated list that uses glob matching.
|
|
|
|
- To allow access to all plugins that have a backend, use:
|
|
|
|
```
|
|
actions_allow_post_url=/api/plugins/*
|
|
```
|
|
|
|
- To access the backend of only one plugin, use:
|
|
|
|
```
|
|
actions_allow_post_url=/api/plugins/<GRAFANA_SPECIAL_APP>
|
|
```
|