testdata-nested-variables.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": "-- Grafana --",
  7. "enable": true,
  8. "hide": true,
  9. "iconColor": "rgba(0, 211, 255, 1)",
  10. "name": "Annotations & Alerts",
  11. "type": "dashboard"
  12. }
  13. ]
  14. },
  15. "editable": true,
  16. "gnetId": null,
  17. "graphTooltip": 0,
  18. "iteration": 1565097360786,
  19. "links": [],
  20. "panels": [
  21. {
  22. "content": "## Data center = $datacenter\n\n### server = $server\n\n#### pod = $pod",
  23. "gridPos": {
  24. "h": 6,
  25. "w": 14,
  26. "x": 0,
  27. "y": 0
  28. },
  29. "id": 4,
  30. "mode": "markdown",
  31. "options": {},
  32. "targets": [
  33. {
  34. "refId": "A",
  35. "scenarioId": "random_walk"
  36. }
  37. ],
  38. "timeFrom": null,
  39. "timeShift": null,
  40. "title": "Panel Title",
  41. "type": "text"
  42. },
  43. {
  44. "cacheTimeout": null,
  45. "colorBackground": false,
  46. "colorValue": false,
  47. "colors": ["#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a"],
  48. "datasource": "gdev-testdata",
  49. "format": "none",
  50. "gauge": {
  51. "maxValue": 100,
  52. "minValue": 0,
  53. "show": false,
  54. "thresholdLabels": false,
  55. "thresholdMarkers": true
  56. },
  57. "gridPos": {
  58. "h": 6,
  59. "w": 10,
  60. "x": 14,
  61. "y": 0
  62. },
  63. "id": 6,
  64. "interval": null,
  65. "links": [
  66. {
  67. "targetBlank": true,
  68. "title": "Drilldown detail dashboard",
  69. "url": "d/O6GmNPvWk/dashboard-tests-nested-template-variables-drilldown?orgId=1&${__all_variables}&${__url_time_range}"
  70. }
  71. ],
  72. "mappingType": 1,
  73. "mappingTypes": [],
  74. "maxDataPoints": 100,
  75. "nullPointMode": "connected",
  76. "nullText": null,
  77. "options": {},
  78. "postfix": "",
  79. "postfixFontSize": "50%",
  80. "prefix": "",
  81. "prefixFontSize": "50%",
  82. "rangeMaps": [
  83. {
  84. "from": "null",
  85. "text": "N/A",
  86. "to": "null"
  87. }
  88. ],
  89. "sparkline": {
  90. "fillColor": "rgba(31, 118, 189, 0.18)",
  91. "full": false,
  92. "lineColor": "rgb(31, 120, 193)",
  93. "show": true,
  94. "ymax": null,
  95. "ymin": null
  96. },
  97. "tableColumn": "",
  98. "targets": [
  99. {
  100. "refId": "A",
  101. "scenarioId": "random_walk"
  102. }
  103. ],
  104. "thresholds": "",
  105. "timeFrom": null,
  106. "timeShift": null,
  107. "title": "Panel drilldown link test",
  108. "type": "singlestat",
  109. "valueFontSize": "80%",
  110. "valueMaps": [
  111. {
  112. "op": "=",
  113. "text": "N/A",
  114. "value": "null"
  115. }
  116. ],
  117. "valueName": "avg"
  118. },
  119. {
  120. "aliasColors": {},
  121. "bars": false,
  122. "dashLength": 10,
  123. "dashes": false,
  124. "datasource": "gdev-testdata",
  125. "fill": 1,
  126. "fillGradient": 0,
  127. "gridPos": {
  128. "h": 13,
  129. "w": 24,
  130. "x": 0,
  131. "y": 6
  132. },
  133. "id": 2,
  134. "legend": {
  135. "avg": false,
  136. "current": false,
  137. "max": false,
  138. "min": false,
  139. "show": true,
  140. "total": false,
  141. "values": false
  142. },
  143. "lines": true,
  144. "linewidth": 1,
  145. "nullPointMode": "null",
  146. "options": {
  147. "dataLinks": []
  148. },
  149. "percentage": false,
  150. "pointradius": 2,
  151. "points": false,
  152. "renderer": "flot",
  153. "seriesOverrides": [],
  154. "spaceLength": 10,
  155. "stack": false,
  156. "steppedLine": false,
  157. "targets": [
  158. {
  159. "alias": "$datacenter.$server.$pod",
  160. "refId": "A",
  161. "scenarioId": "random_walk"
  162. }
  163. ],
  164. "thresholds": [],
  165. "timeFrom": null,
  166. "timeRegions": [],
  167. "timeShift": null,
  168. "title": "Panel Title",
  169. "tooltip": {
  170. "shared": true,
  171. "sort": 0,
  172. "value_type": "individual"
  173. },
  174. "type": "graph",
  175. "xaxis": {
  176. "buckets": null,
  177. "mode": "time",
  178. "name": null,
  179. "show": true,
  180. "values": []
  181. },
  182. "yaxes": [
  183. {
  184. "format": "short",
  185. "label": null,
  186. "logBase": 1,
  187. "max": null,
  188. "min": null,
  189. "show": true
  190. },
  191. {
  192. "format": "short",
  193. "label": null,
  194. "logBase": 1,
  195. "max": null,
  196. "min": null,
  197. "show": true
  198. }
  199. ],
  200. "yaxis": {
  201. "align": false,
  202. "alignLevel": null
  203. }
  204. }
  205. ],
  206. "refresh": false,
  207. "schemaVersion": 19,
  208. "style": "dark",
  209. "tags": ["gdev", "templating"],
  210. "templating": {
  211. "list": [
  212. {
  213. "allValue": null,
  214. "current": {
  215. "text": "A",
  216. "value": ["A"]
  217. },
  218. "datasource": "gdev-testdata",
  219. "definition": "*",
  220. "hide": 0,
  221. "includeAll": true,
  222. "label": null,
  223. "multi": true,
  224. "name": "datacenter",
  225. "options": [],
  226. "query": "*",
  227. "refresh": 1,
  228. "regex": "",
  229. "skipUrlSync": false,
  230. "sort": 0,
  231. "tagValuesQuery": "",
  232. "tags": [],
  233. "tagsQuery": "",
  234. "type": "query",
  235. "useTags": false
  236. },
  237. {
  238. "allValue": null,
  239. "current": {
  240. "text": "AA",
  241. "value": ["AA"]
  242. },
  243. "datasource": "gdev-testdata",
  244. "definition": "$datacenter.*",
  245. "hide": 0,
  246. "includeAll": true,
  247. "label": null,
  248. "multi": true,
  249. "name": "server",
  250. "options": [],
  251. "query": "$datacenter.*",
  252. "refresh": 1,
  253. "regex": "",
  254. "skipUrlSync": false,
  255. "sort": 0,
  256. "tagValuesQuery": "",
  257. "tags": [],
  258. "tagsQuery": "",
  259. "type": "query",
  260. "useTags": false
  261. },
  262. {
  263. "allValue": null,
  264. "current": {
  265. "text": "All",
  266. "value": ["$__all"]
  267. },
  268. "datasource": "gdev-testdata",
  269. "definition": "$datacenter.$server.*",
  270. "hide": 0,
  271. "includeAll": true,
  272. "label": null,
  273. "multi": true,
  274. "name": "pod",
  275. "options": [],
  276. "query": "$datacenter.$server.*",
  277. "refresh": 1,
  278. "regex": "",
  279. "skipUrlSync": false,
  280. "sort": 0,
  281. "tagValuesQuery": "",
  282. "tags": [],
  283. "tagsQuery": "",
  284. "type": "query",
  285. "useTags": false
  286. }
  287. ]
  288. },
  289. "time": {
  290. "from": "now-1h",
  291. "to": "now"
  292. },
  293. "timepicker": {
  294. "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"]
  295. },
  296. "timezone": "",
  297. "title": "Templating - Nested Template Variables",
  298. "uid": "-Y-tnEDWk",
  299. "version": 11
  300. }