metrics.json 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_TEST-CLUSTER",
  5. "label": "test-cluster",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "prometheus",
  9. "pluginName": "Prometheus"
  10. }
  11. ],
  12. "annotations": {
  13. "list": [
  14. {
  15. "builtIn": 1,
  16. "datasource": "${DS_TEST-CLUSTER}",
  17. "enable": true,
  18. "hide": true,
  19. "iconColor": "rgba(0, 211, 255, 1)",
  20. "name": "Annotations & Alerts",
  21. "type": "dashboard"
  22. }
  23. ]
  24. },
  25. "editable": true,
  26. "fiscalYearStartMonth": 0,
  27. "graphTooltip": 0,
  28. "id": 1,
  29. "links": [],
  30. "liveNow": false,
  31. "panels": [
  32. {
  33. "collapsed": true,
  34. "gridPos": {
  35. "h": 1,
  36. "w": 24,
  37. "x": 0,
  38. "y": 0
  39. },
  40. "id": 24,
  41. "panels": [],
  42. "title": "Server",
  43. "type": "row"
  44. },
  45. {
  46. "datasource": "${DS_TEST-CLUSTER}",
  47. "fieldConfig": {
  48. "defaults": {
  49. "color": {
  50. "mode": "palette-classic"
  51. },
  52. "custom": {
  53. "axisCenteredZero": false,
  54. "axisColorMode": "text",
  55. "axisLabel": "",
  56. "axisPlacement": "auto",
  57. "barAlignment": 0,
  58. "drawStyle": "line",
  59. "fillOpacity": 0,
  60. "gradientMode": "none",
  61. "hideFrom": {
  62. "legend": false,
  63. "tooltip": false,
  64. "viz": false
  65. },
  66. "lineInterpolation": "linear",
  67. "lineWidth": 1,
  68. "pointSize": 5,
  69. "scaleDistribution": {
  70. "type": "linear"
  71. },
  72. "showPoints": "auto",
  73. "spanNulls": false,
  74. "stacking": {
  75. "group": "A",
  76. "mode": "none"
  77. },
  78. "thresholdsStyle": {
  79. "mode": "off"
  80. }
  81. },
  82. "mappings": [],
  83. "thresholds": {
  84. "mode": "absolute",
  85. "steps": [
  86. {
  87. "color": "green",
  88. "value": null
  89. },
  90. {
  91. "color": "red",
  92. "value": 80
  93. }
  94. ]
  95. }
  96. },
  97. "overrides": []
  98. },
  99. "gridPos": {
  100. "h": 8,
  101. "w": 12,
  102. "x": 0,
  103. "y": 1
  104. },
  105. "id": 27,
  106. "options": {
  107. "legend": {
  108. "calcs": [],
  109. "displayMode": "list",
  110. "placement": "bottom",
  111. "showLegend": true
  112. },
  113. "tooltip": {
  114. "mode": "single",
  115. "sort": "none"
  116. }
  117. },
  118. "targets": [
  119. {
  120. "datasource": {
  121. "type": "prometheus",
  122. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  123. },
  124. "editorMode": "code",
  125. "expr": "(time() - process_start_time_seconds{instance=\"$instance\"})",
  126. "legendFormat": "{{instance}}",
  127. "range": true,
  128. "refId": "A"
  129. }
  130. ],
  131. "title": "Up Time",
  132. "type": "timeseries"
  133. },
  134. {
  135. "datasource": "${DS_TEST-CLUSTER}",
  136. "fieldConfig": {
  137. "defaults": {
  138. "color": {
  139. "mode": "palette-classic"
  140. },
  141. "custom": {
  142. "axisCenteredZero": false,
  143. "axisColorMode": "text",
  144. "axisLabel": "",
  145. "axisPlacement": "auto",
  146. "barAlignment": 0,
  147. "drawStyle": "line",
  148. "fillOpacity": 0,
  149. "gradientMode": "none",
  150. "hideFrom": {
  151. "legend": false,
  152. "tooltip": false,
  153. "viz": false
  154. },
  155. "lineInterpolation": "linear",
  156. "lineWidth": 1,
  157. "pointSize": 5,
  158. "scaleDistribution": {
  159. "type": "linear"
  160. },
  161. "showPoints": "auto",
  162. "spanNulls": false,
  163. "stacking": {
  164. "group": "A",
  165. "mode": "none"
  166. },
  167. "thresholdsStyle": {
  168. "mode": "off"
  169. }
  170. },
  171. "mappings": [],
  172. "thresholds": {
  173. "mode": "absolute",
  174. "steps": [
  175. {
  176. "color": "green",
  177. "value": null
  178. },
  179. {
  180. "color": "red",
  181. "value": 80
  182. }
  183. ]
  184. },
  185. "unit": "decbytes"
  186. },
  187. "overrides": []
  188. },
  189. "gridPos": {
  190. "h": 8,
  191. "w": 12,
  192. "x": 12,
  193. "y": 1
  194. },
  195. "id": 26,
  196. "options": {
  197. "legend": {
  198. "calcs": [],
  199. "displayMode": "list",
  200. "placement": "right",
  201. "showLegend": true
  202. },
  203. "tooltip": {
  204. "mode": "single",
  205. "sort": "none"
  206. }
  207. },
  208. "targets": [
  209. {
  210. "datasource": {
  211. "type": "prometheus",
  212. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  213. },
  214. "editorMode": "builder",
  215. "expr": "go_memstats_heap_sys_bytes{instance=\"$instance\"}",
  216. "legendFormat": "{{instance}}-heap-sys",
  217. "range": true,
  218. "refId": "A"
  219. },
  220. {
  221. "datasource": {
  222. "type": "prometheus",
  223. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  224. },
  225. "editorMode": "builder",
  226. "expr": "go_memstats_alloc_bytes{instance=\"$instance\"}",
  227. "hide": false,
  228. "legendFormat": "{{instance}}-heap-alloc",
  229. "range": true,
  230. "refId": "B"
  231. },
  232. {
  233. "datasource": {
  234. "type": "prometheus",
  235. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  236. },
  237. "editorMode": "builder",
  238. "expr": "go_memstats_heap_inuse_bytes{instance=\"$instance\"}",
  239. "hide": false,
  240. "legendFormat": "{{instance}}-heap-inuse",
  241. "range": true,
  242. "refId": "C"
  243. }
  244. ],
  245. "title": "Memory Info",
  246. "type": "timeseries"
  247. },
  248. {
  249. "datasource": "${DS_TEST-CLUSTER}",
  250. "fieldConfig": {
  251. "defaults": {
  252. "color": {
  253. "mode": "palette-classic"
  254. },
  255. "custom": {
  256. "axisCenteredZero": false,
  257. "axisColorMode": "text",
  258. "axisLabel": "",
  259. "axisPlacement": "auto",
  260. "barAlignment": 0,
  261. "drawStyle": "line",
  262. "fillOpacity": 0,
  263. "gradientMode": "none",
  264. "hideFrom": {
  265. "legend": false,
  266. "tooltip": false,
  267. "viz": false
  268. },
  269. "lineInterpolation": "linear",
  270. "lineWidth": 1,
  271. "pointSize": 5,
  272. "scaleDistribution": {
  273. "type": "linear"
  274. },
  275. "showPoints": "auto",
  276. "spanNulls": false,
  277. "stacking": {
  278. "group": "A",
  279. "mode": "none"
  280. },
  281. "thresholdsStyle": {
  282. "mode": "off"
  283. }
  284. },
  285. "mappings": [],
  286. "thresholds": {
  287. "mode": "absolute",
  288. "steps": [
  289. {
  290. "color": "green",
  291. "value": null
  292. },
  293. {
  294. "color": "red",
  295. "value": 80
  296. }
  297. ]
  298. }
  299. },
  300. "overrides": []
  301. },
  302. "gridPos": {
  303. "h": 8,
  304. "w": 12,
  305. "x": 0,
  306. "y": 9
  307. },
  308. "id": 28,
  309. "options": {
  310. "legend": {
  311. "calcs": [],
  312. "displayMode": "list",
  313. "placement": "bottom",
  314. "showLegend": true
  315. },
  316. "tooltip": {
  317. "mode": "single",
  318. "sort": "none"
  319. }
  320. },
  321. "targets": [
  322. {
  323. "datasource": {
  324. "type": "prometheus",
  325. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  326. },
  327. "editorMode": "code",
  328. "expr": "irate(process_cpu_seconds_total{instance=\"$instance\"}[30s])",
  329. "legendFormat": "{{instance}}",
  330. "range": true,
  331. "refId": "A"
  332. }
  333. ],
  334. "title": "CPU Usage",
  335. "type": "timeseries"
  336. },
  337. {
  338. "datasource": "${DS_TEST-CLUSTER}",
  339. "fieldConfig": {
  340. "defaults": {
  341. "color": {
  342. "mode": "palette-classic"
  343. },
  344. "custom": {
  345. "axisCenteredZero": false,
  346. "axisColorMode": "text",
  347. "axisLabel": "",
  348. "axisPlacement": "auto",
  349. "barAlignment": 0,
  350. "drawStyle": "line",
  351. "fillOpacity": 0,
  352. "gradientMode": "none",
  353. "hideFrom": {
  354. "legend": false,
  355. "tooltip": false,
  356. "viz": false
  357. },
  358. "lineInterpolation": "linear",
  359. "lineWidth": 1,
  360. "pointSize": 5,
  361. "scaleDistribution": {
  362. "type": "linear"
  363. },
  364. "showPoints": "auto",
  365. "spanNulls": false,
  366. "stacking": {
  367. "group": "A",
  368. "mode": "none"
  369. },
  370. "thresholdsStyle": {
  371. "mode": "off"
  372. }
  373. },
  374. "mappings": [],
  375. "thresholds": {
  376. "mode": "absolute",
  377. "steps": [
  378. {
  379. "color": "green",
  380. "value": null
  381. },
  382. {
  383. "color": "red",
  384. "value": 80
  385. }
  386. ]
  387. }
  388. },
  389. "overrides": []
  390. },
  391. "gridPos": {
  392. "h": 8,
  393. "w": 12,
  394. "x": 12,
  395. "y": 9
  396. },
  397. "id": 25,
  398. "options": {
  399. "legend": {
  400. "calcs": [],
  401. "displayMode": "list",
  402. "placement": "right",
  403. "showLegend": true
  404. },
  405. "tooltip": {
  406. "mode": "single",
  407. "sort": "none"
  408. }
  409. },
  410. "targets": [
  411. {
  412. "datasource": {
  413. "type": "prometheus",
  414. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  415. },
  416. "editorMode": "builder",
  417. "expr": "go_goroutines",
  418. "legendFormat": "{{instance}}",
  419. "range": true,
  420. "refId": "A"
  421. }
  422. ],
  423. "title": "goroutines",
  424. "type": "timeseries"
  425. },
  426. {
  427. "collapsed": false,
  428. "gridPos": {
  429. "h": 1,
  430. "w": 24,
  431. "x": 0,
  432. "y": 17
  433. },
  434. "id": 4,
  435. "panels": [],
  436. "title": "Operator Panel",
  437. "type": "row"
  438. },
  439. {
  440. "datasource": "${DS_TEST-CLUSTER}",
  441. "description": "",
  442. "fieldConfig": {
  443. "defaults": {
  444. "color": {
  445. "mode": "palette-classic"
  446. },
  447. "custom": {
  448. "axisCenteredZero": false,
  449. "axisColorMode": "text",
  450. "axisLabel": "",
  451. "axisPlacement": "left",
  452. "barAlignment": 0,
  453. "drawStyle": "line",
  454. "fillOpacity": 0,
  455. "gradientMode": "none",
  456. "hideFrom": {
  457. "legend": false,
  458. "tooltip": false,
  459. "viz": false
  460. },
  461. "lineInterpolation": "linear",
  462. "lineWidth": 1,
  463. "pointSize": 5,
  464. "scaleDistribution": {
  465. "type": "linear"
  466. },
  467. "showPoints": "auto",
  468. "spanNulls": false,
  469. "stacking": {
  470. "group": "A",
  471. "mode": "none"
  472. },
  473. "thresholdsStyle": {
  474. "mode": "off"
  475. }
  476. },
  477. "mappings": [],
  478. "thresholds": {
  479. "mode": "absolute",
  480. "steps": [
  481. {
  482. "color": "green",
  483. "value": null
  484. },
  485. {
  486. "color": "red",
  487. "value": 80
  488. }
  489. ]
  490. },
  491. "unit": "cps"
  492. },
  493. "overrides": []
  494. },
  495. "gridPos": {
  496. "h": 8,
  497. "w": 12,
  498. "x": 0,
  499. "y": 18
  500. },
  501. "id": 17,
  502. "options": {
  503. "legend": {
  504. "calcs": [],
  505. "displayMode": "list",
  506. "placement": "right",
  507. "showLegend": true
  508. },
  509. "tooltip": {
  510. "mode": "single",
  511. "sort": "none"
  512. }
  513. },
  514. "targets": [
  515. {
  516. "datasource": {
  517. "type": "prometheus",
  518. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  519. },
  520. "editorMode": "builder",
  521. "expr": "rate(kuiper_op_records_in_total{rule=\"$rule\", instance=\"$instance\"}[1m])",
  522. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  523. "range": true,
  524. "refId": "A"
  525. }
  526. ],
  527. "title": "Records in QPS",
  528. "type": "timeseries"
  529. },
  530. {
  531. "datasource": "${DS_TEST-CLUSTER}",
  532. "description": "",
  533. "fieldConfig": {
  534. "defaults": {
  535. "color": {
  536. "mode": "palette-classic"
  537. },
  538. "custom": {
  539. "axisCenteredZero": false,
  540. "axisColorMode": "text",
  541. "axisLabel": "",
  542. "axisPlacement": "left",
  543. "barAlignment": 0,
  544. "drawStyle": "line",
  545. "fillOpacity": 0,
  546. "gradientMode": "none",
  547. "hideFrom": {
  548. "legend": false,
  549. "tooltip": false,
  550. "viz": false
  551. },
  552. "lineInterpolation": "linear",
  553. "lineWidth": 1,
  554. "pointSize": 5,
  555. "scaleDistribution": {
  556. "type": "linear"
  557. },
  558. "showPoints": "auto",
  559. "spanNulls": false,
  560. "stacking": {
  561. "group": "A",
  562. "mode": "none"
  563. },
  564. "thresholdsStyle": {
  565. "mode": "off"
  566. }
  567. },
  568. "mappings": [],
  569. "thresholds": {
  570. "mode": "absolute",
  571. "steps": [
  572. {
  573. "color": "green",
  574. "value": null
  575. },
  576. {
  577. "color": "red",
  578. "value": 80
  579. }
  580. ]
  581. },
  582. "unit": "cps"
  583. },
  584. "overrides": []
  585. },
  586. "gridPos": {
  587. "h": 8,
  588. "w": 12,
  589. "x": 12,
  590. "y": 18
  591. },
  592. "id": 18,
  593. "options": {
  594. "legend": {
  595. "calcs": [],
  596. "displayMode": "list",
  597. "placement": "right",
  598. "showLegend": true
  599. },
  600. "tooltip": {
  601. "mode": "single",
  602. "sort": "none"
  603. }
  604. },
  605. "targets": [
  606. {
  607. "datasource": {
  608. "type": "prometheus",
  609. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  610. },
  611. "editorMode": "builder",
  612. "expr": "rate(kuiper_op_records_out_total{rule=\"$rule\", instance=\"$instance\"}[1m])",
  613. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  614. "range": true,
  615. "refId": "A"
  616. }
  617. ],
  618. "title": "Records Out QPS",
  619. "type": "timeseries"
  620. },
  621. {
  622. "datasource": "${DS_TEST-CLUSTER}",
  623. "fieldConfig": {
  624. "defaults": {
  625. "color": {
  626. "mode": "palette-classic"
  627. },
  628. "custom": {
  629. "axisCenteredZero": false,
  630. "axisColorMode": "text",
  631. "axisLabel": "",
  632. "axisPlacement": "left",
  633. "barAlignment": 0,
  634. "drawStyle": "line",
  635. "fillOpacity": 0,
  636. "gradientMode": "none",
  637. "hideFrom": {
  638. "legend": false,
  639. "tooltip": false,
  640. "viz": false
  641. },
  642. "lineInterpolation": "linear",
  643. "lineWidth": 1,
  644. "pointSize": 5,
  645. "scaleDistribution": {
  646. "type": "linear"
  647. },
  648. "showPoints": "auto",
  649. "spanNulls": false,
  650. "stacking": {
  651. "group": "A",
  652. "mode": "none"
  653. },
  654. "thresholdsStyle": {
  655. "mode": "off"
  656. }
  657. },
  658. "mappings": [],
  659. "thresholds": {
  660. "mode": "absolute",
  661. "steps": [
  662. {
  663. "color": "green",
  664. "value": null
  665. },
  666. {
  667. "color": "red",
  668. "value": 80
  669. }
  670. ]
  671. },
  672. "unit": "µs"
  673. },
  674. "overrides": []
  675. },
  676. "gridPos": {
  677. "h": 8,
  678. "w": 12,
  679. "x": 0,
  680. "y": 26
  681. },
  682. "id": 19,
  683. "options": {
  684. "legend": {
  685. "calcs": [],
  686. "displayMode": "list",
  687. "placement": "right",
  688. "showLegend": true
  689. },
  690. "tooltip": {
  691. "mode": "single",
  692. "sort": "none"
  693. }
  694. },
  695. "targets": [
  696. {
  697. "datasource": {
  698. "type": "prometheus",
  699. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  700. },
  701. "editorMode": "builder",
  702. "exemplar": false,
  703. "expr": "histogram_quantile(0.9, sum by(le, op, exported_instance, instance) (rate(kuiper_op_process_latency_us_hist_bucket{rule=\"$rule\", instance=\"$instance\"}[1m])))",
  704. "format": "time_series",
  705. "hide": false,
  706. "instant": false,
  707. "interval": "",
  708. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  709. "range": true,
  710. "refId": "C"
  711. }
  712. ],
  713. "title": "Process Latency P90",
  714. "type": "timeseries"
  715. },
  716. {
  717. "datasource": "${DS_TEST-CLUSTER}",
  718. "fieldConfig": {
  719. "defaults": {
  720. "color": {
  721. "mode": "palette-classic"
  722. },
  723. "custom": {
  724. "axisCenteredZero": false,
  725. "axisColorMode": "text",
  726. "axisLabel": "",
  727. "axisPlacement": "left",
  728. "barAlignment": 0,
  729. "drawStyle": "line",
  730. "fillOpacity": 0,
  731. "gradientMode": "none",
  732. "hideFrom": {
  733. "legend": false,
  734. "tooltip": false,
  735. "viz": false
  736. },
  737. "lineInterpolation": "linear",
  738. "lineWidth": 1,
  739. "pointSize": 5,
  740. "scaleDistribution": {
  741. "type": "linear"
  742. },
  743. "showPoints": "auto",
  744. "spanNulls": false,
  745. "stacking": {
  746. "group": "A",
  747. "mode": "none"
  748. },
  749. "thresholdsStyle": {
  750. "mode": "off"
  751. }
  752. },
  753. "mappings": [],
  754. "thresholds": {
  755. "mode": "absolute",
  756. "steps": [
  757. {
  758. "color": "green",
  759. "value": null
  760. },
  761. {
  762. "color": "red",
  763. "value": 80
  764. }
  765. ]
  766. },
  767. "unit": "µs"
  768. },
  769. "overrides": []
  770. },
  771. "gridPos": {
  772. "h": 8,
  773. "w": 12,
  774. "x": 12,
  775. "y": 26
  776. },
  777. "id": 23,
  778. "options": {
  779. "legend": {
  780. "calcs": [],
  781. "displayMode": "list",
  782. "placement": "right",
  783. "showLegend": true
  784. },
  785. "tooltip": {
  786. "mode": "single",
  787. "sort": "none"
  788. }
  789. },
  790. "targets": [
  791. {
  792. "datasource": {
  793. "type": "prometheus",
  794. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  795. },
  796. "editorMode": "builder",
  797. "exemplar": false,
  798. "expr": "histogram_quantile(0.99, sum by(le, op, exported_instance, instance) (rate(kuiper_op_process_latency_us_hist_bucket{rule=\"$rule\", instance=\"$instance\"}[1m])))",
  799. "format": "time_series",
  800. "hide": false,
  801. "instant": false,
  802. "interval": "",
  803. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  804. "range": true,
  805. "refId": "C"
  806. }
  807. ],
  808. "title": "Process Latency P99",
  809. "type": "timeseries"
  810. },
  811. {
  812. "datasource": "${DS_TEST-CLUSTER}",
  813. "fieldConfig": {
  814. "defaults": {
  815. "color": {
  816. "mode": "palette-classic"
  817. },
  818. "custom": {
  819. "axisCenteredZero": false,
  820. "axisColorMode": "text",
  821. "axisLabel": "",
  822. "axisPlacement": "auto",
  823. "barAlignment": 0,
  824. "drawStyle": "line",
  825. "fillOpacity": 0,
  826. "gradientMode": "none",
  827. "hideFrom": {
  828. "legend": false,
  829. "tooltip": false,
  830. "viz": false
  831. },
  832. "lineInterpolation": "linear",
  833. "lineWidth": 1,
  834. "pointSize": 5,
  835. "scaleDistribution": {
  836. "type": "linear"
  837. },
  838. "showPoints": "auto",
  839. "spanNulls": false,
  840. "stacking": {
  841. "group": "A",
  842. "mode": "none"
  843. },
  844. "thresholdsStyle": {
  845. "mode": "off"
  846. }
  847. },
  848. "mappings": [],
  849. "thresholds": {
  850. "mode": "absolute",
  851. "steps": [
  852. {
  853. "color": "green",
  854. "value": null
  855. },
  856. {
  857. "color": "red",
  858. "value": 80
  859. }
  860. ]
  861. },
  862. "unit": "cps"
  863. },
  864. "overrides": []
  865. },
  866. "gridPos": {
  867. "h": 8,
  868. "w": 12,
  869. "x": 0,
  870. "y": 34
  871. },
  872. "id": 20,
  873. "options": {
  874. "legend": {
  875. "calcs": [],
  876. "displayMode": "list",
  877. "placement": "right",
  878. "showLegend": true
  879. },
  880. "tooltip": {
  881. "mode": "single",
  882. "sort": "none"
  883. }
  884. },
  885. "targets": [
  886. {
  887. "datasource": {
  888. "type": "prometheus",
  889. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  890. },
  891. "editorMode": "builder",
  892. "expr": "rate(kuiper_op_exceptions_total{rule=\"$rule\", instance=\"$instance\"}[1m])",
  893. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  894. "range": true,
  895. "refId": "A"
  896. }
  897. ],
  898. "title": "Exceptions QPS",
  899. "type": "timeseries"
  900. },
  901. {
  902. "collapsed": false,
  903. "gridPos": {
  904. "h": 1,
  905. "w": 24,
  906. "x": 0,
  907. "y": 42
  908. },
  909. "id": 3,
  910. "panels": [],
  911. "title": "Sink Panel",
  912. "type": "row"
  913. },
  914. {
  915. "datasource": "${DS_TEST-CLUSTER}",
  916. "description": "",
  917. "fieldConfig": {
  918. "defaults": {
  919. "color": {
  920. "mode": "palette-classic"
  921. },
  922. "custom": {
  923. "axisCenteredZero": false,
  924. "axisColorMode": "text",
  925. "axisLabel": "",
  926. "axisPlacement": "left",
  927. "barAlignment": 0,
  928. "drawStyle": "line",
  929. "fillOpacity": 0,
  930. "gradientMode": "none",
  931. "hideFrom": {
  932. "legend": false,
  933. "tooltip": false,
  934. "viz": false
  935. },
  936. "lineInterpolation": "linear",
  937. "lineWidth": 1,
  938. "pointSize": 5,
  939. "scaleDistribution": {
  940. "type": "linear"
  941. },
  942. "showPoints": "auto",
  943. "spanNulls": false,
  944. "stacking": {
  945. "group": "A",
  946. "mode": "none"
  947. },
  948. "thresholdsStyle": {
  949. "mode": "off"
  950. }
  951. },
  952. "mappings": [],
  953. "thresholds": {
  954. "mode": "absolute",
  955. "steps": [
  956. {
  957. "color": "green",
  958. "value": null
  959. },
  960. {
  961. "color": "red",
  962. "value": 80
  963. }
  964. ]
  965. },
  966. "unit": "cps"
  967. },
  968. "overrides": []
  969. },
  970. "gridPos": {
  971. "h": 8,
  972. "w": 12,
  973. "x": 0,
  974. "y": 43
  975. },
  976. "id": 13,
  977. "options": {
  978. "legend": {
  979. "calcs": [],
  980. "displayMode": "list",
  981. "placement": "right",
  982. "showLegend": true
  983. },
  984. "tooltip": {
  985. "mode": "single",
  986. "sort": "none"
  987. }
  988. },
  989. "targets": [
  990. {
  991. "datasource": {
  992. "type": "prometheus",
  993. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  994. },
  995. "editorMode": "builder",
  996. "expr": "rate(kuiper_sink_records_in_total{rule=\"$rule\", instance=\"$instance\"}[1m])",
  997. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  998. "range": true,
  999. "refId": "A"
  1000. }
  1001. ],
  1002. "title": "Records in QPS",
  1003. "type": "timeseries"
  1004. },
  1005. {
  1006. "datasource": "${DS_TEST-CLUSTER}",
  1007. "description": "",
  1008. "fieldConfig": {
  1009. "defaults": {
  1010. "color": {
  1011. "mode": "palette-classic"
  1012. },
  1013. "custom": {
  1014. "axisCenteredZero": false,
  1015. "axisColorMode": "text",
  1016. "axisLabel": "",
  1017. "axisPlacement": "left",
  1018. "barAlignment": 0,
  1019. "drawStyle": "line",
  1020. "fillOpacity": 0,
  1021. "gradientMode": "none",
  1022. "hideFrom": {
  1023. "legend": false,
  1024. "tooltip": false,
  1025. "viz": false
  1026. },
  1027. "lineInterpolation": "linear",
  1028. "lineWidth": 1,
  1029. "pointSize": 5,
  1030. "scaleDistribution": {
  1031. "type": "linear"
  1032. },
  1033. "showPoints": "auto",
  1034. "spanNulls": false,
  1035. "stacking": {
  1036. "group": "A",
  1037. "mode": "none"
  1038. },
  1039. "thresholdsStyle": {
  1040. "mode": "off"
  1041. }
  1042. },
  1043. "mappings": [],
  1044. "thresholds": {
  1045. "mode": "absolute",
  1046. "steps": [
  1047. {
  1048. "color": "green",
  1049. "value": null
  1050. },
  1051. {
  1052. "color": "red",
  1053. "value": 80
  1054. }
  1055. ]
  1056. },
  1057. "unit": "cps"
  1058. },
  1059. "overrides": []
  1060. },
  1061. "gridPos": {
  1062. "h": 8,
  1063. "w": 12,
  1064. "x": 12,
  1065. "y": 43
  1066. },
  1067. "id": 14,
  1068. "options": {
  1069. "legend": {
  1070. "calcs": [],
  1071. "displayMode": "list",
  1072. "placement": "right",
  1073. "showLegend": true
  1074. },
  1075. "tooltip": {
  1076. "mode": "single",
  1077. "sort": "none"
  1078. }
  1079. },
  1080. "targets": [
  1081. {
  1082. "datasource": {
  1083. "type": "prometheus",
  1084. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  1085. },
  1086. "editorMode": "builder",
  1087. "expr": "rate(kuiper_sink_records_out_total{rule=\"$rule\", instance=\"$instance\"}[1m])",
  1088. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  1089. "range": true,
  1090. "refId": "A"
  1091. }
  1092. ],
  1093. "title": "Records Out QPS",
  1094. "type": "timeseries"
  1095. },
  1096. {
  1097. "datasource": "${DS_TEST-CLUSTER}",
  1098. "fieldConfig": {
  1099. "defaults": {
  1100. "color": {
  1101. "mode": "palette-classic"
  1102. },
  1103. "custom": {
  1104. "axisCenteredZero": false,
  1105. "axisColorMode": "text",
  1106. "axisLabel": "",
  1107. "axisPlacement": "left",
  1108. "barAlignment": 0,
  1109. "drawStyle": "line",
  1110. "fillOpacity": 0,
  1111. "gradientMode": "none",
  1112. "hideFrom": {
  1113. "legend": false,
  1114. "tooltip": false,
  1115. "viz": false
  1116. },
  1117. "lineInterpolation": "linear",
  1118. "lineWidth": 1,
  1119. "pointSize": 5,
  1120. "scaleDistribution": {
  1121. "type": "linear"
  1122. },
  1123. "showPoints": "auto",
  1124. "spanNulls": false,
  1125. "stacking": {
  1126. "group": "A",
  1127. "mode": "none"
  1128. },
  1129. "thresholdsStyle": {
  1130. "mode": "off"
  1131. }
  1132. },
  1133. "mappings": [],
  1134. "thresholds": {
  1135. "mode": "absolute",
  1136. "steps": [
  1137. {
  1138. "color": "green",
  1139. "value": null
  1140. },
  1141. {
  1142. "color": "red",
  1143. "value": 80
  1144. }
  1145. ]
  1146. },
  1147. "unit": "µs"
  1148. },
  1149. "overrides": []
  1150. },
  1151. "gridPos": {
  1152. "h": 8,
  1153. "w": 12,
  1154. "x": 0,
  1155. "y": 51
  1156. },
  1157. "id": 15,
  1158. "options": {
  1159. "legend": {
  1160. "calcs": [],
  1161. "displayMode": "list",
  1162. "placement": "right",
  1163. "showLegend": true
  1164. },
  1165. "tooltip": {
  1166. "mode": "single",
  1167. "sort": "none"
  1168. }
  1169. },
  1170. "targets": [
  1171. {
  1172. "datasource": {
  1173. "type": "prometheus",
  1174. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  1175. },
  1176. "editorMode": "builder",
  1177. "exemplar": false,
  1178. "expr": "histogram_quantile(0.9, sum by(le, op, exported_instance, instance) (rate(kuiper_sink_process_latency_us_hist_bucket{rule=\"$rule\", instance=\"$instance\"}[1m])))",
  1179. "format": "time_series",
  1180. "hide": false,
  1181. "instant": false,
  1182. "interval": "",
  1183. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  1184. "range": true,
  1185. "refId": "C"
  1186. }
  1187. ],
  1188. "title": "Process Latency P90",
  1189. "type": "timeseries"
  1190. },
  1191. {
  1192. "datasource": "${DS_TEST-CLUSTER}",
  1193. "fieldConfig": {
  1194. "defaults": {
  1195. "color": {
  1196. "mode": "palette-classic"
  1197. },
  1198. "custom": {
  1199. "axisCenteredZero": false,
  1200. "axisColorMode": "text",
  1201. "axisLabel": "",
  1202. "axisPlacement": "left",
  1203. "barAlignment": 0,
  1204. "drawStyle": "line",
  1205. "fillOpacity": 0,
  1206. "gradientMode": "none",
  1207. "hideFrom": {
  1208. "legend": false,
  1209. "tooltip": false,
  1210. "viz": false
  1211. },
  1212. "lineInterpolation": "linear",
  1213. "lineWidth": 1,
  1214. "pointSize": 5,
  1215. "scaleDistribution": {
  1216. "type": "linear"
  1217. },
  1218. "showPoints": "auto",
  1219. "spanNulls": false,
  1220. "stacking": {
  1221. "group": "A",
  1222. "mode": "none"
  1223. },
  1224. "thresholdsStyle": {
  1225. "mode": "off"
  1226. }
  1227. },
  1228. "mappings": [],
  1229. "thresholds": {
  1230. "mode": "absolute",
  1231. "steps": [
  1232. {
  1233. "color": "green",
  1234. "value": null
  1235. },
  1236. {
  1237. "color": "red",
  1238. "value": 80
  1239. }
  1240. ]
  1241. },
  1242. "unit": "µs"
  1243. },
  1244. "overrides": []
  1245. },
  1246. "gridPos": {
  1247. "h": 8,
  1248. "w": 12,
  1249. "x": 12,
  1250. "y": 51
  1251. },
  1252. "id": 22,
  1253. "options": {
  1254. "legend": {
  1255. "calcs": [],
  1256. "displayMode": "list",
  1257. "placement": "right",
  1258. "showLegend": true
  1259. },
  1260. "tooltip": {
  1261. "mode": "single",
  1262. "sort": "none"
  1263. }
  1264. },
  1265. "targets": [
  1266. {
  1267. "datasource": {
  1268. "type": "prometheus",
  1269. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  1270. },
  1271. "editorMode": "builder",
  1272. "exemplar": false,
  1273. "expr": "histogram_quantile(0.99, sum by(le, op, exported_instance, instance) (rate(kuiper_sink_process_latency_us_hist_bucket{rule=\"$rule\", instance=\"$instance\"}[1m])))",
  1274. "format": "time_series",
  1275. "hide": false,
  1276. "instant": false,
  1277. "interval": "",
  1278. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  1279. "range": true,
  1280. "refId": "C"
  1281. }
  1282. ],
  1283. "title": "Process Latency P99",
  1284. "type": "timeseries"
  1285. },
  1286. {
  1287. "datasource": "${DS_TEST-CLUSTER}",
  1288. "fieldConfig": {
  1289. "defaults": {
  1290. "color": {
  1291. "mode": "palette-classic"
  1292. },
  1293. "custom": {
  1294. "axisCenteredZero": false,
  1295. "axisColorMode": "text",
  1296. "axisLabel": "",
  1297. "axisPlacement": "auto",
  1298. "barAlignment": 0,
  1299. "drawStyle": "line",
  1300. "fillOpacity": 0,
  1301. "gradientMode": "none",
  1302. "hideFrom": {
  1303. "legend": false,
  1304. "tooltip": false,
  1305. "viz": false
  1306. },
  1307. "lineInterpolation": "linear",
  1308. "lineWidth": 1,
  1309. "pointSize": 5,
  1310. "scaleDistribution": {
  1311. "type": "linear"
  1312. },
  1313. "showPoints": "auto",
  1314. "spanNulls": false,
  1315. "stacking": {
  1316. "group": "A",
  1317. "mode": "none"
  1318. },
  1319. "thresholdsStyle": {
  1320. "mode": "off"
  1321. }
  1322. },
  1323. "mappings": [],
  1324. "thresholds": {
  1325. "mode": "absolute",
  1326. "steps": [
  1327. {
  1328. "color": "green",
  1329. "value": null
  1330. },
  1331. {
  1332. "color": "red",
  1333. "value": 80
  1334. }
  1335. ]
  1336. },
  1337. "unit": "cps"
  1338. },
  1339. "overrides": []
  1340. },
  1341. "gridPos": {
  1342. "h": 8,
  1343. "w": 12,
  1344. "x": 0,
  1345. "y": 59
  1346. },
  1347. "id": 16,
  1348. "options": {
  1349. "legend": {
  1350. "calcs": [],
  1351. "displayMode": "list",
  1352. "placement": "right",
  1353. "showLegend": true
  1354. },
  1355. "tooltip": {
  1356. "mode": "single",
  1357. "sort": "none"
  1358. }
  1359. },
  1360. "targets": [
  1361. {
  1362. "datasource": {
  1363. "type": "prometheus",
  1364. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  1365. },
  1366. "editorMode": "builder",
  1367. "expr": "rate(kuiper_sink_exceptions_total{rule=\"$rule\", instance=\"$instance\"}[1m])",
  1368. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  1369. "range": true,
  1370. "refId": "A"
  1371. }
  1372. ],
  1373. "title": "Exceptions QPS",
  1374. "type": "timeseries"
  1375. },
  1376. {
  1377. "collapsed": false,
  1378. "gridPos": {
  1379. "h": 1,
  1380. "w": 24,
  1381. "x": 0,
  1382. "y": 67
  1383. },
  1384. "id": 2,
  1385. "panels": [],
  1386. "title": "Source Panel",
  1387. "type": "row"
  1388. },
  1389. {
  1390. "datasource": "${DS_TEST-CLUSTER}",
  1391. "description": "",
  1392. "fieldConfig": {
  1393. "defaults": {
  1394. "color": {
  1395. "mode": "palette-classic"
  1396. },
  1397. "custom": {
  1398. "axisCenteredZero": false,
  1399. "axisColorMode": "text",
  1400. "axisLabel": "",
  1401. "axisPlacement": "left",
  1402. "barAlignment": 0,
  1403. "drawStyle": "line",
  1404. "fillOpacity": 0,
  1405. "gradientMode": "none",
  1406. "hideFrom": {
  1407. "legend": false,
  1408. "tooltip": false,
  1409. "viz": false
  1410. },
  1411. "lineInterpolation": "linear",
  1412. "lineWidth": 1,
  1413. "pointSize": 5,
  1414. "scaleDistribution": {
  1415. "type": "linear"
  1416. },
  1417. "showPoints": "auto",
  1418. "spanNulls": false,
  1419. "stacking": {
  1420. "group": "A",
  1421. "mode": "none"
  1422. },
  1423. "thresholdsStyle": {
  1424. "mode": "off"
  1425. }
  1426. },
  1427. "mappings": [],
  1428. "thresholds": {
  1429. "mode": "absolute",
  1430. "steps": [
  1431. {
  1432. "color": "green",
  1433. "value": null
  1434. },
  1435. {
  1436. "color": "red",
  1437. "value": 80
  1438. }
  1439. ]
  1440. },
  1441. "unit": "cps"
  1442. },
  1443. "overrides": []
  1444. },
  1445. "gridPos": {
  1446. "h": 8,
  1447. "w": 12,
  1448. "x": 0,
  1449. "y": 68
  1450. },
  1451. "id": 1,
  1452. "options": {
  1453. "legend": {
  1454. "calcs": [],
  1455. "displayMode": "list",
  1456. "placement": "right",
  1457. "showLegend": true
  1458. },
  1459. "tooltip": {
  1460. "mode": "single",
  1461. "sort": "none"
  1462. }
  1463. },
  1464. "targets": [
  1465. {
  1466. "datasource": {
  1467. "type": "prometheus",
  1468. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  1469. },
  1470. "editorMode": "builder",
  1471. "expr": "rate(kuiper_source_records_in_total{rule=\"$rule\", instance=\"$instance\"}[1m])",
  1472. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  1473. "range": true,
  1474. "refId": "A"
  1475. }
  1476. ],
  1477. "title": "Records in QPS",
  1478. "type": "timeseries"
  1479. },
  1480. {
  1481. "datasource": "${DS_TEST-CLUSTER}",
  1482. "description": "",
  1483. "fieldConfig": {
  1484. "defaults": {
  1485. "color": {
  1486. "mode": "palette-classic"
  1487. },
  1488. "custom": {
  1489. "axisCenteredZero": false,
  1490. "axisColorMode": "text",
  1491. "axisLabel": "",
  1492. "axisPlacement": "left",
  1493. "barAlignment": 0,
  1494. "drawStyle": "line",
  1495. "fillOpacity": 0,
  1496. "gradientMode": "none",
  1497. "hideFrom": {
  1498. "legend": false,
  1499. "tooltip": false,
  1500. "viz": false
  1501. },
  1502. "lineInterpolation": "linear",
  1503. "lineWidth": 1,
  1504. "pointSize": 5,
  1505. "scaleDistribution": {
  1506. "type": "linear"
  1507. },
  1508. "showPoints": "auto",
  1509. "spanNulls": false,
  1510. "stacking": {
  1511. "group": "A",
  1512. "mode": "none"
  1513. },
  1514. "thresholdsStyle": {
  1515. "mode": "off"
  1516. }
  1517. },
  1518. "mappings": [],
  1519. "thresholds": {
  1520. "mode": "absolute",
  1521. "steps": [
  1522. {
  1523. "color": "green",
  1524. "value": null
  1525. },
  1526. {
  1527. "color": "red",
  1528. "value": 80
  1529. }
  1530. ]
  1531. },
  1532. "unit": "cps"
  1533. },
  1534. "overrides": []
  1535. },
  1536. "gridPos": {
  1537. "h": 8,
  1538. "w": 12,
  1539. "x": 12,
  1540. "y": 68
  1541. },
  1542. "id": 5,
  1543. "options": {
  1544. "legend": {
  1545. "calcs": [],
  1546. "displayMode": "list",
  1547. "placement": "right",
  1548. "showLegend": true
  1549. },
  1550. "tooltip": {
  1551. "mode": "single",
  1552. "sort": "none"
  1553. }
  1554. },
  1555. "targets": [
  1556. {
  1557. "datasource": {
  1558. "type": "prometheus",
  1559. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  1560. },
  1561. "editorMode": "builder",
  1562. "expr": "rate(kuiper_source_records_out_total{rule=\"$rule\", instance=\"$instance\"}[1m])",
  1563. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  1564. "range": true,
  1565. "refId": "A"
  1566. }
  1567. ],
  1568. "title": "Records Out QPS",
  1569. "type": "timeseries"
  1570. },
  1571. {
  1572. "datasource": "${DS_TEST-CLUSTER}",
  1573. "fieldConfig": {
  1574. "defaults": {
  1575. "color": {
  1576. "mode": "palette-classic"
  1577. },
  1578. "custom": {
  1579. "axisCenteredZero": false,
  1580. "axisColorMode": "text",
  1581. "axisLabel": "",
  1582. "axisPlacement": "left",
  1583. "barAlignment": 0,
  1584. "drawStyle": "line",
  1585. "fillOpacity": 0,
  1586. "gradientMode": "none",
  1587. "hideFrom": {
  1588. "legend": false,
  1589. "tooltip": false,
  1590. "viz": false
  1591. },
  1592. "lineInterpolation": "linear",
  1593. "lineWidth": 1,
  1594. "pointSize": 5,
  1595. "scaleDistribution": {
  1596. "type": "linear"
  1597. },
  1598. "showPoints": "auto",
  1599. "spanNulls": false,
  1600. "stacking": {
  1601. "group": "A",
  1602. "mode": "none"
  1603. },
  1604. "thresholdsStyle": {
  1605. "mode": "off"
  1606. }
  1607. },
  1608. "mappings": [],
  1609. "thresholds": {
  1610. "mode": "absolute",
  1611. "steps": [
  1612. {
  1613. "color": "green",
  1614. "value": null
  1615. },
  1616. {
  1617. "color": "red",
  1618. "value": 80
  1619. }
  1620. ]
  1621. },
  1622. "unit": "µs"
  1623. },
  1624. "overrides": []
  1625. },
  1626. "gridPos": {
  1627. "h": 8,
  1628. "w": 12,
  1629. "x": 0,
  1630. "y": 76
  1631. },
  1632. "id": 6,
  1633. "options": {
  1634. "legend": {
  1635. "calcs": [],
  1636. "displayMode": "list",
  1637. "placement": "right",
  1638. "showLegend": true
  1639. },
  1640. "tooltip": {
  1641. "mode": "single",
  1642. "sort": "none"
  1643. }
  1644. },
  1645. "targets": [
  1646. {
  1647. "datasource": {
  1648. "type": "prometheus",
  1649. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  1650. },
  1651. "editorMode": "builder",
  1652. "exemplar": false,
  1653. "expr": "histogram_quantile(0.9, sum by(le, op, exported_instance, instance) (rate(kuiper_source_process_latency_us_hist_bucket{rule=\"$rule\", instance=\"$instance\"}[1m])))",
  1654. "format": "time_series",
  1655. "hide": false,
  1656. "instant": false,
  1657. "interval": "",
  1658. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  1659. "range": true,
  1660. "refId": "C"
  1661. }
  1662. ],
  1663. "title": "Process Latency P90",
  1664. "type": "timeseries"
  1665. },
  1666. {
  1667. "datasource": "${DS_TEST-CLUSTER}",
  1668. "fieldConfig": {
  1669. "defaults": {
  1670. "color": {
  1671. "mode": "palette-classic"
  1672. },
  1673. "custom": {
  1674. "axisCenteredZero": false,
  1675. "axisColorMode": "text",
  1676. "axisLabel": "",
  1677. "axisPlacement": "left",
  1678. "barAlignment": 0,
  1679. "drawStyle": "line",
  1680. "fillOpacity": 0,
  1681. "gradientMode": "none",
  1682. "hideFrom": {
  1683. "legend": false,
  1684. "tooltip": false,
  1685. "viz": false
  1686. },
  1687. "lineInterpolation": "linear",
  1688. "lineWidth": 1,
  1689. "pointSize": 5,
  1690. "scaleDistribution": {
  1691. "type": "linear"
  1692. },
  1693. "showPoints": "auto",
  1694. "spanNulls": false,
  1695. "stacking": {
  1696. "group": "A",
  1697. "mode": "none"
  1698. },
  1699. "thresholdsStyle": {
  1700. "mode": "off"
  1701. }
  1702. },
  1703. "mappings": [],
  1704. "thresholds": {
  1705. "mode": "absolute",
  1706. "steps": [
  1707. {
  1708. "color": "green",
  1709. "value": null
  1710. },
  1711. {
  1712. "color": "red",
  1713. "value": 80
  1714. }
  1715. ]
  1716. },
  1717. "unit": "µs"
  1718. },
  1719. "overrides": []
  1720. },
  1721. "gridPos": {
  1722. "h": 8,
  1723. "w": 12,
  1724. "x": 12,
  1725. "y": 76
  1726. },
  1727. "id": 21,
  1728. "options": {
  1729. "legend": {
  1730. "calcs": [],
  1731. "displayMode": "list",
  1732. "placement": "right",
  1733. "showLegend": true
  1734. },
  1735. "tooltip": {
  1736. "mode": "single",
  1737. "sort": "none"
  1738. }
  1739. },
  1740. "targets": [
  1741. {
  1742. "datasource": {
  1743. "type": "prometheus",
  1744. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  1745. },
  1746. "editorMode": "builder",
  1747. "exemplar": false,
  1748. "expr": "histogram_quantile(0.99, sum by(le, op, exported_instance, instance) (rate(kuiper_source_process_latency_us_hist_bucket{rule=\"$rule\", instance=\"$instance\"}[1m])))",
  1749. "format": "time_series",
  1750. "hide": false,
  1751. "instant": false,
  1752. "interval": "",
  1753. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  1754. "range": true,
  1755. "refId": "C"
  1756. }
  1757. ],
  1758. "title": "Process Latency P99",
  1759. "type": "timeseries"
  1760. },
  1761. {
  1762. "datasource": "${DS_TEST-CLUSTER}",
  1763. "fieldConfig": {
  1764. "defaults": {
  1765. "color": {
  1766. "mode": "palette-classic"
  1767. },
  1768. "custom": {
  1769. "axisCenteredZero": false,
  1770. "axisColorMode": "text",
  1771. "axisLabel": "",
  1772. "axisPlacement": "auto",
  1773. "barAlignment": 0,
  1774. "drawStyle": "line",
  1775. "fillOpacity": 0,
  1776. "gradientMode": "none",
  1777. "hideFrom": {
  1778. "legend": false,
  1779. "tooltip": false,
  1780. "viz": false
  1781. },
  1782. "lineInterpolation": "linear",
  1783. "lineWidth": 1,
  1784. "pointSize": 5,
  1785. "scaleDistribution": {
  1786. "type": "linear"
  1787. },
  1788. "showPoints": "auto",
  1789. "spanNulls": false,
  1790. "stacking": {
  1791. "group": "A",
  1792. "mode": "none"
  1793. },
  1794. "thresholdsStyle": {
  1795. "mode": "off"
  1796. }
  1797. },
  1798. "mappings": [],
  1799. "thresholds": {
  1800. "mode": "absolute",
  1801. "steps": [
  1802. {
  1803. "color": "green",
  1804. "value": null
  1805. },
  1806. {
  1807. "color": "red",
  1808. "value": 80
  1809. }
  1810. ]
  1811. },
  1812. "unit": "cps"
  1813. },
  1814. "overrides": []
  1815. },
  1816. "gridPos": {
  1817. "h": 8,
  1818. "w": 12,
  1819. "x": 0,
  1820. "y": 84
  1821. },
  1822. "id": 8,
  1823. "options": {
  1824. "legend": {
  1825. "calcs": [],
  1826. "displayMode": "list",
  1827. "placement": "right",
  1828. "showLegend": true
  1829. },
  1830. "tooltip": {
  1831. "mode": "single",
  1832. "sort": "none"
  1833. }
  1834. },
  1835. "targets": [
  1836. {
  1837. "datasource": {
  1838. "type": "prometheus",
  1839. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  1840. },
  1841. "editorMode": "builder",
  1842. "expr": "rate(kuiper_source_exceptions_total{rule=\"$rule\", instance=\"$instance\"}[1m])",
  1843. "legendFormat": "{{instance}}-{{op}}-{{exported_instance}}",
  1844. "range": true,
  1845. "refId": "A"
  1846. }
  1847. ],
  1848. "title": "Exceptions QPS",
  1849. "type": "timeseries"
  1850. }
  1851. ],
  1852. "refresh": "",
  1853. "schemaVersion": 38,
  1854. "style": "dark",
  1855. "tags": [],
  1856. "templating": {
  1857. "list": [
  1858. {
  1859. "current": {
  1860. "selected": true,
  1861. "text": "localhost:20499",
  1862. "value": "localhost:20499"
  1863. },
  1864. "datasource": {
  1865. "type": "prometheus",
  1866. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  1867. },
  1868. "definition": "label_values(instance)",
  1869. "hide": 0,
  1870. "includeAll": false,
  1871. "label": "instance",
  1872. "multi": false,
  1873. "name": "instance",
  1874. "options": [],
  1875. "query": {
  1876. "query": "label_values(instance)",
  1877. "refId": "PrometheusVariableQueryEditor-VariableQuery"
  1878. },
  1879. "refresh": 1,
  1880. "regex": "",
  1881. "skipUrlSync": false,
  1882. "sort": 0,
  1883. "type": "query"
  1884. },
  1885. {
  1886. "current": {
  1887. "selected": false,
  1888. "text": "joinRule",
  1889. "value": "joinRule"
  1890. },
  1891. "datasource": {
  1892. "type": "prometheus",
  1893. "uid": "ad687d3e-23e5-4418-bb75-0dfb04fb4721"
  1894. },
  1895. "definition": "label_values(rule)",
  1896. "hide": 0,
  1897. "includeAll": false,
  1898. "label": "rule",
  1899. "multi": false,
  1900. "name": "rule",
  1901. "options": [],
  1902. "query": {
  1903. "query": "label_values(rule)",
  1904. "refId": "PrometheusVariableQueryEditor-VariableQuery"
  1905. },
  1906. "refresh": 1,
  1907. "regex": "",
  1908. "skipUrlSync": false,
  1909. "sort": 0,
  1910. "type": "query"
  1911. }
  1912. ]
  1913. },
  1914. "time": {
  1915. "from": "now-5m",
  1916. "to": "now"
  1917. },
  1918. "timepicker": {},
  1919. "timezone": "",
  1920. "title": "kuiper panel",
  1921. "uid": "da14abfc-1b97-4833-a86f-fad5d3147e80",
  1922. "version": 15,
  1923. "weekStart": ""
  1924. }