{"id":18674161,"url":"https://github.com/mnthomson/otel-action","last_synced_at":"2025-04-12T01:55:36.205Z","repository":{"id":65158158,"uuid":"532689409","full_name":"MNThomson/otel-action","owner":"MNThomson","description":"🔭 Create \u0026 upload OpenTelemetry traces of a GitHub Actions workflow run to an OTLP compatible endpoint","archived":false,"fork":false,"pushed_at":"2024-06-07T05:04:04.000Z","size":158,"stargazers_count":8,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T01:55:29.285Z","etag":null,"topics":["action","actions","golang","observability","opentelemetry","tracing"],"latest_commit_sha":null,"homepage":"https://mnt.dev","language":"Go","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/MNThomson.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-05T00:07:55.000Z","updated_at":"2025-02-10T09:35:18.000Z","dependencies_parsed_at":"2024-06-07T06:23:00.643Z","dependency_job_id":"e43a3551-a6fb-4e71-a3e6-a35fc93bd8d7","html_url":"https://github.com/MNThomson/otel-action","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"90c35e36819cacf05bda49646c30ddc451693194"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MNThomson%2Fotel-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MNThomson%2Fotel-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MNThomson%2Fotel-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MNThomson%2Fotel-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MNThomson","download_url":"https://codeload.github.com/MNThomson/otel-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505867,"owners_count":21115354,"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":["action","actions","golang","observability","opentelemetry","tracing"],"created_at":"2024-11-07T09:17:48.522Z","updated_at":"2025-04-12T01:55:36.176Z","avatar_url":"https://github.com/MNThomson.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003cbr\u003e\n        OpenTelemetry Action\n    \u003cbr\u003e\n\u003c/h1\u003e\n\u003ch4 align=\"center\"\u003e\n    Upload OpenTelemetry traces of a GitHub actions workflow run\n\u003c/h4\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/MNThomson/otel-action/commits\"\u003e\n        \u003cimg\n            src=\"https://img.shields.io/github/last-commit/MNThomson/otel-action?style=for-the-badge\"\n            alt=\"Last GitHub Commit\"\n        \u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\n---\n\n## About\n\nRunning `otel-action` at the end of a GitHub workflow will upload [OpenTelemetry](https://opentelemetry.io/) spans for each job (and job step) to an OTel compatible endpoint. This provides observability into CI pipelines, and provides a quick method to find offending commits that are the root cause of a CI job becoming slower.\n\nBelow is an example trace from this repository's [test workflow](.github/workflows/test.yml) being viewed in [Honeycomb.io](https://www.honeycomb.io/)'s UI (they have an awesome free-forever tier)!\n\n\u003cp align=\"center\"\u003e\n    \u003cimg\n        src=\"assets/honeycomb-example-trace.png\"\n        alt=\"Honeycomb Example Trace\"\n    \u003e\n\u003c/p\u003e\n\n## Example usage\n\n```yaml\n- name: Upload OTEL traces\n  uses: MNThomson/otel-action@master\n  with:\n    endpoint: ${{ secrets.ENDPOINT }}\n    headers: ${{ secrets.HEADERS }}\n    service_name: \"MyDatasetName\"\n```\n\nCheckout the [`test.yml`](.github/workflows/test.yml) worflow as well.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnthomson%2Fotel-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnthomson%2Fotel-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnthomson%2Fotel-action/lists"}