template_vars.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. {
  2. "id": null,
  3. "title": "Templated Graphs Nested",
  4. "originalTitle": "Templated Graphs Nested",
  5. "tags": [
  6. "showcase",
  7. "templated"
  8. ],
  9. "style": "dark",
  10. "timezone": "browser",
  11. "editable": true,
  12. "hideControls": false,
  13. "rows": [
  14. {
  15. "title": "Row1",
  16. "height": "350px",
  17. "editable": true,
  18. "collapse": false,
  19. "collapsable": true,
  20. "panels": [
  21. {
  22. "span": 12,
  23. "editable": true,
  24. "type": "graph",
  25. "loadingEditor": false,
  26. "datasource": null,
  27. "renderer": "flot",
  28. "x-axis": true,
  29. "y-axis": true,
  30. "scale": 1,
  31. "y_formats": [
  32. "short",
  33. "short"
  34. ],
  35. "grid": {
  36. "max": null,
  37. "min": 0,
  38. "threshold1": null,
  39. "threshold2": null,
  40. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  41. "threshold2Color": "rgba(234, 112, 112, 0.22)",
  42. "leftMax": null,
  43. "rightMax": null,
  44. "leftMin": null,
  45. "rightMin": null
  46. },
  47. "annotate": {
  48. "enable": false
  49. },
  50. "resolution": 100,
  51. "lines": true,
  52. "fill": 1,
  53. "linewidth": 1,
  54. "points": false,
  55. "pointradius": 5,
  56. "bars": false,
  57. "stack": true,
  58. "legend": {
  59. "show": true,
  60. "values": false,
  61. "min": false,
  62. "max": false,
  63. "current": false,
  64. "total": false,
  65. "avg": false
  66. },
  67. "percentage": false,
  68. "nullPointMode": "connected",
  69. "steppedLine": false,
  70. "tooltip": {
  71. "value_type": "cumulative",
  72. "query_as_alias": true
  73. },
  74. "targets": [
  75. {
  76. "target": "aliasByNode(apps.$app.$server.counters.requests.count, 2)",
  77. "function": "mean",
  78. "column": "value"
  79. }
  80. ],
  81. "aliasColors": {
  82. "highres.test": "#1F78C1",
  83. "scale(highres.test,3)": "#6ED0E0",
  84. "mobile": "#6ED0E0",
  85. "tablet": "#EAB839"
  86. },
  87. "title": "Traffic [[period]]",
  88. "id": 1,
  89. "seriesOverrides": []
  90. }
  91. ],
  92. "notice": false
  93. },
  94. {
  95. "title": "Row1",
  96. "height": "350px",
  97. "editable": true,
  98. "collapse": false,
  99. "collapsable": true,
  100. "panels": [
  101. {
  102. "span": 12,
  103. "editable": true,
  104. "type": "graph",
  105. "loadingEditor": false,
  106. "datasource": null,
  107. "renderer": "flot",
  108. "x-axis": true,
  109. "y-axis": true,
  110. "scale": 1,
  111. "y_formats": [
  112. "short",
  113. "short"
  114. ],
  115. "grid": {
  116. "max": null,
  117. "min": 0,
  118. "threshold1": null,
  119. "threshold2": null,
  120. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  121. "threshold2Color": "rgba(234, 112, 112, 0.22)",
  122. "leftMax": null,
  123. "rightMax": null,
  124. "leftMin": null,
  125. "rightMin": null
  126. },
  127. "annotate": {
  128. "enable": false
  129. },
  130. "resolution": 100,
  131. "lines": true,
  132. "fill": 1,
  133. "linewidth": 1,
  134. "points": false,
  135. "pointradius": 5,
  136. "bars": false,
  137. "stack": true,
  138. "legend": {
  139. "show": true,
  140. "values": false,
  141. "min": false,
  142. "max": false,
  143. "current": false,
  144. "total": false,
  145. "avg": false
  146. },
  147. "percentage": false,
  148. "zerofill": true,
  149. "nullPointMode": "connected",
  150. "steppedLine": false,
  151. "tooltip": {
  152. "value_type": "cumulative",
  153. "query_as_alias": true
  154. },
  155. "targets": [
  156. {
  157. "target": "aliasByNode(apps.$app.$server.counters.requests.count, 2)"
  158. }
  159. ],
  160. "aliasColors": {
  161. "highres.test": "#1F78C1",
  162. "scale(highres.test,3)": "#6ED0E0",
  163. "mobile": "#6ED0E0",
  164. "tablet": "#EAB839"
  165. },
  166. "title": "Second pannel",
  167. "id": 2,
  168. "seriesOverrides": []
  169. }
  170. ],
  171. "notice": false
  172. }
  173. ],
  174. "nav": [
  175. {
  176. "type": "timepicker",
  177. "collapse": false,
  178. "notice": false,
  179. "enable": true,
  180. "status": "Stable",
  181. "time_options": [
  182. "5m",
  183. "15m",
  184. "1h",
  185. "6h",
  186. "12h",
  187. "24h",
  188. "2d",
  189. "7d",
  190. "30d"
  191. ],
  192. "refresh_intervals": [
  193. "5s",
  194. "10s",
  195. "30s",
  196. "1m",
  197. "5m",
  198. "15m",
  199. "30m",
  200. "1h",
  201. "2h",
  202. "1d"
  203. ],
  204. "now": true
  205. }
  206. ],
  207. "time": {
  208. "from": "now-15m",
  209. "to": "now"
  210. },
  211. "templating": {
  212. "list": [
  213. {
  214. "type": "query",
  215. "name": "app",
  216. "query": "apps.*",
  217. "includeAll": true,
  218. "options": [],
  219. "current": {
  220. "text": "All",
  221. "value": "*"
  222. },
  223. "datasource": null,
  224. "allFormat": "wildcard",
  225. "refresh": true
  226. },
  227. {
  228. "type": "query",
  229. "name": "server",
  230. "query": "apps.$app.*",
  231. "includeAll": true,
  232. "options": [],
  233. "current": {
  234. "text": "All",
  235. "value": "*"
  236. },
  237. "datasource": null,
  238. "allFormat": "Glob",
  239. "refresh": false
  240. },
  241. {
  242. "type": "query",
  243. "datasource": null,
  244. "refresh": false,
  245. "name": "metric",
  246. "options": [],
  247. "includeAll": true,
  248. "allFormat": "glob",
  249. "query": "apps.$app.$server.*",
  250. "current": {
  251. "text": "counters",
  252. "value": "counters"
  253. }
  254. }
  255. ],
  256. "enable": true
  257. },
  258. "annotations": {
  259. "enable": false
  260. },
  261. "refresh": false,
  262. "version": 6
  263. }