当前位置:网站首页>How to use grafana to easily realize OVL data visualization
How to use grafana to easily realize OVL data visualization
2022-06-12 15:25:00 【Hongke Electronic Technology】
Preface
This article takes MySQL Taking database as an example, this paper introduces how to use Grafana To achieve OVL Data visualization , There are two ways , One is through OVL Of REST API To realize data visualization , The other is to realize visualization by accessing the data stored in the database . About how to pass through OVL take OPC UA The server data is stored in the database. Please refer to the article 《 Hongke dry cargo | Teach you a few simple steps to achieve OPC UA The server data is stored in the database 》.
01 work have
1. OVL Software
2. MySQL database
3. Grafana Visualization software 、SimpleJson Data source plug-ins and MySQL Data source plug-ins
02 Operation steps
adopt REST API Data visualization
1. Enable REST API
open OVL The software “Instance” Interface , Click the Edit button to enter the parameter configuration interface , Check “REST Endpoint Enabled” Options .



2. add to SimpleJson Data source plug-ins
stay Grafana Mid search SimpleJson Data source plug-ins and add .

notes : The data source plug-in can also be accessed through Grafana CLI Command to install , For related commands, please refer to the following links :
Grafana CLI | Grafana documentation
3. To configure SimpleJson data source
(1) Configure data source parameters according to requirements , among “HTTP” Options “URL” Medium IP The address and port number are OVL The software IP Address and port number .

(2) After the parameter configuration is completed , Click on “Save & test”, If the configuration is correct , The data source is running .

4. Create a dashboard
(1) Click on “Dashboard” Create a new panel .

(2) Choose to add SimpleJson Data source and required data .

(3) Select the desired chart type .

(4) After the panel parameters are set , Click on “Apply” that will do .
(5) complete OVL Data visualization .


Realize data visualization by accessing the database
1. add to MySQL Data source plug-ins
stay Grafana Mid search MySQL Data source plug-ins and add .

2. To configure MySQL data source
(1) To configure MySQL Data source parameters .

(2) After the parameter configuration is completed , Click on “Save & test”, If the configuration is correct , The database connection is successful .

3. Create a dashboard
(1) Click on “Dashboard” Create a new panel .

(2) Choose to add MySQL Data source and insert... As required SQL sentence .

(3) Select the desired chart type .

(4) After the panel parameters are set , Click on “Apply” that will do .
(5) complete OVL Data visualization .

03 total junction
Use Hongke OVL The software can not only OPC UA The server data is stored in the database , And provide REST API, And then pass Grafana Make it easy OPC UA Visualization of server data .
边栏推荐
- Qiming cloud sharing | demonstrate the switch through an example of the matter protocol to control the light on and off through the matter protocol
- [jvm learning] types of GC and allocation process of objects on JVM heap
- Swap numbers, XOR, operator correlation
- [jvm learning] virtual machine stack
- CUDA out of memory 或 BrokenPipeError: [Errno 32] Broken pipe 或 OSError: [WinError 1455] 页面文件太小的解决办法
- [LDA] basic knowledge notes - mainly AE and VAE
- Dart typedef的理解
- Use of boost:: bind() in ROS
- Application of postman-rest client plug-in
- How to set public IP access on the H3C gr5200 router
猜你喜欢
![[LDA] LDA theme model notes - mainly Dirichlet](/img/e0/bc96b141aa577106379fab63d9df40.png)
[LDA] LDA theme model notes - mainly Dirichlet

2021-06-20

Pta: self test -3 array element cyclic right shift problem (20 points)
![[jvm learning] parental delegation mechanism and PC register (program counter)](/img/23/c7b1de7f648716c0f6b615dd22c64d.jpg)
[jvm learning] parental delegation mechanism and PC register (program counter)

What is reflection-- The soul of frame design

Remote control of other computers -- detailed tutorial
![CUDA out of memory or brokenpipeerror: [errno 32] broken pipe or oserror: [winerror 1455] solution to the problem that the page file is too small](/img/2c/63f1c865105a74ed651bb0ef97ab60.png)
CUDA out of memory or brokenpipeerror: [errno 32] broken pipe or oserror: [winerror 1455] solution to the problem that the page file is too small

Multi thread knowledge induction

ROS初学者编写小乌龟以一定速度旋转一定角度的server

增加mysql的最大连接数
随机推荐
ROS初学者编写小乌龟以一定速度旋转一定角度的server
ARM 64指令小记
Some useful websites
应势而变,2022年下半场的升级之路
Leetcode daily question - fair candy bar exchange
Two ways of array simulating queue
Understanding of Odom coordinate system
odom坐标系的理解
Loadbalancer load balancer
Design concept of ORM framework
Distributed concurrent repeated submission
About layoffs in Internet companies
Solutions to some problems of scuacm22 retreat competition before summer training
分布式并发重复提交问题
Servlet知识详解(2)
[jvm learning] virtual machine stack
Use of multithreading
Socket原理讲解(在哪、是什么、怎么用)
Points chocolate (two points answer) Blue Bridge Cup provincial competition
Multi thread knowledge induction