grafana_seaweedfs_k8s.json 54 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": "$DS_PROMETHEUS",
  7. "enable": true,
  8. "hide": true,
  9. "iconColor": "rgba(0, 211, 255, 1)",
  10. "limit": 100,
  11. "name": "Annotations & Alerts",
  12. "showIn": 0,
  13. "type": "dashboard"
  14. }
  15. ]
  16. },
  17. "editable": true,
  18. "gnetId": 10423,
  19. "graphTooltip": 0,
  20. "id": 3690,
  21. "iteration": 1602763266349,
  22. "links": [],
  23. "panels": [
  24. {
  25. "collapsed": false,
  26. "datasource": null,
  27. "gridPos": {
  28. "h": 1,
  29. "w": 24,
  30. "x": 0,
  31. "y": 0
  32. },
  33. "id": 60,
  34. "panels": [],
  35. "title": "S3 api",
  36. "type": "row"
  37. },
  38. {
  39. "aliasColors": {},
  40. "bars": false,
  41. "dashLength": 10,
  42. "dashes": false,
  43. "datasource": "$DS_PROMETHEUS",
  44. "editable": true,
  45. "error": false,
  46. "fieldConfig": {
  47. "defaults": {
  48. "custom": {}
  49. },
  50. "overrides": []
  51. },
  52. "fill": 0,
  53. "fillGradient": 0,
  54. "grid": {},
  55. "gridPos": {
  56. "h": 7,
  57. "w": 12,
  58. "x": 0,
  59. "y": 1
  60. },
  61. "hiddenSeries": false,
  62. "id": 63,
  63. "legend": {
  64. "alignAsTable": false,
  65. "avg": false,
  66. "current": true,
  67. "hideEmpty": true,
  68. "hideZero": true,
  69. "max": false,
  70. "min": false,
  71. "rightSide": false,
  72. "show": true,
  73. "sideWidth": 250,
  74. "sort": "max",
  75. "sortDesc": true,
  76. "total": false,
  77. "values": true
  78. },
  79. "lines": true,
  80. "linewidth": 1,
  81. "links": [],
  82. "maxPerRow": 1,
  83. "nullPointMode": "null as zero",
  84. "percentage": false,
  85. "pluginVersion": "7.1.0",
  86. "pointradius": 5,
  87. "points": false,
  88. "renderer": "flot",
  89. "seriesOverrides": [
  90. {
  91. "alias": "total",
  92. "lines": false
  93. }
  94. ],
  95. "spaceLength": 10,
  96. "stack": false,
  97. "steppedLine": false,
  98. "targets": [
  99. {
  100. "expr": "sum(rate(SeaweedFS_s3_request_total{namespace=\"$namespace\",service=~\"$service-api\",type=~\"$method\"}[1m])) by (code)",
  101. "format": "time_series",
  102. "interval": "",
  103. "intervalFactor": 2,
  104. "legendFormat": "{{code}}",
  105. "refId": "A",
  106. "step": 30
  107. }
  108. ],
  109. "thresholds": [],
  110. "timeFrom": null,
  111. "timeRegions": [],
  112. "timeShift": null,
  113. "title": "S3 QPS by statusCode",
  114. "tooltip": {
  115. "msResolution": true,
  116. "shared": true,
  117. "sort": 2,
  118. "value_type": "individual"
  119. },
  120. "type": "graph",
  121. "xaxis": {
  122. "buckets": null,
  123. "mode": "time",
  124. "name": null,
  125. "show": true,
  126. "values": []
  127. },
  128. "yaxes": [
  129. {
  130. "format": "short",
  131. "label": null,
  132. "logBase": 1,
  133. "max": null,
  134. "min": "0",
  135. "show": true
  136. },
  137. {
  138. "format": "short",
  139. "label": null,
  140. "logBase": 1,
  141. "max": null,
  142. "min": null,
  143. "show": true
  144. }
  145. ],
  146. "yaxis": {
  147. "align": false,
  148. "alignLevel": null
  149. }
  150. },
  151. {
  152. "aliasColors": {},
  153. "bars": false,
  154. "dashLength": 10,
  155. "dashes": false,
  156. "datasource": "$DS_PROMETHEUS",
  157. "editable": true,
  158. "error": false,
  159. "fieldConfig": {
  160. "defaults": {
  161. "custom": {}
  162. },
  163. "overrides": []
  164. },
  165. "fill": 0,
  166. "fillGradient": 0,
  167. "grid": {},
  168. "gridPos": {
  169. "h": 7,
  170. "w": 12,
  171. "x": 12,
  172. "y": 1
  173. },
  174. "hiddenSeries": false,
  175. "id": 62,
  176. "legend": {
  177. "alignAsTable": false,
  178. "avg": false,
  179. "current": true,
  180. "hideEmpty": true,
  181. "hideZero": true,
  182. "max": false,
  183. "min": false,
  184. "rightSide": false,
  185. "show": true,
  186. "sideWidth": 250,
  187. "sort": "max",
  188. "sortDesc": true,
  189. "total": false,
  190. "values": true
  191. },
  192. "lines": true,
  193. "linewidth": 1,
  194. "links": [],
  195. "maxPerRow": 1,
  196. "nullPointMode": "null as zero",
  197. "percentage": false,
  198. "pluginVersion": "7.1.0",
  199. "pointradius": 5,
  200. "points": false,
  201. "renderer": "flot",
  202. "seriesOverrides": [
  203. {
  204. "alias": "total",
  205. "lines": false
  206. }
  207. ],
  208. "spaceLength": 10,
  209. "stack": false,
  210. "steppedLine": false,
  211. "targets": [
  212. {
  213. "expr": "sum(rate(SeaweedFS_s3_request_total{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (type)",
  214. "format": "time_series",
  215. "interval": "",
  216. "intervalFactor": 2,
  217. "legendFormat": "{{type}}",
  218. "refId": "A",
  219. "step": 30
  220. }
  221. ],
  222. "thresholds": [],
  223. "timeFrom": null,
  224. "timeRegions": [],
  225. "timeShift": null,
  226. "title": "S3 QPS by method",
  227. "tooltip": {
  228. "msResolution": true,
  229. "shared": true,
  230. "sort": 2,
  231. "value_type": "individual"
  232. },
  233. "type": "graph",
  234. "xaxis": {
  235. "buckets": null,
  236. "mode": "time",
  237. "name": null,
  238. "show": true,
  239. "values": []
  240. },
  241. "yaxes": [
  242. {
  243. "format": "short",
  244. "label": null,
  245. "logBase": 1,
  246. "max": null,
  247. "min": "0",
  248. "show": true
  249. },
  250. {
  251. "format": "short",
  252. "label": null,
  253. "logBase": 1,
  254. "max": null,
  255. "min": null,
  256. "show": true
  257. }
  258. ],
  259. "yaxis": {
  260. "align": false,
  261. "alignLevel": null
  262. }
  263. },
  264. {
  265. "aliasColors": {},
  266. "bars": false,
  267. "dashLength": 10,
  268. "dashes": false,
  269. "datasource": "$DS_PROMETHEUS",
  270. "editable": true,
  271. "error": false,
  272. "fieldConfig": {
  273. "defaults": {
  274. "custom": {}
  275. },
  276. "overrides": []
  277. },
  278. "fill": 1,
  279. "fillGradient": 0,
  280. "grid": {},
  281. "gridPos": {
  282. "h": 7,
  283. "w": 8,
  284. "x": 0,
  285. "y": 8
  286. },
  287. "hiddenSeries": false,
  288. "id": 68,
  289. "legend": {
  290. "avg": false,
  291. "current": false,
  292. "max": false,
  293. "min": false,
  294. "show": true,
  295. "total": false,
  296. "values": false
  297. },
  298. "lines": true,
  299. "linewidth": 1,
  300. "links": [],
  301. "nullPointMode": "null as zero",
  302. "percentage": false,
  303. "pluginVersion": "7.1.0",
  304. "pointradius": 5,
  305. "points": false,
  306. "renderer": "flot",
  307. "seriesOverrides": [],
  308. "spaceLength": 10,
  309. "stack": false,
  310. "steppedLine": false,
  311. "targets": [
  312. {
  313. "expr": "histogram_quantile(0.80, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  314. "format": "time_series",
  315. "hide": false,
  316. "interval": "",
  317. "intervalFactor": 2,
  318. "legendFormat": "average",
  319. "refId": "A",
  320. "step": 60
  321. },
  322. {
  323. "expr": "histogram_quantile(0.80, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\",type=~\"$method\"}[1m])) by (le, type))",
  324. "format": "time_series",
  325. "hide": false,
  326. "interval": "",
  327. "intervalFactor": 2,
  328. "legendFormat": "{{type}}",
  329. "refId": "B",
  330. "step": 60
  331. }
  332. ],
  333. "thresholds": [],
  334. "timeFrom": null,
  335. "timeRegions": [],
  336. "timeShift": null,
  337. "title": "S3 Request Duration 80th percentile",
  338. "tooltip": {
  339. "msResolution": true,
  340. "shared": true,
  341. "sort": 0,
  342. "value_type": "cumulative"
  343. },
  344. "type": "graph",
  345. "xaxis": {
  346. "buckets": null,
  347. "mode": "time",
  348. "name": null,
  349. "show": true,
  350. "values": []
  351. },
  352. "yaxes": [
  353. {
  354. "format": "s",
  355. "label": null,
  356. "logBase": 1,
  357. "max": null,
  358. "min": 0,
  359. "show": true
  360. },
  361. {
  362. "format": "short",
  363. "label": null,
  364. "logBase": 1,
  365. "max": null,
  366. "min": null,
  367. "show": false
  368. }
  369. ],
  370. "yaxis": {
  371. "align": false,
  372. "alignLevel": null
  373. }
  374. },
  375. {
  376. "aliasColors": {},
  377. "bars": false,
  378. "dashLength": 10,
  379. "dashes": false,
  380. "datasource": "$DS_PROMETHEUS",
  381. "editable": true,
  382. "error": false,
  383. "fieldConfig": {
  384. "defaults": {
  385. "custom": {}
  386. },
  387. "overrides": []
  388. },
  389. "fill": 1,
  390. "fillGradient": 0,
  391. "grid": {},
  392. "gridPos": {
  393. "h": 7,
  394. "w": 8,
  395. "x": 8,
  396. "y": 8
  397. },
  398. "hiddenSeries": false,
  399. "id": 67,
  400. "legend": {
  401. "avg": false,
  402. "current": false,
  403. "max": false,
  404. "min": false,
  405. "show": true,
  406. "total": false,
  407. "values": false
  408. },
  409. "lines": true,
  410. "linewidth": 1,
  411. "links": [],
  412. "nullPointMode": "null as zero",
  413. "percentage": false,
  414. "pluginVersion": "7.1.0",
  415. "pointradius": 5,
  416. "points": false,
  417. "renderer": "flot",
  418. "seriesOverrides": [],
  419. "spaceLength": 10,
  420. "stack": false,
  421. "steppedLine": false,
  422. "targets": [
  423. {
  424. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  425. "format": "time_series",
  426. "hide": false,
  427. "interval": "",
  428. "intervalFactor": 2,
  429. "legendFormat": "average",
  430. "refId": "A",
  431. "step": 60
  432. },
  433. {
  434. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\", type=~\"$method\"}[1m])) by (le, type))",
  435. "format": "time_series",
  436. "hide": false,
  437. "interval": "",
  438. "intervalFactor": 2,
  439. "legendFormat": "{{type}}",
  440. "refId": "B",
  441. "step": 60
  442. }
  443. ],
  444. "thresholds": [],
  445. "timeFrom": null,
  446. "timeRegions": [],
  447. "timeShift": null,
  448. "title": "S3 Request Duration 95th percentile",
  449. "tooltip": {
  450. "msResolution": true,
  451. "shared": true,
  452. "sort": 0,
  453. "value_type": "cumulative"
  454. },
  455. "type": "graph",
  456. "xaxis": {
  457. "buckets": null,
  458. "mode": "time",
  459. "name": null,
  460. "show": true,
  461. "values": []
  462. },
  463. "yaxes": [
  464. {
  465. "format": "s",
  466. "label": null,
  467. "logBase": 1,
  468. "max": null,
  469. "min": 0,
  470. "show": true
  471. },
  472. {
  473. "format": "short",
  474. "label": null,
  475. "logBase": 1,
  476. "max": null,
  477. "min": null,
  478. "show": false
  479. }
  480. ],
  481. "yaxis": {
  482. "align": false,
  483. "alignLevel": null
  484. }
  485. },
  486. {
  487. "aliasColors": {},
  488. "bars": false,
  489. "dashLength": 10,
  490. "dashes": false,
  491. "datasource": "$DS_PROMETHEUS",
  492. "editable": true,
  493. "error": false,
  494. "fieldConfig": {
  495. "defaults": {
  496. "custom": {}
  497. },
  498. "overrides": []
  499. },
  500. "fill": 1,
  501. "fillGradient": 0,
  502. "grid": {},
  503. "gridPos": {
  504. "h": 7,
  505. "w": 8,
  506. "x": 16,
  507. "y": 8
  508. },
  509. "hiddenSeries": false,
  510. "id": 65,
  511. "legend": {
  512. "avg": false,
  513. "current": false,
  514. "max": false,
  515. "min": false,
  516. "show": true,
  517. "total": false,
  518. "values": false
  519. },
  520. "lines": true,
  521. "linewidth": 1,
  522. "links": [],
  523. "nullPointMode": "null as zero",
  524. "percentage": false,
  525. "pluginVersion": "7.1.0",
  526. "pointradius": 5,
  527. "points": false,
  528. "renderer": "flot",
  529. "seriesOverrides": [],
  530. "spaceLength": 10,
  531. "stack": false,
  532. "steppedLine": false,
  533. "targets": [
  534. {
  535. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  536. "format": "time_series",
  537. "hide": false,
  538. "interval": "",
  539. "intervalFactor": 2,
  540. "legendFormat": "average",
  541. "refId": "A",
  542. "step": 60
  543. },
  544. {
  545. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\", type=~\"$method\"}[1m])) by (le, type))",
  546. "format": "time_series",
  547. "hide": false,
  548. "interval": "",
  549. "intervalFactor": 2,
  550. "legendFormat": "{{type}}",
  551. "refId": "B",
  552. "step": 60
  553. }
  554. ],
  555. "thresholds": [],
  556. "timeFrom": null,
  557. "timeRegions": [],
  558. "timeShift": null,
  559. "title": "S3 Request Duration 99th percentile",
  560. "tooltip": {
  561. "msResolution": true,
  562. "shared": true,
  563. "sort": 0,
  564. "value_type": "cumulative"
  565. },
  566. "type": "graph",
  567. "xaxis": {
  568. "buckets": null,
  569. "mode": "time",
  570. "name": null,
  571. "show": true,
  572. "values": []
  573. },
  574. "yaxes": [
  575. {
  576. "format": "s",
  577. "label": null,
  578. "logBase": 1,
  579. "max": null,
  580. "min": 0,
  581. "show": true
  582. },
  583. {
  584. "format": "short",
  585. "label": null,
  586. "logBase": 1,
  587. "max": null,
  588. "min": null,
  589. "show": false
  590. }
  591. ],
  592. "yaxis": {
  593. "align": false,
  594. "alignLevel": null
  595. }
  596. },
  597. {
  598. "collapsed": false,
  599. "datasource": null,
  600. "gridPos": {
  601. "h": 1,
  602. "w": 24,
  603. "x": 0,
  604. "y": 15
  605. },
  606. "id": 55,
  607. "panels": [],
  608. "repeat": null,
  609. "title": "Filer",
  610. "type": "row"
  611. },
  612. {
  613. "aliasColors": {},
  614. "bars": false,
  615. "dashLength": 10,
  616. "dashes": false,
  617. "datasource": "$DS_PROMETHEUS",
  618. "editable": true,
  619. "error": false,
  620. "fieldConfig": {
  621. "defaults": {
  622. "custom": {}
  623. },
  624. "overrides": []
  625. },
  626. "fill": 1,
  627. "fillGradient": 0,
  628. "grid": {},
  629. "gridPos": {
  630. "h": 7,
  631. "w": 8,
  632. "x": 0,
  633. "y": 16
  634. },
  635. "hiddenSeries": false,
  636. "id": 46,
  637. "legend": {
  638. "avg": false,
  639. "current": false,
  640. "max": false,
  641. "min": false,
  642. "show": true,
  643. "total": false,
  644. "values": false
  645. },
  646. "lines": true,
  647. "linewidth": 1,
  648. "links": [],
  649. "nullPointMode": "null as zero",
  650. "percentage": false,
  651. "pluginVersion": "7.1.0",
  652. "pointradius": 5,
  653. "points": false,
  654. "renderer": "flot",
  655. "seriesOverrides": [],
  656. "spaceLength": 10,
  657. "stack": false,
  658. "steppedLine": false,
  659. "targets": [
  660. {
  661. "expr": "histogram_quantile(0.80, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  662. "format": "time_series",
  663. "hide": false,
  664. "interval": "",
  665. "intervalFactor": 2,
  666. "legendFormat": "average",
  667. "refId": "A",
  668. "step": 60
  669. },
  670. {
  671. "expr": "histogram_quantile(0.80, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le, type))",
  672. "format": "time_series",
  673. "hide": true,
  674. "interval": "",
  675. "intervalFactor": 2,
  676. "legendFormat": "{{type}}",
  677. "refId": "B",
  678. "step": 60
  679. }
  680. ],
  681. "thresholds": [],
  682. "timeFrom": null,
  683. "timeRegions": [],
  684. "timeShift": null,
  685. "title": "Filer Request Duration 80th percentile",
  686. "tooltip": {
  687. "msResolution": true,
  688. "shared": true,
  689. "sort": 0,
  690. "value_type": "cumulative"
  691. },
  692. "type": "graph",
  693. "xaxis": {
  694. "buckets": null,
  695. "mode": "time",
  696. "name": null,
  697. "show": true,
  698. "values": []
  699. },
  700. "yaxes": [
  701. {
  702. "format": "s",
  703. "label": null,
  704. "logBase": 1,
  705. "max": null,
  706. "min": 0,
  707. "show": true
  708. },
  709. {
  710. "format": "short",
  711. "label": null,
  712. "logBase": 1,
  713. "max": null,
  714. "min": null,
  715. "show": false
  716. }
  717. ],
  718. "yaxis": {
  719. "align": false,
  720. "alignLevel": null
  721. }
  722. },
  723. {
  724. "aliasColors": {},
  725. "bars": false,
  726. "dashLength": 10,
  727. "dashes": false,
  728. "datasource": "$DS_PROMETHEUS",
  729. "editable": true,
  730. "error": false,
  731. "fieldConfig": {
  732. "defaults": {
  733. "custom": {}
  734. },
  735. "overrides": []
  736. },
  737. "fill": 1,
  738. "fillGradient": 0,
  739. "grid": {},
  740. "gridPos": {
  741. "h": 7,
  742. "w": 8,
  743. "x": 8,
  744. "y": 16
  745. },
  746. "hiddenSeries": false,
  747. "id": 49,
  748. "legend": {
  749. "avg": false,
  750. "current": false,
  751. "max": false,
  752. "min": false,
  753. "show": true,
  754. "total": false,
  755. "values": false
  756. },
  757. "lines": true,
  758. "linewidth": 1,
  759. "links": [],
  760. "nullPointMode": "null as zero",
  761. "percentage": false,
  762. "pluginVersion": "7.1.0",
  763. "pointradius": 5,
  764. "points": false,
  765. "renderer": "flot",
  766. "seriesOverrides": [],
  767. "spaceLength": 10,
  768. "stack": false,
  769. "steppedLine": false,
  770. "targets": [
  771. {
  772. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  773. "format": "time_series",
  774. "hide": false,
  775. "intervalFactor": 2,
  776. "legendFormat": "average",
  777. "refId": "A",
  778. "step": 60
  779. },
  780. {
  781. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le, type))",
  782. "format": "time_series",
  783. "hide": false,
  784. "interval": "",
  785. "intervalFactor": 2,
  786. "legendFormat": "{{type}}",
  787. "refId": "B",
  788. "step": 60
  789. },
  790. {
  791. "expr": "",
  792. "format": "time_series",
  793. "intervalFactor": 2,
  794. "refId": "C"
  795. }
  796. ],
  797. "thresholds": [],
  798. "timeFrom": null,
  799. "timeRegions": [],
  800. "timeShift": null,
  801. "title": "Filer Request Duration 95th percentile",
  802. "tooltip": {
  803. "msResolution": true,
  804. "shared": true,
  805. "sort": 0,
  806. "value_type": "cumulative"
  807. },
  808. "type": "graph",
  809. "xaxis": {
  810. "buckets": null,
  811. "mode": "time",
  812. "name": null,
  813. "show": true,
  814. "values": []
  815. },
  816. "yaxes": [
  817. {
  818. "format": "s",
  819. "label": null,
  820. "logBase": 1,
  821. "max": null,
  822. "min": 0,
  823. "show": true
  824. },
  825. {
  826. "format": "short",
  827. "label": null,
  828. "logBase": 1,
  829. "max": null,
  830. "min": null,
  831. "show": false
  832. }
  833. ],
  834. "yaxis": {
  835. "align": false,
  836. "alignLevel": null
  837. }
  838. },
  839. {
  840. "aliasColors": {},
  841. "bars": false,
  842. "dashLength": 10,
  843. "dashes": false,
  844. "datasource": "$DS_PROMETHEUS",
  845. "editable": true,
  846. "error": false,
  847. "fieldConfig": {
  848. "defaults": {
  849. "custom": {}
  850. },
  851. "overrides": []
  852. },
  853. "fill": 1,
  854. "fillGradient": 0,
  855. "grid": {},
  856. "gridPos": {
  857. "h": 7,
  858. "w": 8,
  859. "x": 16,
  860. "y": 16
  861. },
  862. "hiddenSeries": false,
  863. "id": 66,
  864. "legend": {
  865. "avg": false,
  866. "current": false,
  867. "max": false,
  868. "min": false,
  869. "show": true,
  870. "total": false,
  871. "values": false
  872. },
  873. "lines": true,
  874. "linewidth": 1,
  875. "links": [],
  876. "nullPointMode": "null as zero",
  877. "percentage": false,
  878. "pluginVersion": "7.1.0",
  879. "pointradius": 5,
  880. "points": false,
  881. "renderer": "flot",
  882. "seriesOverrides": [],
  883. "spaceLength": 10,
  884. "stack": false,
  885. "steppedLine": false,
  886. "targets": [
  887. {
  888. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  889. "format": "time_series",
  890. "hide": false,
  891. "intervalFactor": 2,
  892. "legendFormat": "average",
  893. "refId": "A",
  894. "step": 60
  895. },
  896. {
  897. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le, type))",
  898. "format": "time_series",
  899. "hide": false,
  900. "interval": "",
  901. "intervalFactor": 2,
  902. "legendFormat": "{{type}}",
  903. "refId": "B",
  904. "step": 60
  905. },
  906. {
  907. "expr": "",
  908. "format": "time_series",
  909. "intervalFactor": 2,
  910. "refId": "C"
  911. }
  912. ],
  913. "thresholds": [],
  914. "timeFrom": null,
  915. "timeRegions": [],
  916. "timeShift": null,
  917. "title": "Filer Request Duration 95th percentile",
  918. "tooltip": {
  919. "msResolution": true,
  920. "shared": true,
  921. "sort": 0,
  922. "value_type": "cumulative"
  923. },
  924. "type": "graph",
  925. "xaxis": {
  926. "buckets": null,
  927. "mode": "time",
  928. "name": null,
  929. "show": true,
  930. "values": []
  931. },
  932. "yaxes": [
  933. {
  934. "format": "s",
  935. "label": null,
  936. "logBase": 1,
  937. "max": null,
  938. "min": 0,
  939. "show": true
  940. },
  941. {
  942. "format": "short",
  943. "label": null,
  944. "logBase": 1,
  945. "max": null,
  946. "min": null,
  947. "show": false
  948. }
  949. ],
  950. "yaxis": {
  951. "align": false,
  952. "alignLevel": null
  953. }
  954. },
  955. {
  956. "aliasColors": {},
  957. "bars": false,
  958. "dashLength": 10,
  959. "dashes": false,
  960. "datasource": "$DS_PROMETHEUS",
  961. "editable": true,
  962. "error": false,
  963. "fieldConfig": {
  964. "defaults": {
  965. "custom": {}
  966. },
  967. "overrides": []
  968. },
  969. "fill": 0,
  970. "fillGradient": 0,
  971. "grid": {},
  972. "gridPos": {
  973. "h": 7,
  974. "w": 24,
  975. "x": 0,
  976. "y": 23
  977. },
  978. "hiddenSeries": false,
  979. "id": 2,
  980. "legend": {
  981. "alignAsTable": true,
  982. "avg": false,
  983. "current": true,
  984. "hideEmpty": true,
  985. "hideZero": true,
  986. "max": true,
  987. "min": false,
  988. "rightSide": true,
  989. "show": true,
  990. "sideWidth": 250,
  991. "sort": "max",
  992. "sortDesc": true,
  993. "total": false,
  994. "values": true
  995. },
  996. "lines": true,
  997. "linewidth": 1,
  998. "links": [],
  999. "maxPerRow": 1,
  1000. "nullPointMode": "null as zero",
  1001. "percentage": false,
  1002. "pluginVersion": "7.1.0",
  1003. "pointradius": 5,
  1004. "points": false,
  1005. "renderer": "flot",
  1006. "seriesOverrides": [
  1007. {
  1008. "alias": "total",
  1009. "lines": false
  1010. }
  1011. ],
  1012. "spaceLength": 10,
  1013. "stack": false,
  1014. "steppedLine": false,
  1015. "targets": [
  1016. {
  1017. "expr": "rate(SeaweedFS_filer_request_total{namespace=\"$namespace\",service=~\"$service-api\"}[1m])",
  1018. "format": "time_series",
  1019. "interval": "",
  1020. "intervalFactor": 2,
  1021. "legendFormat": "{{type}}",
  1022. "refId": "A",
  1023. "step": 30
  1024. }
  1025. ],
  1026. "thresholds": [],
  1027. "timeFrom": null,
  1028. "timeRegions": [],
  1029. "timeShift": null,
  1030. "title": "Filer QPS",
  1031. "tooltip": {
  1032. "msResolution": true,
  1033. "shared": true,
  1034. "sort": 2,
  1035. "value_type": "individual"
  1036. },
  1037. "type": "graph",
  1038. "xaxis": {
  1039. "buckets": null,
  1040. "mode": "time",
  1041. "name": null,
  1042. "show": true,
  1043. "values": []
  1044. },
  1045. "yaxes": [
  1046. {
  1047. "format": "short",
  1048. "label": null,
  1049. "logBase": 1,
  1050. "max": null,
  1051. "min": "0",
  1052. "show": true
  1053. },
  1054. {
  1055. "format": "short",
  1056. "label": null,
  1057. "logBase": 1,
  1058. "max": null,
  1059. "min": null,
  1060. "show": true
  1061. }
  1062. ],
  1063. "yaxis": {
  1064. "align": false,
  1065. "alignLevel": null
  1066. }
  1067. },
  1068. {
  1069. "collapsed": false,
  1070. "datasource": null,
  1071. "gridPos": {
  1072. "h": 1,
  1073. "w": 24,
  1074. "x": 0,
  1075. "y": 30
  1076. },
  1077. "id": 56,
  1078. "panels": [],
  1079. "repeat": null,
  1080. "title": "Volume Server",
  1081. "type": "row"
  1082. },
  1083. {
  1084. "aliasColors": {},
  1085. "bars": false,
  1086. "dashLength": 10,
  1087. "dashes": false,
  1088. "datasource": "$DS_PROMETHEUS",
  1089. "editable": true,
  1090. "error": false,
  1091. "fieldConfig": {
  1092. "defaults": {
  1093. "custom": {}
  1094. },
  1095. "overrides": []
  1096. },
  1097. "fill": 1,
  1098. "fillGradient": 0,
  1099. "grid": {},
  1100. "gridPos": {
  1101. "h": 7,
  1102. "w": 12,
  1103. "x": 0,
  1104. "y": 31
  1105. },
  1106. "hiddenSeries": false,
  1107. "id": 47,
  1108. "legend": {
  1109. "alignAsTable": false,
  1110. "avg": false,
  1111. "current": false,
  1112. "max": false,
  1113. "min": false,
  1114. "show": false,
  1115. "total": false,
  1116. "values": false
  1117. },
  1118. "lines": true,
  1119. "linewidth": 2,
  1120. "links": [],
  1121. "nullPointMode": "null as zero",
  1122. "percentage": false,
  1123. "pluginVersion": "7.1.0",
  1124. "pointradius": 5,
  1125. "points": false,
  1126. "renderer": "flot",
  1127. "seriesOverrides": [],
  1128. "spaceLength": 10,
  1129. "stack": false,
  1130. "steppedLine": false,
  1131. "targets": [
  1132. {
  1133. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_volumeServer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-volume\"}[1m])) by (le, exported_instance))",
  1134. "format": "time_series",
  1135. "hide": false,
  1136. "interval": "",
  1137. "intervalFactor": 2,
  1138. "legendFormat": "{{exported_instance}}",
  1139. "refId": "B"
  1140. },
  1141. {
  1142. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_volumeServer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-volume\"}[1m])) by (le))",
  1143. "format": "time_series",
  1144. "intervalFactor": 2,
  1145. "legendFormat": "average",
  1146. "refId": "C"
  1147. }
  1148. ],
  1149. "thresholds": [],
  1150. "timeFrom": null,
  1151. "timeRegions": [],
  1152. "timeShift": null,
  1153. "title": "Volume Server Request Duration 99th percentile",
  1154. "tooltip": {
  1155. "msResolution": false,
  1156. "shared": true,
  1157. "sort": 0,
  1158. "value_type": "cumulative"
  1159. },
  1160. "type": "graph",
  1161. "xaxis": {
  1162. "buckets": null,
  1163. "mode": "time",
  1164. "name": null,
  1165. "show": true,
  1166. "values": []
  1167. },
  1168. "yaxes": [
  1169. {
  1170. "format": "s",
  1171. "label": null,
  1172. "logBase": 1,
  1173. "max": null,
  1174. "min": 0,
  1175. "show": true
  1176. },
  1177. {
  1178. "format": "short",
  1179. "label": null,
  1180. "logBase": 1,
  1181. "max": null,
  1182. "min": null,
  1183. "show": true
  1184. }
  1185. ],
  1186. "yaxis": {
  1187. "align": false,
  1188. "alignLevel": null
  1189. }
  1190. },
  1191. {
  1192. "aliasColors": {},
  1193. "bars": false,
  1194. "dashLength": 10,
  1195. "dashes": false,
  1196. "datasource": "$DS_PROMETHEUS",
  1197. "editable": true,
  1198. "error": false,
  1199. "fieldConfig": {
  1200. "defaults": {
  1201. "custom": {}
  1202. },
  1203. "overrides": []
  1204. },
  1205. "fill": 1,
  1206. "fillGradient": 0,
  1207. "grid": {},
  1208. "gridPos": {
  1209. "h": 7,
  1210. "w": 12,
  1211. "x": 12,
  1212. "y": 31
  1213. },
  1214. "hiddenSeries": false,
  1215. "id": 40,
  1216. "legend": {
  1217. "alignAsTable": true,
  1218. "avg": false,
  1219. "current": false,
  1220. "hideEmpty": true,
  1221. "hideZero": true,
  1222. "max": false,
  1223. "min": false,
  1224. "rightSide": true,
  1225. "show": true,
  1226. "sort": "total",
  1227. "sortDesc": true,
  1228. "total": true,
  1229. "values": true
  1230. },
  1231. "lines": true,
  1232. "linewidth": 2,
  1233. "links": [],
  1234. "nullPointMode": "null as zero",
  1235. "percentage": false,
  1236. "pluginVersion": "7.1.0",
  1237. "pointradius": 5,
  1238. "points": false,
  1239. "renderer": "flot",
  1240. "seriesOverrides": [],
  1241. "spaceLength": 10,
  1242. "stack": false,
  1243. "steppedLine": false,
  1244. "targets": [
  1245. {
  1246. "expr": "sum(rate(SeaweedFS_volumeServer_request_total{namespace=\"$namespace\",service=~\"$service-volume\"}[1m])) by (type)",
  1247. "format": "time_series",
  1248. "interval": "",
  1249. "intervalFactor": 2,
  1250. "legendFormat": "{{type}}",
  1251. "refId": "A",
  1252. "step": 4
  1253. }
  1254. ],
  1255. "thresholds": [],
  1256. "timeFrom": null,
  1257. "timeRegions": [],
  1258. "timeShift": null,
  1259. "title": "Volume Server QPS",
  1260. "tooltip": {
  1261. "msResolution": false,
  1262. "shared": true,
  1263. "sort": 0,
  1264. "value_type": "cumulative"
  1265. },
  1266. "type": "graph",
  1267. "xaxis": {
  1268. "buckets": null,
  1269. "mode": "time",
  1270. "name": null,
  1271. "show": true,
  1272. "values": []
  1273. },
  1274. "yaxes": [
  1275. {
  1276. "format": "short",
  1277. "label": null,
  1278. "logBase": 1,
  1279. "max": null,
  1280. "min": null,
  1281. "show": true
  1282. },
  1283. {
  1284. "format": "short",
  1285. "label": null,
  1286. "logBase": 1,
  1287. "max": null,
  1288. "min": null,
  1289. "show": true
  1290. }
  1291. ],
  1292. "yaxis": {
  1293. "align": false,
  1294. "alignLevel": null
  1295. }
  1296. },
  1297. {
  1298. "aliasColors": {},
  1299. "bars": false,
  1300. "dashLength": 10,
  1301. "dashes": false,
  1302. "datasource": "$DS_PROMETHEUS",
  1303. "fieldConfig": {
  1304. "defaults": {
  1305. "custom": {}
  1306. },
  1307. "overrides": []
  1308. },
  1309. "fill": 1,
  1310. "fillGradient": 0,
  1311. "gridPos": {
  1312. "h": 7,
  1313. "w": 24,
  1314. "x": 0,
  1315. "y": 38
  1316. },
  1317. "hiddenSeries": false,
  1318. "id": 48,
  1319. "legend": {
  1320. "avg": false,
  1321. "current": true,
  1322. "max": false,
  1323. "min": false,
  1324. "show": true,
  1325. "total": false,
  1326. "values": true
  1327. },
  1328. "lines": true,
  1329. "linewidth": 1,
  1330. "links": [],
  1331. "nullPointMode": "null as zero",
  1332. "percentage": true,
  1333. "pluginVersion": "7.1.0",
  1334. "pointradius": 5,
  1335. "points": false,
  1336. "renderer": "flot",
  1337. "seriesOverrides": [],
  1338. "spaceLength": 10,
  1339. "stack": true,
  1340. "steppedLine": false,
  1341. "targets": [
  1342. {
  1343. "expr": "sum(SeaweedFS_volumeServer_volumes{namespace=\"$namespace\",service=~\"$service-volume\"}) by (collection, type)",
  1344. "format": "time_series",
  1345. "hide": false,
  1346. "interval": "",
  1347. "intervalFactor": 2,
  1348. "legendFormat": "{{collection}} {{type}}",
  1349. "refId": "A"
  1350. },
  1351. {
  1352. "expr": "sum(max(SeaweedFS_volumeServer_max_volumes{namespace=\"$namespace\",service=~\"$service-volume\"}) by (pod))",
  1353. "format": "time_series",
  1354. "hide": false,
  1355. "instant": false,
  1356. "interval": "",
  1357. "intervalFactor": 2,
  1358. "legendFormat": "Total",
  1359. "refId": "B"
  1360. },
  1361. {
  1362. "expr": "sum(max(SeaweedFS_volumeServer_read_only_volumes{namespace=\"$namespace\",service=~\"$service-volume\"}) by (pod))",
  1363. "interval": "",
  1364. "legendFormat": "Read only",
  1365. "refId": "C"
  1366. }
  1367. ],
  1368. "thresholds": [],
  1369. "timeFrom": null,
  1370. "timeRegions": [],
  1371. "timeShift": null,
  1372. "title": "Volume Count",
  1373. "tooltip": {
  1374. "shared": true,
  1375. "sort": 0,
  1376. "value_type": "individual"
  1377. },
  1378. "transformations": [],
  1379. "type": "graph",
  1380. "xaxis": {
  1381. "buckets": null,
  1382. "mode": "time",
  1383. "name": null,
  1384. "show": true,
  1385. "values": []
  1386. },
  1387. "yaxes": [
  1388. {
  1389. "format": "short",
  1390. "label": null,
  1391. "logBase": 1,
  1392. "max": null,
  1393. "min": null,
  1394. "show": true
  1395. },
  1396. {
  1397. "format": "short",
  1398. "label": null,
  1399. "logBase": 1,
  1400. "max": null,
  1401. "min": null,
  1402. "show": true
  1403. }
  1404. ],
  1405. "yaxis": {
  1406. "align": false,
  1407. "alignLevel": null
  1408. }
  1409. },
  1410. {
  1411. "aliasColors": {},
  1412. "bars": false,
  1413. "dashLength": 10,
  1414. "dashes": false,
  1415. "datasource": "$DS_PROMETHEUS",
  1416. "fieldConfig": {
  1417. "defaults": {
  1418. "custom": {}
  1419. },
  1420. "overrides": []
  1421. },
  1422. "fill": 1,
  1423. "fillGradient": 0,
  1424. "gridPos": {
  1425. "h": 7,
  1426. "w": 24,
  1427. "x": 0,
  1428. "y": 45
  1429. },
  1430. "hiddenSeries": false,
  1431. "id": 50,
  1432. "legend": {
  1433. "avg": false,
  1434. "current": false,
  1435. "max": false,
  1436. "min": false,
  1437. "show": true,
  1438. "total": false,
  1439. "values": false
  1440. },
  1441. "lines": true,
  1442. "linewidth": 1,
  1443. "links": [],
  1444. "nullPointMode": "null",
  1445. "percentage": false,
  1446. "pluginVersion": "7.1.0",
  1447. "pointradius": 5,
  1448. "points": false,
  1449. "renderer": "flot",
  1450. "seriesOverrides": [],
  1451. "spaceLength": 10,
  1452. "stack": false,
  1453. "steppedLine": false,
  1454. "targets": [
  1455. {
  1456. "expr": "sum(SeaweedFS_volumeServer_total_disk_size{namespace=\"$namespace\",service=~\"$service-volume\"}) by (collection, type)",
  1457. "format": "time_series",
  1458. "hide": false,
  1459. "interval": "",
  1460. "intervalFactor": 2,
  1461. "legendFormat": "{{collection}} {{type}}",
  1462. "refId": "A"
  1463. },
  1464. {
  1465. "expr": "sum(SeaweedFS_volumeServer_total_disk_size{namespace=\"$namespace\",service=~\"$service-volume\"})",
  1466. "format": "time_series",
  1467. "hide": true,
  1468. "interval": "",
  1469. "intervalFactor": 2,
  1470. "legendFormat": "Total",
  1471. "refId": "B"
  1472. }
  1473. ],
  1474. "thresholds": [],
  1475. "timeFrom": null,
  1476. "timeRegions": [],
  1477. "timeShift": null,
  1478. "title": "Used Disk Space by Collection and Type",
  1479. "tooltip": {
  1480. "shared": true,
  1481. "sort": 0,
  1482. "value_type": "individual"
  1483. },
  1484. "type": "graph",
  1485. "xaxis": {
  1486. "buckets": null,
  1487. "mode": "time",
  1488. "name": null,
  1489. "show": true,
  1490. "values": []
  1491. },
  1492. "yaxes": [
  1493. {
  1494. "format": "bytes",
  1495. "label": null,
  1496. "logBase": 1,
  1497. "max": null,
  1498. "min": null,
  1499. "show": true
  1500. },
  1501. {
  1502. "format": "short",
  1503. "label": null,
  1504. "logBase": 1,
  1505. "max": null,
  1506. "min": null,
  1507. "show": true
  1508. }
  1509. ],
  1510. "yaxis": {
  1511. "align": false,
  1512. "alignLevel": null
  1513. }
  1514. },
  1515. {
  1516. "aliasColors": {},
  1517. "bars": false,
  1518. "dashLength": 10,
  1519. "dashes": false,
  1520. "datasource": "$DS_PROMETHEUS",
  1521. "fieldConfig": {
  1522. "defaults": {
  1523. "custom": {}
  1524. },
  1525. "overrides": []
  1526. },
  1527. "fill": 1,
  1528. "fillGradient": 0,
  1529. "gridPos": {
  1530. "h": 7,
  1531. "w": 24,
  1532. "x": 0,
  1533. "y": 52
  1534. },
  1535. "hiddenSeries": false,
  1536. "id": 51,
  1537. "legend": {
  1538. "avg": false,
  1539. "current": false,
  1540. "max": false,
  1541. "min": false,
  1542. "show": true,
  1543. "total": false,
  1544. "values": false
  1545. },
  1546. "lines": true,
  1547. "linewidth": 1,
  1548. "links": [],
  1549. "nullPointMode": "null",
  1550. "percentage": false,
  1551. "pluginVersion": "7.1.0",
  1552. "pointradius": 5,
  1553. "points": false,
  1554. "renderer": "flot",
  1555. "seriesOverrides": [],
  1556. "spaceLength": 10,
  1557. "stack": false,
  1558. "steppedLine": false,
  1559. "targets": [
  1560. {
  1561. "expr": "sum(max(SeaweedFS_volumeServer_total_disk_size{namespace=\"$namespace\",service=~\"$service-volume\"}) by (collection,pod)) by (pod)",
  1562. "format": "time_series",
  1563. "hide": false,
  1564. "interval": "",
  1565. "intervalFactor": 2,
  1566. "legendFormat": "{{pod}}",
  1567. "refId": "A"
  1568. }
  1569. ],
  1570. "thresholds": [],
  1571. "timeFrom": null,
  1572. "timeRegions": [],
  1573. "timeShift": null,
  1574. "title": "Used Disk Space by Host",
  1575. "tooltip": {
  1576. "shared": true,
  1577. "sort": 0,
  1578. "value_type": "individual"
  1579. },
  1580. "type": "graph",
  1581. "xaxis": {
  1582. "buckets": null,
  1583. "mode": "time",
  1584. "name": null,
  1585. "show": true,
  1586. "values": []
  1587. },
  1588. "yaxes": [
  1589. {
  1590. "format": "bytes",
  1591. "label": null,
  1592. "logBase": 1,
  1593. "max": null,
  1594. "min": null,
  1595. "show": true
  1596. },
  1597. {
  1598. "format": "short",
  1599. "label": null,
  1600. "logBase": 1,
  1601. "max": null,
  1602. "min": null,
  1603. "show": true
  1604. }
  1605. ],
  1606. "yaxis": {
  1607. "align": false,
  1608. "alignLevel": null
  1609. }
  1610. },
  1611. {
  1612. "collapsed": false,
  1613. "datasource": null,
  1614. "gridPos": {
  1615. "h": 1,
  1616. "w": 24,
  1617. "x": 0,
  1618. "y": 59
  1619. },
  1620. "id": 57,
  1621. "panels": [],
  1622. "repeat": null,
  1623. "title": "Filer Store",
  1624. "type": "row"
  1625. },
  1626. {
  1627. "aliasColors": {},
  1628. "bars": false,
  1629. "dashLength": 10,
  1630. "dashes": false,
  1631. "datasource": "$DS_PROMETHEUS",
  1632. "editable": true,
  1633. "error": false,
  1634. "fieldConfig": {
  1635. "defaults": {
  1636. "custom": {}
  1637. },
  1638. "overrides": []
  1639. },
  1640. "fill": 1,
  1641. "fillGradient": 0,
  1642. "grid": {},
  1643. "gridPos": {
  1644. "h": 7,
  1645. "w": 12,
  1646. "x": 0,
  1647. "y": 60
  1648. },
  1649. "hiddenSeries": false,
  1650. "id": 12,
  1651. "legend": {
  1652. "alignAsTable": false,
  1653. "avg": false,
  1654. "current": false,
  1655. "max": false,
  1656. "min": false,
  1657. "show": false,
  1658. "total": false,
  1659. "values": false
  1660. },
  1661. "lines": true,
  1662. "linewidth": 2,
  1663. "links": [],
  1664. "nullPointMode": "null as zero",
  1665. "percentage": false,
  1666. "pluginVersion": "7.1.0",
  1667. "pointradius": 5,
  1668. "points": false,
  1669. "renderer": "flot",
  1670. "seriesOverrides": [],
  1671. "spaceLength": 10,
  1672. "stack": false,
  1673. "steppedLine": false,
  1674. "targets": [
  1675. {
  1676. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_filerStore_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le, type))",
  1677. "format": "time_series",
  1678. "interval": "",
  1679. "intervalFactor": 2,
  1680. "legendFormat": "{{type}}",
  1681. "refId": "B"
  1682. }
  1683. ],
  1684. "thresholds": [],
  1685. "timeFrom": null,
  1686. "timeRegions": [],
  1687. "timeShift": null,
  1688. "title": "Filer Store Request Duration 99th percentile",
  1689. "tooltip": {
  1690. "msResolution": false,
  1691. "shared": true,
  1692. "sort": 0,
  1693. "value_type": "cumulative"
  1694. },
  1695. "type": "graph",
  1696. "xaxis": {
  1697. "buckets": null,
  1698. "mode": "time",
  1699. "name": null,
  1700. "show": true,
  1701. "values": []
  1702. },
  1703. "yaxes": [
  1704. {
  1705. "format": "s",
  1706. "label": null,
  1707. "logBase": 1,
  1708. "max": null,
  1709. "min": 0,
  1710. "show": true
  1711. },
  1712. {
  1713. "format": "short",
  1714. "label": null,
  1715. "logBase": 1,
  1716. "max": null,
  1717. "min": null,
  1718. "show": true
  1719. }
  1720. ],
  1721. "yaxis": {
  1722. "align": false,
  1723. "alignLevel": null
  1724. }
  1725. },
  1726. {
  1727. "aliasColors": {},
  1728. "bars": false,
  1729. "dashLength": 10,
  1730. "dashes": false,
  1731. "datasource": "$DS_PROMETHEUS",
  1732. "editable": true,
  1733. "error": false,
  1734. "fieldConfig": {
  1735. "defaults": {
  1736. "custom": {}
  1737. },
  1738. "overrides": []
  1739. },
  1740. "fill": 1,
  1741. "fillGradient": 0,
  1742. "grid": {},
  1743. "gridPos": {
  1744. "h": 7,
  1745. "w": 12,
  1746. "x": 12,
  1747. "y": 60
  1748. },
  1749. "hiddenSeries": false,
  1750. "id": 14,
  1751. "legend": {
  1752. "alignAsTable": true,
  1753. "avg": true,
  1754. "current": true,
  1755. "hideEmpty": false,
  1756. "hideZero": false,
  1757. "max": false,
  1758. "min": false,
  1759. "rightSide": true,
  1760. "show": true,
  1761. "total": false,
  1762. "values": true
  1763. },
  1764. "lines": true,
  1765. "linewidth": 2,
  1766. "links": [],
  1767. "nullPointMode": "null as zero",
  1768. "percentage": false,
  1769. "pluginVersion": "7.1.0",
  1770. "pointradius": 5,
  1771. "points": false,
  1772. "renderer": "flot",
  1773. "seriesOverrides": [],
  1774. "spaceLength": 10,
  1775. "stack": false,
  1776. "steppedLine": false,
  1777. "targets": [
  1778. {
  1779. "expr": "sum(rate(SeaweedFS_filerStore_request_total{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (type)",
  1780. "format": "time_series",
  1781. "interval": "",
  1782. "intervalFactor": 2,
  1783. "legendFormat": "{{type}}",
  1784. "refId": "B"
  1785. }
  1786. ],
  1787. "thresholds": [],
  1788. "timeFrom": null,
  1789. "timeRegions": [],
  1790. "timeShift": null,
  1791. "title": "Filer Store QPS",
  1792. "tooltip": {
  1793. "msResolution": false,
  1794. "shared": true,
  1795. "sort": 0,
  1796. "value_type": "cumulative"
  1797. },
  1798. "type": "graph",
  1799. "xaxis": {
  1800. "buckets": null,
  1801. "mode": "time",
  1802. "name": null,
  1803. "show": true,
  1804. "values": []
  1805. },
  1806. "yaxes": [
  1807. {
  1808. "format": "short",
  1809. "label": null,
  1810. "logBase": 1,
  1811. "max": null,
  1812. "min": 0,
  1813. "show": true
  1814. },
  1815. {
  1816. "format": "short",
  1817. "label": null,
  1818. "logBase": 1,
  1819. "max": null,
  1820. "min": null,
  1821. "show": true
  1822. }
  1823. ],
  1824. "yaxis": {
  1825. "align": false,
  1826. "alignLevel": null
  1827. }
  1828. },
  1829. {
  1830. "collapsed": false,
  1831. "datasource": null,
  1832. "gridPos": {
  1833. "h": 1,
  1834. "w": 24,
  1835. "x": 0,
  1836. "y": 67
  1837. },
  1838. "id": 58,
  1839. "panels": [],
  1840. "repeat": null,
  1841. "title": "Filer Instances",
  1842. "type": "row"
  1843. },
  1844. {
  1845. "aliasColors": {},
  1846. "bars": false,
  1847. "dashLength": 10,
  1848. "dashes": false,
  1849. "datasource": "$DS_PROMETHEUS",
  1850. "editable": true,
  1851. "error": false,
  1852. "fieldConfig": {
  1853. "defaults": {
  1854. "custom": {}
  1855. },
  1856. "overrides": []
  1857. },
  1858. "fill": 1,
  1859. "fillGradient": 0,
  1860. "grid": {},
  1861. "gridPos": {
  1862. "h": 7,
  1863. "w": 12,
  1864. "x": 0,
  1865. "y": 68
  1866. },
  1867. "hiddenSeries": false,
  1868. "id": 52,
  1869. "legend": {
  1870. "alignAsTable": false,
  1871. "avg": false,
  1872. "current": false,
  1873. "max": false,
  1874. "min": false,
  1875. "show": false,
  1876. "total": false,
  1877. "values": false
  1878. },
  1879. "lines": true,
  1880. "linewidth": 2,
  1881. "links": [],
  1882. "nullPointMode": "null as zero",
  1883. "percentage": false,
  1884. "pluginVersion": "7.1.0",
  1885. "pointradius": 5,
  1886. "points": false,
  1887. "renderer": "flot",
  1888. "seriesOverrides": [],
  1889. "spaceLength": 10,
  1890. "stack": false,
  1891. "steppedLine": false,
  1892. "targets": [
  1893. {
  1894. "expr": "go_memstats_alloc_bytes{namespace=~\"$namespace\", endpoint=\"metrics\"}",
  1895. "format": "time_series",
  1896. "hide": false,
  1897. "interval": "",
  1898. "intervalFactor": 2,
  1899. "legendFormat": "bytes allocated",
  1900. "refId": "B"
  1901. },
  1902. {
  1903. "expr": "rate(go_memstats_alloc_bytes_total{namespace=~\"$namespace\", endpoint=\"swfs-.*-metrics\"}[30s])",
  1904. "format": "time_series",
  1905. "hide": false,
  1906. "interval": "",
  1907. "intervalFactor": 2,
  1908. "legendFormat": "alloc rate",
  1909. "refId": "A"
  1910. },
  1911. {
  1912. "expr": "go_memstats_stack_inuse_bytes{namespace=~\"$namespace\", endpoint=\"metrics\"}",
  1913. "format": "time_series",
  1914. "hide": true,
  1915. "interval": "",
  1916. "intervalFactor": 2,
  1917. "legendFormat": "stack inuse",
  1918. "refId": "C"
  1919. },
  1920. {
  1921. "expr": "go_memstats_heap_inuse_bytes{namespace=~\"$namespace\", endpoint=\"metrics\"}",
  1922. "format": "time_series",
  1923. "hide": true,
  1924. "interval": "",
  1925. "intervalFactor": 2,
  1926. "legendFormat": "heap inuse",
  1927. "refId": "D"
  1928. }
  1929. ],
  1930. "thresholds": [],
  1931. "timeFrom": null,
  1932. "timeRegions": [],
  1933. "timeShift": null,
  1934. "title": "Filer Go Memory Stats",
  1935. "tooltip": {
  1936. "msResolution": false,
  1937. "shared": true,
  1938. "sort": 0,
  1939. "value_type": "cumulative"
  1940. },
  1941. "type": "graph",
  1942. "xaxis": {
  1943. "buckets": null,
  1944. "mode": "time",
  1945. "name": null,
  1946. "show": true,
  1947. "values": []
  1948. },
  1949. "yaxes": [
  1950. {
  1951. "format": "bytes",
  1952. "label": null,
  1953. "logBase": 1,
  1954. "max": null,
  1955. "min": 0,
  1956. "show": true
  1957. },
  1958. {
  1959. "format": "Bps",
  1960. "label": null,
  1961. "logBase": 1,
  1962. "max": null,
  1963. "min": null,
  1964. "show": true
  1965. }
  1966. ],
  1967. "yaxis": {
  1968. "align": false,
  1969. "alignLevel": null
  1970. }
  1971. },
  1972. {
  1973. "aliasColors": {},
  1974. "bars": false,
  1975. "dashLength": 10,
  1976. "dashes": false,
  1977. "datasource": "$DS_PROMETHEUS",
  1978. "editable": true,
  1979. "error": false,
  1980. "fieldConfig": {
  1981. "defaults": {
  1982. "custom": {}
  1983. },
  1984. "overrides": []
  1985. },
  1986. "fill": 1,
  1987. "fillGradient": 0,
  1988. "grid": {},
  1989. "gridPos": {
  1990. "h": 7,
  1991. "w": 12,
  1992. "x": 12,
  1993. "y": 68
  1994. },
  1995. "hiddenSeries": false,
  1996. "id": 54,
  1997. "legend": {
  1998. "alignAsTable": false,
  1999. "avg": false,
  2000. "current": false,
  2001. "max": false,
  2002. "min": false,
  2003. "show": false,
  2004. "total": false,
  2005. "values": false
  2006. },
  2007. "lines": true,
  2008. "linewidth": 2,
  2009. "links": [],
  2010. "nullPointMode": "null as zero",
  2011. "percentage": false,
  2012. "pluginVersion": "7.1.0",
  2013. "pointradius": 5,
  2014. "points": false,
  2015. "renderer": "flot",
  2016. "seriesOverrides": [],
  2017. "spaceLength": 10,
  2018. "stack": false,
  2019. "steppedLine": false,
  2020. "targets": [
  2021. {
  2022. "expr": "go_gc_duration_seconds{namespace=~\"$namespace\", endpoint=\"metrics\"}",
  2023. "format": "time_series",
  2024. "interval": "",
  2025. "intervalFactor": 2,
  2026. "legendFormat": "{{quantile}}",
  2027. "refId": "B"
  2028. }
  2029. ],
  2030. "thresholds": [],
  2031. "timeFrom": null,
  2032. "timeRegions": [],
  2033. "timeShift": null,
  2034. "title": "Filer Go GC duration quantiles",
  2035. "tooltip": {
  2036. "msResolution": false,
  2037. "shared": true,
  2038. "sort": 0,
  2039. "value_type": "cumulative"
  2040. },
  2041. "type": "graph",
  2042. "xaxis": {
  2043. "buckets": null,
  2044. "mode": "time",
  2045. "name": null,
  2046. "show": true,
  2047. "values": []
  2048. },
  2049. "yaxes": [
  2050. {
  2051. "format": "s",
  2052. "label": null,
  2053. "logBase": 1,
  2054. "max": null,
  2055. "min": 0,
  2056. "show": true
  2057. },
  2058. {
  2059. "format": "Bps",
  2060. "label": null,
  2061. "logBase": 1,
  2062. "max": null,
  2063. "min": null,
  2064. "show": true
  2065. }
  2066. ],
  2067. "yaxis": {
  2068. "align": false,
  2069. "alignLevel": null
  2070. }
  2071. },
  2072. {
  2073. "aliasColors": {},
  2074. "bars": false,
  2075. "dashLength": 10,
  2076. "dashes": false,
  2077. "datasource": "$DS_PROMETHEUS",
  2078. "editable": true,
  2079. "error": false,
  2080. "fieldConfig": {
  2081. "defaults": {
  2082. "custom": {}
  2083. },
  2084. "overrides": []
  2085. },
  2086. "fill": 1,
  2087. "fillGradient": 0,
  2088. "grid": {},
  2089. "gridPos": {
  2090. "h": 7,
  2091. "w": 24,
  2092. "x": 0,
  2093. "y": 75
  2094. },
  2095. "hiddenSeries": false,
  2096. "id": 53,
  2097. "legend": {
  2098. "alignAsTable": false,
  2099. "avg": false,
  2100. "current": false,
  2101. "max": false,
  2102. "min": false,
  2103. "show": false,
  2104. "total": false,
  2105. "values": false
  2106. },
  2107. "lines": true,
  2108. "linewidth": 2,
  2109. "links": [],
  2110. "nullPointMode": "null as zero",
  2111. "percentage": false,
  2112. "pluginVersion": "7.1.0",
  2113. "pointradius": 5,
  2114. "points": false,
  2115. "renderer": "flot",
  2116. "seriesOverrides": [],
  2117. "spaceLength": 10,
  2118. "stack": false,
  2119. "steppedLine": false,
  2120. "targets": [
  2121. {
  2122. "expr": "go_goroutines{namespace=~\"$namespace\", endpoint=\"metrics\"}",
  2123. "format": "time_series",
  2124. "interval": "",
  2125. "intervalFactor": 2,
  2126. "legendFormat": "{{pod}}",
  2127. "refId": "B"
  2128. }
  2129. ],
  2130. "thresholds": [],
  2131. "timeFrom": null,
  2132. "timeRegions": [],
  2133. "timeShift": null,
  2134. "title": "Filer Go Routines",
  2135. "tooltip": {
  2136. "msResolution": false,
  2137. "shared": true,
  2138. "sort": 0,
  2139. "value_type": "cumulative"
  2140. },
  2141. "type": "graph",
  2142. "xaxis": {
  2143. "buckets": null,
  2144. "mode": "time",
  2145. "name": null,
  2146. "show": true,
  2147. "values": []
  2148. },
  2149. "yaxes": [
  2150. {
  2151. "format": "none",
  2152. "label": null,
  2153. "logBase": 1,
  2154. "max": null,
  2155. "min": 0,
  2156. "show": true
  2157. },
  2158. {
  2159. "format": "short",
  2160. "label": null,
  2161. "logBase": 1,
  2162. "max": null,
  2163. "min": null,
  2164. "show": true
  2165. }
  2166. ],
  2167. "yaxis": {
  2168. "align": false,
  2169. "alignLevel": null
  2170. }
  2171. }
  2172. ],
  2173. "refresh": "30s",
  2174. "schemaVersion": 26,
  2175. "style": "dark",
  2176. "tags": [],
  2177. "templating": {
  2178. "list": [
  2179. {
  2180. "current": {
  2181. "selected": true,
  2182. "text": "clickhouse-prom",
  2183. "value": "clickhouse-prom"
  2184. },
  2185. "hide": 0,
  2186. "includeAll": false,
  2187. "label": "Datasource",
  2188. "multi": false,
  2189. "name": "DS_PROMETHEUS",
  2190. "options": [],
  2191. "query": "prometheus",
  2192. "queryValue": "",
  2193. "refresh": 1,
  2194. "regex": "",
  2195. "skipUrlSync": false,
  2196. "type": "datasource"
  2197. },
  2198. {
  2199. "allValue": null,
  2200. "current": {
  2201. "selected": false,
  2202. "text": "s3",
  2203. "value": "s3"
  2204. },
  2205. "datasource": "$DS_PROMETHEUS",
  2206. "definition": "label_values({endpoint=\"metrics\"}, namespace)",
  2207. "hide": 0,
  2208. "includeAll": false,
  2209. "label": "namespace",
  2210. "multi": false,
  2211. "name": "namespace",
  2212. "options": [
  2213. {
  2214. "selected": true,
  2215. "text": "s3",
  2216. "value": "s3"
  2217. }
  2218. ],
  2219. "query": "label_values({endpoint=\"metrics\"}, namespace)",
  2220. "refresh": 0,
  2221. "regex": "",
  2222. "skipUrlSync": false,
  2223. "sort": 1,
  2224. "tagValuesQuery": "",
  2225. "tags": [],
  2226. "tagsQuery": "",
  2227. "type": "query",
  2228. "useTags": false
  2229. },
  2230. {
  2231. "allValue": "",
  2232. "current": {
  2233. "selected": true,
  2234. "text": "fast",
  2235. "value": "fast"
  2236. },
  2237. "datasource": "$DS_PROMETHEUS",
  2238. "definition": "label_values({namespace=\"$namespace\"}, service)",
  2239. "hide": 0,
  2240. "includeAll": true,
  2241. "label": "service",
  2242. "multi": false,
  2243. "name": "service",
  2244. "options": [
  2245. {
  2246. "selected": false,
  2247. "text": "All",
  2248. "value": "$__all"
  2249. },
  2250. {
  2251. "selected": true,
  2252. "text": "fast",
  2253. "value": "fast"
  2254. },
  2255. {
  2256. "selected": false,
  2257. "text": "slow",
  2258. "value": "slow"
  2259. }
  2260. ],
  2261. "query": "label_values({namespace=\"$namespace\"}, service)",
  2262. "refresh": 0,
  2263. "regex": "/(\\w+)-master/",
  2264. "skipUrlSync": false,
  2265. "sort": 1,
  2266. "tagValuesQuery": "",
  2267. "tags": [],
  2268. "tagsQuery": "",
  2269. "type": "query",
  2270. "useTags": false
  2271. },
  2272. {
  2273. "allValue": "",
  2274. "current": {
  2275. "selected": false,
  2276. "text": "All",
  2277. "value": "$__all"
  2278. },
  2279. "datasource": "$DS_PROMETHEUS",
  2280. "definition": "label_values(SeaweedFS_s3_request_total{namespace=\"$namespace\"}, type)",
  2281. "hide": 0,
  2282. "includeAll": true,
  2283. "label": "method",
  2284. "multi": false,
  2285. "name": "method",
  2286. "options": [
  2287. {
  2288. "selected": true,
  2289. "text": "All",
  2290. "value": "$__all"
  2291. },
  2292. {
  2293. "selected": false,
  2294. "text": "DELETE",
  2295. "value": "DELETE"
  2296. },
  2297. {
  2298. "selected": false,
  2299. "text": "GET",
  2300. "value": "GET"
  2301. },
  2302. {
  2303. "selected": false,
  2304. "text": "LIST",
  2305. "value": "LIST"
  2306. },
  2307. {
  2308. "selected": false,
  2309. "text": "POST",
  2310. "value": "POST"
  2311. },
  2312. {
  2313. "selected": false,
  2314. "text": "PUT",
  2315. "value": "PUT"
  2316. }
  2317. ],
  2318. "query": "label_values(SeaweedFS_s3_request_total{namespace=\"$namespace\"}, type)",
  2319. "refresh": 0,
  2320. "regex": "",
  2321. "skipUrlSync": false,
  2322. "sort": 1,
  2323. "tagValuesQuery": "",
  2324. "tags": [],
  2325. "tagsQuery": "",
  2326. "type": "query",
  2327. "useTags": false
  2328. }
  2329. ]
  2330. },
  2331. "time": {
  2332. "from": "now-12h",
  2333. "to": "now"
  2334. },
  2335. "timepicker": {
  2336. "refresh_intervals": [
  2337. "10s",
  2338. "30s",
  2339. "1m",
  2340. "5m",
  2341. "15m",
  2342. "30m",
  2343. "1h",
  2344. "2h",
  2345. "1d"
  2346. ],
  2347. "time_options": [
  2348. "5m",
  2349. "15m",
  2350. "1h",
  2351. "6h",
  2352. "12h",
  2353. "24h",
  2354. "2d",
  2355. "7d",
  2356. "30d"
  2357. ]
  2358. },
  2359. "timezone": "browser",
  2360. "title": "SeaweedFS",
  2361. "version": 2
  2362. }