{"id":22868723,"url":"https://github.com/streamdp/healthcheck","last_synced_at":"2025-10-21T14:31:46.817Z","repository":{"id":265467763,"uuid":"867954811","full_name":"streamdp/healthcheck","owner":"streamdp","description":"GitHub workflow to check the health status of a web service.","archived":false,"fork":false,"pushed_at":"2025-01-07T10:22:04.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T11:34:34.829Z","etag":null,"topics":["github-workflow"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamdp.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":"2024-10-05T05:07:44.000Z","updated_at":"2025-01-07T10:22:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"dda82cb2-b099-46ce-8754-c8f02375b841","html_url":"https://github.com/streamdp/healthcheck","commit_stats":null,"previous_names":["streamdp/healthcheck"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamdp%2Fhealthcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamdp%2Fhealthcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamdp%2Fhealthcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamdp%2Fhealthcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamdp","download_url":"https://codeload.github.com/streamdp/healthcheck/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237502504,"owners_count":19320678,"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":["github-workflow"],"created_at":"2024-12-13T12:37:17.516Z","updated_at":"2025-10-21T14:31:46.446Z","avatar_url":"https://github.com/streamdp.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Web service healthcheck workflow\n[![healthcheck](https://github.com/streamdp/healthcheck/actions/workflows/healthcheck.yml/badge.svg?branch=main)](https://github.com/streamdp/healthcheck/actions/workflows/healthcheck.yml)\n\nThis branch implements a GitHub workflow to check the health status of a web service. The purpose of this workflow is to \ncontinuously monitor the */healthz* endpoint of the service, ensuring that the service is up and responds with a status \nindicating that all is well. It will help developers and operations teams by providing real-time feedback about \nthe availability and health of the web service.\n### Workflow Key Features:\n* The workflow will send a **HEAD** request to the **/healthz** endpoint of the web service at regular intervals \n(default 1 hour, can be reduced, but only to 5 minutes, because GitHub limits the interval for cron jobs).\n* It will check for a **200 OK** response, indicating that the web service is healthy.\n* If the status check fails, it will log the failure and notify the team using GitHub notification service.\n```shell\njobs:\n  check-site:\n    strategy:\n      matrix:\n        url: [ \"https://ccd.oncook.top\", \"https://ip-info.oncook.top\", \"https://weather.oncook.top\"]\n    runs-on: ubuntu-24.04\n    steps:\n      - name: Check availability of ${{ matrix.url }}\n        run: curl -sLIf -m 15 -o /dev/null --retry 5 --retry-all-errors \"${{ matrix.url }}/healthz\" || exit 1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamdp%2Fhealthcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamdp%2Fhealthcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamdp%2Fhealthcheck/lists"}