{"id":19644313,"url":"https://github.com/ampproject/error-tracker","last_synced_at":"2025-07-05T07:06:57.235Z","repository":{"id":22029128,"uuid":"93448191","full_name":"ampproject/error-tracker","owner":"ampproject","description":"AMP Project's error logging server","archived":false,"fork":false,"pushed_at":"2025-06-27T02:57:38.000Z","size":1243,"stargazers_count":14,"open_issues_count":8,"forks_count":21,"subscribers_count":31,"default_branch":"main","last_synced_at":"2025-06-27T03:47:42.432Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ampproject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2017-06-05T21:22:39.000Z","updated_at":"2025-03-30T00:43:49.000Z","dependencies_parsed_at":"2024-06-13T15:49:38.199Z","dependency_job_id":"e68ee91b-069d-422a-81e3-aa731908e8e0","html_url":"https://github.com/ampproject/error-tracker","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/ampproject/error-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampproject%2Ferror-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampproject%2Ferror-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampproject%2Ferror-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampproject%2Ferror-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ampproject","download_url":"https://codeload.github.com/ampproject/error-tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampproject%2Ferror-tracker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263699785,"owners_count":23497963,"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-11T14:26:39.372Z","updated_at":"2025-07-05T07:06:57.195Z","avatar_url":"https://github.com/ampproject.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Error reporting\n\nThis is not an official Google product\n\nReceives error reports emitted by AMP HTML runtime library and sends them to the\n[Google Cloud Error Logging service](https://cloud.google.com/error-reporting/).\n\nThis tool does not collect any user data or information.\n\n## Setup\n\n1. Enable Google Cloud Logging API.\n2. Authenticate with Google Cloud: `$ gcloud auth login`\n3. Start the server: `$ npm start`\n\n## Deployments\n\nThis application runs on [Google Cloud Functions](https://cloud.google.com/functions). There are three endpoints that execute the same functionality:\n\n- `/r` - 90% of traffic goes to this endpoint\n- `/r-beta` - 10% of traffic goes to this endpoint\n- `/r-dev` - only manual traffic goes to this endpoint\n\nNote that [amphtml](https://github.com/ampproject/amphtml), by default, sends reports to https://us-central1-amp-error-reporting.cloudfunctions.net/r and to https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta. This is considered the canonical error reporting service.\n\n### Deploying to `/r-dev`\n\nAny developer with a Google Cloud Project that was set up as above can deploy to the `/r-dev` endpoint of their project by running `npm run deploy-dev`. This action will directly deploy the function to GCP.\n\n### Deploying to `/r-beta`\n\nCommits merged to this repository's `main` branch are automatically deployed to the `/r-beta` endpoint on the canonical error reporting service using a [Cloud Build](https://cloud.google.com/build) action, defined in the [cloudbuild.yaml](./cloudbuild.yaml) config file.\n\n### Deploying to `/r`\n\nThis action can only be performed by GitHub users with write permission on this repository. To deploy to the production/stable endpoint `/r`, run `npm run deploy-stable`. This will create and push a Git tag of the form `deploy-stable-YYMMDDHHMMSS`, which in turn triggers a Cloud Build action similar to the beta environment.\n\n## License\n\n    Licensed under the Apache 2.0 license\n    http://www.apache.org/licenses/LICENSE-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fampproject%2Ferror-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fampproject%2Ferror-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fampproject%2Ferror-tracker/lists"}