🖥️prometheus使用(3):Grafana搭建篇
00 分钟
2024-2-18
2024-3-28
type
status
date
slug
summary
tags
category
icon
password

前言

prometheus的页面,还是不怎么好看的,所以一般我们会使用Grafana来进行数据的整合和图形化输出。

下载

个人版下载地址为
可根据您的服务器类型,进行选择。
notion image
下载完成后,按照页面下方的步骤,逐一安装即可。
tips:安装的时候别忘了要输入个y确定
安装完成后,用如下命令启动
然后可以访问3000端口进行访问,默认的账号密码为admin,admin,如出现如下页面,即为配置成功
notion image

配置

需要配置对应的prometheus的DataSource
notion image
notion image
首先点击Dashboards先下载prometheus的看板模板
notion image
然后配置prometheus的地址
notion image
然后点击save&test,显示如下所示,即为配置成功
notion image
然后点击如图所示按钮,看到如图曲线,则为配置成功
notion image
notion image
  • ---------------------------------END---------------------------------
天行健,君子以自强不息;地势坤,君子以厚德载物