Add an issues (open/closed) panel to a dashboard

In this milestone, you create a dashboard panel that displays GitHub issues data, including the count of open and closed issues over time. This visualization helps you track issue management trends and repository health.

Issues are a fundamental part of GitHub repository management, representing bugs, feature requests, and other tasks. Visualizing issue data helps development teams understand workload patterns, identify trends in issue resolution, and monitor project health.

To create a dashboard panel for GitHub issues, complete the following steps:

  1. Sign in to your Grafana Cloud environment, for example mystack.grafana.net.

  2. Click Dashboards in the left navigation menu.

  3. Click New > New Dashboard to create a new dashboard.

  4. Click Add visualization to add your first panel.

  5. In the data source dropdown, select your GitHub data source.

  6. In the query builder:

    1. Choose Issues from the Query Type dropdown.
    2. Define the Owner and Repository for which you want to visualize Issues. For example, grafana (in both Owner and Repository).
    3. Choose Created At from the Time Field dropdown.
  7. From the Visualization drop-down on the right, select Table.

  8. Configure the panel settings:

    1. In the Panel options section, enter GitHub Issues (Open/Closed) Overview in the Title.
    2. Add additional details in the Description section, explaining what the panel shows.
  9. Use the time picker toggle button in the upper right to select a time range. For example, select Last 30 days to see recent trends.

    The following image shows an example of what your panel might look like.

    Example GitHub data source configured successfully in Grafana Cloud

  10. Click Save dashboard button on top right to save the panel to your dashboard.

The panel now displays a Table panel visualization showing issue trends over time. You can see both the total number of issues and the number of open and closed issues, helping you understand how issue resolution is progressing.

In the next milestone, you’ll create a similar panel for pull request data.


page 2 of 5