Grafana Alerting No Images

Using Grafana 10.0.1 with external image rendering pod deployed via Helm in Kubernetes. I can’t seem to get Grafana OnCall to send images to Slack

I can see Grafana Requesting Images:

logger=rendering renderer=http t=2023-06-27T18:41:06.895146988Z level=debug msg="calling remote rendering service" url="http://grafana-image-renderer.grafana:8081/render?deviceScaleFactor=1.000000&domain=grafana.grafana&encoding=&height=500&renderKey=q8yAepg0gKjQoCqeVN7jOgOm7YR0PGSa&timeout=10&timezone=&url=http%3A%2F%2Fgrafana.grafana%3A80%2Fd-solo%2Frq0JrllZz%2Fsynthetic-monitoring-http%3Ffrom%3Dnow-1h%26orgId%3D1%26panelId%3D29%26to%3Dnow%26render%3D1&width=1000"
logger=ngalert.image rule_uid=a8a28ab0-859d-4b11-96a0-89a0a3048e17 org_id=1 dashboard=rq0JrllZz panel=29 t=2023-06-27T18:41:11.455315961Z level=debug msg="Took screenshot" path=/var/lib/grafana/png/m2HmIZBHFv86WZ17qNXy.png                                                                                                                                                                                    
logger=ngalert.image rule_uid=a8a28ab0-859d-4b11-96a0-89a0a3048e17 org_id=1 dashboard=rq0JrllZz panel=29 t=2023-06-27T18:41:11.514238556Z level=debug msg="Saved image" token=1aff05fd-9ec8-47e0-91b7-06a37e7eb6ba            

When looking at the grouping, I can see the image token:

When I go to OnCall and look at the Grafana Alerting template, there is no templating for image and the payload doesn’t have the image URL in it.

Any ideas?

hi @mdiorio :wave:

If I understood correctly you are using a remote image rendering service (run in Docker or as standalone Node.js application), as these are the two possible ways. See Grafana Image Renderer plugin for Grafana | Grafana Labs

Can you safely share your docker .yaml file config and/or your grafana configuration file?

I’m afraid this is current a limitation of the integration between Grafana Alerting and on-call. The good news is we are working on improving the integration between Alerting and on-call so I’ll share this feedback!

Ugh - ok, I thought it was just me. I saw the following, but it doesn’t say anything about it not working with OnCall. In fact, I don’t see it mentioned anywhere that it wouldn’t work with OnCall.

This feature is not supported in Mimir or Loki, or when Grafana is configured to send alerts to other Alertmanagers such as the Prometheus Alertmanager