grafana / github-datasource

Grafana data source plugin using the Github API to retrieve and visualize Github data.
https://grafana.com/grafana/plugins/grafana-github-datasource/
Apache License 2.0
242 stars 53 forks source link

feature request: interested organizations #299

Closed SgtPooki closed 6 months ago

SgtPooki commented 6 months ago

instead of requiring users to manually type in organizations, how would we set up a list of organizations a team is interested in monitoring (libp2p, ipfs, and some others for my team) using a dashboard like https://github.com/grafana/github-datasource/blob/main/src/dashboards/dashboard.json?

In order to get some organization stats (avg PR open time for an organization as a whole, new open issues in a whole organization, total contributors across an organization) I had to manually set organization in a set of graphs.

I'm no grafana expert, so maybe there's an easy solution here, but how would one define a list of organizations and then repeat visualizations for all of those organizations?

Example of what i'm looking for:

image

but also "contributors" if possible.

this would also be useful for the grafana organization to see overall health

gwdawson commented 6 months ago

hey, if i understood this correctly you can do this using dashboard variables. i recorded a quick demo of how i would achieve this.

NOTE: i'm going to close this issue, however if this didn't answer your question feel free to re-open

https://github.com/grafana/github-datasource/assets/34524710/fca230b9-10e5-4510-bd2a-10f99d9294fc

SgtPooki commented 6 months ago

@gwdawson I thought it should be easy with the repeat option. thanks for the super helpful demo