{"id":47184489,"url":"https://github.com/a5chin/synthetic-sample","last_synced_at":"2026-03-13T08:36:33.806Z","repository":{"id":210223084,"uuid":"725651386","full_name":"a5chin/synthetic-sample","owner":"a5chin","description":"Google Cloud Synthetic Monitoring Demo","archived":false,"fork":false,"pushed_at":"2023-12-03T10:33:55.000Z","size":338,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-27T03:41:36.478Z","etag":null,"topics":["googlecloud","googlecloudplatform","monitoring","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/a5chin.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,"governance":null}},"created_at":"2023-11-30T15:36:00.000Z","updated_at":"2023-12-01T15:05:43.000Z","dependencies_parsed_at":"2023-12-10T20:48:37.399Z","dependency_job_id":null,"html_url":"https://github.com/a5chin/synthetic-sample","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"7a0e937f72ae3cc0aafc26bbc4728071cc14e581"},"previous_names":["a5chin/synthetic-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a5chin/synthetic-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a5chin%2Fsynthetic-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a5chin%2Fsynthetic-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a5chin%2Fsynthetic-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a5chin%2Fsynthetic-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a5chin","download_url":"https://codeload.github.com/a5chin/synthetic-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a5chin%2Fsynthetic-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30462537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T06:34:02.089Z","status":"ssl_error","status_checked_at":"2026-03-13T06:33:49.182Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["googlecloud","googlecloudplatform","monitoring","terraform"],"created_at":"2026-03-13T08:36:32.029Z","updated_at":"2026-03-13T08:36:33.782Z","avatar_url":"https://github.com/a5chin.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003ch1\u003eSynthetic Monitoring Sample\u003c/h1\u003e\n\n\u003c/div\u003e\n\n\u003cimg src=\"assets/images/synthetic_monitoring.png\" width=\"100%\"\u003e\n\n## Terraform のインストール\n```sh\nbrew install tfenv\n\n# 指定バージョンをインストールする\ncd environments/dev\ntfenv install $(cat .terraform-version)\ntfenv use $(cat .terraform-version)\n```\n\n## Google Cloud にリソースを作成する\n\n### 1. terraform.tfvars を作成する\n```hcl\n# environments/dev/terraform.tfvars\nproject_id = \"hogehoge\" # 任意のプロジェクト ID を指定する\n```\n\n### 2. リソースを作成する\n```sh\n# Terraform 構成ファイルを含む作業ディレクトリを初期化する冪等のコマンド\nterraform init\n\n# 差分を確認する\nterraform plan\n\n# 再度差分が出力されるが，問題なければ yes と入力する\nterraform apply\n```\n\n## Console 上で確認\nhttps://console.cloud.google.com/monitoring/synthetic-monitoring にアクセスすると以下の様な外形監視の履歴が見れます．\n\n\u003cimg src=\"assets/images/history.png\" width=\"100%\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa5chin%2Fsynthetic-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa5chin%2Fsynthetic-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa5chin%2Fsynthetic-sample/lists"}