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
227 stars 54 forks source link

Identify multiple workflow usage stats when multiple queries are merged in the same table #303

Closed richgreen-moj closed 2 months ago

richgreen-moj commented 2 months ago

I want to be able to group together all the actions running in my repository and compare the stats in a single table. When I try this currently I can't easily identify which workflow is being targeted as the name of each one is "workflow". Ideally I'd be able to merge multiple queries in to one table with a column showing the workflow name.

Here is a picture of the issue:

Screenshot 2024-05-09 at 20 59 02

... and with merge into same table Screenshot 2024-05-09 at 15 47 51

zoltanbedi commented 2 months ago

Hey @richgreen-moj,

Thanks for opening this issue. I opened a PR that adds the name field to the return so it is easier to differentiate it. See https://github.com/grafana/github-datasource/pull/306

richgreen-moj commented 2 months ago

Hey @richgreen-moj,

Thanks for opening this issue. I opened a PR that adds the name field to the return so it is easier to differentiate it. See #306

@zoltanbedi - that looks great to me - it will be really useful 👍

richgreen-moj commented 2 months ago

Hi @zoltanbedi - thank you for your work on this feature request! 🙌 Is there a way I can reference your latest update when running a grafana container locally or would I need to wait for a new release?

zoltanbedi commented 2 months ago

@richgreen-moj you can also build the plugin yourself and use it. I'm going to do a release in the meantime.

zoltanbedi commented 1 month ago

@richgreen-moj this is now released in 1.6.0