2019-08-06 11:17:12 -05:00
|
|
|
{
|
|
|
|
"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,
|
2019-08-28 01:50:43 -05:00
|
|
|
"id": 13844,
|
|
|
|
"iteration": 1566896059256,
|
2019-08-06 11:17:12 -05:00
|
|
|
"links": [],
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"content": "## Data center = $datacenter\n\n### server = $server\n\n#### pod = $pod",
|
|
|
|
"gridPos": {
|
2019-08-28 01:50:43 -05:00
|
|
|
"h": 9,
|
|
|
|
"w": 12,
|
2019-08-06 11:17:12 -05:00
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 4,
|
|
|
|
"mode": "markdown",
|
|
|
|
"options": {},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"refId": "A",
|
|
|
|
"scenarioId": "random_walk"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Panel Title",
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": false,
|
|
|
|
"colorValue": false,
|
|
|
|
"colors": ["#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a"],
|
|
|
|
"datasource": "gdev-testdata",
|
|
|
|
"format": "none",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
2019-08-28 01:50:43 -05:00
|
|
|
"h": 9,
|
|
|
|
"w": 4,
|
|
|
|
"x": 12,
|
2019-08-06 11:17:12 -05:00
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 6,
|
|
|
|
"interval": null,
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"targetBlank": true,
|
|
|
|
"title": "Drilldown detail dashboard",
|
|
|
|
"url": "d/O6GmNPvWk/dashboard-tests-nested-template-variables-drilldown?orgId=1&${__all_variables}&${__url_time_range}"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"options": {},
|
|
|
|
"postfix": "",
|
|
|
|
"postfixFontSize": "50%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": true,
|
|
|
|
"ymax": null,
|
|
|
|
"ymin": null
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"refId": "A",
|
|
|
|
"scenarioId": "random_walk"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "",
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Panel drilldown link test",
|
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "N/A",
|
|
|
|
"value": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "avg"
|
|
|
|
},
|
2019-08-28 01:50:43 -05:00
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 9,
|
|
|
|
"w": 4,
|
|
|
|
"x": 16,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 8,
|
|
|
|
"links": [],
|
|
|
|
"options": {
|
|
|
|
"fieldOptions": {
|
|
|
|
"calcs": ["mean"],
|
|
|
|
"defaults": {
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"targetBlank": true,
|
|
|
|
"title": "Go to drilldown",
|
|
|
|
"url": "/d/O6GmNPvWk/dashboard-tests-nested-template-variables-drilldown?orgId=1&${__all_variables}&${__url_time_range}"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"mappings": [],
|
|
|
|
"max": 100,
|
|
|
|
"min": 0,
|
|
|
|
"nullValueMode": "connected",
|
|
|
|
"thresholds": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"unit": "none"
|
|
|
|
},
|
|
|
|
"override": {},
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"orientation": "horizontal",
|
|
|
|
"showThresholdLabels": false,
|
|
|
|
"showThresholdMarkers": true
|
|
|
|
},
|
|
|
|
"pluginVersion": "6.4.0-pre",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"refId": "A",
|
|
|
|
"scenarioId": "random_walk"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "React gauge datalink",
|
|
|
|
"type": "gauge"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 9,
|
|
|
|
"w": 4,
|
|
|
|
"x": 20,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 9,
|
|
|
|
"links": [],
|
|
|
|
"options": {
|
|
|
|
"displayMode": "basic",
|
|
|
|
"fieldOptions": {
|
|
|
|
"calcs": ["mean"],
|
|
|
|
"defaults": {
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"targetBlank": true,
|
|
|
|
"title": "Go to drilldown",
|
|
|
|
"url": "/d/O6GmNPvWk/dashboard-tests-nested-template-variables-drilldown?orgId=1&${__all_variables}&${__url_time_range}"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"mappings": [],
|
|
|
|
"max": 100,
|
|
|
|
"min": 0,
|
|
|
|
"nullValueMode": "connected",
|
|
|
|
"thresholds": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"unit": "none"
|
|
|
|
},
|
|
|
|
"override": {},
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"orientation": "vertical"
|
|
|
|
},
|
|
|
|
"pluginVersion": "6.4.0-pre",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"refId": "A",
|
|
|
|
"scenarioId": "random_walk"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "React gauge datalink",
|
|
|
|
"type": "bargauge"
|
|
|
|
},
|
2019-08-06 11:17:12 -05:00
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "gdev-testdata",
|
|
|
|
"fill": 1,
|
|
|
|
"fillGradient": 0,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 13,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
2019-08-28 01:50:43 -05:00
|
|
|
"y": 9
|
2019-08-06 11:17:12 -05:00
|
|
|
},
|
|
|
|
"id": 2,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"options": {
|
|
|
|
"dataLinks": []
|
|
|
|
},
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"alias": "$datacenter.$server.$pod",
|
|
|
|
"refId": "A",
|
|
|
|
"scenarioId": "random_walk"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Panel Title",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"refresh": false,
|
|
|
|
"schemaVersion": 19,
|
|
|
|
"style": "dark",
|
|
|
|
"tags": ["gdev", "templating"],
|
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"allValue": null,
|
|
|
|
"current": {
|
|
|
|
"text": "A",
|
|
|
|
"value": ["A"]
|
|
|
|
},
|
|
|
|
"datasource": "gdev-testdata",
|
|
|
|
"definition": "*",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
|
|
|
"label": null,
|
|
|
|
"multi": true,
|
|
|
|
"name": "datacenter",
|
|
|
|
"options": [],
|
|
|
|
"query": "*",
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
|
|
|
"sort": 0,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allValue": null,
|
|
|
|
"current": {
|
|
|
|
"text": "AA",
|
|
|
|
"value": ["AA"]
|
|
|
|
},
|
|
|
|
"datasource": "gdev-testdata",
|
|
|
|
"definition": "$datacenter.*",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
|
|
|
"label": null,
|
|
|
|
"multi": true,
|
|
|
|
"name": "server",
|
|
|
|
"options": [],
|
|
|
|
"query": "$datacenter.*",
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
|
|
|
"sort": 0,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allValue": null,
|
|
|
|
"current": {
|
|
|
|
"text": "All",
|
|
|
|
"value": ["$__all"]
|
|
|
|
},
|
|
|
|
"datasource": "gdev-testdata",
|
|
|
|
"definition": "$datacenter.$server.*",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
|
|
|
"label": null,
|
|
|
|
"multi": true,
|
|
|
|
"name": "pod",
|
|
|
|
"options": [],
|
|
|
|
"query": "$datacenter.$server.*",
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
|
|
|
"sort": 0,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": {
|
|
|
|
"from": "now-1h",
|
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timepicker": {
|
|
|
|
"refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"]
|
|
|
|
},
|
|
|
|
"timezone": "",
|
|
|
|
"title": "Templating - Nested Template Variables",
|
|
|
|
"uid": "-Y-tnEDWk",
|
2019-08-28 01:50:43 -05:00
|
|
|
"version": 2
|
2019-08-06 11:17:12 -05:00
|
|
|
}
|