Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pothulapati/gh-action-trace
A util binary to generate traces for Github Action runs.
https://github.com/pothulapati/gh-action-trace
actions continuous-integration github-actions jaeger traces
Last synced: 4 days ago
JSON representation
A util binary to generate traces for Github Action runs.
- Host: GitHub
- URL: https://github.com/pothulapati/gh-action-trace
- Owner: Pothulapati
- License: mit
- Created: 2021-10-23T07:06:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-03T08:08:34.000Z (over 2 years ago)
- Last Synced: 2024-10-11T18:39:05.291Z (about 1 month ago)
- Topics: actions, continuous-integration, github-actions, jaeger, traces
- Language: Rust
- Homepage: https://crates.io/crates/gh-action-trace
- Size: 63.5 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gh-action-trace
`gh-action-trace` is a binary that can be used to generate traces
for GitHub Action runs by retrieving the metadata from GitHub
API.![Jaeger](https://imgur.com/6fJ3iui.png)
## Installation
```bash
cargo install gh-action-trace
```## Usage
First, Run jaeger locally to collect the traces.
```bash
docker run -d -p6831:6831/udp -p6832:6832/udp -p16686:16686 jaegertracing/all-in-one:latest --log-level debug
```Now, Run the binary to generate and send the traces to Jaeger. Though, The
binary should work without a GitHub token, It is **recommended** to pass
a GitHub token through the `--token` flag for the binary to not be rate-limited.```bash
$ gh-action-trace --owner linkerd --repo linkerd2 --runs 100 --token
Completed workflow CI 10/10 [========================================] (0s)
Completed workflow Coverage 10/10 [========================================] (0s)
Completed workflow CodeQL 10/10 [========================================] (0s)
Completed workflow Integration tests 10/10 [========================================] (0s)
Completed workflow KinD integration 10/10 [========================================] (0s)
Completed workflow Lock Threads 10/10 [========================================] (0s)
Completed workflow Policy Controller 10/10 [========================================] (0s)
Completed workflow Release 10/10 [========================================] (0s)
Completed workflow Static checks 10/10 [========================================] (0s)
Completed workflow Unit tests 10/10 [========================================] (0s)
Completed workflow CI 10/10 [========================================] (0s)
```You should be able to see traces in the Jaeger UI. :)