{"id":28603982,"url":"https://github.com/uber/airlock","last_synced_at":"2025-07-10T18:39:33.571Z","repository":{"id":57174964,"uuid":"14990690","full_name":"uber/airlock","owner":"uber","description":"A prober to probe HTTP based backends for health","archived":false,"fork":false,"pushed_at":"2020-05-01T22:43:29.000Z","size":34,"stargazers_count":47,"open_issues_count":2,"forks_count":9,"subscribers_count":2727,"default_branch":"master","last_synced_at":"2025-05-24T16:01:28.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/uber.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":"2013-12-06T18:54:10.000Z","updated_at":"2023-05-26T16:28:21.000Z","dependencies_parsed_at":"2022-08-29T00:11:06.357Z","dependency_job_id":null,"html_url":"https://github.com/uber/airlock","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/uber/airlock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fairlock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fairlock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fairlock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fairlock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uber","download_url":"https://codeload.github.com/uber/airlock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fairlock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259308162,"owners_count":22837974,"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":"2025-06-11T17:39:47.048Z","updated_at":"2025-07-10T18:39:33.565Z","avatar_url":"https://github.com/uber.png","language":"JavaScript","readme":"# airlock\n\nA prober to probe HTTP, [tchannel](https://github.com/uber/tchannel), or potentially other protocols based backends for health\n\n## Example\n\n```js\nvar Prober = require(\"airlock\")\n\nvar prober = new Prober({\n    title: 'probe interface',\n    statsd: { increment: function (key) {\n        // send increment command to a statsd server.\n    } },\n    logger: {\n        warn: function (message) {\n            /* sink this message to your logging system */\n        }\n    }\n})\n\nvar thunk = request.bind(null, {\n    uri: 'http://www.example.com/foo',\n    method: 'POST',\n    json: { ... }\n})\nprober.probe(thunk, function (err, res, body) {\n    /* we probed the async task and have the result\n        if the async task fails a lot then the prober\n        automatically rate limits\n    */\n})\n```\n\n## Installation\n\n`npm install airlock`\n\n## Contributors\n\n - Raynos\n - markyen\n - jwolski\n - zhijinli\n\n## MIT Licenced\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber%2Fairlock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuber%2Fairlock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber%2Fairlock/lists"}