grafana里导入prometheus数据

前面我们已经搭建好了prometheus和grafana,grafana可以更好的展示数据和图表,我们来进行配置

登录Grafana,点击 Data Sources

性能测试--配置prometheus

选择prometheus

性能测试--配置prometheus

性能测试--配置prometheus

导入dashboard

官方给我们提供了两个ID,一个是11074,一个是8919,前面的是英文版的,后面的是中文版的

性能测试--配置prometheus

点击Import

性能测试--配置prometheus

性能测试--配置prometheus

性能测试--配置prometheus

在点击Import之后会出现下面的页面

性能测试--配置prometheus

总结

node_export搭建在收集指标的服务器上,prometheus可以搭建在其他服务器上,在prometheus.yml里配置node_export的地址。然后使用Grafana导入prometheus的数据在配置一个dashboard,就可以展示被压测系统的数据了

相关文章:

  • 2022-12-23
  • 2022-01-07
  • 2021-04-26
  • 2022-12-23
  • 2021-06-14
  • 2022-12-23
  • 2022-02-28
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2021-12-17
  • 2021-08-07
  • 2021-06-03
  • 2021-08-21
  • 2022-01-08
相关资源
相似解决方案