grafana集成prometheus

一、安装grafana

1. 下载
wget https://dl.grafana.com/oss/release/grafana-6.4.3.linux-amd64.tar.gz 
2. 解压
tar -zxvf grafana-6.4.3.linux-amd64.tar.gz 
3. 启动
./bin/grafana-server
4. 访问
ip+3000

二、安装prometheus

1. 下载
wget https://github.com/prometheus/prometheus/releases/download/v2.2.1/prometheus-2.2.1.linux-amd64.tar.gz
2. 解压
tar -zxvf prometheus-2.2.1.linux-amd64.tar.gz
3. 启动
./prometheus 

三、安装 node_exporter

1. 下载:
wget https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-amd64.tar.gz
2. 解压
tar -zxvf node_exporter-0.18.1.linux-amd64.tar.gz
3. 启动
./ node_exporter 

四、grafana配置prometheus

在这里插入图片描述
效果:
在这里插入图片描述

关注 Java有货领取更多资料

在这里插入图片描述
如遇到问题可以联系小编。微信:372787553,互相学习

技术博客:https://blog.csdn.net/weixin_38937840

SpringCloud学习代码: https://github.com/Dylan-haiji/javayh-cloud

Redis、Mongo、Rabbitmq、Kafka学习代码: https://github.com/Dylan-haiji/javayh-middleware

AlibabaCloud学习代码:https://github.com/Dylan-haiji/javayh-cloud-nacos
SpringBoot+SpringSecurity实现自定义登录学习代码:https://github.com/Dylan-haiji/javayh-distribution

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

小杨同学~

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值