Dear Community,
I am a starter with Grafana and special the Image Render.
I would like to send some graph by Telegram to my mobile and about this I need to create a Picture PNG file to be able to create.
To creating and setup the Docker Containers on Raspberry Pi I use Portainer also in a container.
The Versions I use for Grafana is as follow:
Grafana: V8.3.4
Image Renderer: adejong/grafana-image-renderer-pi:1.0.8-beta2
If I use the original
grafana/grafana-image-renderer:latest
the Container will not start about this error
standard_init_linux.go:228: exec user process caused: exec format error
as I understood the container is not compatible with the Raspberry but I am not sure.
In Portainer I user Stacks instaead of docker complose file but it is the same as I read.
My file is as follow
version: "2"
services:
grafana:
image: grafana/grafana:latest
container_name: grafana
environment:
GF_RENDERING_SERVER_URL: http://renderer:8081/render
GF_RENDERING_CALLBACK_URL: http://grafana:3000/
network_mode: bridge
ports:
- 3000:3000
links:
- renderer
volumes:
- /opt/grafana/lib:/var/lib/grafana
- /opt/grafana/ini:/etc/grafana
- /opt/grafana/log:/var/log/grafana
- /opt/grafana/json/config.json:/usr/src/app/config.json
renderer:
image: adejong/grafana-image-renderer-pi:1.0.8-beta2
container_name: grafana-image-renderer-pi
network_mode: bridge
ports:
- 8081:8081
After starting the Stack I connect to Grafana and I can see under share the possibility to create a PNG File.
But when I push the button I receive an error message.
When I check the Server LOG File I saw the follow information.
t=2022-01-31T16:20:23+0000 lvl=dbug msg="Scheduling update" logger=alerting.scheduler ruleCount=1
t=2022-01-31T16:20:29+0000 lvl=info msg=Rendering logger=rendering renderer=http path="d-solo/L43cYuRgk/heizungsauswertung?orgId=1&from=1643624427296&to=1643646027296&panelId=2&width=1000&height=500&tz=Europe%2FBerlin"
t=2022-01-31T16:20:29+0000 lvl=dbug msg="calling remote rendering service" logger=rendering renderer=http url="http://renderer:8081/render?deviceScaleFactor=1.000000&domain=grafana&encoding=&height=500&renderKey=sAFFuAtFJPmYAT3gosAWhkMkt8GMz0tY&timeout=60&timezone=Europe%2FBerlin&url=http%3A%2F%2Fgrafana%3A3000%2Fd-solo%2FL43cYuRgk%2Fheizungsauswertung%3ForgId%3D1%26from%3D1643624427296%26to%3D1643646027296%26panelId%3D2%26width%3D1000%26height%3D500%26tz%3DEurope%252FBerlin%26render%3D1&width=1000"
t=2022-01-31T16:20:29+0000 lvl=eror msg="Failed to send request to remote rendering service" logger=rendering renderer=http error="Get \"http://renderer:8081/render?deviceScaleFactor=1.000000&domain=grafana&encoding=&height=500&renderKey=sAFFuAtFJPmYAT3gosAWhkMkt8GMz0tY&timeout=60&timezone=Europe%2FBerlin&url=http%3A%2F%2Fgrafana%3A3000%2Fd-solo%2FL43cYuRgk%2Fheizungsauswertung%3ForgId%3D1%26from%3D1643624427296%26to%3D1643646027296%26panelId%3D2%26width%3D1000%26height%3D500%26tz%3DEurope%252FBerlin%26render%3D1&width=1000\": dial tcp: lookup renderer on 192.168.1.1:53: no such host"
t=2022-01-31T16:20:29+0000 lvl=eror msg="Rendering failed." logger=context userId=1 orgId=1 uname=admin error="failed to send request to remote rendering service: Get \"http://renderer:8081/render?deviceScaleFactor=1.000000&domain=grafana&encoding=&height=500&renderKey=sAFFuAtFJPmYAT3gosAWhkMkt8GMz0tY&timeout=60&timezone=Europe%2FBerlin&url=http%3A%2F%2Fgrafana%3A3000%2Fd-solo%2FL43cYuRgk%2Fheizungsauswertung%3ForgId%3D1%26from%3D1643624427296%26to%3D1643646027296%26panelId%3D2%26width%3D1000%26height%3D500%26tz%3DEurope%252FBerlin%26render%3D1&width=1000\": dial tcp: lookup renderer on 192.168.1.1:53: no such host"
t=2022-01-31T16:20:29+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/render/d-solo/L43cYuRgk/heizungsauswertung status=500 remote_addr=10.1.1.28 time_ms=65 size=1344 referer=
t=2022-01-31T16:20:31+0000 lvl=dbug msg="Received unknown frontend metric" logger=context userId=1 orgId=1 uname=admin metric=frontend_boot_first_contentful_paint_time_seconds
t=2022-01-31T16:20:33+0000 lvl=dbug msg="Scheduling update" logger=alerting.scheduler ruleCount=1
t=2022-01-31T16:20:43+0000 lvl=dbug msg="Scheduling update" logger=alerting.scheduler ruleCount=1
I checked different sides but I was not able to find a solution for this or I am not able to understand the correct problem.
Thanks
Thomas