panel_tests_graph_time_regions.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  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. "aliasColors": {},
  22. "bars": false,
  23. "dashLength": 10,
  24. "dashes": false,
  25. "datasource": "gdev-testdata",
  26. "fill": 2,
  27. "gridPos": {
  28. "h": 8,
  29. "w": 24,
  30. "x": 0,
  31. "y": 0
  32. },
  33. "id": 2,
  34. "legend": {
  35. "avg": false,
  36. "current": false,
  37. "max": false,
  38. "min": false,
  39. "show": true,
  40. "total": false,
  41. "values": false
  42. },
  43. "lines": true,
  44. "linewidth": 2,
  45. "links": [],
  46. "nullPointMode": "null",
  47. "percentage": false,
  48. "pointradius": 5,
  49. "points": false,
  50. "renderer": "flot",
  51. "seriesOverrides": [],
  52. "spaceLength": 10,
  53. "stack": false,
  54. "steppedLine": false,
  55. "targets": [
  56. {
  57. "refId": "A",
  58. "scenarioId": "random_walk",
  59. "target": ""
  60. }
  61. ],
  62. "thresholds": [],
  63. "timeFrom": null,
  64. "timeRegions": [
  65. {
  66. "colorMode": "gray",
  67. "fill": true,
  68. "fillColor": "rgba(255, 255, 255, 0.03)",
  69. "from": "08:30",
  70. "fromDayOfWeek": 1,
  71. "line": false,
  72. "lineColor": "rgba(255, 255, 255, 0.2)",
  73. "op": "time",
  74. "to": "16:45",
  75. "toDayOfWeek": 5
  76. }
  77. ],
  78. "timeShift": null,
  79. "title": "Business Hours",
  80. "tooltip": {
  81. "shared": true,
  82. "sort": 0,
  83. "value_type": "individual"
  84. },
  85. "type": "graph",
  86. "xaxis": {
  87. "buckets": null,
  88. "mode": "time",
  89. "name": null,
  90. "show": true,
  91. "values": []
  92. },
  93. "yaxes": [
  94. {
  95. "format": "short",
  96. "label": null,
  97. "logBase": 1,
  98. "max": null,
  99. "min": null,
  100. "show": true
  101. },
  102. {
  103. "format": "short",
  104. "label": null,
  105. "logBase": 1,
  106. "max": null,
  107. "min": null,
  108. "show": true
  109. }
  110. ],
  111. "yaxis": {
  112. "align": false,
  113. "alignLevel": null
  114. }
  115. },
  116. {
  117. "aliasColors": {},
  118. "bars": false,
  119. "dashLength": 10,
  120. "dashes": false,
  121. "datasource": "gdev-testdata",
  122. "fill": 2,
  123. "gridPos": {
  124. "h": 8,
  125. "w": 24,
  126. "x": 0,
  127. "y": 8
  128. },
  129. "id": 4,
  130. "legend": {
  131. "avg": false,
  132. "current": false,
  133. "max": false,
  134. "min": false,
  135. "show": true,
  136. "total": false,
  137. "values": false
  138. },
  139. "lines": true,
  140. "linewidth": 2,
  141. "links": [],
  142. "nullPointMode": "null",
  143. "percentage": false,
  144. "pointradius": 5,
  145. "points": false,
  146. "renderer": "flot",
  147. "seriesOverrides": [],
  148. "spaceLength": 10,
  149. "stack": false,
  150. "steppedLine": false,
  151. "targets": [
  152. {
  153. "expr": "",
  154. "format": "time_series",
  155. "intervalFactor": 1,
  156. "refId": "A",
  157. "scenarioId": "random_walk",
  158. "target": ""
  159. }
  160. ],
  161. "thresholds": [],
  162. "timeFrom": null,
  163. "timeRegions": [
  164. {
  165. "colorMode": "red",
  166. "fill": true,
  167. "fillColor": "rgba(255, 255, 255, 0.03)",
  168. "from": "20:00",
  169. "fromDayOfWeek": 7,
  170. "line": false,
  171. "lineColor": "rgba(255, 255, 255, 0.2)",
  172. "op": "time",
  173. "to": "23:00",
  174. "toDayOfWeek": 7
  175. }
  176. ],
  177. "timeShift": null,
  178. "title": "Sunday's 20-23",
  179. "tooltip": {
  180. "shared": true,
  181. "sort": 0,
  182. "value_type": "individual"
  183. },
  184. "type": "graph",
  185. "xaxis": {
  186. "buckets": null,
  187. "mode": "time",
  188. "name": null,
  189. "show": true,
  190. "values": []
  191. },
  192. "yaxes": [
  193. {
  194. "format": "short",
  195. "label": null,
  196. "logBase": 1,
  197. "max": null,
  198. "min": null,
  199. "show": true
  200. },
  201. {
  202. "format": "short",
  203. "label": null,
  204. "logBase": 1,
  205. "max": null,
  206. "min": null,
  207. "show": true
  208. }
  209. ],
  210. "yaxis": {
  211. "align": false,
  212. "alignLevel": null
  213. }
  214. },
  215. {
  216. "aliasColors": {
  217. "A-series": "#d683ce"
  218. },
  219. "bars": false,
  220. "dashLength": 10,
  221. "dashes": false,
  222. "datasource": "gdev-testdata",
  223. "fill": 2,
  224. "gridPos": {
  225. "h": 8,
  226. "w": 24,
  227. "x": 0,
  228. "y": 16
  229. },
  230. "id": 3,
  231. "legend": {
  232. "avg": false,
  233. "current": false,
  234. "max": false,
  235. "min": false,
  236. "show": true,
  237. "total": false,
  238. "values": false
  239. },
  240. "lines": true,
  241. "linewidth": 2,
  242. "links": [],
  243. "nullPointMode": "null",
  244. "percentage": false,
  245. "pointradius": 0.5,
  246. "points": false,
  247. "renderer": "flot",
  248. "seriesOverrides": [],
  249. "spaceLength": 10,
  250. "stack": false,
  251. "steppedLine": false,
  252. "targets": [
  253. {
  254. "refId": "A",
  255. "scenarioId": "random_walk",
  256. "target": ""
  257. }
  258. ],
  259. "thresholds": [],
  260. "timeFrom": null,
  261. "timeRegions": [
  262. {
  263. "colorMode": "custom",
  264. "fill": true,
  265. "fillColor": "rgba(255, 0, 0, 0.22)",
  266. "from": "",
  267. "fromDayOfWeek": 1,
  268. "line": true,
  269. "lineColor": "rgba(255, 0, 0, 0.32)",
  270. "op": "time",
  271. "to": "",
  272. "toDayOfWeek": 1
  273. },
  274. {
  275. "colorMode": "custom",
  276. "fill": true,
  277. "fillColor": "rgba(255, 127, 0, 0.22)",
  278. "fromDayOfWeek": 2,
  279. "line": true,
  280. "lineColor": "rgba(255, 127, 0, 0.32)",
  281. "op": "time",
  282. "toDayOfWeek": 2
  283. },
  284. {
  285. "colorMode": "custom",
  286. "fill": true,
  287. "fillColor": "rgba(255, 255, 0, 0.22)",
  288. "fromDayOfWeek": 3,
  289. "line": true,
  290. "lineColor": "rgba(255, 255, 0, 0.22)",
  291. "op": "time",
  292. "toDayOfWeek": 3
  293. },
  294. {
  295. "colorMode": "custom",
  296. "fill": true,
  297. "fillColor": "rgba(0, 255, 0, 0.22)",
  298. "fromDayOfWeek": 4,
  299. "line": true,
  300. "lineColor": "rgba(0, 255, 0, 0.32)",
  301. "op": "time",
  302. "toDayOfWeek": 4
  303. },
  304. {
  305. "colorMode": "custom",
  306. "fill": true,
  307. "fillColor": "rgba(0, 0, 255, 0.22)",
  308. "fromDayOfWeek": 5,
  309. "line": true,
  310. "lineColor": "rgba(0, 0, 255, 0.32)",
  311. "op": "time",
  312. "toDayOfWeek": 5
  313. },
  314. {
  315. "colorMode": "custom",
  316. "fill": true,
  317. "fillColor": "rgba(75, 0, 130, 0.22)",
  318. "fromDayOfWeek": 6,
  319. "line": true,
  320. "lineColor": "rgba(75, 0, 130, 0.32)",
  321. "op": "time",
  322. "toDayOfWeek": 6
  323. },
  324. {
  325. "colorMode": "custom",
  326. "fill": true,
  327. "fillColor": "rgba(148, 0, 211, 0.22)",
  328. "fromDayOfWeek": 7,
  329. "line": true,
  330. "lineColor": "rgba(148, 0, 211, 0.32)",
  331. "op": "time",
  332. "toDayOfWeek": 7
  333. }
  334. ],
  335. "timeShift": null,
  336. "title": "Each day of week",
  337. "tooltip": {
  338. "shared": true,
  339. "sort": 0,
  340. "value_type": "individual"
  341. },
  342. "type": "graph",
  343. "xaxis": {
  344. "buckets": null,
  345. "mode": "time",
  346. "name": null,
  347. "show": true,
  348. "values": []
  349. },
  350. "yaxes": [
  351. {
  352. "format": "short",
  353. "label": null,
  354. "logBase": 1,
  355. "max": null,
  356. "min": null,
  357. "show": true
  358. },
  359. {
  360. "format": "short",
  361. "label": null,
  362. "logBase": 1,
  363. "max": null,
  364. "min": null,
  365. "show": true
  366. }
  367. ],
  368. "yaxis": {
  369. "align": false,
  370. "alignLevel": null
  371. }
  372. },
  373. {
  374. "aliasColors": {},
  375. "bars": false,
  376. "dashLength": 10,
  377. "dashes": false,
  378. "datasource": "gdev-testdata",
  379. "fill": 2,
  380. "gridPos": {
  381. "h": 8,
  382. "w": 24,
  383. "x": 0,
  384. "y": 24
  385. },
  386. "id": 5,
  387. "legend": {
  388. "avg": false,
  389. "current": false,
  390. "max": false,
  391. "min": false,
  392. "show": true,
  393. "total": false,
  394. "values": false
  395. },
  396. "lines": true,
  397. "linewidth": 2,
  398. "links": [],
  399. "nullPointMode": "null",
  400. "percentage": false,
  401. "pointradius": 5,
  402. "points": false,
  403. "renderer": "flot",
  404. "seriesOverrides": [],
  405. "spaceLength": 10,
  406. "stack": false,
  407. "steppedLine": false,
  408. "targets": [
  409. {
  410. "expr": "",
  411. "format": "time_series",
  412. "intervalFactor": 1,
  413. "refId": "A",
  414. "scenarioId": "random_walk",
  415. "target": ""
  416. }
  417. ],
  418. "thresholds": [],
  419. "timeFrom": null,
  420. "timeRegions": [
  421. {
  422. "colorMode": "red",
  423. "fill": false,
  424. "from": "05:00",
  425. "line": true,
  426. "op": "time"
  427. }
  428. ],
  429. "timeShift": null,
  430. "title": "05:00",
  431. "tooltip": {
  432. "shared": true,
  433. "sort": 0,
  434. "value_type": "individual"
  435. },
  436. "type": "graph",
  437. "xaxis": {
  438. "buckets": null,
  439. "mode": "time",
  440. "name": null,
  441. "show": true,
  442. "values": []
  443. },
  444. "yaxes": [
  445. {
  446. "format": "short",
  447. "label": null,
  448. "logBase": 1,
  449. "max": null,
  450. "min": null,
  451. "show": true
  452. },
  453. {
  454. "format": "short",
  455. "label": null,
  456. "logBase": 1,
  457. "max": null,
  458. "min": null,
  459. "show": true
  460. }
  461. ],
  462. "yaxis": {
  463. "align": false,
  464. "alignLevel": null
  465. }
  466. }
  467. ],
  468. "refresh": false,
  469. "schemaVersion": 16,
  470. "style": "dark",
  471. "tags": [
  472. "gdev",
  473. "panel-tests"
  474. ],
  475. "templating": {
  476. "list": []
  477. },
  478. "time": {
  479. "from": "now-30d",
  480. "to": "now"
  481. },
  482. "timepicker": {
  483. "refresh_intervals": [
  484. "5s",
  485. "10s",
  486. "30s",
  487. "1m",
  488. "5m",
  489. "15m",
  490. "30m",
  491. "1h",
  492. "2h",
  493. "1d"
  494. ],
  495. "time_options": [
  496. "5m",
  497. "15m",
  498. "1h",
  499. "6h",
  500. "12h",
  501. "24h",
  502. "2d",
  503. "7d",
  504. "30d"
  505. ]
  506. },
  507. "timezone": "browser",
  508. "title": "Panel Tests - Graph (Time Regions)",
  509. "uid": "XMjIZPmik",
  510. "version": 1
  511. }