【问题标题】:prometheus / monitor docker container performanceprometheus / 监控 docker 容器性能
【发布时间】:2017-10-29 19:05:02
【问题描述】:

我有由 prometheus 服务器监控的 coreos 机器。

我想检查容器性能和其他参数。例如,检查容器 cpu 或容器是否停止/重新启动/运行。

我正在为此寻找出口商,但没有找到任何东西。我怎样才能实现它?

【问题讨论】:

    标签: prometheus


    【解决方案1】:

    您需要 cAdvisor:https://github.com/google/cadvisor

    但是,如果您正在运行 CoreOS,那就意味着 Kubernetes,对吧? cAdvisor 内置在 Kubelet 中,因此您只需在正确的端口上抓取每个节点 - 参见 https://www.weave.works/blog/aggregating-pod-resource-cpu-memory-usage-arbitrary-labels-prometheus/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-05-29
      • 1970-01-01
      • 2017-03-30
      • 1970-01-01
      • 1970-01-01
      • 2022-01-13
      • 1970-01-01
      • 2019-10-23
      相关资源
      最近更新 更多