-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need date and time of workflow build run information. #281
Comments
If you want to have that as another metric this should be quite easy. |
I have just merged a PR to add metrics for timestamps of created, updated and started workflows. You should see this within the |
Thanks for added new enhancement(workflow trigger date and time), I have configured below details in my docker-compose.yml file and added latest docker image as per your comments. Could you please help me on this. Below are the environment variables which I'm using latest docker image.
|
As stated within the docs the workflow metrics require a github webhook which got to access the exporter on a single endpoint. This have been introduced with 3.0.0 to avoid all the issues that came up with the pull approach used prior 3.0.0. For local testing you could use a tool like ngrok as a target of the github webhook. After enabling the webhook you should receive data from GitHub for every build. |
Thank you @tboerger, As you suggested above comments, I have tried that like docker image 3.0.0 version but still unable to get new enhancement changes. even tried ngrok and github webhook approach also but no luck. I have referred this article: https://promhippie.github.io/github_exporter Could you pls help me on this issue. |
Please share the information what you are doing now. What has changed? You created the webhook and you are sending it via ngrok to the exporter. What else have you done, how have you configured the exporter? |
I have released a new version, you can see the changes at https://github.com/promhippie/github_exporter/releases/tag/v3.1.0 |
Currently the exporter supports workflows status like success and failures (owner, repo, workflow, event, workflow name, status, branch, workflow id number, run number, run number id.).
But this exporter doesn’t support when the workflow is triggered like date and time. It is helpful to add workflow trigger date and time feature on this exporter. Could you pls help on this.
The text was updated successfully, but these errors were encountered: