Initial commit for chronos-umbrella

Change-Id: Ice4173f994e049c5ef333046438b27a1a396e234
diff --git a/chronos-umbrella/files/dashboards/site/site-availability.json b/chronos-umbrella/files/dashboards/site/site-availability.json
new file mode 100644
index 0000000..4a1f028
--- /dev/null
+++ b/chronos-umbrella/files/dashboards/site/site-availability.json
@@ -0,0 +1,135 @@
+{

+    

+        "annotations": {

+            "list": [

+                {

+                    "builtIn": 1,

+                    "datasource": "-- Grafana --",

+                    "enable": true,

+                    "hide": true,

+                    "iconColor": "rgba(0, 211, 255, 1)",

+                    "name": "Annotations & Alerts",

+                    "type": "dashboard"

+                }

+            ]

+        },

+        "description": "",

+        "editable": false,

+        "gnetId": null,

+        "graphTooltip": 0,

+        "links": [],

+        "panels": [

+            {

+                "datasource": "$ds",

+                "description": "Cluster Availability",

+                "fieldConfig": {

+                    "defaults": {

+                        "color": {

+                            "mode": "palette-classic"

+                        },

+                        "custom": {

+                            "axisLabel": "",

+                            "axisPlacement": "auto",

+                            "barAlignment": 0,

+                            "drawStyle": "line",

+                            "fillOpacity": 0,

+                            "gradientMode": "none",

+                            "hideFrom": {

+                                "legend": false,

+                                "tooltip": false,

+                                "viz": false

+                            },

+                            "lineInterpolation": "linear",

+                            "lineWidth": 1,

+                            "pointSize": 5,

+                            "scaleDistribution": {

+                                "type": "linear"

+                            },

+                            "showPoints": "auto",

+                            "spanNulls": false,

+                            "stacking": {

+                                "group": "A",

+                                "mode": "none"

+                            },

+                            "thresholdsStyle": {

+                                "mode": "off"

+                            }

+                        },

+                        "mappings": [],

+                        "thresholds": {

+                            "mode": "absolute",

+                            "steps": [

+                                {

+                                    "color": "green",

+                                    "value": null

+                                },

+                                {

+                                    "color": "red",

+                                    "value": 80

+                                }

+                            ]

+                        }

+                    },

+                    "overrides": []

+                },

+                "gridPos": {

+                    "h": 8,

+                    "w": 12,

+                    "x": 0,

+                    "y": 0

+                },

+                "id": 1,

+                "options": {

+                    "legend": {

+                        "calcs": [],

+                        "displayMode": "list",

+                        "placement": "bottom"

+                    },

+                    "tooltip": {

+                        "mode": "single"

+                    }

+                },

+                "targets": [

+                    {

+                        "exemplar": true,

+                        "expr": "sum by (node) (kube_node_status_condition{condition=~\"Ready\",status=~\"true\"})",

+                        "interval": "",

+                        "legendFormat": "{{node}}",

+                        "queryType": "randomWalk",

+                        "refId": "A"

+                    }

+                ],

+                "title": "Cluster Nodes Status",

+                "type": "timeseries"

+            }

+        ],

+        "refresh": "",

+        "schemaVersion": 30,

+        "style": "light",

+        "tags": [],

+        "templating": {

+            "list": [

+                {

+                    "label" : "Datasource",

+                    "multi" : false,

+                    "name" : "ds",

+                    "type" : "datasource",

+                    "query": "prometheus",

+                    "queryValue": "",

+                    "refresh": 1,

+                    "regex": ""

+                }

+            ]

+        },

+        "time": {

+            "from": "now-15m",

+            "to": "now"

+        },

+        "timepicker": {},

+        "timezone": "",

+        "title": "Cluster Health",

+        "uid": "site-availability",

+        "version": 1

+    }

+

+

diff --git a/chronos-umbrella/files/dashboards/site/site-monitoring.json b/chronos-umbrella/files/dashboards/site/site-monitoring.json
new file mode 100644
index 0000000..65535d6
--- /dev/null
+++ b/chronos-umbrella/files/dashboards/site/site-monitoring.json
@@ -0,0 +1,149 @@
+{

+    

+        "annotations": {

+            "list": [

+                {

+                    "builtIn": 1,

+                    "datasource": "-- Grafana --",

+                    "enable": true,

+                    "hide": true,

+                    "iconColor": "rgba(0, 211, 255, 1)",

+                    "name": "Annotations & Alerts",

+                    "type": "dashboard"

+                }

+            ]

+        },

+        "description": "",

+        "editable": false,

+        "gnetId": null,

+        "graphTooltip": 0,

+        "links": [],

+        "panels": [

+            {

+                "datasource": "$ds",

+                "description": "E2E Tests",

+                "fieldConfig": {

+                    "defaults": {

+                        "color": {

+                            "mode": "palette-classic"

+                        },

+                        "custom": {

+                            "axisLabel": "",

+                            "axisPlacement": "auto",

+                            "barAlignment": 0,

+                            "drawStyle": "line",

+                            "fillOpacity": 0,

+                            "gradientMode": "none",

+                            "hideFrom": {

+                                "legend": false,

+                                "tooltip": false,

+                                "viz": false

+                            },

+                            "lineInterpolation": "linear",

+                            "lineWidth": 1,

+                            "pointSize": 5,

+                            "scaleDistribution": {

+                                "type": "linear"

+                            },

+                            "showPoints": "auto",

+                            "spanNulls": false,

+                            "stacking": {

+                                "group": "A",

+                                "mode": "none"

+                            },

+                            "thresholdsStyle": {

+                                "mode": "off"

+                            }

+                        },

+                        "mappings": [],

+                        "thresholds": {

+                            "mode": "absolute",

+                            "steps": [

+                                {

+                                    "color": "green",

+                                    "value": null

+                                },

+                                {

+                                    "color": "red",

+                                    "value": 80

+                                }

+                            ]

+                        }

+                    },

+                    "overrides": []

+                },

+                "gridPos": {

+                    "h": 9,

+                    "w": 12,

+                    "x": 0,

+                    "y": 0

+                },

+                "id": 1,

+                "options": {

+                    "legend": {

+                        "calcs": [],

+                        "displayMode": "list",

+                        "placement": "bottom"

+                    },

+                    "tooltip": {

+                        "mode": "single"

+                    }

+                },

+                "targets": [

+                    {

+                        "exemplar": true,

+                        "expr": "sum by (name) (aetheredge_e2e_tests_ok{name=~\"$agents\"})",

+                        "interval": "",

+                        "legendFormat": "{{name}}",

+                        "queryType": "randomWalk",

+                        "refId": "A"

+                    }

+                ],

+                "title": "Monitoring agents E2E Test",

+                "type": "timeseries"

+            }

+        ],

+        "refresh": "",

+        "schemaVersion": 30,

+        "style": "light",

+        "tags": [],

+        "templating": {

+            "list": [

+                {

+                    "label" : "Agents",

+                    "multi" : true,

+                    "name" : "agents",

+                    "type" : "query",

+                    "datasource": "$ds",

+                    "definition": "label_values(aetheredge_e2e_tests_ok, name)",

+                    "query": {

+                        "query": "label_values(aetheredge_e2e_tests_ok, name)",

+                        "refId": "StandardVariableQuery"

+                    },

+                    "refresh": 1,  

+                    "sort" : 1

+                },

+		{

+                    "label" : "Datasource",

+                    "multi" : false,

+                    "name" : "ds",

+                    "type" : "datasource",

+                    "query": "prometheus",

+                    "queryValue": "",

+                    "refresh": 1,

+                    "regex": ""

+                }

+	    ] 

+        },

+        "time": {

+            "from": "now-15m",

+            "to": "now"

+        },

+        "timepicker": {},

+        "timezone": "",

+        "title": "E2E Tests",

+        "uid": "site-monitoring",

+        "version": 1

+    }

+

+

diff --git a/chronos-umbrella/files/dashboards/site/site-small-cells.json b/chronos-umbrella/files/dashboards/site/site-small-cells.json
new file mode 100644
index 0000000..910e8d3
--- /dev/null
+++ b/chronos-umbrella/files/dashboards/site/site-small-cells.json
@@ -0,0 +1,149 @@
+{

+    

+        "annotations": {

+            "list": [

+                {

+                    "builtIn": 1,

+                    "datasource": "-- Grafana --",

+                    "enable": true,

+                    "hide": true,

+                    "iconColor": "rgba(0, 211, 255, 1)",

+                    "name": "Annotations & Alerts",

+                    "type": "dashboard"

+                }

+            ]

+        },

+        "description": "",

+        "editable": false,

+        "gnetId": null,

+        "graphTooltip": 0,

+        "links": [],

+        "panels": [

+            {

+                "datasource": "$ds",

+                "description": "Small Cells connectivity on MME",

+                "fieldConfig": {

+                    "defaults": {

+                        "color": {

+                            "mode": "palette-classic"

+                        },

+                        "custom": {

+                            "axisLabel": "",

+                            "axisPlacement": "auto",

+                            "barAlignment": 0,

+                            "drawStyle": "line",

+                            "fillOpacity": 0,

+                            "gradientMode": "none",

+                            "hideFrom": {

+                                "legend": false,

+                                "tooltip": false,

+                                "viz": false

+                            },

+                            "lineInterpolation": "linear",

+                            "lineWidth": 1,

+                            "pointSize": 5,

+                            "scaleDistribution": {

+                                "type": "linear"

+                            },

+                            "showPoints": "auto",

+                            "spanNulls": false,

+                            "stacking": {

+                                "group": "A",

+                                "mode": "none"

+                            },

+                            "thresholdsStyle": {

+                                "mode": "off"

+                            }

+                        },

+                        "mappings": [],

+                        "thresholds": {

+                            "mode": "absolute",

+                            "steps": [

+                                {

+                                    "color": "green",

+                                    "value": null

+                                },

+                                {

+                                    "color": "red",

+                                    "value": 80

+                                }

+                            ]

+                        }

+                    },

+                    "overrides": []

+                },

+                "gridPos": {

+                    "h": 9,

+                    "w": 12,

+                    "x": 0,

+                    "y": 0

+                },

+                "id": 1,

+                "options": {

+                    "legend": {

+                        "calcs": [],

+                        "displayMode": "list",

+                        "placement": "bottom"

+                    },

+                    "tooltip": {

+                        "mode": "single"

+                    }

+                },

+                "targets": [

+                    {

+                        "exemplar": true,

+                        "expr": "sum by (enbname) (mme_number_of_enb_attached{enb_state=\"Active\", enbname=~\"$enb\"})",

+                        "interval": "",

+                        "legendFormat": "{{enbname}}",

+                        "queryType": "randomWalk",

+                        "refId": "A"

+                    }

+                ],

+                "title": "Site Small Cells connectivity status",

+                "type": "timeseries"

+            }

+        ],

+        "refresh": "",

+        "schemaVersion": 30,

+        "style": "light",

+        "tags": [],

+        "templating": {

+            "list": [

+                {

+                    "label" : "ENB",

+                    "multi" : true,

+                    "name" : "enb",

+                    "type" : "query",

+                    "datasource": "$ds",

+                    "definition": "label_values(mme_number_of_enb_attached, enbname)",

+                    "query": {

+                        "query": "label_values(mme_number_of_enb_attached, enbname)",

+                        "refId": "StandardVariableQuery"

+                    },

+                    "refresh": 1,  

+                    "sort" : 1

+                },

+		{

+                    "label" : "Datasource",

+                    "multi" : false,

+                    "name" : "ds",

+                    "type" : "datasource",

+                    "query": "prometheus",

+                    "queryValue": "",

+                    "refresh": 1,

+                    "regex": ""

+                }

+	    ] 

+        },

+        "time": {

+            "from": "now-15m",

+            "to": "now"

+        },

+        "timepicker": {},

+        "timezone": "",

+        "title": "ENB Status",

+        "uid": "site-small-cell",

+        "version": 1

+    }

+

+

diff --git a/chronos-umbrella/files/dashboards/ue/ue-connectivity.json b/chronos-umbrella/files/dashboards/ue/ue-connectivity.json
new file mode 100644
index 0000000..c9f0423
--- /dev/null
+++ b/chronos-umbrella/files/dashboards/ue/ue-connectivity.json
@@ -0,0 +1,147 @@
+{

+ 

+    "annotations": {

+      "list": [

+        {

+          "builtIn": 1,

+          "datasource": "-- Grafana --",

+          "enable": true,

+          "hide": true,

+          "iconColor": "rgba(0, 211, 255, 1)",

+          "name": "Annotations & Alerts",

+          "type": "dashboard"

+        }

+      ]

+    },

+    "editable": false,

+    "gnetId": null,

+    "graphTooltip": 0,

+    "links": [],

+    "panels": [

+      {

+        "datasource": "$ds",

+        "description": "UE Connectivity",

+        "fieldConfig": {

+          "defaults": {

+            "color": {

+              "mode": "palette-classic"

+            },

+            "custom": {

+              "axisLabel": "",

+              "axisPlacement": "auto",

+              "barAlignment": 0,

+              "drawStyle": "line",

+              "fillOpacity": 0,

+              "gradientMode": "none",

+              "hideFrom": {

+                "legend": false,

+                "tooltip": false,

+                "viz": false

+              },

+              "lineInterpolation": "linear",

+              "lineWidth": 1,

+              "pointSize": 5,

+              "scaleDistribution": {

+                "type": "linear"

+              },

+              "showPoints": "auto",

+              "spanNulls": false,

+              "stacking": {

+                "group": "A",

+                "mode": "none"

+              },

+              "thresholdsStyle": {

+                "mode": "off"

+              }

+            },

+            "mappings": [],

+            "thresholds": {

+              "mode": "absolute",

+              "steps": [

+                {

+                  "color": "green",

+                  "value": null

+                },

+                {

+                  "color": "red",

+                  "value": 80

+                }

+              ]

+            }

+          },

+          "overrides": []

+        },

+        "gridPos": {

+          "h": 8,

+          "w": 12,

+          "x": 0,

+          "y": 0

+        },

+        "id": 1,

+        "options": {

+          "legend": {

+            "calcs": [],

+            "displayMode": "list",

+            "placement": "bottom"

+          },

+          "tooltip": {

+            "mode": "single"

+          }

+        },

+        "targets": [

+          {

+            "exemplar": true,

+            "expr": "subscribers_info{imsi=\"$imsi\"}",

+            "interval": "",

+            "legendFormat": "Connectivity",

+            "queryType": "randomWalk",

+            "refId": "A"

+          }

+        ],

+        "title": "UE $imsi Connectivity",

+        "type": "timeseries"

+      }

+    ],

+    "refresh": "",

+    "schemaVersion": 30,

+    "style": "light",

+    "tags": [],

+    "templating": {

+      "list": [

+          {

+                    "label" : "IMSI",

+                    "multi" : false,

+                    "name" : "imsi",

+                    "type" : "query",

+                    "datasource": "$ds",

+                    "definition": "label_values(subscribers_info, imsi)",

+                    "query": {

+                        "query": "label_values(subscribers_info, imsi)",

+                        "refId": "StandardVariableQuery"

+                    },

+                    "refresh": 1,  

+                    "sort" : 1

+        },

+	{

+                    "label" : "Datasource",

+                    "multi" : false,

+                    "name" : "ds",

+                    "type" : "datasource",

+                    "query": "prometheus",

+                    "queryValue": "",

+                    "refresh": 1,

+                    "regex": ""

+        }

+      ]

+    },

+    "time": {

+      "from": "now-15m",

+      "to": "now"

+    },

+    "timepicker": {},

+    "timezone": "",

+    "title": "UE Connectivity",

+    "uid": "ue-conn",

+    "version": 1

+  }

+