{"id":18798422,"url":"https://github.com/cdnjs/statuspage-metrics-worker","last_synced_at":"2025-04-13T17:22:07.170Z","repository":{"id":42856750,"uuid":"343403149","full_name":"cdnjs/statuspage-metrics-worker","owner":"cdnjs","description":"The edge worker that syncs cdnjs metrics to statuspage","archived":false,"fork":false,"pushed_at":"2022-03-26T15:19:39.000Z","size":112,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-29T12:35:27.585Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://status.cdnjs.com","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/cdnjs.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}},"created_at":"2021-03-01T12:09:41.000Z","updated_at":"2024-01-29T13:14:50.000Z","dependencies_parsed_at":"2022-09-20T06:51:37.886Z","dependency_job_id":null,"html_url":"https://github.com/cdnjs/statuspage-metrics-worker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnjs%2Fstatuspage-metrics-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnjs%2Fstatuspage-metrics-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnjs%2Fstatuspage-metrics-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnjs%2Fstatuspage-metrics-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdnjs","download_url":"https://codeload.github.com/cdnjs/statuspage-metrics-worker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248409330,"owners_count":21098768,"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":"2024-11-07T22:12:01.763Z","updated_at":"2025-04-13T17:22:07.153Z","avatar_url":"https://github.com/cdnjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003ca href=\"https://cdnjs.com\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/cdnjs/brand/master/logo/standard/dark-512.png\" width=\"175px\" alt=\"\u003c cdnjs \u003e\"\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003eThe #1 free and open source CDN built to make life easier for developers.\u003c/h3\u003e\n\n---\n\n## Introduction\n\nAt cdnjs, we use\n[UptimeRobot](https://uptimerobot.com/?utm_source=cdnjs\u0026utm_medium=cdnjs_link\u0026utm_campaign=cdnjs_readme)\nto provide continual, minute-by-minute monitoring of our services. This tracks our uptime across a\nnumber of different web properties, as well as the response latency on them.\n\nOur public status page is powered by\n[Atlassian Statuspage](https://www.statuspage.io/?utm_source=cdnjs\u0026utm_medium=cdnjs_link\u0026utm_campaign=cdnjs_readme),\nbut we also like to share raw latency data for our key services on there to help with giving the\ncommunity real-time insight into performance.\n\nTo get the data from UptimeRobot to Atlassian Statuspage, we built this little Cloudflare Worker\nthat runs once per minute, fetching the latest latency data from UptimeRobot, transforming it and\nsending it over to our Statuspage.\n\n## Development\n\n1. Create (or have) an UptimeRobot account with monitors configured.\n2. Create (or have) an Atlassian Statuspage account with \"post my own data\" metrics configured.\n3. Create your `development.env` file. Copy `development.env.sample` and fill out the information\n   for Sentry, as well as API keys for UptimeRobot \u0026 Statuspage.\n4. Update the tracked `src/data.yml` file with your UptimeRobot monitor and Statuspage metric data.\n5. Authenticate with Wrangler by running `wrangler login`.\n6. Update `wrangler.toml` for your account. Use `wrangler whoami` to get your account ID, update the\n   value in `wranglar.toml` to match.\n7. Develop with the worker by running `npm run dev`.\n\n## Deployments\n\nTo deploy to production, run `npm run publish:production`. As this Worker is based on a cron\ntrigger, it is published in the Workers Dev context and does not need a set zone ID.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdnjs%2Fstatuspage-metrics-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdnjs%2Fstatuspage-metrics-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdnjs%2Fstatuspage-metrics-worker/lists"}