github-datasource
github-datasource copied to clipboard
Support commit messages as `Display Field` for `Commits` query type
Currently, it is not possible to show the commit message in annotations that query for commits from the GitHub data source. While displaying commit IDs is already super handy, having also the messages would make the annotations even easier and faster to read and understand.
After a while going through the Internet looking for a way to get the commit messages to show, I'm here at a dead end. Apparently there's no easy way to achieve this.
The only thing that kinda looks like it could be a solution is the Datadog GitHub Integration. With it you can get the push events to the repository via webhooks, except that with Datadog you don't have the commit message as a separate field, just the JSON payload inside of which it's the message.
Maybe sending this event data to Grafana as is would allow you to parse the payload with a transformation and extract the message? Has anybody tried something like this?
Hey did someone find another way displaying the commit message in annotations via grafana datasource or another way?
@zickzackhd Sadly, no, but I also stopped looking for other solutions.