metrics.json 49 KB

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