{"id":20930083,"url":"https://github.com/level-level/heartbeat","last_synced_at":"2025-03-13T01:44:05.758Z","repository":{"id":26181653,"uuid":"93831545","full_name":"level-level/heartbeat","owner":"level-level","description":"Logging and reporting of periodic background processes","archived":false,"fork":false,"pushed_at":"2022-09-07T14:01:42.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-19T18:51:44.587Z","etag":null,"topics":["envoyer","heartbeat","logging","monitoring","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/level-level.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}},"created_at":"2017-06-09T07:28:46.000Z","updated_at":"2022-09-07T14:01:41.000Z","dependencies_parsed_at":"2023-01-14T04:10:24.775Z","dependency_job_id":null,"html_url":"https://github.com/level-level/heartbeat","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/level-level%2Fheartbeat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/level-level%2Fheartbeat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/level-level%2Fheartbeat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/level-level%2Fheartbeat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/level-level","download_url":"https://codeload.github.com/level-level/heartbeat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243324266,"owners_count":20273100,"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":["envoyer","heartbeat","logging","monitoring","wordpress"],"created_at":"2024-11-18T21:28:47.745Z","updated_at":"2025-03-13T01:44:05.738Z","avatar_url":"https://github.com/level-level.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\nA heartbeat can be used to monitor background processes that should regularly\ntrigger. The heartbeat can be linked to an external URL. This URL is pinged\nwhen the heartbeat is triggered.\n\nIn WordPress an overview of triggered heartbeats, timestamps and environment\nare shown in the `Tools`/`Heartbeat status` menu.\n\n# Examples\n\n## To trigger a heartbeat\n```\nuse LL\\Heartbeat\\Heart;\nHeart::beat('START_UPDATE_ALL', 'Updates all objects.');\n```\n\n## To trigger a URL ping\nAdd a define to `wp-config.php` which links the heartbeat context to a URL. The\ncontext is prefixed with `LL_HB_` by default.\n\nAs an example:\n\nIn *envoyer.io* you can set a heartbeat under Project/Heartbeats/Add heartbeat.\nHere you configure a name and the timing interval you expect the heartbeat to\ntrigger. The resulting URL is added to `wp-config.php`.\n\n```\ndefine('LL_HB_START_UPDATE_ALL', 'http://beats.envoyer.io/heartbeat/#####');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevel-level%2Fheartbeat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevel-level%2Fheartbeat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevel-level%2Fheartbeat/lists"}