{"id":42942381,"url":"https://github.com/wechuli/actionsprofiler","last_synced_at":"2026-01-30T20:10:31.606Z","repository":{"id":272461307,"uuid":"916668394","full_name":"wechuli/actionsprofiler","owner":"wechuli","description":"GitHub Action to collect system metrics during the lifecycle of a job","archived":false,"fork":false,"pushed_at":"2025-01-15T05:08:47.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T02:52:14.744Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/wechuli.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":"2025-01-14T14:48:44.000Z","updated_at":"2025-01-14T15:09:06.000Z","dependencies_parsed_at":"2025-01-18T09:37:37.577Z","dependency_job_id":null,"html_url":"https://github.com/wechuli/actionsprofiler","commit_stats":null,"previous_names":["wechuli/actionsprofiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wechuli/actionsprofiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechuli%2Factionsprofiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechuli%2Factionsprofiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechuli%2Factionsprofiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechuli%2Factionsprofiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wechuli","download_url":"https://codeload.github.com/wechuli/actionsprofiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechuli%2Factionsprofiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28918235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T19:10:10.838Z","status":"ssl_error","status_checked_at":"2026-01-30T19:06:40.573Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-30T20:10:31.547Z","updated_at":"2026-01-30T20:10:31.598Z","avatar_url":"https://github.com/wechuli.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# System Metrics Collector GitHub Action\n\nThis GitHub Action collects system metrics through the lifecycle of a job using Prometheus. The collected metrics can be used to diagnose issues with the build.\n\n## Usage\n\nTo use this action in your workflow, add the following step to your `.github/workflows/metrics-collector.yml` file:\n\n```yaml\nname: Collect System Metrics\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Collect system metrics\n        uses: wechuli/actionsprofiler@v1\n        with:\n          job_name: 'build-job'\n\n      - name: Build\n        run: npm run build\n\n      - name: Upload metrics\n        uses: actions/upload-artifact@v2\n        with:\n          name: system-metrics\n          path: metrics.txt\n```\n\n## Examples\n\nHere are some examples of how to use the System Metrics Collector GitHub Action in your workflows:\n\n### Example 1: Basic Usage\n\n```yaml\nname: Collect System Metrics\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Collect system metrics\n        uses: wechuli/actionsprofiler@v1\n        with:\n          job_name: 'build-job'\n\n      - name: Build\n        run: npm run build\n\n      - name: Upload metrics\n        uses: actions/upload-artifact@v2\n        with:\n          name: system-metrics\n          path: metrics.txt\n```\n\n### Example 2: Custom Job Name\n\n```yaml\nname: Collect System Metrics\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Collect system metrics\n        uses: wechuli/actionsprofiler@v1\n        with:\n          job_name: 'custom-job'\n\n      - name: Build\n        run: npm run build\n\n      - name: Upload metrics\n        uses: actions/upload-artifact@v2\n        with:\n          name: system-metrics\n          path: metrics.txt\n```\n\n## Inputs\n\n| Input     | Description                                      | Required | Default       |\n|-----------|--------------------------------------------------|----------|---------------|\n| job_name  | The name of the job for which metrics are being collected. | true     | default-job  |\n\n## Outputs\n\nThis action does not produce any outputs.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechuli%2Factionsprofiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwechuli%2Factionsprofiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechuli%2Factionsprofiler/lists"}