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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
+
## 1.0.12 (2020-03-31)
2
+
3
+
- Remote rendering: Delete temporary file after serving it to client [#120](https://github.com/grafana/grafana-image-renderer/pull/120), [marefr](https://github.com/marefr)
4
+
- Remote rendering: More configuration options [#123](https://github.com/grafana/grafana-image-renderer/pull/123), [marefr](https://github.com/marefr)
5
+
1
6
## 1.0.12-beta1 (2020-03-30)
2
7
3
-
- More configuration options to ease investigation[#123](https://github.com/grafana/grafana-image-renderer/pull/123), [marefr](https://github.com/marefr)
8
+
-Remote rendering: More configuration options [#123](https://github.com/grafana/grafana-image-renderer/pull/123), [marefr](https://github.com/marefr)
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
A Grafana backend plugin that handles rendering panels and dashboards to PNGs using headless Chrome.
1
+
A Grafana backend plugin that handles rendering panels and dashboards to PNGs using a headless browser (Chromium).
2
2
3
3
## Requirements
4
4
@@ -44,15 +44,15 @@ You can override certain settings by using environment variables and making sure
44
44
45
45
**Default timezone:**
46
46
47
-
Instruct headless Chrome to use a default timezone when not provided by Grafana, e.g. when rendering panel image of alert. See [ICU’s metaZones.txt](https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1) for a list of supported timezone IDs. Fallbacks to `TZ` environment variable if not set.
47
+
Instruct headless browser instance to use a default timezone when not provided by Grafana, e.g. when rendering panel image of alert. See [ICU’s metaZones.txt](https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1) for a list of supported timezone IDs. Fallbacks to `TZ` environment variable if not set.
48
48
49
49
```bash
50
50
GF_RENDERER_PLUGIN_TZ=Europe/Stockholm
51
51
```
52
52
53
53
**Ignore HTTPS errors:**
54
54
55
-
Instruct headless Chrome whether to ignore HTTPS errors during navigation. Per default HTTPS errors is not ignored.
55
+
Instruct headless browser instance whether to ignore HTTPS errors during navigation. Per default HTTPS errors is not ignored.
56
56
Due to the security risk it's not recommended to ignore HTTPS errors.
Instruct headless Chrome whether to capture and log verbose information when rendering an image. Default is `false` and will only capture and log error messages. When enabled, `true`, debug messages are captured and logged as well.
72
+
Instruct headless browser instance whether to capture and log verbose information when rendering an image. Default is `false` and will only capture and log error messages. When enabled, `true`, debug messages are captured and logged as well.
73
73
74
74
For the verbose information to be included in the Grafana server log you have to adjust the rendering log level to `debug`, see [Troubleshoot image rendering](https://grafana.com/docs/grafana/latest/administration/image_rendering/#troubleshoot-image-rendering) for instructions.
Copy file name to clipboardExpand all lines: docs/remote_rendering_using_docker.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,15 +26,15 @@ HTTP_PORT=0
26
26
27
27
**Default timezone:**
28
28
29
-
Instruct headless Chrome to use a default timezone when not provided by Grafana, .e.g. when rendering panel image of alert. See [ICU’s metaZones.txt](https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1) for a list of supported timezone IDs. Fallbacks to `TZ` environment variable if not set.
29
+
Instruct headless browser instance to use a default timezone when not provided by Grafana, .e.g. when rendering panel image of alert. See [ICU’s metaZones.txt](https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1) for a list of supported timezone IDs. Fallbacks to `TZ` environment variable if not set.
30
30
31
31
```bash
32
32
BROWSER_TZ=Europe/Stockholm
33
33
```
34
34
35
35
**Ignore HTTPS errors:**
36
36
37
-
Instruct headless Chrome whether to ignore HTTPS errors during navigation. Per default HTTPS errors is not ignored.
37
+
Instruct headless browser instance whether to ignore HTTPS errors during navigation. Per default HTTPS errors is not ignored.
38
38
Due to the security risk it's not recommended to ignore HTTPS errors.
39
39
40
40
```bash
@@ -59,14 +59,31 @@ LOG_LEVEL=debug
59
59
60
60
**Verbose logging:**
61
61
62
-
Instruct headless Chrome whether to capture and log verbose information when rendering an image. Default is `false` and will only capture and log error messages. When enabled (`true`) debug messages are captured and logged as well.
62
+
Instruct headless browser instance whether to capture and log verbose information when rendering an image. Default is `false` and will only capture and log error messages. When enabled (`true`) debug messages are captured and logged as well.
63
63
64
64
Note that you need to change log level to `debug`, see above, for the verbose information to be included in the logs.
65
65
66
66
```bash
67
67
RENDERING_VERBOSE_LOGGING=true
68
68
```
69
69
70
+
**Capture browser output:**
71
+
72
+
Instruct headless browser instance whether to output its debug and error messages into running process of remote rendering service. Default is `false`.
73
+
This can be useful to enable (`true`) when troubleshooting.
74
+
75
+
```bash
76
+
RENDERING_DUMPIO=true
77
+
```
78
+
79
+
**Start browser with additional arguments:**
80
+
81
+
Additional arguments to pass to the headless browser instance. Default is `--no-sandbox`. The list of Chromium flags can be found [here](https://peter.sh/experiments/chromium-command-line-switches/). Multiple arguments is separated with comma-character.
You can override certain settings by using a configuration file, see [default.json](https://github.com/grafana/grafana-image-renderer/tree/master/default.json) for defaults. Note that any configured environment variable takes precedence over configuration file settings.
0 commit comments