(linux-arm64)KylinV10-SP1安装Prometheus-2.30.0和Grafana-7.2.0

【摘要】 (linux-arm64)KylinV10-SP1安装Prometheus-2.30.0和Grafana-7.2.0

Grafana是一款用Go语言开发的开源数据可视化工具,可以做数据监控和数据统计,带有告警功能,支持Graphite、elasticsearch、zabbix、InfluxDB、Prometheus和OpenTSDB作为数据源。Grafana主要特性:灵活丰富的图形化选项;可以混合多种风格;支持白天和夜间模式;多个数据源
安装Grafana

#查询系统版本
uname -a
#下载grafana-7.2.0.linux-arm64.tar.gz
wget https://dl.grafana.com/oss/release/grafana-7.2.0.linux-arm64.tar.gz
#解压
tar -zxvf grafana-7.2.0.linux-arm64.tar.gz

#cd到bin目录下,启动grafana-server ,开机自启
./grafana-server start
./grafana-server enable

#浏览器输入IP:3000
账号密码默认admin/admin
设置新密码

安装prometheus

#prometheus官网
https://prometheus.io/download/
#通过wget下载prometheus
wget https://github.com/prometheus/prometheus/releases/download/v2.16.0/prometheus-2.30.0.linux-arm64.tar.gz

#解压至/usr/local/
tar -zxvf prometheus-2.30.0.linux-arm64.tar.gz -C /usr/local/
#将prometheus-2.30.0.linux-arm64改名为prometheus
mv /usr/local/prometheus-2.30.0.linux-arm64/ /usr/local/prometheus
cd /usr/local/prometheus
ls
#启动Prometheus—使用默认配置文件启动
/usr/local/prometheus/prometheus --config.file="/usr/local/prometheus/prometheus.yml" &

#查看9090端口是否开启
ss -anlt | grep 9090

#通过浏览器进入页面
IP:9090
#数据展示
IP:9090/metrics

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

QGS-CD

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

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

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

打赏作者

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

抵扣说明:

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

余额充值