Helping the Industrial Internet of Things, the service domain of industrial big data: an introduction to the visualization tool Grafana [38]

foreword

Tools required for the project:
Link: https://pan.baidu.com/s/1sIa8nninf2Fz6YqE3vUpqQ?pwd=5wr3
Extraction code: 5wr3
– Shared from Baidu Netdisk super member V4

08: Introduction to the visualization tool Grafana

  • Goal : Understand the functions and characteristics of Grafana

  • path

    • step1: function
    • step2: Features
  • implement

    • https://grafana.com/

      image-20211005202518644

    • Function : Grafana is a cross-platform open source measurement analysis and visualization tool, which can query the collected data and then visualize it, and notify in time

    • features

      • Various display methods : fast and flexible client-side charts, panel plug-ins have many different ways of visual indicators and logs, and the official library has a wealth of dashboard plug-ins, such as heat maps, line graphs, charts, and other display methods
      • Rich data sources : Graphite, InfluxDB, OpenTSDB, Prometheus, Elasticsearch, CloudWatch and KairosDB, etc.
      • Various notification reminders : define alert rules for the most important indicators in a visual way, Grafana will continuously calculate and send notifications, and get notifications through Slack, PagerDuty, etc. when the data reaches the threshold
      • Mixed display : mix and use different data sources in the same chart, you can specify data sources based on each query, or even customize data sources
      • Annotations : Annotate graphs with rich events from different data sources, hovering over an event reveals full event metadata and tags
      • Filters : Ad-hoc filters allow dynamic creation of new key/value filters that are automatically applied to all queries using that data source
  • summary

    • Understand the functions and features of Grafana

09: Visualization tool Grafana deployment

  • Goal : Realize the deployment of the visualization tool Grafana

  • implement

    • Upload and install

      cd ~
      rz
      yum install -y  grafana-7.5.3-1.x86_64.rpm
      
    • start service

      # 设置开机自启动
      systemctl enable grafana-server
      # 启动服务
      systemctl start grafana-server
      # 查看服务状态
      systemctl status grafana-server
      
    • Verification : http://node1:3000/

      • The default username and password are both admin

        image-20211005203451932

      • Can be modified by yourself

        image-20211005203510951

      • Enter the main interface

        image-20211005203525381

  • summary

    • Realize the deployment of the visualization tool Grafana

10: Grafana integrates Prometheus

  • Goal : Realize Grafana integration with Prometheus

  • implement

    • add data source

      image-20211005203840307

      image-20211005204055917

      image-20211005204132373

      image-20211005204149647

    • select template

      • https://grafana.com/grafana/dashboards

      image-20211005205923723

image-20211005205833950

```
8919
```
  • import report

    image-20211005204902950

    image-20211005205757984

    image-20211005205148408

    image-20211005210121011

  • summary

    • Grafana integrates Prometheus

11: Grafana integrates MySQL monitoring

  • Goal : Realize Grafana integrated MySQL monitoring

  • implement

    • select template

      image-20211005210743334

      11323
      
    • import report

      image-20211005210817331

      image-20211005210915796

      image-20211005210926010

  • summary

    • Grafana integrated MySQL monitoring

Guess you like

Origin blog.csdn.net/xianyu120/article/details/132494651