prometheus监控笔记

本文档详细介绍了Prometheus的安装、可视化设置,包括如何使用Grafana,以及对Linux系统、Springboot应用的JVM、Redis和Postgres的监控。通过案例展示了如何进行系统监控、性能分析和故障排查,提供了多种exporter的使用指南。
摘要由CSDN通过智能技术生成

prometheus

doc

  • https://prometheus.io/docs/introduction/overview/
  • https://github.com/yunlzheng/prometheus-book
    • 转载http://www.topgoer.cn/docs/prometheus/prometheus-1cct91no7mknf

安装prometheus

  • https://prometheus.io/download/ 下载prometheus 解压
  • 启动 nohup ./prometheus --storage.tsdb.path=/home/prometheus/data/ &
    • –storage.tsdb.path
    • –storage.tsdb.retention
    • –storage.tsdb.min-block-duration
    • –storage.tsdb.max-block-duration
  • localhost:9090

可视化

  • Prometheus UI提供了快速验证PromQL以及临时可视化支持的能力,
  • Grafana提供可以长期使用的监控数据可视化面板
  • docker run -d -p 3000:3000 grafana/grafana:7.5.9
  • localhost:3000
  • https://grafana.com/grafana/dashboards import dashboard

linux系统监控

  • https://promet
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值