Commit abeb8193 authored by Waleed Akbar's avatar Waleed Akbar
Browse files

Add Grafana dashboard for SIMAP V4 Service-Level SLA Monitoring

- Introduced a new JSON configuration file for the Grafana dashboard.
- The dashboard includes panels for monitoring service upgrades and downgrades, link bandwidth utilization, and latency.
- Configured data sources, queries, and visualizations for effective SLA monitoring.
- Added templating options for dynamic network and link selection.
parent 4619bebc
Loading
Loading
Loading
Loading
+314 −2
Original line number Diff line number Diff line
@@ -659,6 +659,318 @@
        }
      ],
      "type": "table"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "Bandwidth Utilization (%)",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "barWidthFactor": 0.6,
            "drawStyle": "line",
            "fillOpacity": 15,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "showValues": false,
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "min": 1,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": 0
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "link_telemetry.bandwidth_utilization {link_id: E2E-L1, network_id: e2e}"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Actual BW"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "predicted_telemetry.pred_bandwidth_utilization {link_id: E2E-L1, network_id: e2e}"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Predicted BW"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "red",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.lineStyle",
                "value": {
                  "dash": [10, 10],
                  "fill": "dash"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 12,
        "w": 12,
        "x": 0,
        "y": 31
      },
      "id": 12,
      "options": {
        "legend": {
          "calcs": [
            "min",
            "max",
            "mean",
            "last"
          ],
          "displayMode": "table",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "hideZeros": false,
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "12.3.1",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "SELECT bandwidth_utilization FROM link_telemetry WHERE time > now() - $timerange AND network_id = 'e2e' AND link_id = 'E2E-L1' GROUP BY network_id, link_id",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "SELECT pred_bandwidth_utilization FROM predicted_telemetry WHERE time > now() - $timerange AND network_id = 'e2e' AND link_id = 'E2E-L1' GROUP BY network_id, link_id",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series"
        }
      ],
      "title": "E2E-L1: Bandwidth Comparison (Actual vs Predicted)",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "Latency (ms)",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "barWidthFactor": 0.6,
            "drawStyle": "line",
            "fillOpacity": 15,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "showValues": false,
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "min": 1,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": 0
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "link_telemetry.latency {link_id: E2E-L1, network_id: e2e}"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Actual Latency"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "predicted_telemetry.pred_latency {link_id: E2E-L1, network_id: e2e}"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Predicted Latency"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.lineStyle",
                "value": {
                  "dash": [10, 10],
                  "fill": "dash"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 12,
        "w": 12,
        "x": 12,
        "y": 31
      },
      "id": 13,
      "options": {
        "legend": {
          "calcs": [
            "min",
            "max",
            "mean",
            "last"
          ],
          "displayMode": "table",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "hideZeros": false,
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "12.3.1",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "SELECT latency FROM link_telemetry WHERE time > now() - $timerange AND network_id = 'e2e' AND link_id = 'E2E-L1' GROUP BY network_id, link_id",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "SELECT pred_latency FROM predicted_telemetry WHERE time > now() - $timerange AND network_id = 'e2e' AND link_id = 'E2E-L1' GROUP BY network_id, link_id",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series"
        }
      ],
      "title": "E2E-L1: Latency Comparison (Actual vs Predicted)",
      "type": "timeseries"
    }
  ],
  "preload": false,
@@ -799,7 +1111,7 @@
    ]
  },
  "timezone": "",
  "title": "SIMAP Service-Level SLA Monitoring",
  "uid": "simap-sla-monitoring",
  "title": "SIMAP V3 Service-Level SLA Monitoring",
  "uid": "simap-sla-monitoring-v3",
  "version": 7
}
 No newline at end of file
+1117 −0

File added.

Preview size limit exceeded, changes collapsed.