docs(monitoring): 更新 ArgoCD Metrics 端點文檔
- ArgoCD Server Pod 運行在 mon1 (192.168.0.121) - 更新 Prometheus target 為 192.168.0.121:30883 - 標記配置已部署並驗證 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -26,10 +26,11 @@ kubectl get svc -n argocd | grep nodeport
|
||||
## 3. Prometheus 抓取端點
|
||||
|
||||
```
|
||||
http://192.168.0.120:30882/metrics # Application Controller
|
||||
http://192.168.0.120:30883/metrics # Server Metrics
|
||||
http://192.168.0.121:30883/metrics # Server Metrics (Pod 在 mon1)
|
||||
```
|
||||
|
||||
> ⚠️ 注意: ArgoCD Server Pod 運行在 mon1 (121),需使用該節點 IP
|
||||
|
||||
## 4. 關鍵指標
|
||||
|
||||
| 指標 | 說明 |
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
# ===== 新增 scrape_configs =====
|
||||
|
||||
# ArgoCD Metrics (需先部署 NodePort: k8s/argocd/argocd-metrics-nodeport.yaml)
|
||||
# ✅ 2026-03-29 已部署並驗證
|
||||
- job_name: argocd
|
||||
honor_timestamps: true
|
||||
scrape_interval: 30s
|
||||
@@ -26,10 +27,10 @@
|
||||
scheme: http
|
||||
static_configs:
|
||||
- targets:
|
||||
- 192.168.0.120:30883 # ArgoCD Server Metrics
|
||||
- 192.168.0.121:30883 # ArgoCD Server Metrics (Pod 在 mon1)
|
||||
labels:
|
||||
component: server
|
||||
# 註: Application Controller Metrics (30882) 需確認 ArgoCD 版本是否支援
|
||||
instance: argocd-server
|
||||
|
||||
# TLS 證書監控 (使用 Blackbox Exporter)
|
||||
- job_name: blackbox-https
|
||||
|
||||
Reference in New Issue
Block a user