Grafana dashboard: KUSAMA 1KV's Locations Overview
Description: KUSAMA Thousand Validators Program Location Monitoring for easy overview on where to setup your validator in terms to avoid crowded location.

KUSAMA Thousand Validators Program Location Monitoring for easy overview on where to setup your validator in terms to avoid crowded locations. Based on endpoint: https://kusama.w3f.community/locationstats

A message from the God of the Nodes:
"The location score is based on where your node is and how many other nodes are in that region based on other candidates (the lower the amount of nodes in that region the better)."

Steps:
Install JSON API Plugin
Add the endpoint
Enjoy the dashboard

For Support && Nominations in KUSAMA NETWORK: Validators Display name. KSMNETWORK

KUSAMA (KSM) Address H1bSKJxoxzxYRCdGQutVqFGeW7xU3AcN6vyEdZBU7Qb1rsZ

OR

PolkaDOT (DOT) Address: 15FxvBFDd3X7H9qcMGqsiuvFYEg4D3mBoTA2LQufreysTHKA

{
  "__inputs": [
    {
      "name": "DS_LOCATION_STATS 1KV'S",
      "label": "Location Stats 1KV's",
      "description": "https://kusama.w3f.community/locationstats",
      "type": "datasource",
      "pluginId": "marcusolsson-json-datasource",
      "pluginName": "JSON API"
    }
  ],
  "__elements": [
    {
      "name": "1KV Location Score",
      "uid": "YqrKTVT7z",
      "kind": 1,
      "model": {
        "datasource": {
          "type": "marcusolsson-json-datasource",
          "uid": "${DS_LOCATION_STATS 1KV'S}"
        },
        "description": "",
        "fieldConfig": {
          "defaults": {
            "color": {
              "mode": "palette-classic"
            },
            "mappings": [],
            "thresholds": {
              "mode": "absolute",
              "steps": [
                {
                  "color": "green",
                  "value": null
                },
                {
                  "color": "red",
                  "value": 80
                }
              ]
            },
            "unit": "none"
          },
          "overrides": []
        },
        "gridPos": {
          "h": 24,
          "w": 24,
          "x": 0,
          "y": 4
        },
        "id": 5,
        "maxDataPoints": 1,
        "options": {
          "orientation": "auto",
          "reduceOptions": {
            "calcs": [
              "lastNotNull"
            ],
            "fields": "",
            "limit": 1000,
            "values": true
          },
          "showThresholdLabels": false,
          "showThresholdMarkers": true
        },
        "pluginVersion": "8.3.3",
        "targets": [
          {
            "cacheDurationSeconds": 300,
            "datasource": {
              "type": "marcusolsson-json-datasource",
              "uid": "${DS_LOCATION_STATS 1KV'S}"
            },
            "fields": [
              {
                "jsonPath": "$.locations.[*].name",
                "name": "City",
                "type": "string"
              },
              {
                "jsonPath": "$.locations.[*].numberOfNodes",
                "name": "",
                "type": "number"
              }
            ],
            "method": "GET",
            "queryParams": "",
            "refId": "A",
            "urlPath": ""
          }
        ],
        "transformations": [],
        "type": "gauge"
      }
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.3.3"
    },
    {
      "type": "datasource",
      "id": "marcusolsson-json-datasource",
      "name": "JSON API",
      "version": "1.2.1"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "description": "KUSAMA Thousand Validators Program Location Monitoring for easy overview on where to setup your validator in terms to avoid crowded location.",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "datasource": {
        "type": "marcusolsson-json-datasource",
        "uid": "${DS_LOCATION_STATS 1KV'S}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 4,
      "options": {
        "colorMode": "none",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": true
        },
        "textMode": "auto"
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "cacheDurationSeconds": 300,
          "datasource": {
            "type": "marcusolsson-json-datasource",
            "uid": "${DS_LOCATION_STATS 1KV'S}"
          },
          "fields": [
            {
              "jsonPath": "$.session",
              "name": "",
              "type": "number"
            }
          ],
          "hide": false,
          "method": "GET",
          "queryParams": "",
          "refId": "A",
          "urlPath": ""
        },
        {
          "cacheDurationSeconds": 300,
          "datasource": {
            "type": "marcusolsson-json-datasource",
            "uid": "${DS_LOCATION_STATS 1KV'S}"
          },
          "fields": [
            {
              "jsonPath": "$.locations.[*].name",
              "type": "string"
            },
            {
              "jsonPath": "$.locations.[*].numberOfNodes",
              "name": "",
              "type": "number"
            }
          ],
          "hide": true,
          "method": "GET",
          "queryParams": "",
          "refId": "B",
          "urlPath": ""
        }
      ],
      "transformations": [
        {
          "id": "organize",
          "options": {}
        },
        {
          "id": "merge",
          "options": {}
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "marcusolsson-json-datasource",
        "uid": "${DS_LOCATION_STATS 1KV'S}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 24,
        "w": 24,
        "x": 0,
        "y": 4
      },
      "id": 5,
      "libraryPanel": {
        "description": "",
        "meta": {
          "connectedDashboards": 1,
          "created": "2021-12-17T08:11:04Z",
          "createdBy": {
            "avatarUrl": "/avatar/c80755f4398b9cc984bc7f5cb71a0b56",
            "id": 7,
            "name": "gtoocool"
          },
          "folderName": "General",
          "folderUid": "",
          "updated": "2021-12-17T15:31:13Z",
          "updatedBy": {
            "avatarUrl": "/avatar/c80755f4398b9cc984bc7f5cb71a0b56",
            "id": 7,
            "name": "gtoocool"
          }
        },
        "name": "1KV Location Score",
        "type": "gauge",
        "uid": "YqrKTVT7z",
        "version": 3
      },
      "maxDataPoints": 1,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "limit": 1000,
          "values": true
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "cacheDurationSeconds": 300,
          "datasource": {
            "type": "marcusolsson-json-datasource",
            "uid": "${DS_LOCATION_STATS 1KV'S}"
          },
          "fields": [
            {
              "jsonPath": "$.locations.[*].name",
              "name": "City",
              "type": "string"
            },
            {
              "jsonPath": "$.locations.[*].numberOfNodes",
              "name": "",
              "type": "number"
            }
          ],
          "method": "GET",
          "queryParams": "",
          "refId": "A",
          "urlPath": ""
        }
      ],
      "transformations": [],
      "type": "gauge"
    }
  ],
  "schemaVersion": 34,
  "style": "dark",
  "tags": [
    "KUSAMA",
    "Polkadot"
  ],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "KUSAMA 1KV's Locations Overview",
  "uid": "bnmvEMTnz",
  "version": 10,
  "weekStart": "",
  "gnetId": 15411
}