[英]Monitor Kubernetes Cluster from other Kubernetes cluster with Prometheus
是的,Prometheus 是一個非常靈活的監控解決方案,其中每個 Prometheus 服務器都能夠充當另一個 Prometheus 服務器的目標。 使用 prometheus federation,Prometheus 服務器可以從其他 Prometheus 服務器中抓取選定的時間序列數據。
A typical Prometheus federation example configuration looks like this:
- job_name: 'federate'
scrape_interval: 15s
honor_labels: true
metrics_path: '/federate'
params:
'match[]':
- '{job="prometheus"}'
- '{__name__=~"job:.*"}'
static_configs:
- targets:
- 'source-prometheus-1:9090'
- 'source-prometheus-2:9090'
- 'source-prometheus-3:9090'
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.