templated-graphs-nested.json 6.6 KB

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