dashboard.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. {
  2. "id": 1,
  3. "title": "Kong",
  4. "originalTitle": "Kong",
  5. "tags": [],
  6. "style": "dark",
  7. "timezone": "browser",
  8. "editable": true,
  9. "hideControls": false,
  10. "sharedCrosshair": false,
  11. "rows": [
  12. {
  13. "collapse": false,
  14. "editable": true,
  15. "height": "250px",
  16. "panels": [
  17. {
  18. "aliasColors": {},
  19. "bars": false,
  20. "datasource": "prometheus",
  21. "editable": true,
  22. "error": false,
  23. "fill": 4,
  24. "grid": {
  25. "leftLogBase": 1,
  26. "leftMax": null,
  27. "leftMin": null,
  28. "rightLogBase": 1,
  29. "rightMax": null,
  30. "rightMin": null,
  31. "threshold1": null,
  32. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  33. "threshold2": null,
  34. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  35. },
  36. "id": 1,
  37. "isNew": true,
  38. "leftYAxisLabel": "req/sec",
  39. "legend": {
  40. "avg": false,
  41. "current": false,
  42. "max": false,
  43. "min": false,
  44. "show": true,
  45. "total": false,
  46. "values": false
  47. },
  48. "lines": true,
  49. "linewidth": 2,
  50. "links": [],
  51. "nullPointMode": "null as zero",
  52. "percentage": false,
  53. "pointradius": 5,
  54. "points": false,
  55. "renderer": "flot",
  56. "seriesOverrides": [],
  57. "span": 6,
  58. "stack": false,
  59. "steppedLine": false,
  60. "targets": [
  61. {
  62. "expr": "irate(status{http=\"total\"}[1m])",
  63. "intervalFactor": 2,
  64. "legendFormat": "{{environment}}-{{api}}",
  65. "refId": "A",
  66. "step": 2
  67. }
  68. ],
  69. "timeFrom": null,
  70. "timeShift": null,
  71. "title": "Total Request",
  72. "tooltip": {
  73. "shared": true,
  74. "value_type": "cumulative"
  75. },
  76. "type": "graph",
  77. "x-axis": true,
  78. "y-axis": true,
  79. "y_formats": [
  80. "short",
  81. "short"
  82. ]
  83. },
  84. {
  85. "aliasColors": {},
  86. "bars": false,
  87. "datasource": "prometheus",
  88. "editable": true,
  89. "error": false,
  90. "fill": 1,
  91. "grid": {
  92. "leftLogBase": 1,
  93. "leftMax": null,
  94. "leftMin": null,
  95. "rightLogBase": 1,
  96. "rightMax": null,
  97. "rightMin": null,
  98. "threshold1": null,
  99. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  100. "threshold2": null,
  101. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  102. },
  103. "id": 2,
  104. "isNew": true,
  105. "leftYAxisLabel": "req/sec",
  106. "legend": {
  107. "avg": false,
  108. "current": false,
  109. "max": false,
  110. "min": false,
  111. "show": true,
  112. "total": false,
  113. "values": false
  114. },
  115. "lines": true,
  116. "linewidth": 2,
  117. "links": [],
  118. "nullPointMode": "connected",
  119. "percentage": false,
  120. "pointradius": 5,
  121. "points": false,
  122. "renderer": "flot",
  123. "seriesOverrides": [],
  124. "span": 6,
  125. "stack": false,
  126. "steppedLine": false,
  127. "targets": [
  128. {
  129. "expr": "irate(status{http=~\"[0-9]{3}\"}[1m])",
  130. "intervalFactor": 2,
  131. "legendFormat": "{{environment}}-{{api}}-{{http}}",
  132. "refId": "A",
  133. "step": 2
  134. }
  135. ],
  136. "timeFrom": null,
  137. "timeShift": null,
  138. "title": "Requests By HTTP Code",
  139. "tooltip": {
  140. "shared": true,
  141. "value_type": "cumulative"
  142. },
  143. "type": "graph",
  144. "x-axis": true,
  145. "y-axis": true,
  146. "y_formats": [
  147. "short",
  148. "short"
  149. ]
  150. }
  151. ],
  152. "title": "Row"
  153. },
  154. {
  155. "collapse": false,
  156. "editable": true,
  157. "height": "250px",
  158. "panels": [
  159. {
  160. "aliasColors": {},
  161. "bars": false,
  162. "datasource": "prometheus",
  163. "editable": true,
  164. "error": false,
  165. "fill": 1,
  166. "grid": {
  167. "leftLogBase": 1,
  168. "leftMax": null,
  169. "leftMin": null,
  170. "rightLogBase": 1,
  171. "rightMax": null,
  172. "rightMin": null,
  173. "threshold1": null,
  174. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  175. "threshold2": null,
  176. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  177. },
  178. "id": 3,
  179. "isNew": true,
  180. "legend": {
  181. "avg": false,
  182. "current": false,
  183. "max": false,
  184. "min": false,
  185. "show": true,
  186. "total": false,
  187. "values": false
  188. },
  189. "lines": true,
  190. "linewidth": 2,
  191. "links": [],
  192. "nullPointMode": "connected",
  193. "percentage": false,
  194. "pointradius": 5,
  195. "points": false,
  196. "renderer": "flot",
  197. "seriesOverrides": [],
  198. "span": 6,
  199. "stack": false,
  200. "steppedLine": false,
  201. "targets": [
  202. {
  203. "expr": "kong_latency{quantile=\"0.9\"}",
  204. "intervalFactor": 2,
  205. "legendFormat": "{{environment}}-{{api}}",
  206. "refId": "A",
  207. "step": 2
  208. }
  209. ],
  210. "timeFrom": null,
  211. "timeShift": null,
  212. "title": "Kong Latency p90",
  213. "tooltip": {
  214. "shared": true,
  215. "value_type": "cumulative"
  216. },
  217. "type": "graph",
  218. "x-axis": true,
  219. "y-axis": true,
  220. "y_formats": [
  221. "ms",
  222. "short"
  223. ]
  224. },
  225. {
  226. "aliasColors": {},
  227. "bars": false,
  228. "datasource": "prometheus",
  229. "editable": true,
  230. "error": false,
  231. "fill": 1,
  232. "grid": {
  233. "leftLogBase": 1,
  234. "leftMax": null,
  235. "leftMin": null,
  236. "rightLogBase": 1,
  237. "rightMax": null,
  238. "rightMin": null,
  239. "threshold1": null,
  240. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  241. "threshold2": null,
  242. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  243. },
  244. "id": 4,
  245. "isNew": true,
  246. "legend": {
  247. "avg": false,
  248. "current": false,
  249. "max": false,
  250. "min": false,
  251. "show": true,
  252. "total": false,
  253. "values": false
  254. },
  255. "lines": true,
  256. "linewidth": 2,
  257. "links": [],
  258. "nullPointMode": "connected",
  259. "percentage": false,
  260. "pointradius": 5,
  261. "points": false,
  262. "renderer": "flot",
  263. "seriesOverrides": [],
  264. "span": 6,
  265. "stack": false,
  266. "steppedLine": false,
  267. "targets": [
  268. {
  269. "expr": "upstream_latency{quantile=\"0.9\"}",
  270. "intervalFactor": 2,
  271. "legendFormat": "{{environment}}-{{api}}",
  272. "refId": "A",
  273. "step": 2
  274. }
  275. ],
  276. "timeFrom": null,
  277. "timeShift": null,
  278. "title": "Upstream Latency p90",
  279. "tooltip": {
  280. "shared": true,
  281. "value_type": "cumulative"
  282. },
  283. "type": "graph",
  284. "x-axis": true,
  285. "y-axis": true,
  286. "y_formats": [
  287. "ms",
  288. "short"
  289. ]
  290. }
  291. ],
  292. "title": "New row"
  293. },
  294. {
  295. "collapse": false,
  296. "editable": true,
  297. "height": "250px",
  298. "panels": [
  299. {
  300. "aliasColors": {},
  301. "bars": false,
  302. "datasource": "prometheus",
  303. "editable": true,
  304. "error": false,
  305. "fill": 1,
  306. "grid": {
  307. "leftLogBase": 1,
  308. "leftMax": null,
  309. "leftMin": null,
  310. "rightLogBase": 1,
  311. "rightMax": null,
  312. "rightMin": null,
  313. "threshold1": null,
  314. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  315. "threshold2": null,
  316. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  317. },
  318. "id": 5,
  319. "isNew": true,
  320. "legend": {
  321. "avg": false,
  322. "current": false,
  323. "max": false,
  324. "min": false,
  325. "show": true,
  326. "total": false,
  327. "values": false
  328. },
  329. "lines": true,
  330. "linewidth": 2,
  331. "links": [],
  332. "nullPointMode": "connected",
  333. "percentage": false,
  334. "pointradius": 5,
  335. "points": false,
  336. "renderer": "flot",
  337. "seriesOverrides": [],
  338. "span": 6,
  339. "stack": false,
  340. "steppedLine": false,
  341. "targets": [
  342. {
  343. "expr": "size{quantile=\"0.9\", phase=\"request\"}",
  344. "intervalFactor": 2,
  345. "legendFormat": "{{environment}}-{{api}}",
  346. "refId": "A",
  347. "step": 2
  348. }
  349. ],
  350. "timeFrom": null,
  351. "timeShift": null,
  352. "title": "Request Sizes p90",
  353. "tooltip": {
  354. "shared": true,
  355. "value_type": "cumulative"
  356. },
  357. "type": "graph",
  358. "x-axis": true,
  359. "y-axis": true,
  360. "y_formats": [
  361. "bytes",
  362. "short"
  363. ]
  364. },
  365. {
  366. "aliasColors": {},
  367. "bars": false,
  368. "datasource": "prometheus",
  369. "editable": true,
  370. "error": false,
  371. "fill": 1,
  372. "grid": {
  373. "leftLogBase": 1,
  374. "leftMax": null,
  375. "leftMin": null,
  376. "rightLogBase": 1,
  377. "rightMax": null,
  378. "rightMin": null,
  379. "threshold1": null,
  380. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  381. "threshold2": null,
  382. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  383. },
  384. "id": 6,
  385. "isNew": true,
  386. "legend": {
  387. "avg": false,
  388. "current": false,
  389. "max": false,
  390. "min": false,
  391. "show": true,
  392. "total": false,
  393. "values": false
  394. },
  395. "lines": true,
  396. "linewidth": 2,
  397. "links": [],
  398. "nullPointMode": "connected",
  399. "percentage": false,
  400. "pointradius": 5,
  401. "points": false,
  402. "renderer": "flot",
  403. "seriesOverrides": [],
  404. "span": 6,
  405. "stack": false,
  406. "steppedLine": false,
  407. "targets": [
  408. {
  409. "expr": "size{quantile=\"0.9\", phase=\"response\"}",
  410. "intervalFactor": 2,
  411. "legendFormat": "{{environment}}-{{api}}",
  412. "refId": "A",
  413. "step": 2
  414. }
  415. ],
  416. "timeFrom": null,
  417. "timeShift": null,
  418. "title": "Response Sizes p90",
  419. "tooltip": {
  420. "shared": true,
  421. "value_type": "cumulative"
  422. },
  423. "type": "graph",
  424. "x-axis": true,
  425. "y-axis": true,
  426. "y_formats": [
  427. "bytes",
  428. "short"
  429. ]
  430. }
  431. ],
  432. "title": "New row"
  433. }
  434. ],
  435. "time": {
  436. "from": "now-30m",
  437. "to": "now"
  438. },
  439. "timepicker": {
  440. "now": true,
  441. "refresh_intervals": [
  442. "5s",
  443. "10s",
  444. "30s",
  445. "1m",
  446. "5m",
  447. "15m",
  448. "30m",
  449. "1h",
  450. "2h",
  451. "1d"
  452. ],
  453. "time_options": [
  454. "5m",
  455. "15m",
  456. "1h",
  457. "6h",
  458. "12h",
  459. "24h",
  460. "2d",
  461. "7d",
  462. "30d"
  463. ]
  464. },
  465. "templating": {
  466. "list": []
  467. },
  468. "annotations": {
  469. "list": []
  470. },
  471. "refresh": false,
  472. "schemaVersion": 8,
  473. "version": 1,
  474. "links": []
  475. }