1 · 遙測來源
與基礎設施無關
來源
Kubernetes 工作負載
Pods、kubelet 與控制平面產生三種訊號。Alloy 以 DaemonSet 執行,透過 Kubernetes API 探索目標。
- Metrics:/metrics 端點、kubelet、cAdvisor、kube-state-metrics
- Traces:以 OTel SDK 儀表化的應用程式把 OTLP 送到節點本機的 Alloy
- Logs:/var/log/pods 下的容器 stdout/stderr 檔案
| protocol | OTLP :4317/:4318 · HTTP /metrics · file tail |
VM / 裸機
非 Kubernetes 主機以 systemd unit 執行 Alloy;同一套 pipelines,靜態或檔案式服務探索。
- node_exporter 提供主機 metrics
- journald 與一般檔案提供 logs
- 本機應用程式程序送 OTLP
| protocol | OTLP · HTTP /metrics · journald |
雲端服務
無法安裝 agent 的託管服務,透過雲原生整合拉取或推送。
- CloudWatch / Cloud Monitoring exporters → metrics
- 雲端 log sinks(如 Kinesis/PubSub)→ 經 Alloy 到 Loki
- LB / gateway 存取日誌
| protocol | cloud APIs → Alloy pipelines |