template_vars.json 5.9 KB

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