hassio-addons / addon-grafana

Grafana - Home Assistant Community Add-ons
https://addons.community
MIT License
220 stars 61 forks source link

Import dashboard from Grafana behind firewall #260

Closed pgloader closed 2 years ago

pgloader commented 2 years ago

Problem/Motivation

My Grafina server is behind company firewall. When I tried to import https://grafana.com/grafana/dashboards/12086, it seemed failed with Bad Gateway. In the log there was an entry like "t=2022-03-31T10:49:00-0400 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/gnet/dashboards/12086 status=502 remote_addr=10.24.109.31 time_ms=51 size=0 referer=http://ll-lt-ixcsdb-01:3000/dashboard/import"

Expected behavior

The dashboard should be imported

Actual behavior

Failed with Bad Gateway

Steps to reproduce

  • -> Import -> put 12086 in the Import via grafana.com field -> click Load

Proposed changes

Instruction how to fix the issue

pgloader commented 2 years ago

Thanks