{
  "description": "Per-WAN latency, speed, connections, and ONT signal",
  "editable": true,
  "id": null,
  "panels": [
    {
      "datasource": {
        "type": "prometheus",
        "uid": "prometheus-chw"
      },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "center",
            "cellOptions": {
              "type": "auto"
            }
          },
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "green",
                "value": 1
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-text"
                }
              },
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "0": {
                        "color": "#54242c",
                        "index": 0,
                        "text": "Offline"
                      },
                      "1": {
                        "color": "#2f7a4d",
                        "index": 1,
                        "text": "Online"
                      }
                    },
                    "type": "value"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Loss"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "decimals",
                "value": 1
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-text"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 1
                    },
                    {
                      "color": "red",
                      "value": 5
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Latency"
            },
            "properties": [
              {
                "id": "unit",
                "value": "ms"
              },
              {
                "id": "decimals",
                "value": 0
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Optical RX"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dBm"
              },
              {
                "id": "decimals",
                "value": 1
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-text"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "red",
                      "value": null
                    },
                    {
                      "color": "orange",
                      "value": -30
                    },
                    {
                      "color": "yellow",
                      "value": -27
                    },
                    {
                      "color": "#f5f7fa",
                      "value": -22
                    },
                    {
                      "color": "red",
                      "value": -11
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 0,
        "y": 0
      },
      "id": 100,
      "options": {
        "inlineEditing": false,
        "panzoom": false,
        "root": {
          "elements": [
            {
              "background": {
                "color": {
                  "field": "Status"
                }
              },
              "config": {
                "align": "left",
                "color": {
                  "fixed": "transparent"
                },
                "size": 1,
                "text": {
                  "fixed": "",
                  "mode": "fixed"
                },
                "valign": "center"
              },
              "name": "status_background",
              "placement": {
                "height": 1000,
                "left": 0,
                "top": 0,
                "width": 1000
              },
              "type": "text"
            },
            {
              "config": {
                "align": "left",
                "color": {
                  "fixed": "#f5f7fa"
                },
                "size": 23,
                "text": {
                  "field": "Status",
                  "mode": "field"
                },
                "valign": "center"
              },
              "name": "status_value",
              "placement": {
                "height": 32,
                "left": 18,
                "top": 14,
                "width": 230
              },
              "type": "text"
            },
            {
              "config": {
                "align": "left",
                "color": {
                  "fixed": "#f5f7fa"
                },
                "size": 17,
                "text": {
                  "fixed": "RX",
                  "mode": "fixed"
                },
                "valign": "center"
              },
              "name": "rx_label",
              "placement": {
                "height": 28,
                "left": 18,
                "top": 58,
                "width": 28
              },
              "type": "text"
            },
            {
              "config": {
                "align": "left",
                "color": {
                  "field": "Optical RX"
                },
                "size": 17,
                "text": {
                  "field": "Optical RX",
                  "mode": "field"
                },
                "valign": "center"
              },
              "name": "rx_value",
              "placement": {
                "height": 28,
                "left": 48,
                "top": 58,
                "width": 200
              },
              "type": "text"
            }
          ],
          "name": "root",
          "type": "frame"
        },
        "showAdvancedTypes": true
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "min by (wan) (wan_loss_ratio{scope=\"intl\",wan=~\"globe\"}) <= bool 0.1",
          "format": "table",
          "instant": true,
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "100 * min by (wan) (wan_loss_ratio{scope=\"intl\",wan=~\"globe\"})",
          "format": "table",
          "instant": true,
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "avg by (wan) (wan_latency_ms{scope=\"intl\",wan=~\"globe\"})",
          "format": "table",
          "instant": true,
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "(label_replace(avg(globe_ont_rx_power_dbm), \"wan\", \"globe\", \"\", \"\") or label_replace(avg(zte_ont_rx_power_dbm), \"wan\", \"converge\", \"\", \"\") or label_replace(avg(huawei_ont_rx_power_dbm), \"wan\", \"pldt\", \"\", \"\")) and on (wan) min by (wan) (wan_loss_ratio{scope=\"intl\",wan=~\"globe\"})",
          "format": "table",
          "instant": true,
          "refId": "D"
        }
      ],
      "title": "Globe",
      "transformations": [
        {
          "id": "joinByField",
          "options": {
            "byField": "wan",
            "mode": "outer"
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true,
              "Time 1": true,
              "Time 2": true,
              "Time 3": true,
              "__name__": true,
              "__name__ 1": true,
              "__name__ 2": true,
              "__name__ 3": true,
              "instance": true,
              "job": true,
              "model": true,
              "scope": true,
              "serial": true,
              "target": true,
              "wan": true
            },
            "indexByName": {
              "Value #A": 0,
              "Value #B": 1,
              "Value #C": 2,
              "Value #D": 3
            },
            "renameByName": {
              "Value #A": "Status",
              "Value #B": "Loss",
              "Value #C": "Latency",
              "Value #D": "Optical RX"
            }
          }
        }
      ],
      "type": "canvas"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "prometheus-chw"
      },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "center",
            "cellOptions": {
              "type": "auto"
            }
          },
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "green",
                "value": 1
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-text"
                }
              },
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "0": {
                        "color": "#54242c",
                        "index": 0,
                        "text": "Offline"
                      },
                      "1": {
                        "color": "#2f7a4d",
                        "index": 1,
                        "text": "Online"
                      }
                    },
                    "type": "value"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Loss"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "decimals",
                "value": 1
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-text"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 1
                    },
                    {
                      "color": "red",
                      "value": 5
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Latency"
            },
            "properties": [
              {
                "id": "unit",
                "value": "ms"
              },
              {
                "id": "decimals",
                "value": 0
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Optical RX"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dBm"
              },
              {
                "id": "decimals",
                "value": 1
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-text"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "red",
                      "value": null
                    },
                    {
                      "color": "orange",
                      "value": -30
                    },
                    {
                      "color": "yellow",
                      "value": -27
                    },
                    {
                      "color": "#f5f7fa",
                      "value": -22
                    },
                    {
                      "color": "red",
                      "value": -11
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 4,
        "y": 0
      },
      "id": 101,
      "options": {
        "inlineEditing": false,
        "panzoom": false,
        "root": {
          "elements": [
            {
              "background": {
                "color": {
                  "field": "Status"
                }
              },
              "config": {
                "align": "left",
                "color": {
                  "fixed": "transparent"
                },
                "size": 1,
                "text": {
                  "fixed": "",
                  "mode": "fixed"
                },
                "valign": "center"
              },
              "name": "status_background",
              "placement": {
                "height": 1000,
                "left": 0,
                "top": 0,
                "width": 1000
              },
              "type": "text"
            },
            {
              "config": {
                "align": "left",
                "color": {
                  "fixed": "#f5f7fa"
                },
                "size": 23,
                "text": {
                  "field": "Status",
                  "mode": "field"
                },
                "valign": "center"
              },
              "name": "status_value",
              "placement": {
                "height": 32,
                "left": 18,
                "top": 14,
                "width": 230
              },
              "type": "text"
            },
            {
              "config": {
                "align": "left",
                "color": {
                  "fixed": "#f5f7fa"
                },
                "size": 17,
                "text": {
                  "fixed": "RX",
                  "mode": "fixed"
                },
                "valign": "center"
              },
              "name": "rx_label",
              "placement": {
                "height": 28,
                "left": 18,
                "top": 58,
                "width": 28
              },
              "type": "text"
            },
            {
              "config": {
                "align": "left",
                "color": {
                  "field": "Optical RX"
                },
                "size": 17,
                "text": {
                  "field": "Optical RX",
                  "mode": "field"
                },
                "valign": "center"
              },
              "name": "rx_value",
              "placement": {
                "height": 28,
                "left": 48,
                "top": 58,
                "width": 200
              },
              "type": "text"
            }
          ],
          "name": "root",
          "type": "frame"
        },
        "showAdvancedTypes": true
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "min by (wan) (wan_loss_ratio{scope=\"intl\",wan=~\"converge\"}) <= bool 0.1",
          "format": "table",
          "instant": true,
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "100 * min by (wan) (wan_loss_ratio{scope=\"intl\",wan=~\"converge\"})",
          "format": "table",
          "instant": true,
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "avg by (wan) (wan_latency_ms{scope=\"intl\",wan=~\"converge\"})",
          "format": "table",
          "instant": true,
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "(label_replace(avg(globe_ont_rx_power_dbm), \"wan\", \"globe\", \"\", \"\") or label_replace(avg(zte_ont_rx_power_dbm), \"wan\", \"converge\", \"\", \"\") or label_replace(avg(huawei_ont_rx_power_dbm), \"wan\", \"pldt\", \"\", \"\")) and on (wan) min by (wan) (wan_loss_ratio{scope=\"intl\",wan=~\"converge\"})",
          "format": "table",
          "instant": true,
          "refId": "D"
        }
      ],
      "title": "Converge",
      "transformations": [
        {
          "id": "joinByField",
          "options": {
            "byField": "wan",
            "mode": "outer"
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true,
              "Time 1": true,
              "Time 2": true,
              "Time 3": true,
              "__name__": true,
              "__name__ 1": true,
              "__name__ 2": true,
              "__name__ 3": true,
              "instance": true,
              "job": true,
              "model": true,
              "scope": true,
              "serial": true,
              "target": true,
              "wan": true
            },
            "indexByName": {
              "Value #A": 0,
              "Value #B": 1,
              "Value #C": 2,
              "Value #D": 3
            },
            "renameByName": {
              "Value #A": "Status",
              "Value #B": "Loss",
              "Value #C": "Latency",
              "Value #D": "Optical RX"
            }
          }
        }
      ],
      "type": "canvas"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "prometheus-chw"
      },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "center",
            "cellOptions": {
              "type": "auto"
            }
          },
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "green",
                "value": 1
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-text"
                }
              },
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "0": {
                        "color": "#54242c",
                        "index": 0,
                        "text": "Offline"
                      },
                      "1": {
                        "color": "#2f7a4d",
                        "index": 1,
                        "text": "Online"
                      }
                    },
                    "type": "value"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Loss"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "decimals",
                "value": 1
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-text"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 1
                    },
                    {
                      "color": "red",
                      "value": 5
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Latency"
            },
            "properties": [
              {
                "id": "unit",
                "value": "ms"
              },
              {
                "id": "decimals",
                "value": 0
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Optical RX"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dBm"
              },
              {
                "id": "decimals",
                "value": 1
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-text"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "red",
                      "value": null
                    },
                    {
                      "color": "orange",
                      "value": -30
                    },
                    {
                      "color": "yellow",
                      "value": -27
                    },
                    {
                      "color": "#f5f7fa",
                      "value": -22
                    },
                    {
                      "color": "red",
                      "value": -11
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 8,
        "y": 0
      },
      "id": 102,
      "options": {
        "inlineEditing": false,
        "panzoom": false,
        "root": {
          "elements": [
            {
              "background": {
                "color": {
                  "field": "Status"
                }
              },
              "config": {
                "align": "left",
                "color": {
                  "fixed": "transparent"
                },
                "size": 1,
                "text": {
                  "fixed": "",
                  "mode": "fixed"
                },
                "valign": "center"
              },
              "name": "status_background",
              "placement": {
                "height": 1000,
                "left": 0,
                "top": 0,
                "width": 1000
              },
              "type": "text"
            },
            {
              "config": {
                "align": "left",
                "color": {
                  "fixed": "#f5f7fa"
                },
                "size": 23,
                "text": {
                  "field": "Status",
                  "mode": "field"
                },
                "valign": "center"
              },
              "name": "status_value",
              "placement": {
                "height": 32,
                "left": 18,
                "top": 14,
                "width": 230
              },
              "type": "text"
            },
            {
              "config": {
                "align": "left",
                "color": {
                  "fixed": "#f5f7fa"
                },
                "size": 17,
                "text": {
                  "fixed": "RX",
                  "mode": "fixed"
                },
                "valign": "center"
              },
              "name": "rx_label",
              "placement": {
                "height": 28,
                "left": 18,
                "top": 58,
                "width": 28
              },
              "type": "text"
            },
            {
              "config": {
                "align": "left",
                "color": {
                  "field": "Optical RX"
                },
                "size": 17,
                "text": {
                  "field": "Optical RX",
                  "mode": "field"
                },
                "valign": "center"
              },
              "name": "rx_value",
              "placement": {
                "height": 28,
                "left": 48,
                "top": 58,
                "width": 200
              },
              "type": "text"
            }
          ],
          "name": "root",
          "type": "frame"
        },
        "showAdvancedTypes": true
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "min by (wan) (wan_loss_ratio{scope=\"intl\",wan=~\"pldt\"}) <= bool 0.1",
          "format": "table",
          "instant": true,
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "100 * min by (wan) (wan_loss_ratio{scope=\"intl\",wan=~\"pldt\"})",
          "format": "table",
          "instant": true,
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "avg by (wan) (wan_latency_ms{scope=\"intl\",wan=~\"pldt\"})",
          "format": "table",
          "instant": true,
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "(label_replace(avg(globe_ont_rx_power_dbm), \"wan\", \"globe\", \"\", \"\") or label_replace(avg(zte_ont_rx_power_dbm), \"wan\", \"converge\", \"\", \"\") or label_replace(avg(huawei_ont_rx_power_dbm), \"wan\", \"pldt\", \"\", \"\")) and on (wan) min by (wan) (wan_loss_ratio{scope=\"intl\",wan=~\"pldt\"})",
          "format": "table",
          "instant": true,
          "refId": "D"
        }
      ],
      "title": "PLDT",
      "transformations": [
        {
          "id": "joinByField",
          "options": {
            "byField": "wan",
            "mode": "outer"
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true,
              "Time 1": true,
              "Time 2": true,
              "Time 3": true,
              "__name__": true,
              "__name__ 1": true,
              "__name__ 2": true,
              "__name__ 3": true,
              "instance": true,
              "job": true,
              "model": true,
              "scope": true,
              "serial": true,
              "target": true,
              "wan": true
            },
            "indexByName": {
              "Value #A": 0,
              "Value #B": 1,
              "Value #C": 2,
              "Value #D": 3
            },
            "renameByName": {
              "Value #A": "Status",
              "Value #B": "Loss",
              "Value #C": "Latency",
              "Value #D": "Optical RX"
            }
          }
        }
      ],
      "type": "canvas"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 21
      },
      "id": 10,
      "title": "Speed",
      "type": "row"
    },
    {
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "fillOpacity": 8,
            "lineWidth": 2,
            "pointSize": 4,
            "showPoints": "auto",
            "spanNulls": false
          },
          "unit": "Mbps"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/globe/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#3B82F6",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/converge/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#2E8B57",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/pldt/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#E02F44",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 22
      },
      "id": 11,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "rate(node_network_receive_bytes_total{instance=\"swallow-03\",device=\"enp3s0f3\"}[$__rate_interval])*8/1e6",
          "legendFormat": "Globe",
          "refId": "G"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "rate(node_network_receive_bytes_total{instance=\"swallow-03\",device=\"enp3s0f2\"}[$__rate_interval])*8/1e6",
          "legendFormat": "Converge",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "rate(node_network_receive_bytes_total{instance=\"swallow-03\",device=\"enp3s0f1\"}[$__rate_interval])*8/1e6",
          "legendFormat": "PLDT",
          "refId": "P"
        }
      ],
      "title": "Download \u2014 actual traffic (Mbps)",
      "type": "timeseries"
    },
    {
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "fillOpacity": 8,
            "lineWidth": 2,
            "pointSize": 4,
            "showPoints": "auto",
            "spanNulls": false
          },
          "unit": "Mbps"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/globe/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#3B82F6",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/converge/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#2E8B57",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/pldt/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#E02F44",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 22
      },
      "id": 12,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "rate(node_network_transmit_bytes_total{instance=\"swallow-03\",device=\"enp3s0f3\"}[$__rate_interval])*8/1e6",
          "legendFormat": "Globe",
          "refId": "G"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "rate(node_network_transmit_bytes_total{instance=\"swallow-03\",device=\"enp3s0f2\"}[$__rate_interval])*8/1e6",
          "legendFormat": "Converge",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "rate(node_network_transmit_bytes_total{instance=\"swallow-03\",device=\"enp3s0f1\"}[$__rate_interval])*8/1e6",
          "legendFormat": "PLDT",
          "refId": "P"
        }
      ],
      "title": "Upload \u2014 actual traffic (Mbps)",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 4
      },
      "id": 20,
      "title": "Latency & Loss",
      "type": "row"
    },
    {
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "fillOpacity": 8,
            "lineWidth": 2,
            "pointSize": 4,
            "showPoints": "auto",
            "spanNulls": false
          },
          "unit": "ms"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/globe/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#3B82F6",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/converge/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#2E8B57",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/pldt/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#E02F44",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 0,
        "y": 5
      },
      "id": 21,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "min by (wan) (wan_latency_ms{scope=\"intl\"})",
          "legendFormat": "{{wan}}"
        }
      ],
      "title": "International US West (Linode Fremont / Vultr LA)",
      "type": "timeseries"
    },
    {
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "fillOpacity": 8,
            "lineWidth": 2,
            "pointSize": 4,
            "showPoints": "auto",
            "spanNulls": false
          },
          "unit": "ms"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/globe/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#3B82F6",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/converge/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#2E8B57",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/pldt/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#E02F44",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 8,
        "y": 5
      },
      "id": 22,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_latency_ms{scope=\"local\",target=\"162.159.200.1\"}",
          "legendFormat": "{{wan}}"
        }
      ],
      "title": "Manila PoP \u2014 162.159.200.1 (Cloudflare)",
      "type": "timeseries"
    },
    {
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "fillOpacity": 15,
            "lineWidth": 2,
            "pointSize": 4,
            "showPoints": "auto",
            "spanNulls": false
          },
          "unit": "percent"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/globe/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#3B82F6",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/converge/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#2E8B57",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/pldt/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#E02F44",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 16,
        "y": 5
      },
      "id": 23,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "min by (wan) (wan_loss_ratio{scope=\"intl\"})*100",
          "legendFormat": "{{wan}}"
        }
      ],
      "title": "Packet Loss (%)",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 13
      },
      "id": 30,
      "title": "Connections",
      "type": "row"
    },
    {
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "fillOpacity": 8,
            "lineWidth": 2,
            "pointSize": 4,
            "showPoints": "auto",
            "spanNulls": false
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/globe/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#3B82F6",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/converge/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#2E8B57",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/pldt/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#E02F44",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 16,
        "x": 0,
        "y": 14
      },
      "id": 31,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_connections{wan=~\"globe|converge|pldt\"}",
          "legendFormat": "{{wan}}"
        }
      ],
      "title": "Active Connections per WAN",
      "type": "timeseries"
    },
    {
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "noValue": "\u2014",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "blue",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "globe"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#1F60C4",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "pldt"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#F2495C",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "converge"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#2EB67D",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 14
      },
      "id": 32,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ]
        },
        "textMode": "auto"
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_connections{wan=~\"globe|converge|pldt|total\"}",
          "legendFormat": "{{wan}}"
        }
      ],
      "title": "Now",
      "type": "stat"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 48
      },
      "id": 40,
      "title": "ONT Signal (dBm)",
      "type": "row"
    },
    {
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "fillOpacity": 8,
            "lineWidth": 2,
            "pointSize": 4,
            "showPoints": "auto",
            "spanNulls": false
          },
          "unit": "dBm"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "TX"
            },
            "properties": [
              {
                "id": "custom.lineStyle",
                "value": {
                  "dash": [
                    6,
                    3
                  ],
                  "fill": "dash"
                }
              },
              {
                "id": "custom.fillOpacity",
                "value": 0
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "globe"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#1F60C4",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "pldt"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#F2495C",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "converge"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#2EB67D",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 0,
        "y": 49
      },
      "id": 41,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "globe_ont_rx_power_dbm",
          "legendFormat": "RX"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "globe_ont_tx_power_dbm",
          "legendFormat": "TX"
        }
      ],
      "title": "Globe ONT",
      "type": "timeseries"
    },
    {
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "fillOpacity": 8,
            "lineWidth": 2,
            "pointSize": 4,
            "showPoints": "auto",
            "spanNulls": false
          },
          "unit": "dBm"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "TX"
            },
            "properties": [
              {
                "id": "custom.lineStyle",
                "value": {
                  "dash": [
                    6,
                    3
                  ],
                  "fill": "dash"
                }
              },
              {
                "id": "custom.fillOpacity",
                "value": 0
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "globe"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#1F60C4",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "pldt"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#F2495C",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "converge"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#2EB67D",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 8,
        "y": 49
      },
      "id": 42,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "zte_ont_rx_power_dbm",
          "legendFormat": "RX"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "zte_ont_tx_power_dbm",
          "legendFormat": "TX"
        }
      ],
      "title": "Converge ONT",
      "type": "timeseries"
    },
    {
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "fillOpacity": 8,
            "lineWidth": 2,
            "pointSize": 4,
            "showPoints": "auto",
            "spanNulls": false
          },
          "unit": "dBm"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "TX"
            },
            "properties": [
              {
                "id": "custom.lineStyle",
                "value": {
                  "dash": [
                    6,
                    3
                  ],
                  "fill": "dash"
                }
              },
              {
                "id": "custom.fillOpacity",
                "value": 0
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "globe"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#1F60C4",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "pldt"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#F2495C",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "converge"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#2EB67D",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 16,
        "y": 49
      },
      "id": 43,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "huawei_ont_rx_power_dbm",
          "legendFormat": "RX"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "huawei_ont_tx_power_dbm",
          "legendFormat": "TX"
        }
      ],
      "title": "PLDT ONT",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 30
      },
      "id": 50,
      "panels": [],
      "title": "Usage \u2014 data volume per WAN (selected range)",
      "type": "row"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 39
      },
      "id": 60,
      "panels": [],
      "title": "Measured Capacity \u2014 Ookla speedtest, runs every 6 h (00\u00b706\u00b712\u00b718)",
      "type": "row"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "prometheus-chw"
      },
      "description": "Line joins the 6-hourly Ookla runs (00\u00b706\u00b712\u00b718). Each DOT is one actual measurement; the line only connects them (there is no data between runs). Query step is pinned to 6h so every run is one vertex/dot. A gap = that run failed / WAN down (gated on wan_speedtest_ok==1). Solid = download, dashed = upload.",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "axisPlacement": "auto",
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 9,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "always",
            "spanNulls": false
          },
          "unit": "Mbps"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/globe/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#3B82F6",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/converge/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#2E8B57",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/pldt/i"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#E02F44",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "/\u2191/"
            },
            "properties": [
              {
                "id": "custom.lineStyle",
                "value": {
                  "dash": [
                    8,
                    8
                  ],
                  "fill": "dash"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 16,
        "x": 0,
        "y": 40
      },
      "id": 61,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_speedtest_download_bps{wan=\"globe\"}/1e6 and on(wan) wan_speedtest_ok{wan=\"globe\"} == 1",
          "interval": "6h",
          "legendFormat": "Globe \u2193",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_speedtest_download_bps{wan=\"converge\"}/1e6 and on(wan) wan_speedtest_ok{wan=\"converge\"} == 1",
          "interval": "6h",
          "legendFormat": "Converge \u2193",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_speedtest_download_bps{wan=\"pldt\"}/1e6 and on(wan) wan_speedtest_ok{wan=\"pldt\"} == 1",
          "interval": "6h",
          "legendFormat": "Pldt \u2193",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_speedtest_upload_bps{wan=\"globe\"}/1e6 and on(wan) wan_speedtest_ok{wan=\"globe\"} == 1",
          "interval": "6h",
          "legendFormat": "Globe \u2191",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_speedtest_upload_bps{wan=\"converge\"}/1e6 and on(wan) wan_speedtest_ok{wan=\"converge\"} == 1",
          "interval": "6h",
          "legendFormat": "Converge \u2191",
          "refId": "E"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_speedtest_upload_bps{wan=\"pldt\"}/1e6 and on(wan) wan_speedtest_ok{wan=\"pldt\"} == 1",
          "interval": "6h",
          "legendFormat": "Pldt \u2191",
          "refId": "F"
        }
      ],
      "timeFrom": "7d",
      "title": "Measured capacity per WAN \u2014 Ookla speedtest every 6 h (each dot = one run)",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "prometheus-chw"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "orange",
                "value": 50
              },
              {
                "color": "green",
                "value": 200
              }
            ]
          },
          "unit": "Mbps"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 16,
        "y": 40
      },
      "id": 62,
      "options": {
        "displayMode": "gradient",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_speedtest_download_bps{wan=\"globe\"}/1e6",
          "instant": true,
          "legendFormat": "Globe",
          "refId": "G"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_speedtest_download_bps{wan=\"converge\"}/1e6",
          "instant": true,
          "legendFormat": "Converge",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "wan_speedtest_download_bps{wan=\"pldt\"}/1e6",
          "instant": true,
          "legendFormat": "PLDT",
          "refId": "P"
        }
      ],
      "title": "Last measured download (Mbps)",
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "prometheus-chw"
      },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            }
          },
          "unit": "decbytes"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "WAN"
            },
            "properties": [
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-text"
                }
              },
              {
                "id": "custom.width",
                "value": 160
              },
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "Converge": {
                        "color": "#2E8B57",
                        "index": 1
                      },
                      "Globe": {
                        "color": "#3B82F6",
                        "index": 0
                      },
                      "PLDT": {
                        "color": "#E02F44",
                        "index": 2
                      }
                    },
                    "type": "value"
                  }
                ]
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 31
      },
      "id": 51,
      "options": {
        "cellHeight": "md",
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Total"
          }
        ]
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "label_replace(label_replace(label_replace(increase(node_network_receive_bytes_total{instance=\"swallow-03\",device=~\"enp3s0f[123]\"}[$__range]),\"wan\",\"Globe\",\"device\",\"enp3s0f3\"),\"wan\",\"Converge\",\"device\",\"enp3s0f2\"),\"wan\",\"PLDT\",\"device\",\"enp3s0f1\")",
          "format": "table",
          "instant": true,
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "prometheus-chw"
          },
          "expr": "label_replace(label_replace(label_replace(increase(node_network_transmit_bytes_total{instance=\"swallow-03\",device=~\"enp3s0f[123]\"}[$__range]),\"wan\",\"Globe\",\"device\",\"enp3s0f3\"),\"wan\",\"Converge\",\"device\",\"enp3s0f2\"),\"wan\",\"PLDT\",\"device\",\"enp3s0f1\")",
          "format": "table",
          "instant": true,
          "refId": "B"
        }
      ],
      "title": "Usage \u2014 data volume per WAN (selected range)",
      "transformations": [
        {
          "id": "joinByField",
          "options": {
            "byField": "wan",
            "mode": "outer"
          }
        },
        {
          "id": "calculateField",
          "options": {
            "alias": "Total",
            "binary": {
              "left": "Value #A",
              "operator": "+",
              "right": "Value #B"
            },
            "mode": "binary",
            "replaceFields": false
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true,
              "Time 1": true,
              "Time 2": true,
              "__name__": true,
              "__name__ 1": true,
              "__name__ 2": true,
              "device": true,
              "device 1": true,
              "device 2": true,
              "instance": true,
              "instance 1": true,
              "instance 2": true,
              "job": true,
              "job 1": true,
              "job 2": true
            },
            "indexByName": {
              "Total": 3,
              "Value #A": 1,
              "Value #B": 2,
              "wan": 0
            },
            "renameByName": {
              "Value #A": "Downloaded",
              "Value #B": "Uploaded",
              "wan": "WAN"
            }
          }
        }
      ],
      "type": "table"
    }
  ],
  "refresh": "30s",
  "schemaVersion": 39,
  "tags": [
    "wan",
    "network"
  ],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "browser",
  "title": "WAN Overview",
  "uid": "wan-overview",
  "version": 39
}