https://github.com/blueswen/observability-workshop-101
Build a lab scale end-to-end Observability Platform.
https://github.com/blueswen/observability-workshop-101
grafana loki mimir observability opentelemetry prometheus tempo
Last synced: 16 days ago
JSON representation
Build a lab scale end-to-end Observability Platform.
- Host: GitHub
- URL: https://github.com/blueswen/observability-workshop-101
- Owner: blueswen
- Created: 2023-10-21T09:40:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-09T04:40:15.000Z (almost 2 years ago)
- Last Synced: 2025-09-22T01:50:33.667Z (about 1 month ago)
- Topics: grafana, loki, mimir, observability, opentelemetry, prometheus, tempo
- Language: Python
- Homepage:
- Size: 17.5 MB
- Stars: 23
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Observability Workshop 101
1. 2023/11/09: [MWC 2023 Workshop - 從零開始打造可觀測性平台](https://modernweb.tw/2023/workshop-page/2440)
1. 簡報連結:[Speaker Deck](https://speakerdeck.com/blueswen/cong-ling-kai-shi-da-zao-ke-guan-ce-xing-ping-tai)## 前置準備
1. 預先 Pull 所有會使用到 Container Image
```bash
docker pull ghcr.io/blueswen/observability-workshop-101/fastapi:latest
docker pull ghcr.io/blueswen/observability-workshop-101/springboot:latest
docker pull gcr.io/cadvisor/cadvisor:v0.47.2
docker pull prom/prometheus:v2.47.2
docker pull grafana/mimir:2.10.3
docker pull grafana/promtail:2.9.2
docker pull grafana/loki:2.9.2
docker pull grafana/tempo:2.3.0
docker pull grafana/grafana:10.2.0
docker pull grafana/agent:v0.37.1
docker pull otel/opentelemetry-collector-contrib:0.88.0
```## 環境需求
### 本機設備
1. 能夠連線至網際網路,以便連線至 GitHub、Docker Hub 取得相關資源
2. 預先安裝 Docker 與 Docker Compose,且可正常使用 Volume 掛載與 Port Forwarding 功能### 雲端環境 - GCP Cloud Shell
1. [GCP Cloud Shell](https://shell.cloud.google.com/) 配有 Docker 與 VSCode 的虛擬機環境,為免費服務無需支費任何費用,每週可使用 50 小時,其他使用限制請參考 [Cloud Shell Doc - Limitations and restrictions](https://cloud.google.com/shell/docs/limitations)
2. 開啟 Grafana 網頁時會因為 Grafana 本身的安全機制阻擋出現 Origin not allowed 錯誤,可以使用 [ngrok](https://ngrok.com/) 建立網路通道即可繞過## 常見問題
1. 使用 podman-compose 時 Container 間無法使用 Service Name 互相連線
1. 將 Podman network 由 cri 改為 netavark,參考 [[question] container names for compose from app_b -> 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)