{"id":23613682,"url":"https://github.com/freckle/trace-workflow-action","last_synced_at":"2025-11-06T09:30:33.962Z","repository":{"id":241136587,"uuid":"803290206","full_name":"freckle/trace-workflow-action","owner":"freckle","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-23T22:17:15.000Z","size":1570,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-24T08:26:10.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freckle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-20T12:49:46.000Z","updated_at":"2024-06-28T15:51:09.000Z","dependencies_parsed_at":"2024-10-23T01:10:41.401Z","dependency_job_id":"98a9732e-f595-4b0a-ae6c-4f85fc16b1a6","html_url":"https://github.com/freckle/trace-workflow-action","commit_stats":null,"previous_names":["freckle/trace-workflow-action"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Ftrace-workflow-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Ftrace-workflow-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Ftrace-workflow-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Ftrace-workflow-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freckle","download_url":"https://codeload.github.com/freckle/trace-workflow-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239491352,"owners_count":19647811,"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":[],"created_at":"2024-12-27T17:18:46.054Z","updated_at":"2025-11-06T09:30:33.912Z","avatar_url":"https://github.com/freckle.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trace Workflows\n\nThis action fetches timing data about a GitHub Workflow and records it as a\ntrace,\n\n```\n[ Backend                                                            ]\n  [ test                                          ] [ lint         ]\n    [ actions/checkout ] [ freckle/stack-action ]    [ hlint ]\n```\n\n## Work In Progress\n\nSo far we have a Haskell executable that fetches this data, builds up the spans\nand emits them using the OpenTelemetry SDK. This requires an `otel-collector`\nside-car (or other service) to receive and process the trace data, for example\nsending it to Datadog.\n\n![](./files/waterfall.png)\n\nThe `docker-compose.yml` in this repository can run such a collector. This\ncontainer as well as the action itself, make use of `.env`. See `.env.example`.\n\n## Next Steps\n\nIn order to make this work we'd need to:\n\n1. Either rewrite in TypeScript (see `pb/ts` branch), or dockerize for use as a\n   Docker-based action\n2. Figure out how to best run a collector side-car on Actions and document that\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreckle%2Ftrace-workflow-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreckle%2Ftrace-workflow-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreckle%2Ftrace-workflow-action/lists"}