testdata-nested-variables-drilldown.json 6.6 KB

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