You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a `user` is defined in a setup project (like in the RBAC example above) `plugin-e2e` will use the Grafana HTTP API to create the user account. This action requires elevated permissions, so by default the server administrator credentials `admin:admin` will be used. If the end-to-end tests are targeting the [development environment](../set-up-development-environment.md) scaffolded with `create-plugin`, this will work fine. However for other test environments the server administrator password may be different. In that case, we search for GRAFANA_ADMIN_USER and GRAFANA_ADMIN_PASSWORD environment variables. Additionally you can provide the correct credentials by setting `grafanaAPICredentials` in the global options.
100
+
When a `user` is defined in a setup project (like in the RBAC example above) `plugin-e2e` will use the Grafana HTTP API to create the user account. This action requires elevated permissions, so by default the server administrator credentials `admin:admin` will be used. If the end-to-end tests are targeting the [development environment](../set-up/set-up-development-environment.md) scaffolded with `create-plugin`, this will work fine. However for other test environments the server administrator password may be different. In that case, we search for GRAFANA_ADMIN_USER and GRAFANA_ADMIN_PASSWORD environment variables. Additionally you can provide the correct credentials by setting `grafanaAPICredentials` in the global options.
Copy file name to clipboardExpand all lines: docusaurus/docs/get-started.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,9 +44,11 @@ If this is your first time creating a plugin, we recommend that you familiarize
44
44
45
45
:::
46
46
47
-
## Classifications of Grafana plugins
47
+
## Signature classifications of Grafana plugins
48
48
49
-
We recommend that you familiarize yourself with the signature classifications of Grafana plugins, such as the distinction between private and public plugins. Note that if you want to publish a plugin which is associated with a commercial offering to the official Grafana catalog, a paid subscription is typically required. Learn more about [our plugins policy](https://grafana.com/legal/plugins/).
49
+
Familiarize yourself with the signature classifications of Grafana plugins, such as the distinction between private and public plugins.
50
+
51
+
Note that if you want to publish a plugin associated with a commercial offering to the official Grafana catalog, a paid subscription is typically required. Learn more about [our plugins policy](https://grafana.com/legal/plugins/).
50
52
51
53
## Use plugin tools to develop your plugins faster
52
54
@@ -155,7 +157,7 @@ For more information about these files, refer to [Anatomy of a plugin](/key-conc
155
157
156
158
## Build and run your plugin in Docker
157
159
158
-
With the `create-plugin` tool, you can use a Docker container to simplify the configuration, loading, and development processes. For more information, refer to [Set up development environment](/set-up-development-environment/).
160
+
With the `create-plugin` tool, you can use a Docker container to simplify the configuration, loading, and development processes. For more information, refer to [Set up development environment](/set-up/set-up-development-environment/).
159
161
160
162
Refer to the "Next steps" terminal output following the [scaffolding of a new plugin](#scaffold-a-plugin) to install dependencies, build and run your plugin.
161
163
@@ -186,7 +188,7 @@ Note: We strongly recommend creating a new Git repository by running git init in
186
188
187
189
### Build the frontend
188
190
189
-
To build the plugin in watch mode for development, continually monitoring for changes, run:
191
+
To build the plugin in watch mode for development and continually monitor for changes, run:
Copy file name to clipboardExpand all lines: docusaurus/docs/how-to-guides/app-plugins/include-dashboards-in-app-plugins.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ We'll walk you through the process of bundling dashboards into plugins. The proc
19
19
20
20
## Step 1: Create a dashboard
21
21
22
-
Start by creating the dashboard you want to bundle with your plugin. The [development environment](/set-up-development-environment) provided by create-plugin can aid with creating and testing dashboards.
22
+
Start by creating the dashboard you want to bundle with your plugin. The [development environment](/set-up/set-up-development-environment) provided by create-plugin can aid with creating and testing dashboards.
Copy file name to clipboardExpand all lines: docusaurus/docs/how-to-guides/data-source-plugins/include-dashboards.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ We'll walk you through the process of bundling dashboards into plugins. The proc
16
16
17
17
## Step 1: Create a dashboard
18
18
19
-
Start by creating the dashboard you want to bundle with your plugin. The [development environment](/set-up-development-environment) provided by create-plugin can aid with creating and testing dashboards.
19
+
Start by creating the dashboard you want to bundle with your plugin. The [development environment](/set-up/set-up-development-environment) provided by create-plugin can aid with creating and testing dashboards.
Copy file name to clipboardExpand all lines: docusaurus/docs/how-to-guides/plugin-internationalization.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -282,6 +282,6 @@ The translation file will look similar to this:
282
282
283
283
## Test the translated plugin
284
284
285
-
To test the plugin follow the steps in [Set up your development environment](../set-up-development-environment#docker-development-environment) to run your plugin locally.
285
+
To test the plugin follow the steps in [Set up your development environment](../set-up/set-up-d) to run your plugin locally.
286
286
287
287
You can then verify your plugin is displaying the appropriate text as you [change the language](https://grafana.com/docs/grafana/latest/administration/organization-preferences/#change-grafana-language).
Copy file name to clipboardExpand all lines: docusaurus/docs/key-concepts/best-practices.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ Is something missing from this list? [Let us know](https://github.com/grafana/pl
79
79
## Publish a plugin
80
80
81
81
-**Add a GitHub badge** - Follow [these steps](https://grafana.com/blog/2024/06/06/6-tips-to-improve-your-grafana-plugin-before-you-publish/#tip-4-add-dynamic-badges-to-your-readme) to help users find your plugin using GitHub badges.
82
-
-**Add workflow automation** - If your plugin is available on GitHub, consider [adding the GitHub workflows](../set-up-development-environment.md#set-up-github-workflows) for plugin development to your repository.
82
+
-**Add workflow automation** - If your plugin is available on GitHub, consider [adding the GitHub workflows](../set-up/set-up-github) for plugin development to your repository.
Copy file name to clipboardExpand all lines: docusaurus/docs/key-concepts/manage-npm-dependencies.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ However, when the plugin is installed and executed within a Grafana instance, it
26
26
27
27
:::info
28
28
29
-
This dynamic dependency linking also applies to the [docker development environment](/set-up-development-environment) provided by create-plugin. When the plugin is running inside Grafana it will inherit the version of the `@grafana` dependencies from the Grafana application.
29
+
This dynamic dependency linking also applies to the [docker development environment](/set-up/set-up-development-environment) provided by create-plugin. When the plugin is running inside Grafana it will inherit the version of the `@grafana` dependencies from the Grafana application.
Copy file name to clipboardExpand all lines: docusaurus/docs/publish-a-plugin/build-automation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ keywords:
15
15
16
16
# Automate packaging and signing with GitHub CI
17
17
18
-
We recommend setting up your plugin to use the supplied [Github workflows](../set-up-development-environment.md#set-up-github-workflows) from [create-plugin](../get-started.md)
18
+
We recommend setting up your plugin to use the supplied [Github workflows](../set-up/set-up-github) from [create-plugin](../get-started.md)
19
19
to ensure that your plugin will be built and packaged in the correct format.
20
20
21
21
Additionally, we recommend using the zip file produced from this workflow to test the plugin.
Copy file name to clipboardExpand all lines: docusaurus/docs/publish-a-plugin/provide-test-environment.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Developers often ask us how long it takes for a plugin to be reviewed for publis
22
22
23
23
By far the most time consuming aspect of a plugin's review is the creation of a suitable test environment so we can verify its behavior. This step often involves a number of back-and-forth conversations between the plugin developer and the review team.
24
24
25
-
To improve the review time, add [_provisioning_](https://grafana.com/docs/grafana/latest/administration/provisioning/#provision-grafana) to your plugin. Provisioning refers to the process of preparing and configuring a test environment within the plugin's [Docker development environment](/set-up-development-environment).
25
+
To improve the review time, add [_provisioning_](https://grafana.com/docs/grafana/latest/administration/provisioning/#provision-grafana) to your plugin. Provisioning refers to the process of preparing and configuring a test environment within the plugin's [Docker development environment](/set-up/set-up-development-environment).
Copy file name to clipboardExpand all lines: docusaurus/docs/publish-a-plugin/sign-a-plugin.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ All Grafana Labs-authored plugins, including Enterprise plugins, are signed so t
17
17
18
18
:::info
19
19
20
-
You don't need to sign a plugin during development or when submitting a plugin for review for the first time. The [Docker development environment](../set-up-development-environment.md) that is scaffolded with `@grafana/create-plugin` is configured by default to run in [development mode](https://github.com/grafana/grafana/blob/main/contribute/developer-guide.md#configure-grafana-for-development), which allows you to load the plugin without a signature.
20
+
You don't need to sign a plugin during development or when submitting a plugin for review for the first time. The [Docker development environment](../set-up/set-up-development-environment.md) that is scaffolded with `@grafana/create-plugin` is configured by default to run in [development mode](https://github.com/grafana/grafana/blob/main/contribute/developer-guide.md#configure-grafana-for-development), which allows you to load the plugin without a signature.
0 commit comments