github-datasource icon indicating copy to clipboard operation
github-datasource copied to clipboard

Support commit messages as `Display Field` for `Commits` query type

Open davidepedranz opened this issue 4 years ago • 3 comments

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.

davidepedranz avatar Jul 28 '21 06:07 davidepedranz

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?

oxfist avatar Dec 30 '21 00:12 oxfist

Hey did someone find another way displaying the commit message in annotations via grafana datasource or another way?

zickzackhd avatar Jan 18 '23 09:01 zickzackhd

@zickzackhd Sadly, no, but I also stopped looking for other solutions.

oxfist avatar Jan 18 '23 16:01 oxfist