https://github.com/freckle/trace-workflow-action
https://github.com/freckle/trace-workflow-action
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/freckle/trace-workflow-action
- Owner: freckle
- Created: 2024-05-20T12:49:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T22:17:15.000Z (over 1 year ago)
- Last Synced: 2024-10-24T08:26:10.216Z (over 1 year ago)
- Language: Haskell
- Size: 1.5 MB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Trace Workflows
This action fetches timing data about a GitHub Workflow and records it as a
trace,
```
[ Backend ]
[ test ] [ lint ]
[ actions/checkout ] [ freckle/stack-action ] [ hlint ]
```
## Work In Progress
So far we have a Haskell executable that fetches this data, builds up the spans
and emits them using the OpenTelemetry SDK. This requires an `otel-collector`
side-car (or other service) to receive and process the trace data, for example
sending it to Datadog.

The `docker-compose.yml` in this repository can run such a collector. This
container as well as the action itself, make use of `.env`. See `.env.example`.
## Next Steps
In order to make this work we'd need to:
1. Either rewrite in TypeScript (see `pb/ts` branch), or dockerize for use as a
Docker-based action
2. Figure out how to best run a collector side-car on Actions and document that