devenv: add worldmap panel panels for elasticsearch (#16313)
This commit is contained in:
committed by
Daniel Lee
parent
d6887bf77f
commit
aaaa39a48e
@@ -28,7 +28,7 @@
|
|||||||
"editable": true,
|
"editable": true,
|
||||||
"gnetId": null,
|
"gnetId": null,
|
||||||
"graphTooltip": 0,
|
"graphTooltip": 0,
|
||||||
"iteration": 1542303970887,
|
"iteration": 1554310942895,
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
"icon": "external link",
|
"icon": "external link",
|
||||||
@@ -586,9 +586,81 @@
|
|||||||
"title": "ES Log query",
|
"title": "ES Log query",
|
||||||
"transform": "json",
|
"transform": "json",
|
||||||
"type": "table"
|
"type": "table"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"circleMaxSize": 30,
|
||||||
|
"circleMinSize": 2,
|
||||||
|
"colors": [
|
||||||
|
"rgba(245, 54, 54, 0.9)",
|
||||||
|
"rgba(237, 129, 40, 0.89)",
|
||||||
|
"rgba(50, 172, 45, 0.97)"
|
||||||
|
],
|
||||||
|
"datasource": "gdev-elasticsearch-v2-metrics",
|
||||||
|
"decimals": 0,
|
||||||
|
"esGeoPoint": "@location",
|
||||||
|
"esMetric": "Average",
|
||||||
|
"gridPos": {
|
||||||
|
"h": 12,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 27
|
||||||
|
},
|
||||||
|
"hideEmpty": false,
|
||||||
|
"hideZero": false,
|
||||||
|
"id": 8,
|
||||||
|
"initialZoom": 1,
|
||||||
|
"links": [],
|
||||||
|
"locationData": "geohash",
|
||||||
|
"mapCenter": "(0°, 0°)",
|
||||||
|
"mapCenterLatitude": 0,
|
||||||
|
"mapCenterLongitude": 0,
|
||||||
|
"maxDataPoints": 1,
|
||||||
|
"mouseWheelZoom": false,
|
||||||
|
"showLegend": true,
|
||||||
|
"stickyLabels": false,
|
||||||
|
"tableQueryOptions": {
|
||||||
|
"geohashField": "geohash",
|
||||||
|
"latitudeField": "latitude",
|
||||||
|
"longitudeField": "longitude",
|
||||||
|
"metricField": "metric",
|
||||||
|
"queryType": "geohash"
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"bucketAggs": [
|
||||||
|
{
|
||||||
|
"fake": true,
|
||||||
|
"field": "@location",
|
||||||
|
"id": "3",
|
||||||
|
"settings": {
|
||||||
|
"precision": 2
|
||||||
|
},
|
||||||
|
"type": "geohash_grid"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"schemaVersion": 16,
|
"metrics": [
|
||||||
|
{
|
||||||
|
"field": "@value",
|
||||||
|
"id": "1",
|
||||||
|
"meta": {},
|
||||||
|
"settings": {},
|
||||||
|
"type": "avg"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"refId": "A",
|
||||||
|
"target": "",
|
||||||
|
"timeField": "@timestamp"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"thresholds": "0,10",
|
||||||
|
"title": "World map panel",
|
||||||
|
"type": "grafana-worldmap-panel",
|
||||||
|
"unitPlural": "",
|
||||||
|
"unitSingle": "",
|
||||||
|
"valueName": "total"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"schemaVersion": 18,
|
||||||
"style": "dark",
|
"style": "dark",
|
||||||
"tags": [
|
"tags": [
|
||||||
"elasticsearch",
|
"elasticsearch",
|
||||||
@@ -645,5 +717,5 @@
|
|||||||
"timezone": "browser",
|
"timezone": "browser",
|
||||||
"title": "Datasource tests - Elasticsearch v2",
|
"title": "Datasource tests - Elasticsearch v2",
|
||||||
"uid": "RlqLq2fiz",
|
"uid": "RlqLq2fiz",
|
||||||
"version": 2
|
"version": 5
|
||||||
}
|
}
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
"editable": true,
|
"editable": true,
|
||||||
"gnetId": null,
|
"gnetId": null,
|
||||||
"graphTooltip": 0,
|
"graphTooltip": 0,
|
||||||
"iteration": 1542303896062,
|
"iteration": 1554310560048,
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
"asDropdown": false,
|
"asDropdown": false,
|
||||||
@@ -588,9 +588,82 @@
|
|||||||
"title": "ES Log query",
|
"title": "ES Log query",
|
||||||
"transform": "json",
|
"transform": "json",
|
||||||
"type": "table"
|
"type": "table"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"circleMaxSize": 30,
|
||||||
|
"circleMinSize": 2,
|
||||||
|
"colors": [
|
||||||
|
"rgba(245, 54, 54, 0.9)",
|
||||||
|
"rgba(237, 129, 40, 0.89)",
|
||||||
|
"rgba(50, 172, 45, 0.97)"
|
||||||
|
],
|
||||||
|
"datasource": "gdev-elasticsearch-v5-metrics",
|
||||||
|
"decimals": 0,
|
||||||
|
"esGeoPoint": "@location",
|
||||||
|
"esLocationName": "",
|
||||||
|
"esMetric": "Average",
|
||||||
|
"gridPos": {
|
||||||
|
"h": 12,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 27
|
||||||
|
},
|
||||||
|
"hideEmpty": false,
|
||||||
|
"hideZero": false,
|
||||||
|
"id": 8,
|
||||||
|
"initialZoom": 1,
|
||||||
|
"links": [],
|
||||||
|
"locationData": "geohash",
|
||||||
|
"mapCenter": "(0°, 0°)",
|
||||||
|
"mapCenterLatitude": 0,
|
||||||
|
"mapCenterLongitude": 0,
|
||||||
|
"maxDataPoints": 1,
|
||||||
|
"mouseWheelZoom": false,
|
||||||
|
"showLegend": true,
|
||||||
|
"stickyLabels": false,
|
||||||
|
"tableQueryOptions": {
|
||||||
|
"geohashField": "geohash",
|
||||||
|
"latitudeField": "latitude",
|
||||||
|
"longitudeField": "longitude",
|
||||||
|
"metricField": "metric",
|
||||||
|
"queryType": "geohash"
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"bucketAggs": [
|
||||||
|
{
|
||||||
|
"fake": true,
|
||||||
|
"field": "@location",
|
||||||
|
"id": "3",
|
||||||
|
"settings": {
|
||||||
|
"precision": 2
|
||||||
|
},
|
||||||
|
"type": "geohash_grid"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"schemaVersion": 16,
|
"metrics": [
|
||||||
|
{
|
||||||
|
"field": "@value",
|
||||||
|
"id": "1",
|
||||||
|
"meta": {},
|
||||||
|
"settings": {},
|
||||||
|
"type": "avg"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"refId": "A",
|
||||||
|
"target": "",
|
||||||
|
"timeField": "@timestamp"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"thresholds": "0,10",
|
||||||
|
"title": "World map panel",
|
||||||
|
"type": "grafana-worldmap-panel",
|
||||||
|
"unitPlural": "",
|
||||||
|
"unitSingle": "",
|
||||||
|
"valueName": "total"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"schemaVersion": 18,
|
||||||
"style": "dark",
|
"style": "dark",
|
||||||
"tags": [
|
"tags": [
|
||||||
"elasticsearch",
|
"elasticsearch",
|
||||||
@@ -647,5 +720,5 @@
|
|||||||
"timezone": "browser",
|
"timezone": "browser",
|
||||||
"title": "Datasource tests - Elasticsearch v5",
|
"title": "Datasource tests - Elasticsearch v5",
|
||||||
"uid": "8HjT32Bmz",
|
"uid": "8HjT32Bmz",
|
||||||
"version": 27
|
"version": 5
|
||||||
}
|
}
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
"type": "dashboard"
|
"type": "dashboard"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"datasource": "Elastic 5 Logs",
|
"datasource": "gdev-elasticsearch-v6-logs",
|
||||||
"enable": false,
|
"enable": false,
|
||||||
"iconColor": "rgba(255, 96, 96, 1)",
|
"iconColor": "rgba(255, 96, 96, 1)",
|
||||||
"limit": 100,
|
"limit": 100,
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
"editable": true,
|
"editable": true,
|
||||||
"gnetId": null,
|
"gnetId": null,
|
||||||
"graphTooltip": 0,
|
"graphTooltip": 0,
|
||||||
"iteration": 1542303999511,
|
"iteration": 1554310839317,
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
"icon": "external link",
|
"icon": "external link",
|
||||||
@@ -586,9 +586,81 @@
|
|||||||
"title": "ES Log query",
|
"title": "ES Log query",
|
||||||
"transform": "json",
|
"transform": "json",
|
||||||
"type": "table"
|
"type": "table"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"circleMaxSize": 30,
|
||||||
|
"circleMinSize": 2,
|
||||||
|
"colors": [
|
||||||
|
"rgba(245, 54, 54, 0.9)",
|
||||||
|
"rgba(237, 129, 40, 0.89)",
|
||||||
|
"rgba(50, 172, 45, 0.97)"
|
||||||
|
],
|
||||||
|
"datasource": "gdev-elasticsearch-v6-metrics",
|
||||||
|
"decimals": 0,
|
||||||
|
"esGeoPoint": "@location",
|
||||||
|
"esMetric": "Average",
|
||||||
|
"gridPos": {
|
||||||
|
"h": 12,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 27
|
||||||
|
},
|
||||||
|
"hideEmpty": false,
|
||||||
|
"hideZero": false,
|
||||||
|
"id": 8,
|
||||||
|
"initialZoom": "1",
|
||||||
|
"links": [],
|
||||||
|
"locationData": "geohash",
|
||||||
|
"mapCenter": "(0°, 0°)",
|
||||||
|
"mapCenterLatitude": 0,
|
||||||
|
"mapCenterLongitude": 0,
|
||||||
|
"maxDataPoints": 1,
|
||||||
|
"mouseWheelZoom": false,
|
||||||
|
"showLegend": true,
|
||||||
|
"stickyLabels": false,
|
||||||
|
"tableQueryOptions": {
|
||||||
|
"geohashField": "geohash",
|
||||||
|
"latitudeField": "latitude",
|
||||||
|
"longitudeField": "longitude",
|
||||||
|
"metricField": "metric",
|
||||||
|
"queryType": "geohash"
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"bucketAggs": [
|
||||||
|
{
|
||||||
|
"fake": true,
|
||||||
|
"field": "@location",
|
||||||
|
"id": "3",
|
||||||
|
"settings": {
|
||||||
|
"precision": 2
|
||||||
|
},
|
||||||
|
"type": "geohash_grid"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"schemaVersion": 16,
|
"metrics": [
|
||||||
|
{
|
||||||
|
"field": "@value",
|
||||||
|
"id": "1",
|
||||||
|
"meta": {},
|
||||||
|
"settings": {},
|
||||||
|
"type": "avg"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"refId": "A",
|
||||||
|
"target": "",
|
||||||
|
"timeField": "@timestamp"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"thresholds": "0,10",
|
||||||
|
"title": "World map panel",
|
||||||
|
"type": "grafana-worldmap-panel",
|
||||||
|
"unitPlural": "",
|
||||||
|
"unitSingle": "",
|
||||||
|
"valueName": "total"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"schemaVersion": 18,
|
||||||
"style": "dark",
|
"style": "dark",
|
||||||
"tags": [
|
"tags": [
|
||||||
"elasticsearch",
|
"elasticsearch",
|
||||||
@@ -645,5 +717,5 @@
|
|||||||
"timezone": "browser",
|
"timezone": "browser",
|
||||||
"title": "Datasource tests - Elasticsearch v6",
|
"title": "Datasource tests - Elasticsearch v6",
|
||||||
"uid": "NF8Pq2Biz",
|
"uid": "NF8Pq2Biz",
|
||||||
"version": 2
|
"version": 5
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user