Difference between revisions of "OS4X Grafana Integration"

From OS4X
Jump to navigation Jump to search
Line 2: Line 2:
 
A Grafana server with installed MySQL Data Source plugin is required. For the configuration of the integration you need an API token with administrative permissions.
 
A Grafana server with installed MySQL Data Source plugin is required. For the configuration of the integration you need an API token with administrative permissions.
  
= Configuration =
+
= Grafana server configuration =
 
Since the panel is being embedded as an HTML iframe, the HTTP response header must not contain "<code>X-Frame-Options: DENY</code>". Change the Grafana configuration (default: <code>/etc/grafana/grafana.ini</code>) the following value:
 
Since the panel is being embedded as an HTML iframe, the HTTP response header must not contain "<code>X-Frame-Options: DENY</code>". Change the Grafana configuration (default: <code>/etc/grafana/grafana.ini</code>) the following value:
 
  allow_embedding = true
 
  allow_embedding = true

Revision as of 13:16, 28 November 2025

Requirements

A Grafana server with installed MySQL Data Source plugin is required. For the configuration of the integration you need an API token with administrative permissions.

Grafana server configuration

Since the panel is being embedded as an HTML iframe, the HTTP response header must not contain "X-Frame-Options: DENY". Change the Grafana configuration (default: /etc/grafana/grafana.ini) the following value:

allow_embedding = true

Restart Grafana afterwards:

systemctl restart grafana-server.service

Coming soon

(t.b.d.)