Failed to render and upload alert panel image - Ubuntu 20.04, Grafana v8.0.3, grafana-image-renderer v3.0.1

I’m trying to set up alerts with images included but am having trouble with the image rendering. I’m successfully receiving email alerts and I installed the image-renderer plugin as such:

jon@monitor:~$ sudo grafana-cli plugins install grafana-image-renderer
[sudo] password for jon: 
✔ Downloaded grafana-image-renderer v3.0.1 zip successfully

Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.

jon@monitor:~$ sudo systemctl restart grafana-server

But this is the error I get when an alert gets triggered.

t=2021-07-03T13:43:51-0400 lvl=info msg="New state change" logger=alerting.resultHandler ruleId=1 newState=ok prev state=alerting
t=2021-07-03T13:43:51-0400 lvl=info msg=Rendering logger=rendering renderer=plugin path="d-solo/hb7fSE0Zz/trachenet-dashboard?orgId=1&panelId=13"
t=2021-07-03T13:43:51-0400 lvl=eror msg="Render request failed" logger=plugins.backend pluginId=grafana-image-renderer url="http://grafana.staged-by-discourse.com/d-solo/hb7fSE0Zz/trachenet-dashboard?orgId=1&panelId=13&render=1" error="Error: Failed to launch the browser process!\n/var/lib/grafana/plugins/grafana-image-renderer/chrome-linux/chrome: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md\n"
t=2021-07-03T13:43:51-0400 lvl=eror msg="Failed to render and upload alert panel image." logger=alerting.notifier ruleId=1 error="rendering failed: Error: Failed to launch the browser process!\n/var/lib/grafana/plugins/grafana-image-renderer/chrome-linux/chrome: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md\n"
t=2021-07-03T13:43:51-0400 lvl=info msg="Sending alert notification to" logger=alerting.notifier.email addresses=[redacted@email.com] singleEmail=false

Version and OS:

jon@monitor:~$ grafana-server -v
Version 8.0.3 (commit: cae5c5e46b, branch: HEAD)

jon@monitor:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal

We chose not to support images in Grafana 8 alerts at launch. I would encourage you to create a feature request though!

Hi David, after upgrade v8, alert message of my system not show image, only link (of file .png).
Your answer above claims v8 no longer supports images via alert?
If so, is there any other way to do this?

@ndt1092 at this time, I do not believe so. Of course if anyone figures a work around, please post it here! We may be able to make time to begin including images in notifications again at some point but I don’t have any idea if/when that might happen.

In the notification settings, there is an option to export images, but when enabled it is not seen in the warning messages, which affects the user experience. I hope you can help the image reappear in the warning in this version.