Commit 1845baa3 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Merge branch 'tr-embed-grafana-image-docs' into 'master'

Documentation for embedding Grafana live charts as images

Closes #66662

See merge request gitlab-org/gitlab-ce!32342
......@@ -393,6 +393,27 @@ The following requirements must be met for the metric to unfurl:
![Embedded Metrics](img/embed_metrics.png)
### Embedding live Grafana charts
It is also possible to embed live [Grafana]( charts within issues, as a [Direct Linked Rendered Image](
The sharing dialog within Grafana provides the link, as highlighted below.
![Grafana Direct Linked Rendered Image](img/grafana_live_embed.png)
NOTE: **Note:**
For this embed to display correctly the Grafana instance must be available to the target user, either as a public dashboard or on the same network.
Copy the link and add an image tag as [inline HTML](../../ in your markdown. You may tweak the query parameters as required. For instance, removing the `&from=` and `&to=` parameters will give you a live chart. Here is example markup for a live chart from GitLab's public dashboard:
<img src=""/>
This will render like so:
<img src=""/>
## Troubleshooting
If the "No data found" screen continues to appear, it could be due to:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment