feat(inputs.webhooks.github): Add run_id field to workflow_run events#19157
feat(inputs.webhooks.github): Add run_id field to workflow_run events#19157warintara wants to merge 4 commits into
Conversation
|
Thanks so much for the pull request! |
|
!signed-cla |
|
Hello @srebhan @skartikey, could you please take a look at this PR when you have a moment? Let me know if you have any questions or need any clarifications. Thank you! |
|
* 'run_id' = `event.workflow_run.id` int |
|
Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
|
Done, I have added run_id to the Fields list in the README. Thanks for the feedback! @skartikey |
Summary
Added run_id field to the Telegraf GitHub webhook plugin's workflow_run event parsing.
Changes:
Why: The GitHub Actions run ID is the unique identifier used in GitHub Action URLs (/actions/runs/<run_id>). Without
storing it, there was no way to build direct links from the Grafana dashboard back to the specific GitHub Actions
run. This change enables linking each row in the dashboard to its corresponding GitHub Actions page.
Checklist
Related issues
resolves #19158