template_vars.json 6.0 KB

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