首页 > 其他分享 >Prometheus笔记-Grafana可视化

Prometheus笔记-Grafana可视化

时间:2023-01-17 14:02:51浏览次数:43  
标签:24 VM grafana Prometheus 可视化 Grafana root

Grafana官网

下载Grafana

[root@VM-24-9-centos Prometheus_server]# wget https://dl.grafana.com/oss/release/grafana-9.3.2.linux-amd64.tar.gz

安装Grafana

[root@VM-24-9-centos Prometheus_server]# tar -zxvf grafana-9.3.2.linux-amd64.tar.gz
[root@VM-24-9-centos Prometheus_server]# cd grafana-9.3.2/bin
# 启动Grafana
[root@VM-24-9-centos bin]# nohup ./grafana-server &

配置Grafana

端口默认3000,访问地址 localhost:3000,默认账号密码 admin/admin

选择数据源

image.png
image.png
image.png
image.png

选择dashboard

我们可以根据数据源查询合适的dashboard仪表盘,这里我们选择第一个,如果没有自己喜欢的,可以自己在grafana里编写,小白还是直接用现成的轮子吧,嘻嘻

image.png
image.png
image.png
image.png
image.png

显示效果

dashboard包含了CPU,内存,网络,磁盘,io等信息

image.png
image.png

标签:24,VM,grafana,Prometheus,可视化,Grafana,root
From: https://www.cnblogs.com/jruing/p/17057644.html

相关文章

  • 云原生周刊 | 使用 ChatGPT 协助解决 Prometheus 告警
    开源项目推荐kubernetes-chatgpt-bot这是一个适用于Slack的ChatGPT机器人,只要有监控告警发送到Slack频道中,你就可以通过机器人向ChatGPT咨询如何解决这个告警,Cha......
  • Prometheus笔记-安装blackbox_exporter
    BlackboxExporter是Prometheus社区提供的官方黑盒监控解决方案,其允许用户通过:HTTP、HTTPS、DNS、TCP以及ICMP 的方式对网络进行探测。我们可以利用这个exporter定时访问......
  • Prometheus笔记-监控docker容器
    docker安装google/cadvisor[root@VM-24-9-centos~]#dockerpullgoogle/cadvisorUsingdefaulttag:latestlatest:Pullingfromgoogle/cadvisorff3a5c916c92:Pul......
  • Prometheus笔记-安装Node_exporter
    Node_exporter是可以在*Nix和Linux系统上运行的计算机度量标准的导出器。Node_exporter主要用于暴露metrics给Prometheus,其中metrics包括:cpu的负载,内存的使用情......
  • Prometheus笔记-安装
    官网https://prometheus.io/docs/introduction/overview/下载Prometheushttps://prometheus.io/download/安装Prometheus配置文件#myglobalconfigglobal:......
  • Prometheus笔记-Label标签
    LabelLable是为了方便管理及查询监控目标,在后续写promtheus查询语法的时候需要使用标签作为查询条件配置文件#Ascrapeconfigurationcontainingexactlyoneendpoin......
  • Prometheus笔记-file_sd_config
    一般一个job作为一个业务服务,它下面的监控的机器/节点都是这个服务的节点,为了方便管理,我们可以按照job划分,为每个job创建一个子配置文件,这样方便管理配置文件#myglob......
  • BI 可视化工具不只有视图,还有报表
    前言:对于市面上常见的BI可视化工具而言,如FineBI、观远BI、SmartBI、DataEase等,它们所提供的功能并不仅仅是局限于柱状图、折线图、地图、饼图、散点图、热力图等视图。......
  • Prometheus由于时间不同步导致数据不显示
    问题部署prometheus后,访问前端界面发现:这是由于你windows机器与部署prometheus服务器的​​时间不同步​​导致的。解决在服务器执行如下命令:ntpdatentp.aliyun.com就能......
  • Prometheus Operator配置Alertmanager告警
    1、管理Alertmanagerconfiguration1.1方式一,使用存储在Kubernetessecret中的本地Alertmanager配置文件1、编写alertmanager配置alertmanager.yamlroute:group_by......