github-datasource
github-datasource copied to clipboard
Different value format for the workflows stats
The values of the skipped/successes/failures/cancelled
workflows stats are sent to Grafana like shown in the image.
This makes it more difficult to represent it in a pie or any other graph.
Could we just send the int value and let Grafana calculate the percentage?
My best guess is that it comes from here: https://github.com/grafana/github-datasource/blob/371549f6fe32d325c4ee5551a7894e9b51727b22/pkg/github/workflows.go#L132-L144 If we still need the percentages, can we create specific columns for those?
And the change could be something like this? #266
I would appreciate your thoughts @PoorlyDefinedBehaviour
And the change could be something like this? #266
I would appreciate your thoughts @PoorlyDefinedBehaviour
Sounds good to me
This would be super useful for us 👍