Revert "[v10.0.x] [feat] docs; update admonition syntax" (#68980)
Revert "[v10.0.x] [feat] docs; update admonition syntax (#68857)"
This reverts commit 1e8c28eff4.
This commit is contained in:
@@ -30,9 +30,7 @@ Alert notifications can include images, but rendering many images at the same ti
|
||||
|
||||
## Install Grafana Image Renderer plugin
|
||||
|
||||
{{% admonition type="note" %}}
|
||||
Starting from Grafana v7.0.0, all PhantomJS support has been removed. Please use the Grafana Image Renderer plugin or remote rendering service.
|
||||
{{% /admonition %}}
|
||||
> **Note:** Starting from Grafana v7.0.0, all PhantomJS support has been removed. Please use the Grafana Image Renderer plugin or remote rendering service.
|
||||
|
||||
To install the plugin, refer to the [Grafana Image Renderer Installation instructions](/grafana/plugins/grafana-image-renderer#installation).
|
||||
|
||||
@@ -58,9 +56,7 @@ You can see a docker-compose example using a custom configuration file [here](ht
|
||||
|
||||
### Security
|
||||
|
||||
{{% admonition type="note" %}}
|
||||
This feature is available in Image Renderer v3.6.1 and later.
|
||||
{{% /admonition %}}
|
||||
> **Note:** This feature is available in Image Renderer v3.6.1 and later.
|
||||
|
||||
You can restrict access to the rendering endpoint by specifying a secret token. The token should be configured in the Grafana configuration file and the renderer configuration file. This token is important when you run the plugin in remote rendering mode.
|
||||
|
||||
@@ -94,9 +90,7 @@ You can instruct how headless browser instances are created by configuring a ren
|
||||
|
||||
Default mode will create a new browser instance on each request. When handling multiple concurrent requests, this mode increases memory usage as it will launch multiple browsers at the same time. If you want to set a maximum number of browser to open, you'll need to use the [clustered mode](#clustered).
|
||||
|
||||
{{% admonition type="note" %}}
|
||||
When using the `default` mode, it's recommended to not remove the default Chromium flag `--disable-gpu`. When receiving a lot of concurrent requests, not using this flag can cause Puppeteer `newPage` function to freeze, causing request timeouts and leaving browsers open.
|
||||
{{% /admonition %}}
|
||||
> **Note:** When using the `default` mode, it's recommended to not remove the default Chromium flag `--disable-gpu`. When receiving a lot of concurrent requests, not using this flag can cause Puppeteer `newPage` function to freeze, causing request timeouts and leaving browsers open.
|
||||
|
||||
```bash
|
||||
RENDERING_MODE=default
|
||||
@@ -167,9 +161,7 @@ To achieve better performance, monitor the machine on which your service is runn
|
||||
|
||||
### Other available settings
|
||||
|
||||
{{% admonition type="note" %}}
|
||||
Please note that not all settings are available using environment variables. If there is no example using environment variable below, it means that you need to update the configuration file.
|
||||
{{% /admonition %}}
|
||||
> **Note:** Please note that not all settings are available using environment variables. If there is no example using environment variable below, it means that you need to update the configuration file.
|
||||
|
||||
#### HTTP host
|
||||
|
||||
@@ -287,9 +279,7 @@ RENDERING_DUMPIO=true
|
||||
If you already have [Chrome](https://www.google.com/chrome/) or [Chromium](https://www.chromium.org/)
|
||||
installed on your system, then you can use this instead of the pre-packaged version of Chromium.
|
||||
|
||||
{{% admonition type="note" %}}
|
||||
Please note that this is not recommended, since you may encounter problems if the installed version of Chrome/Chromium is not compatible with the [Grafana Image renderer plugin](/grafana/plugins/grafana-image-renderer).
|
||||
{{% /admonition %}}
|
||||
> **Note:** Please note that this is not recommended, since you may encounter problems if the installed version of Chrome/Chromium is not compatible with the [Grafana Image renderer plugin](/grafana/plugins/grafana-image-renderer).
|
||||
|
||||
You need to make sure that the Chrome/Chromium executable is available for the Grafana/image rendering service process.
|
||||
|
||||
|
||||
@@ -127,10 +127,8 @@ As a last resort, if you already have [Chrome](https://www.google.com/chrome/) o
|
||||
installed on your system, then you can configure the Grafana Image renderer plugin to use this
|
||||
instead of the pre-packaged version of Chromium.
|
||||
|
||||
{{% admonition type="note" %}}
|
||||
Please note that this is not recommended, since you may encounter problems if the installed version of Chrome/Chromium is not
|
||||
compatible with the [Grafana Image renderer plugin](/grafana/plugins/grafana-image-renderer).
|
||||
{{% /admonition %}}
|
||||
> **Note:** Please note that this is not recommended, since you may encounter problems if the installed version of Chrome/Chromium is not
|
||||
> compatible with the [Grafana Image renderer plugin](/grafana/plugins/grafana-image-renderer).
|
||||
|
||||
To override the path to the Chrome/Chromium executable in plugin mode, set an environment variable and make sure that it's available for the Grafana process. For example:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user