Gantt-chart-for-TLS

From ESS-WIKI
Jump to: navigation, search

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]