minio server 已经支持Prometheus 了,对于系统的运行参数我们可以方便、实时的查看

运行使用docker-compose

docker-compose 文件

version: "3"
services:
  g:
    image: grafana/grafana
    ports:
    - "3000:3000"
  p:
    image: prom/prometheus
    volumes:
    - "./prometheus.yml:/etc/prometheus/prometheus.yml"
    ports:
    - "9090:9090"

prometheus minio 配置

prometheus.yml 文件

scrape_configs:
  - job_name: minio
    metrics_path: /minio/prometheus/metrics
    static_configs:
      - targets: ['10.10.17.21:9000']

运行&&查看效果

  • 启动
docker-compose up -d
  • grafana 效果
    使用 Prometheus 监控minio 性能指标信息&&docker-compose 方式运行
  • prometheus 效果
    使用 Prometheus 监控minio 性能指标信息&&docker-compose 方式运行
  • 添加dashboard
    使用 Prometheus 监控minio 性能指标信息&&docker-compose 方式运行
  • 数据效果
    使用 Prometheus 监控minio 性能指标信息&&docker-compose 方式运行

参考资料

https://blog.minio.io/monitor-minio-server-with-prometheus-4ed537abcb74
https://github.com/minio/cookbook/blob/master/docs/how-to-monitor-minio-with-prometheus.md

 
 
 
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
  • 2022-01-14
猜你喜欢
  • 2022-12-23
  • 2021-09-14
  • 2023-01-06
  • 2021-09-07
  • 2021-09-08
  • 2022-12-23
  • 2021-08-05
相关资源
相似解决方案