{"id":15621258,"url":"https://github.com/blueswen/observability-workshop-101","last_synced_at":"2025-10-07T00:13:27.011Z","repository":{"id":206289115,"uuid":"708023573","full_name":"blueswen/observability-workshop-101","owner":"blueswen","description":"Build a lab scale end-to-end Observability Platform.","archived":false,"fork":false,"pushed_at":"2023-11-09T04:40:15.000Z","size":18358,"stargazers_count":23,"open_issues_count":0,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-22T01:50:33.667Z","etag":null,"topics":["grafana","loki","mimir","observability","opentelemetry","prometheus","tempo"],"latest_commit_sha":null,"homepage":"","language":"Python","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/blueswen.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"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},"funding":{"ko_fi":"blueswen"}},"created_at":"2023-10-21T09:40:56.000Z","updated_at":"2025-04-02T05:08:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"f732700e-d090-4c98-9470-1e43f00a3187","html_url":"https://github.com/blueswen/observability-workshop-101","commit_stats":null,"previous_names":["blueswen/observability-workshop-101"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blueswen/observability-workshop-101","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueswen%2Fobservability-workshop-101","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueswen%2Fobservability-workshop-101/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueswen%2Fobservability-workshop-101/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueswen%2Fobservability-workshop-101/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blueswen","download_url":"https://codeload.github.com/blueswen/observability-workshop-101/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueswen%2Fobservability-workshop-101/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278699710,"owners_count":26030577,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["grafana","loki","mimir","observability","opentelemetry","prometheus","tempo"],"created_at":"2024-10-03T09:22:21.225Z","updated_at":"2025-10-07T00:13:27.007Z","avatar_url":"https://github.com/blueswen.png","language":"Python","funding_links":["https://ko-fi.com/blueswen"],"categories":[],"sub_categories":[],"readme":"# Observability Workshop 101\n\n1. 2023/11/09: [MWC 2023 Workshop - 從零開始打造可觀測性平台](https://modernweb.tw/2023/workshop-page/2440)\n   1. 簡報連結：[Speaker Deck](https://speakerdeck.com/blueswen/cong-ling-kai-shi-da-zao-ke-guan-ce-xing-ping-tai)\n\n## 前置準備\n\n1. 預先 Pull 所有會使用到 Container Image\n\n```bash\ndocker pull ghcr.io/blueswen/observability-workshop-101/fastapi:latest\ndocker pull ghcr.io/blueswen/observability-workshop-101/springboot:latest\ndocker pull gcr.io/cadvisor/cadvisor:v0.47.2\ndocker pull prom/prometheus:v2.47.2\ndocker pull grafana/mimir:2.10.3\ndocker pull grafana/promtail:2.9.2\ndocker pull grafana/loki:2.9.2\ndocker pull grafana/tempo:2.3.0\ndocker pull grafana/grafana:10.2.0\ndocker pull grafana/agent:v0.37.1\ndocker pull otel/opentelemetry-collector-contrib:0.88.0\n```\n\n## 環境需求\n\n### 本機設備\n\n1. 能夠連線至網際網路，以便連線至 GitHub、Docker Hub 取得相關資源\n2. 預先安裝 Docker 與 Docker Compose，且可正常使用 Volume 掛載與 Port Forwarding 功能\n\n### 雲端環境 - GCP Cloud Shell\n\n1. [GCP Cloud Shell](https://shell.cloud.google.com/) 配有 Docker 與 VSCode 的虛擬機環境，為免費服務無需支費任何費用，每週可使用 50 小時，其他使用限制請參考 [Cloud Shell Doc - Limitations and restrictions](https://cloud.google.com/shell/docs/limitations)\n2. 開啟 Grafana 網頁時會因為 Grafana 本身的安全機制阻擋出現 Origin not allowed 錯誤，可以使用 [ngrok](https://ngrok.com/) 建立網路通道即可繞過\n\n## 常見問題\n\n1. 使用 podman-compose 時 Container 間無法使用 Service Name 互相連線\n   1. 將 Podman network 由 cri 改為 netavark，參考 [[question] container names for compose from app_b -\u003e fastapi-jaeger_app-b_1](https://github.com/blueswen/fastapi-jaeger/issues/2#issuecomment-1676377942) 與 [Podman 4.0's new network stack: What you need to know](https://www.redhat.com/sysadmin/podman-new-network-stack)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueswen%2Fobservability-workshop-101","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblueswen%2Fobservability-workshop-101","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueswen%2Fobservability-workshop-101/lists"}