{ "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": 8, "iteration": 1539371418827, "links": [], "panels": [ { "circleMaxSize": "8", "circleMinSize": 2, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "Influxdb", "decimals": 0, "esMetric": "Count", "gridPos": { "h": 13, "w": 18, "x": 0, "y": 0 }, "hideEmpty": true, "hideZero": true, "id": 2, "initialZoom": "2", "links": [], "locationData": "table", "mapCenter": "custom", "mapCenterLatitude": "40", "mapCenterLongitude": "20", "maxDataPoints": 1, "mouseWheelZoom": true, "showLegend": true, "stickyLabels": true, "tableQueryOptions": { "geohashField": "geohash", "labelField": "", "latitudeField": "latitude", "longitudeField": "longitude", "metricField": "metric", "queryType": "geohash" }, "targets": [ { "groupBy": [ { "params": [ "geohash" ], "type": "tag" } ], "measurement": "geodata", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "count" ], "type": "field" }, { "params": [], "type": "sum" }, { "params": [ "metric" ], "type": "alias" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$host$/" } ] } ], "thresholds": "0,10", "title": "GEOMAP", "type": "grafana-worldmap-panel", "unitPlural": "", "unitSingle": "", "unitSingular": "", "valueName": "total" }, { "columns": [], "datasource": null, "fontSize": "100%", "gridPos": { "h": 13, "w": 6, "x": 18, "y": 0 }, "id": 4, "links": [], "pageSize": 20, "scroll": true, "showHeader": true, "sort": { "col": 2, "desc": true }, "styles": [ { "alias": "Country", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "country_code", "thresholds": [], "type": "number", "unit": "short" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "link": false, "mappingType": 1, "pattern": "Time", "thresholds": [], "type": "hidden", "unit": "short" }, { "alias": "Count", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 0, "mappingType": 1, "pattern": "sum", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "groupBy": [ { "params": [ "country_code" ], "type": "tag" } ], "measurement": "geodata", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "count" ], "type": "field" }, { "params": [], "type": "sum" } ] ], "tags": [ { "key": "country_code", "operator": "=~", "value": "/^*/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$host$/" } ] } ], "title": "Country SUM", "transform": "table", "type": "table" } ], "schemaVersion": 16, "style": "dark", "tags": [], "templating": { "list": [ { "current": { "selected": false, "text": "Influxdb", "value": "Influxdb" }, "hide": 0, "label": null, "name": "datasource", "options": [], "query": "influxdb", "refresh": 1, "regex": "", "type": "datasource" }, { "allValue": null, "current": { "tags": [], "text": "kube1", "value": "kube1" }, "datasource": "Influxdb", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "host", "options": [], "query": "SHOW TAG VALUES FROM \"geodata\" WITH KEY = \"host\"", "refresh": 1, "regex": "", "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "GeoMap", "uid": "IYo4xyJmz", "version": 5 }