Difference between revisions of "Grafana"

From Open Source Controls Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<iframe key="wiki" align="right" width="100%" height="850" level="" path="/gojs/samples/wiring24.html?cid=heatweb_grafana1.json.json&height=650px&border=none" />
<pre class="wikidiagrams" style="display:none">
heatweb_grafana1.json Grafana1
</pre>
* https://grafana.com/
* https://grafana.com/
* https://grafana.com/go/grafanaconline/2022/design-spark-air-quality-monitoring-use-case/
* https://grafana.com/go/grafanaconline/2022/design-spark-air-quality-monitoring-use-case/
*https://grafana.com/blog/2021/06/15/resources-for-easy-diy-iot-projects-with-grafana-arduino-prometheus-and-loki/
*https://grafana.com/blog/2021/06/15/resources-for-easy-diy-iot-projects-with-grafana-arduino-prometheus-and-loki/

Revision as of 12:43, 19 November 2022



Setting up for reverse proxy

Open a console into container.

Shell into Grafana and edit ini. May need to install nano

apk update 
apk add nano


nano /usr/share/grafana/conf/defaults.ini

Scroll down and alter to...

# The public facing domain name used to access grafana from a browser
domain = hwwiki.ddns.net

# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks
enforce_domain = false

# The full public facing url
#root_url = %(protocol)s://%(domain)s:%(http_port)s/
root_url = %(protocol)s://%(domain)s:/dashboard/

# Serve Grafana from subpath specified in `root_url` setting. By default it is set to `false` for compatibility reasons.
serve_from_sub_path = true

At the bottom you can also set an anonymous login to allow access without a password.

Restart container