{"id":19674954,"url":"https://github.com/pothulapati/gh-action-trace","last_synced_at":"2025-04-29T02:30:26.341Z","repository":{"id":62439442,"uuid":"420340282","full_name":"Pothulapati/gh-action-trace","owner":"Pothulapati","description":"A util binary to generate traces for Github Action runs.","archived":false,"fork":false,"pushed_at":"2022-06-03T08:08:34.000Z","size":65,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-21T10:54:24.001Z","etag":null,"topics":["actions","continuous-integration","github-actions","jaeger","traces"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/gh-action-trace","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pothulapati.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-23T07:06:14.000Z","updated_at":"2023-03-04T10:13:59.000Z","dependencies_parsed_at":"2022-11-01T22:01:37.523Z","dependency_job_id":null,"html_url":"https://github.com/Pothulapati/gh-action-trace","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pothulapati%2Fgh-action-trace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pothulapati%2Fgh-action-trace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pothulapati%2Fgh-action-trace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pothulapati%2Fgh-action-trace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pothulapati","download_url":"https://codeload.github.com/Pothulapati/gh-action-trace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251420862,"owners_count":21586693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","continuous-integration","github-actions","jaeger","traces"],"created_at":"2024-11-11T17:20:26.891Z","updated_at":"2025-04-29T02:30:26.066Z","avatar_url":"https://github.com/Pothulapati.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-action-trace\n\n`gh-action-trace` is a binary that can be used to generate traces\nfor GitHub Action runs by retrieving the metadata from GitHub\nAPI.\n\n![Jaeger](https://imgur.com/6fJ3iui.png)\n\n## Installation\n\n```bash\ncargo install gh-action-trace\n```\n\n## Usage\n\nFirst, Run jaeger locally to collect the traces.\n\n```bash\ndocker run -d  -p6831:6831/udp -p6832:6832/udp -p16686:16686 jaegertracing/all-in-one:latest --log-level debug\n```\n\nNow, Run the binary to generate and send the traces to Jaeger. Though, The\nbinary should work without a GitHub token, It is **recommended** to pass\na GitHub token through the `--token` flag for the binary to not be rate-limited.\n\n```bash\n$ gh-action-trace --owner linkerd --repo linkerd2 --runs 100 --token \u003cGITHUB_TOKEN\u003e\nCompleted workflow CI                                                         10/10 [========================================] (0s)\nCompleted workflow Coverage                                                   10/10 [========================================] (0s)\nCompleted workflow CodeQL                                                     10/10 [========================================] (0s)\nCompleted workflow Integration tests                                          10/10 [========================================] (0s)\nCompleted workflow KinD integration                                           10/10 [========================================] (0s)\nCompleted workflow Lock Threads                                               10/10 [========================================] (0s)\nCompleted workflow Policy Controller                                          10/10 [========================================] (0s)\nCompleted workflow Release                                                    10/10 [========================================] (0s)\nCompleted workflow Static checks                                              10/10 [========================================] (0s)\nCompleted workflow Unit tests                                                 10/10 [========================================] (0s)\nCompleted workflow CI                                                         10/10 [========================================] (0s)\n```\n\nYou should be able to see traces in the Jaeger UI. :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpothulapati%2Fgh-action-trace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpothulapati%2Fgh-action-trace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpothulapati%2Fgh-action-trace/lists"}