Spike: Use Grafana JSON to render GitLab chart in issue

Purpose

We want to enable users to embed Grafana metrics in GitLab issues. Through https://gitlab.com/gitlab-org/gitlab-ee/issues/13039, we determined that users could do a basic implementation by linking the grafana image. This shows the latest chart but is not interactive. It is also unclear how it would perform if a user does not have permissions to view the grafana image.

Considering a lot of users use Grafana, we need to provide a better embed integration so that the user can interact with the chart and have a clear path on how to handle user permissions on Grafana and on gitlab

Outcome

  1. Determine feasibility of consuming Grafana panel data json and displaying it in a GitLab rendered chart so that it can be embedded in any issue
  2. Determine what issues need to be created to implement this feature

Intended users

Sasha the Software Developer
Devon the DevOps Engineer
Sidney the Systems Administrator

Further details

This work contributes to the Incident Management Vision

Proposal

Populate this section with the findings that comes from this spike

Edited Aug 28, 2019 by Clement Ho
Assignee Loading
Time tracking Loading