Difference between revisions of "Gantt-chart-for-TLS"

From ESS-WIKI
Jump to: navigation, search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
 
 
= Gannt Panel For TLS =
 
= Gannt Panel For TLS =
  
 
[[File:Portal.PNG|RTENOTITLE]]
 
[[File:Portal.PNG|RTENOTITLE]]
 +
  
  
Line 39: Line 38:
  
  
 +
 +
 +
 +
= How To Add RMM-SimpleJSON DataSource =
 +
 +
Choose Configuration -> Data Source -> RMM-SimpleJson
 +
 +
[[File:Tower Light create data source1.jpg|RTENOTITLE]]
 +
 +
Edit settings as follow
 +
 +
[[File:Tower Light create data source2.jpg|RTENOTITLE]]
 +
 +
{| border="1" cellspacing="1" cellpadding="1" style="width:500px;"
 +
|-
 +
|
 +
Name: RMM-SimpleJson
 +
 +
HTTP<br/>URL: [http://168.63.200.38/rmm/v1/grafana/simplejson/ http://168.63.200.38/rmm/v1/grafana/simplejson/]<br/><span style="color:#FF0000;">* Notice:&nbsp;you&nbsp;need to change url for your EdgeSense url . For example,&nbsp;[https://edgesense.wise-paas.com/rmm/v1/grafana/simplejson/ https://edgesense.wise-paas.com/rmm/v1/grafana/simplejson/]</span>
 +
 +
Access: Server (default)
 +
 +
Auth<br/>Basic Auth&nbsp;: V
 +
 +
Basic Auth Details<br/>User: xxx<br/>Password:&nbsp; xxx<br/><span style="color:#FF0000;">* Notice: you need to assign user and password for your EdgeSense authentication.</span>
 +
 +
|}
  
  
Line 85: Line 111:
 
&nbsp; &nbsp; &nbsp;&nbsp;<span style="font-size:large;">Options</span>
 
&nbsp; &nbsp; &nbsp;&nbsp;<span style="font-size:large;">Options</span>
  
*You can set up the status text from option1~option5 from Figure 4&nbsp;.
+
*You can set up the status text from option1~option5 from Figure 5&nbsp;.
*You can set up the label text from option10&nbsp;from Figure 4 .
+
*You can set up the label text from option10&nbsp;from Figure 6&nbsp;.
 
*"Row Height option6" can change panel's heigh.
 
*"Row Height option6" can change panel's heigh.
 
*"Text Size option7" can change status text's size.
 
*"Text Size option7" can change status text's size.
Line 115: Line 141:
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(Figure 7&nbsp;、 Colors Mapping)
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(Figure 7&nbsp;、 Colors Mapping)
  
 +
= Export CSV File =
 +
 +
&nbsp; &nbsp; &nbsp;&nbsp;<span style="font-size:large;">Options</span>
 +
 +
*Please select the appropriate time range&nbsp;see Figure 8&nbsp;.
 +
*Click the Export CSV&nbsp;see Figure 9&nbsp;.
 +
 +
[[File:Grafana Timerange.PNG|RTENOTITLE]]
 +
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(Figure 8&nbsp;、 Grafana Time Range)
 +
 +
[[File:Grafana Exportcsv2.PNG|RTENOTITLE]]
  
  
 
  
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(Figure 9&nbsp;、 Export&nbsp;CSV)
  
 +
<span style="color:#FF0000;">** Notice **</span>
 +
 +
<span style="color:#FF0000;">It will be recorded when the status changes</span>
 +
 +
&nbsp; &nbsp;[[File:Grafana Csv.PNG|RTENOTITLE]]
 +
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;(Figure 10&nbsp;、 CSV File Example)
  
 
= Release =
 
= Release =
Line 129: Line 174:
 
| style="width: 78px;" | Date
 
| style="width: 78px;" | Date
 
| style="width: 56px;" | OS<br/>
 
| style="width: 56px;" | OS<br/>
| style="width: 83px;" | Release Note<br/>
+
| style="width: 188px;" | Release Note<br/>
| style="width: 206px;" | Download Link<br/>
+
| style="width: 101px;" | Download Link<br/>
 
|-
 
|-
 
| style="width: 36px;" | 1
 
| style="width: 36px;" | 1
| style="width: 54px;" | 1.0.0_rc
+
| style="width: 54px;" | 1.0.0
 
| style="width: 78px;" | 2019-11-1
 
| style="width: 78px;" | 2019-11-1
 
| style="width: 56px;" | windows
 
| style="width: 56px;" | windows
| style="width: 83px;" | First Release<br/>
+
| style="width: 188px;" | First Release<br/>
| style="width: 206px;" |  
+
| style="width: 101px;" |  
[file://EOSSFS/ESS-Release/EdgeSense/Release/Windows/EnOcean/Gannt-Chart-For-TLS/Release/1.0.0_rc/grafana-plugin/grafana-plugin.zip [1]]
+
[file://EOSSFS/ESS-Release/EdgeSense/Release/Windows/EnOcean/Gannt-Chart-For-TLS/Release/1.0.0/grafana-plugin/grafana-plugin.zip [1]]
  
 
|-
 
|-
 
| style="width: 36px;" | 2
 
| style="width: 36px;" | 2
| style="width: 54px;" | 1.0.1_rc
+
| style="width: 54px;" | 1.0.1
 
| style="width: 78px;" | 2020-2-3
 
| style="width: 78px;" | 2020-2-3
 
| style="width: 56px;" | windows
 
| style="width: 56px;" | windows
| style="width: 83px;" | Add two Feature<br/>
+
| style="width: 188px;" |  
| style="width: 206px;" |  
+
Add two Feature
[file://EOSSFS/ESS-Release/EdgeSense/Release/Windows/EnOcean/Gannt-Chart-For-TLS/Release/1.0.1_rc/grafana-plugin/grafana-plugin.zip [2]]
+
 
 +
1.&nbsp;Med Space
 +
 
 +
2. Header Indent
 +
 
 +
| style="width: 101px;" |  
 +
[file://EOSSFS/ESS-Release/EdgeSense/Release/Windows/EnOcean/Gannt-Chart-For-TLS/Release/1.0.1/grafana-plugin/grafana-plugin.zip [2]]
 +
 
 +
|-
 +
| style="width: 36px;" | 3
 +
| style="width: 54px;" |
 +
1.0.2
  
 +
| style="width: 78px;" | 2021-7-22
 +
| style="width: 56px;" | windows<br/>
 +
| style="width: 188px;" | Add export csv
 +
| style="width: 101px;" | [file://EOSSFS/ESS-Release/EdgeSense/Release/Windows/EnOcean/Gannt-Chart-For-TLS/Release/1.0.2/grafana-plugin/grafana-plugin.zip [3]]<br/>
 
|}
 
|}

Latest revision as of 04:27, 23 August 2021

Gannt Panel For TLS

RTENOTITLE




Introduction

This is a customized Gantt chart for the TLS project. The diagram has following features.

  1. Can gets TLS data in period and shows color bar with priority display rule.
  2. Can set customize status text from option.
  3. Direction of time axis: from Left (past) to Right (present).
  4. Can set color (Red, Yellow, Green, Blue) mapping to light sensor ID (Light1, Light2, Light3, Light4) by TLS.
  5. Can define timeline period on Gantt chart.
  6. The timeline will be displayed below the Gantt chart.
  7. Gantt chart can set customize label name.





Grafana Version

This Project is base on Grafana v5.3.0 .





How To Add RMM-SimpleJSON DataSource

Choose Configuration -> Data Source -> RMM-SimpleJson

RTENOTITLE

Edit settings as follow

RTENOTITLE

Name: RMM-SimpleJson

HTTP
URL: http://168.63.200.38/rmm/v1/grafana/simplejson/
* Notice: you need to change url for your EdgeSense url . For example, https://edgesense.wise-paas.com/rmm/v1/grafana/simplejson/

Access: Server (default)

Auth
Basic Auth : V

Basic Auth Details
User: xxx
Password:  xxx
* Notice: you need to assign user and password for your EdgeSense authentication.



How To Create A New Gantt Panel

 Step 1: Add panel and choose plugin "Gantt-for-TLS" see Figure 1.
 Step 2: Edit panel see Figure 2.
 Step 3: Set up Metrics and choose DataSource "RMM-SimpleJson".
 Step 4: Set up all of the sensor's(Light1、Light2、Light3、Light4) "Device" "Plugin" "Sensor" "Alias" see Figure 3. 

      *Warning: Although the sensor light can define the mapping color but the aliases must be these strings "red" "yellow" "green" "blue".




RTENOTITLE                 

                                                                                                      (Figure 1 、 Add Panel)



RTENOTITLE

                                                                                                        (Figure 2 、 Edit Panel) 



RTENOTITLE

                                                                                                                                                      (Figure 3 、 Set Metrics)


Customizable

      Options

  • You can set up the status text from option1~option5 from Figure 5 .
  • You can set up the label text from option10 from Figure 6 .
  • "Row Height option6" can change panel's heigh.
  • "Text Size option7" can change status text's size.
  • "Med Space option8" can Change the distance between Label and Status.
  • "Header Indent option9" can change the header's width.


RTENOTITLE

                                                                                                              (Figure 4 、 Options Step)

RTENOTITLE

                                                                                                                                           (Figure 5 、 Status Text)

RTENOTITLE

                                                                                                                                           (Figure 6 、 Label Text)

      Colors

  • "Status Text" can change  status text's color  from 1 see Figure 7 .
  • "Red/Yellow/Green/Blue Light" can change  light's color from 2 ~ 6 see Figure 7 .

RTENOTITLE

                                                                 (Figure 7 、 Colors Mapping)

Export CSV File

      Options

  • Please select the appropriate time range see Figure 8 .
  • Click the Export CSV see Figure 9 .

RTENOTITLE

                                                                                                                                                     (Figure 8 、 Grafana Time Range)

RTENOTITLE


                                                                                                                                         (Figure 9 、 Export CSV)

** Notice **

It will be recorded when the status changes

   RTENOTITLE

          (Figure 10 、 CSV File Example)

Release

Index Version Date OS
Release Note
Download Link
1 1.0.0 2019-11-1 windows First Release

[1]

2 1.0.1 2020-2-3 windows

Add two Feature

1. Med Space

2. Header Indent

[2]

3

1.0.2

2021-7-22 windows
Add export csv [3]