seaweedfs-grafana-dashboard.json 83 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": {
  7. "type": "prometheus",
  8. "uid": "${DS_PROMETHEUS}"
  9. },
  10. "enable": true,
  11. "hide": true,
  12. "iconColor": "rgba(0, 211, 255, 1)",
  13. "limit": 100,
  14. "name": "Annotations & Alerts",
  15. "showIn": 0,
  16. "type": "dashboard"
  17. }
  18. ]
  19. },
  20. "editable": true,
  21. "fiscalYearStartMonth": 0,
  22. "gnetId": 10423,
  23. "graphTooltip": 0,
  24. "id": 160,
  25. "links": [],
  26. "liveNow": false,
  27. "panels": [
  28. {
  29. "collapsed": false,
  30. "datasource": {
  31. "type": "prometheus",
  32. "uid": "${DS_PROMETHEUS}"
  33. },
  34. "gridPos": {
  35. "h": 1,
  36. "w": 24,
  37. "x": 0,
  38. "y": 0
  39. },
  40. "id": 67,
  41. "panels": [],
  42. "title": "Master",
  43. "type": "row"
  44. },
  45. {
  46. "datasource": {
  47. "type": "prometheus",
  48. "uid": "${DS_PROMETHEUS}"
  49. },
  50. "description": "Whether master is leader or not",
  51. "fieldConfig": {
  52. "defaults": {
  53. "color": {
  54. "mode": "thresholds"
  55. },
  56. "mappings": [],
  57. "thresholds": {
  58. "mode": "absolute",
  59. "steps": [
  60. {
  61. "color": "green",
  62. "value": null
  63. }
  64. ]
  65. },
  66. "unit": "bool_yes_no",
  67. "unitScale": true
  68. },
  69. "overrides": []
  70. },
  71. "gridPos": {
  72. "h": 6,
  73. "w": 8,
  74. "x": 0,
  75. "y": 1
  76. },
  77. "id": 57,
  78. "links": [],
  79. "options": {
  80. "colorMode": "value",
  81. "graphMode": "area",
  82. "justifyMode": "auto",
  83. "orientation": "horizontal",
  84. "reduceOptions": {
  85. "calcs": [
  86. "last"
  87. ],
  88. "fields": "",
  89. "values": false
  90. },
  91. "showPercentChange": false,
  92. "text": {},
  93. "textMode": "auto",
  94. "wideLayout": true
  95. },
  96. "pluginVersion": "10.3.1",
  97. "targets": [
  98. {
  99. "exemplar": true,
  100. "expr": "sum by (pod) (SeaweedFS_master_is_leader{job=\"seaweedfs-master\", namespace=\"$NAMESPACE\"})",
  101. "format": "time_series",
  102. "hide": false,
  103. "interval": "",
  104. "intervalFactor": 2,
  105. "legendFormat": "{{pod}}",
  106. "refId": "A",
  107. "step": 60
  108. }
  109. ],
  110. "title": "Raft leader",
  111. "type": "stat"
  112. },
  113. {
  114. "datasource": {
  115. "type": "prometheus",
  116. "uid": "${DS_PROMETHEUS}"
  117. },
  118. "description": "Count times leader changed",
  119. "fieldConfig": {
  120. "defaults": {
  121. "color": {
  122. "mode": "palette-classic"
  123. },
  124. "custom": {
  125. "axisBorderShow": false,
  126. "axisCenteredZero": false,
  127. "axisColorMode": "text",
  128. "axisLabel": "",
  129. "axisPlacement": "auto",
  130. "barAlignment": 0,
  131. "drawStyle": "line",
  132. "fillOpacity": 0,
  133. "gradientMode": "none",
  134. "hideFrom": {
  135. "legend": false,
  136. "tooltip": false,
  137. "viz": false
  138. },
  139. "insertNulls": false,
  140. "lineInterpolation": "linear",
  141. "lineWidth": 1,
  142. "pointSize": 4,
  143. "scaleDistribution": {
  144. "type": "linear"
  145. },
  146. "showPoints": "auto",
  147. "spanNulls": false,
  148. "stacking": {
  149. "group": "A",
  150. "mode": "none"
  151. },
  152. "thresholdsStyle": {
  153. "mode": "off"
  154. }
  155. },
  156. "mappings": [],
  157. "thresholds": {
  158. "mode": "absolute",
  159. "steps": [
  160. {
  161. "color": "green",
  162. "value": null
  163. }
  164. ]
  165. },
  166. "unit": "none",
  167. "unitScale": true
  168. },
  169. "overrides": []
  170. },
  171. "gridPos": {
  172. "h": 6,
  173. "w": 8,
  174. "x": 8,
  175. "y": 1
  176. },
  177. "id": 68,
  178. "links": [],
  179. "options": {
  180. "legend": {
  181. "calcs": [],
  182. "displayMode": "list",
  183. "placement": "bottom",
  184. "showLegend": true
  185. },
  186. "tooltip": {
  187. "mode": "single",
  188. "sort": "none"
  189. }
  190. },
  191. "pluginVersion": "8.1.2",
  192. "targets": [
  193. {
  194. "exemplar": true,
  195. "expr": "sum by (pod) (SeaweedFS_master_leader_changes{job=\"seaweedfs-master\", type=~\".+\", namespace=\"$NAMESPACE\"})",
  196. "format": "time_series",
  197. "hide": false,
  198. "instant": false,
  199. "interval": "",
  200. "intervalFactor": 2,
  201. "legendFormat": "{{pod}}",
  202. "refId": "A",
  203. "step": 60
  204. }
  205. ],
  206. "title": "Master leader changes",
  207. "type": "timeseries"
  208. },
  209. {
  210. "datasource": {
  211. "type": "prometheus",
  212. "uid": "${DS_PROMETHEUS}"
  213. },
  214. "description": "Heartbeats received from components",
  215. "fieldConfig": {
  216. "defaults": {
  217. "color": {
  218. "mode": "palette-classic"
  219. },
  220. "custom": {
  221. "axisBorderShow": false,
  222. "axisCenteredZero": false,
  223. "axisColorMode": "text",
  224. "axisLabel": "",
  225. "axisPlacement": "auto",
  226. "barAlignment": 0,
  227. "drawStyle": "line",
  228. "fillOpacity": 0,
  229. "gradientMode": "none",
  230. "hideFrom": {
  231. "legend": false,
  232. "tooltip": false,
  233. "viz": false
  234. },
  235. "insertNulls": false,
  236. "lineInterpolation": "linear",
  237. "lineWidth": 1,
  238. "pointSize": 4,
  239. "scaleDistribution": {
  240. "type": "linear"
  241. },
  242. "showPoints": "auto",
  243. "spanNulls": false,
  244. "stacking": {
  245. "group": "A",
  246. "mode": "none"
  247. },
  248. "thresholdsStyle": {
  249. "mode": "off"
  250. }
  251. },
  252. "mappings": [],
  253. "thresholds": {
  254. "mode": "absolute",
  255. "steps": [
  256. {
  257. "color": "green",
  258. "value": null
  259. }
  260. ]
  261. },
  262. "unit": "none",
  263. "unitScale": true
  264. },
  265. "overrides": []
  266. },
  267. "gridPos": {
  268. "h": 6,
  269. "w": 8,
  270. "x": 16,
  271. "y": 1
  272. },
  273. "id": 69,
  274. "links": [],
  275. "options": {
  276. "legend": {
  277. "calcs": [],
  278. "displayMode": "list",
  279. "placement": "bottom",
  280. "showLegend": true
  281. },
  282. "tooltip": {
  283. "mode": "single",
  284. "sort": "none"
  285. }
  286. },
  287. "pluginVersion": "8.1.2",
  288. "targets": [
  289. {
  290. "exemplar": true,
  291. "expr": "sum by (type) (increase(SeaweedFS_master_received_heartbeats{job=\"seaweedfs-master\", namespace=\"$NAMESPACE\"}[$__rate_interval]))",
  292. "format": "time_series",
  293. "hide": false,
  294. "interval": "",
  295. "intervalFactor": 2,
  296. "legendFormat": "{{type}}",
  297. "refId": "A",
  298. "step": 60
  299. }
  300. ],
  301. "title": "Received heartbeats",
  302. "type": "timeseries"
  303. },
  304. {
  305. "alert": {
  306. "alertRuleTags": {},
  307. "conditions": [
  308. {
  309. "evaluator": {
  310. "params": [
  311. 0
  312. ],
  313. "type": "gt"
  314. },
  315. "operator": {
  316. "type": "and"
  317. },
  318. "query": {
  319. "params": [
  320. "A",
  321. "5m",
  322. "now"
  323. ]
  324. },
  325. "reducer": {
  326. "params": [],
  327. "type": "avg"
  328. },
  329. "type": "query"
  330. }
  331. ],
  332. "executionErrorState": "alerting",
  333. "for": "5m",
  334. "frequency": "1m",
  335. "handler": 1,
  336. "message": "",
  337. "name": "Replica Placement Mismatch alert",
  338. "noDataState": "ok",
  339. "notifications": []
  340. },
  341. "datasource": {
  342. "type": "prometheus",
  343. "uid": "${DS_PROMETHEUS}"
  344. },
  345. "description": "Count replica placement mismatch",
  346. "fieldConfig": {
  347. "defaults": {
  348. "color": {
  349. "mode": "palette-classic"
  350. },
  351. "custom": {
  352. "axisBorderShow": false,
  353. "axisCenteredZero": false,
  354. "axisColorMode": "text",
  355. "axisLabel": "",
  356. "axisPlacement": "auto",
  357. "barAlignment": 0,
  358. "drawStyle": "line",
  359. "fillOpacity": 0,
  360. "gradientMode": "none",
  361. "hideFrom": {
  362. "legend": false,
  363. "tooltip": false,
  364. "viz": false
  365. },
  366. "insertNulls": false,
  367. "lineInterpolation": "linear",
  368. "lineWidth": 1,
  369. "pointSize": 4,
  370. "scaleDistribution": {
  371. "type": "linear"
  372. },
  373. "showPoints": "auto",
  374. "spanNulls": false,
  375. "stacking": {
  376. "group": "A",
  377. "mode": "none"
  378. },
  379. "thresholdsStyle": {
  380. "mode": "off"
  381. }
  382. },
  383. "mappings": [],
  384. "thresholds": {
  385. "mode": "absolute",
  386. "steps": [
  387. {
  388. "color": "green",
  389. "value": null
  390. }
  391. ]
  392. },
  393. "unit": "none",
  394. "unitScale": true
  395. },
  396. "overrides": []
  397. },
  398. "gridPos": {
  399. "h": 6,
  400. "w": 8,
  401. "x": 0,
  402. "y": 7
  403. },
  404. "id": 70,
  405. "links": [],
  406. "options": {
  407. "legend": {
  408. "calcs": [],
  409. "displayMode": "list",
  410. "placement": "bottom",
  411. "showLegend": true
  412. },
  413. "tooltip": {
  414. "mode": "single",
  415. "sort": "none"
  416. }
  417. },
  418. "pluginVersion": "8.1.2",
  419. "targets": [
  420. {
  421. "datasource": {
  422. "type": "prometheus",
  423. "uid": "${DS_PROMETHEUS}"
  424. },
  425. "editorMode": "code",
  426. "exemplar": true,
  427. "expr": "sum (SeaweedFS_master_replica_placement_mismatch{job=\"seaweedfs-master\", namespace=\"$NAMESPACE\"} > 0) by (pod)",
  428. "format": "time_series",
  429. "hide": false,
  430. "instant": false,
  431. "interval": "",
  432. "intervalFactor": 2,
  433. "legendFormat": "{{pod}}",
  434. "refId": "A",
  435. "step": 60
  436. }
  437. ],
  438. "thresholds": [
  439. {
  440. "colorMode": "critical",
  441. "op": "gt",
  442. "value": 0,
  443. "visible": true
  444. }
  445. ],
  446. "title": "Replica Placement Mismatch",
  447. "type": "timeseries"
  448. },
  449. {
  450. "alert": {
  451. "alertRuleTags": {},
  452. "conditions": [
  453. {
  454. "evaluator": {
  455. "params": [
  456. 1,
  457. 1
  458. ],
  459. "type": "outside_range"
  460. },
  461. "operator": {
  462. "type": "and"
  463. },
  464. "query": {
  465. "params": [
  466. "A",
  467. "5m",
  468. "now"
  469. ]
  470. },
  471. "reducer": {
  472. "params": [],
  473. "type": "avg"
  474. },
  475. "type": "query"
  476. }
  477. ],
  478. "executionErrorState": "alerting",
  479. "for": "5m",
  480. "frequency": "1m",
  481. "handler": 1,
  482. "message": "Raft leader count of master-servers not equal to 1",
  483. "name": "Raft leader alert",
  484. "noDataState": "no_data",
  485. "notifications": []
  486. },
  487. "datasource": {
  488. "type": "prometheus",
  489. "uid": "${DS_PROMETHEUS}"
  490. },
  491. "description": "Total count of raft leaders",
  492. "fieldConfig": {
  493. "defaults": {
  494. "color": {
  495. "mode": "palette-classic"
  496. },
  497. "custom": {
  498. "axisBorderShow": false,
  499. "axisCenteredZero": false,
  500. "axisColorMode": "text",
  501. "axisLabel": "",
  502. "axisPlacement": "auto",
  503. "barAlignment": 0,
  504. "drawStyle": "line",
  505. "fillOpacity": 0,
  506. "gradientMode": "none",
  507. "hideFrom": {
  508. "legend": false,
  509. "tooltip": false,
  510. "viz": false
  511. },
  512. "insertNulls": false,
  513. "lineInterpolation": "linear",
  514. "lineWidth": 1,
  515. "pointSize": 5,
  516. "scaleDistribution": {
  517. "type": "linear"
  518. },
  519. "showPoints": "auto",
  520. "spanNulls": false,
  521. "stacking": {
  522. "group": "A",
  523. "mode": "none"
  524. },
  525. "thresholdsStyle": {
  526. "mode": "off"
  527. }
  528. },
  529. "mappings": [],
  530. "thresholds": {
  531. "mode": "absolute",
  532. "steps": [
  533. {
  534. "color": "green",
  535. "value": null
  536. }
  537. ]
  538. },
  539. "unit": "none",
  540. "unitScale": true
  541. },
  542. "overrides": []
  543. },
  544. "gridPos": {
  545. "h": 6,
  546. "w": 8,
  547. "x": 8,
  548. "y": 7
  549. },
  550. "id": 71,
  551. "links": [],
  552. "options": {
  553. "legend": {
  554. "calcs": [],
  555. "displayMode": "list",
  556. "placement": "bottom",
  557. "showLegend": true
  558. },
  559. "tooltip": {
  560. "mode": "single",
  561. "sort": "none"
  562. }
  563. },
  564. "pluginVersion": "8.1.2",
  565. "targets": [
  566. {
  567. "exemplar": true,
  568. "expr": "sum (SeaweedFS_master_is_leader{job=\"seaweedfs-master\", namespace=\"$NAMESPACE\"})",
  569. "format": "time_series",
  570. "hide": false,
  571. "interval": "",
  572. "intervalFactor": 2,
  573. "legendFormat": "Leaders",
  574. "refId": "A",
  575. "step": 60
  576. }
  577. ],
  578. "thresholds": [
  579. {
  580. "colorMode": "critical",
  581. "op": "lt",
  582. "value": 1,
  583. "visible": true
  584. },
  585. {
  586. "colorMode": "critical",
  587. "op": "gt",
  588. "value": 1,
  589. "visible": true
  590. }
  591. ],
  592. "title": "Raft leader count",
  593. "type": "timeseries"
  594. },
  595. {
  596. "datasource": {
  597. "type": "prometheus",
  598. "uid": "${DS_PROMETHEUS}"
  599. },
  600. "description": "Whether cluster locked or not",
  601. "fieldConfig": {
  602. "defaults": {
  603. "color": {
  604. "mode": "thresholds"
  605. },
  606. "mappings": [],
  607. "thresholds": {
  608. "mode": "absolute",
  609. "steps": [
  610. {
  611. "color": "green",
  612. "value": null
  613. }
  614. ]
  615. },
  616. "unit": "bool_yes_no",
  617. "unitScale": true
  618. },
  619. "overrides": []
  620. },
  621. "gridPos": {
  622. "h": 6,
  623. "w": 8,
  624. "x": 16,
  625. "y": 7
  626. },
  627. "id": 74,
  628. "links": [],
  629. "options": {
  630. "colorMode": "value",
  631. "graphMode": "area",
  632. "justifyMode": "auto",
  633. "orientation": "horizontal",
  634. "reduceOptions": {
  635. "calcs": [
  636. "last"
  637. ],
  638. "fields": "",
  639. "values": false
  640. },
  641. "showPercentChange": false,
  642. "text": {},
  643. "textMode": "auto",
  644. "wideLayout": true
  645. },
  646. "pluginVersion": "10.3.1",
  647. "targets": [
  648. {
  649. "datasource": {
  650. "type": "prometheus",
  651. "uid": "${DS_PROMETHEUS}"
  652. },
  653. "editorMode": "code",
  654. "exemplar": true,
  655. "expr": "SeaweedFS_master_admin_lock{job=\"seaweedfs-master\", namespace=\"$NAMESPACE\"}",
  656. "format": "time_series",
  657. "hide": false,
  658. "interval": "",
  659. "intervalFactor": 2,
  660. "legendFormat": "Client IP: {{client}}",
  661. "range": true,
  662. "refId": "A",
  663. "step": 60
  664. }
  665. ],
  666. "title": "Admin lock",
  667. "type": "stat"
  668. },
  669. {
  670. "collapsed": false,
  671. "datasource": {
  672. "type": "prometheus",
  673. "uid": "${DS_PROMETHEUS}"
  674. },
  675. "gridPos": {
  676. "h": 1,
  677. "w": 24,
  678. "x": 0,
  679. "y": 13
  680. },
  681. "id": 60,
  682. "panels": [],
  683. "title": "Filer",
  684. "type": "row"
  685. },
  686. {
  687. "datasource": {
  688. "type": "prometheus",
  689. "uid": "${DS_PROMETHEUS}"
  690. },
  691. "fieldConfig": {
  692. "defaults": {
  693. "color": {
  694. "mode": "palette-classic"
  695. },
  696. "custom": {
  697. "axisBorderShow": false,
  698. "axisCenteredZero": false,
  699. "axisColorMode": "text",
  700. "axisLabel": "",
  701. "axisPlacement": "auto",
  702. "barAlignment": 0,
  703. "drawStyle": "line",
  704. "fillOpacity": 10,
  705. "gradientMode": "none",
  706. "hideFrom": {
  707. "legend": false,
  708. "tooltip": false,
  709. "viz": false
  710. },
  711. "insertNulls": false,
  712. "lineInterpolation": "linear",
  713. "lineWidth": 1,
  714. "pointSize": 5,
  715. "scaleDistribution": {
  716. "type": "linear"
  717. },
  718. "showPoints": "never",
  719. "spanNulls": false,
  720. "stacking": {
  721. "group": "A",
  722. "mode": "none"
  723. },
  724. "thresholdsStyle": {
  725. "mode": "off"
  726. }
  727. },
  728. "mappings": [],
  729. "min": 0,
  730. "thresholds": {
  731. "mode": "absolute",
  732. "steps": [
  733. {
  734. "color": "green",
  735. "value": null
  736. },
  737. {
  738. "color": "red",
  739. "value": 80
  740. }
  741. ]
  742. },
  743. "unit": "s",
  744. "unitScale": true
  745. },
  746. "overrides": []
  747. },
  748. "gridPos": {
  749. "h": 7,
  750. "w": 8,
  751. "x": 0,
  752. "y": 14
  753. },
  754. "id": 46,
  755. "links": [],
  756. "options": {
  757. "legend": {
  758. "calcs": [],
  759. "displayMode": "list",
  760. "placement": "bottom",
  761. "showLegend": true
  762. },
  763. "tooltip": {
  764. "mode": "multi",
  765. "sort": "none"
  766. }
  767. },
  768. "pluginVersion": "10.3.1",
  769. "targets": [
  770. {
  771. "expr": "histogram_quantile(0.90, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le))",
  772. "format": "time_series",
  773. "hide": false,
  774. "intervalFactor": 2,
  775. "legendFormat": "average",
  776. "refId": "A",
  777. "step": 60
  778. },
  779. {
  780. "expr": "histogram_quantile(0.90, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le, type))",
  781. "format": "time_series",
  782. "hide": false,
  783. "intervalFactor": 2,
  784. "legendFormat": "{{type}}",
  785. "refId": "B",
  786. "step": 60
  787. }
  788. ],
  789. "title": "Filer Request Duration 90th percentile",
  790. "type": "timeseries"
  791. },
  792. {
  793. "datasource": {
  794. "type": "prometheus",
  795. "uid": "${DS_PROMETHEUS}"
  796. },
  797. "fieldConfig": {
  798. "defaults": {
  799. "color": {
  800. "mode": "palette-classic"
  801. },
  802. "custom": {
  803. "axisBorderShow": false,
  804. "axisCenteredZero": false,
  805. "axisColorMode": "text",
  806. "axisLabel": "",
  807. "axisPlacement": "auto",
  808. "barAlignment": 0,
  809. "drawStyle": "line",
  810. "fillOpacity": 10,
  811. "gradientMode": "none",
  812. "hideFrom": {
  813. "legend": false,
  814. "tooltip": false,
  815. "viz": false
  816. },
  817. "insertNulls": false,
  818. "lineInterpolation": "linear",
  819. "lineWidth": 1,
  820. "pointSize": 5,
  821. "scaleDistribution": {
  822. "type": "linear"
  823. },
  824. "showPoints": "never",
  825. "spanNulls": false,
  826. "stacking": {
  827. "group": "A",
  828. "mode": "none"
  829. },
  830. "thresholdsStyle": {
  831. "mode": "off"
  832. }
  833. },
  834. "mappings": [],
  835. "min": 0,
  836. "thresholds": {
  837. "mode": "absolute",
  838. "steps": [
  839. {
  840. "color": "green",
  841. "value": null
  842. },
  843. {
  844. "color": "red",
  845. "value": 80
  846. }
  847. ]
  848. },
  849. "unit": "s",
  850. "unitScale": true
  851. },
  852. "overrides": []
  853. },
  854. "gridPos": {
  855. "h": 7,
  856. "w": 8,
  857. "x": 8,
  858. "y": 14
  859. },
  860. "id": 49,
  861. "links": [],
  862. "options": {
  863. "legend": {
  864. "calcs": [],
  865. "displayMode": "list",
  866. "placement": "bottom",
  867. "showLegend": true
  868. },
  869. "tooltip": {
  870. "mode": "multi",
  871. "sort": "none"
  872. }
  873. },
  874. "pluginVersion": "10.3.1",
  875. "targets": [
  876. {
  877. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le))",
  878. "format": "time_series",
  879. "hide": false,
  880. "intervalFactor": 2,
  881. "legendFormat": "average",
  882. "refId": "A",
  883. "step": 60
  884. },
  885. {
  886. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le, type))",
  887. "format": "time_series",
  888. "hide": false,
  889. "intervalFactor": 2,
  890. "legendFormat": "{{type}}",
  891. "refId": "B",
  892. "step": 60
  893. },
  894. {
  895. "expr": "",
  896. "format": "time_series",
  897. "intervalFactor": 2,
  898. "refId": "C"
  899. }
  900. ],
  901. "title": "Filer Request Duration 95th percentile",
  902. "type": "timeseries"
  903. },
  904. {
  905. "datasource": {
  906. "type": "prometheus",
  907. "uid": "${DS_PROMETHEUS}"
  908. },
  909. "fieldConfig": {
  910. "defaults": {
  911. "color": {
  912. "mode": "palette-classic"
  913. },
  914. "custom": {
  915. "axisBorderShow": false,
  916. "axisCenteredZero": false,
  917. "axisColorMode": "text",
  918. "axisLabel": "",
  919. "axisPlacement": "auto",
  920. "barAlignment": 0,
  921. "drawStyle": "line",
  922. "fillOpacity": 10,
  923. "gradientMode": "none",
  924. "hideFrom": {
  925. "legend": false,
  926. "tooltip": false,
  927. "viz": false
  928. },
  929. "insertNulls": false,
  930. "lineInterpolation": "linear",
  931. "lineWidth": 1,
  932. "pointSize": 5,
  933. "scaleDistribution": {
  934. "type": "linear"
  935. },
  936. "showPoints": "never",
  937. "spanNulls": false,
  938. "stacking": {
  939. "group": "A",
  940. "mode": "none"
  941. },
  942. "thresholdsStyle": {
  943. "mode": "off"
  944. }
  945. },
  946. "mappings": [],
  947. "min": 0,
  948. "thresholds": {
  949. "mode": "absolute",
  950. "steps": [
  951. {
  952. "color": "green",
  953. "value": null
  954. },
  955. {
  956. "color": "red",
  957. "value": 80
  958. }
  959. ]
  960. },
  961. "unit": "s",
  962. "unitScale": true
  963. },
  964. "overrides": []
  965. },
  966. "gridPos": {
  967. "h": 7,
  968. "w": 8,
  969. "x": 16,
  970. "y": 14
  971. },
  972. "id": 45,
  973. "links": [],
  974. "options": {
  975. "legend": {
  976. "calcs": [],
  977. "displayMode": "list",
  978. "placement": "bottom",
  979. "showLegend": true
  980. },
  981. "tooltip": {
  982. "mode": "multi",
  983. "sort": "none"
  984. }
  985. },
  986. "pluginVersion": "10.3.1",
  987. "targets": [
  988. {
  989. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le))",
  990. "format": "time_series",
  991. "hide": false,
  992. "intervalFactor": 2,
  993. "legendFormat": "average",
  994. "refId": "A",
  995. "step": 60
  996. },
  997. {
  998. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le, type))",
  999. "format": "time_series",
  1000. "hide": false,
  1001. "intervalFactor": 2,
  1002. "legendFormat": "{{type}}",
  1003. "refId": "B",
  1004. "step": 60
  1005. },
  1006. {
  1007. "expr": "",
  1008. "format": "time_series",
  1009. "intervalFactor": 2,
  1010. "refId": "C"
  1011. }
  1012. ],
  1013. "title": "Filer Request Duration 99th percentile",
  1014. "type": "timeseries"
  1015. },
  1016. {
  1017. "datasource": {
  1018. "type": "prometheus",
  1019. "uid": "${DS_PROMETHEUS}"
  1020. },
  1021. "fieldConfig": {
  1022. "defaults": {
  1023. "color": {
  1024. "mode": "palette-classic"
  1025. },
  1026. "custom": {
  1027. "axisBorderShow": false,
  1028. "axisCenteredZero": false,
  1029. "axisColorMode": "text",
  1030. "axisLabel": "",
  1031. "axisPlacement": "auto",
  1032. "barAlignment": 0,
  1033. "drawStyle": "line",
  1034. "fillOpacity": 0,
  1035. "gradientMode": "none",
  1036. "hideFrom": {
  1037. "legend": false,
  1038. "tooltip": false,
  1039. "viz": false
  1040. },
  1041. "insertNulls": false,
  1042. "lineInterpolation": "linear",
  1043. "lineWidth": 1,
  1044. "pointSize": 5,
  1045. "scaleDistribution": {
  1046. "type": "linear"
  1047. },
  1048. "showPoints": "never",
  1049. "spanNulls": false,
  1050. "stacking": {
  1051. "group": "A",
  1052. "mode": "none"
  1053. },
  1054. "thresholdsStyle": {
  1055. "mode": "off"
  1056. }
  1057. },
  1058. "mappings": [],
  1059. "min": 0,
  1060. "thresholds": {
  1061. "mode": "absolute",
  1062. "steps": [
  1063. {
  1064. "color": "green",
  1065. "value": null
  1066. },
  1067. {
  1068. "color": "red",
  1069. "value": 80
  1070. }
  1071. ]
  1072. },
  1073. "unit": "short",
  1074. "unitScale": true
  1075. },
  1076. "overrides": [
  1077. {
  1078. "matcher": {
  1079. "id": "byName",
  1080. "options": "total"
  1081. },
  1082. "properties": [
  1083. {
  1084. "id": "custom.lineWidth",
  1085. "value": 0
  1086. }
  1087. ]
  1088. },
  1089. {
  1090. "matcher": {
  1091. "id": "byValue",
  1092. "options": {
  1093. "op": "gte",
  1094. "reducer": "allIsZero",
  1095. "value": 0
  1096. }
  1097. },
  1098. "properties": [
  1099. {
  1100. "id": "custom.hideFrom",
  1101. "value": {
  1102. "legend": true,
  1103. "tooltip": true,
  1104. "viz": false
  1105. }
  1106. }
  1107. ]
  1108. },
  1109. {
  1110. "matcher": {
  1111. "id": "byValue",
  1112. "options": {
  1113. "op": "gte",
  1114. "reducer": "allIsNull",
  1115. "value": 0
  1116. }
  1117. },
  1118. "properties": [
  1119. {
  1120. "id": "custom.hideFrom",
  1121. "value": {
  1122. "legend": true,
  1123. "tooltip": true,
  1124. "viz": false
  1125. }
  1126. }
  1127. ]
  1128. }
  1129. ]
  1130. },
  1131. "gridPos": {
  1132. "h": 7,
  1133. "w": 24,
  1134. "x": 0,
  1135. "y": 21
  1136. },
  1137. "id": 2,
  1138. "links": [],
  1139. "options": {
  1140. "legend": {
  1141. "calcs": [
  1142. "lastNotNull",
  1143. "max"
  1144. ],
  1145. "displayMode": "table",
  1146. "placement": "right",
  1147. "showLegend": true,
  1148. "width": 250
  1149. },
  1150. "tooltip": {
  1151. "mode": "multi",
  1152. "sort": "desc"
  1153. }
  1154. },
  1155. "pluginVersion": "10.3.1",
  1156. "targets": [
  1157. {
  1158. "exemplar": true,
  1159. "expr": "sum by (type) (rate(SeaweedFS_filer_request_total{namespace=\"$NAMESPACE\"}[$__rate_interval]))",
  1160. "format": "time_series",
  1161. "interval": "",
  1162. "intervalFactor": 2,
  1163. "legendFormat": "{{type}}",
  1164. "refId": "A",
  1165. "step": 30
  1166. }
  1167. ],
  1168. "title": "Filer QPS",
  1169. "type": "timeseries"
  1170. },
  1171. {
  1172. "collapsed": false,
  1173. "datasource": {
  1174. "type": "prometheus",
  1175. "uid": "${DS_PROMETHEUS}"
  1176. },
  1177. "gridPos": {
  1178. "h": 1,
  1179. "w": 24,
  1180. "x": 0,
  1181. "y": 28
  1182. },
  1183. "id": 61,
  1184. "panels": [],
  1185. "title": "S3 Gateway",
  1186. "type": "row"
  1187. },
  1188. {
  1189. "datasource": {
  1190. "type": "prometheus",
  1191. "uid": "${DS_PROMETHEUS}"
  1192. },
  1193. "fieldConfig": {
  1194. "defaults": {
  1195. "color": {
  1196. "mode": "palette-classic"
  1197. },
  1198. "custom": {
  1199. "axisBorderShow": false,
  1200. "axisCenteredZero": false,
  1201. "axisColorMode": "text",
  1202. "axisLabel": "",
  1203. "axisPlacement": "auto",
  1204. "barAlignment": 0,
  1205. "drawStyle": "line",
  1206. "fillOpacity": 10,
  1207. "gradientMode": "none",
  1208. "hideFrom": {
  1209. "legend": false,
  1210. "tooltip": false,
  1211. "viz": false
  1212. },
  1213. "insertNulls": false,
  1214. "lineInterpolation": "linear",
  1215. "lineWidth": 1,
  1216. "pointSize": 5,
  1217. "scaleDistribution": {
  1218. "type": "linear"
  1219. },
  1220. "showPoints": "never",
  1221. "spanNulls": false,
  1222. "stacking": {
  1223. "group": "A",
  1224. "mode": "none"
  1225. },
  1226. "thresholdsStyle": {
  1227. "mode": "off"
  1228. }
  1229. },
  1230. "mappings": [],
  1231. "min": 0,
  1232. "thresholds": {
  1233. "mode": "absolute",
  1234. "steps": [
  1235. {
  1236. "color": "green",
  1237. "value": null
  1238. },
  1239. {
  1240. "color": "red",
  1241. "value": 80
  1242. }
  1243. ]
  1244. },
  1245. "unit": "s",
  1246. "unitScale": true
  1247. },
  1248. "overrides": []
  1249. },
  1250. "gridPos": {
  1251. "h": 7,
  1252. "w": 8,
  1253. "x": 0,
  1254. "y": 29
  1255. },
  1256. "id": 65,
  1257. "links": [],
  1258. "options": {
  1259. "legend": {
  1260. "calcs": [],
  1261. "displayMode": "list",
  1262. "placement": "bottom",
  1263. "showLegend": true
  1264. },
  1265. "tooltip": {
  1266. "mode": "multi",
  1267. "sort": "none"
  1268. }
  1269. },
  1270. "pluginVersion": "10.3.1",
  1271. "targets": [
  1272. {
  1273. "expr": "histogram_quantile(0.90, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le))",
  1274. "format": "time_series",
  1275. "hide": false,
  1276. "intervalFactor": 2,
  1277. "legendFormat": "average",
  1278. "refId": "A",
  1279. "step": 60
  1280. },
  1281. {
  1282. "expr": "histogram_quantile(0.90, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le, type))",
  1283. "format": "time_series",
  1284. "hide": false,
  1285. "intervalFactor": 2,
  1286. "legendFormat": "{{type}}",
  1287. "refId": "B",
  1288. "step": 60
  1289. }
  1290. ],
  1291. "title": "S3 Request Duration 90th percentile",
  1292. "type": "timeseries"
  1293. },
  1294. {
  1295. "datasource": {
  1296. "type": "prometheus",
  1297. "uid": "${DS_PROMETHEUS}"
  1298. },
  1299. "fieldConfig": {
  1300. "defaults": {
  1301. "color": {
  1302. "mode": "palette-classic"
  1303. },
  1304. "custom": {
  1305. "axisBorderShow": false,
  1306. "axisCenteredZero": false,
  1307. "axisColorMode": "text",
  1308. "axisLabel": "",
  1309. "axisPlacement": "auto",
  1310. "barAlignment": 0,
  1311. "drawStyle": "line",
  1312. "fillOpacity": 10,
  1313. "gradientMode": "none",
  1314. "hideFrom": {
  1315. "legend": false,
  1316. "tooltip": false,
  1317. "viz": false
  1318. },
  1319. "insertNulls": false,
  1320. "lineInterpolation": "linear",
  1321. "lineWidth": 1,
  1322. "pointSize": 5,
  1323. "scaleDistribution": {
  1324. "type": "linear"
  1325. },
  1326. "showPoints": "never",
  1327. "spanNulls": false,
  1328. "stacking": {
  1329. "group": "A",
  1330. "mode": "none"
  1331. },
  1332. "thresholdsStyle": {
  1333. "mode": "off"
  1334. }
  1335. },
  1336. "mappings": [],
  1337. "min": 0,
  1338. "thresholds": {
  1339. "mode": "absolute",
  1340. "steps": [
  1341. {
  1342. "color": "green",
  1343. "value": null
  1344. },
  1345. {
  1346. "color": "red",
  1347. "value": 80
  1348. }
  1349. ]
  1350. },
  1351. "unit": "s",
  1352. "unitScale": true
  1353. },
  1354. "overrides": []
  1355. },
  1356. "gridPos": {
  1357. "h": 7,
  1358. "w": 8,
  1359. "x": 8,
  1360. "y": 29
  1361. },
  1362. "id": 56,
  1363. "links": [],
  1364. "options": {
  1365. "legend": {
  1366. "calcs": [],
  1367. "displayMode": "list",
  1368. "placement": "bottom",
  1369. "showLegend": true
  1370. },
  1371. "tooltip": {
  1372. "mode": "multi",
  1373. "sort": "none"
  1374. }
  1375. },
  1376. "pluginVersion": "10.3.1",
  1377. "targets": [
  1378. {
  1379. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le))",
  1380. "format": "time_series",
  1381. "hide": false,
  1382. "intervalFactor": 2,
  1383. "legendFormat": "average",
  1384. "refId": "A",
  1385. "step": 60
  1386. },
  1387. {
  1388. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le, type))",
  1389. "format": "time_series",
  1390. "hide": false,
  1391. "intervalFactor": 2,
  1392. "legendFormat": "{{type}}",
  1393. "refId": "B",
  1394. "step": 60
  1395. }
  1396. ],
  1397. "title": "S3 Request Duration 95th percentile",
  1398. "type": "timeseries"
  1399. },
  1400. {
  1401. "datasource": {
  1402. "type": "prometheus",
  1403. "uid": "${DS_PROMETHEUS}"
  1404. },
  1405. "fieldConfig": {
  1406. "defaults": {
  1407. "color": {
  1408. "mode": "palette-classic"
  1409. },
  1410. "custom": {
  1411. "axisBorderShow": false,
  1412. "axisCenteredZero": false,
  1413. "axisColorMode": "text",
  1414. "axisLabel": "",
  1415. "axisPlacement": "auto",
  1416. "barAlignment": 0,
  1417. "drawStyle": "line",
  1418. "fillOpacity": 10,
  1419. "gradientMode": "none",
  1420. "hideFrom": {
  1421. "legend": false,
  1422. "tooltip": false,
  1423. "viz": false
  1424. },
  1425. "insertNulls": false,
  1426. "lineInterpolation": "linear",
  1427. "lineWidth": 1,
  1428. "pointSize": 5,
  1429. "scaleDistribution": {
  1430. "type": "linear"
  1431. },
  1432. "showPoints": "never",
  1433. "spanNulls": false,
  1434. "stacking": {
  1435. "group": "A",
  1436. "mode": "none"
  1437. },
  1438. "thresholdsStyle": {
  1439. "mode": "off"
  1440. }
  1441. },
  1442. "mappings": [],
  1443. "min": 0,
  1444. "thresholds": {
  1445. "mode": "absolute",
  1446. "steps": [
  1447. {
  1448. "color": "green",
  1449. "value": null
  1450. },
  1451. {
  1452. "color": "red",
  1453. "value": 80
  1454. }
  1455. ]
  1456. },
  1457. "unit": "s",
  1458. "unitScale": true
  1459. },
  1460. "overrides": []
  1461. },
  1462. "gridPos": {
  1463. "h": 7,
  1464. "w": 8,
  1465. "x": 16,
  1466. "y": 29
  1467. },
  1468. "id": 58,
  1469. "links": [],
  1470. "options": {
  1471. "legend": {
  1472. "calcs": [],
  1473. "displayMode": "list",
  1474. "placement": "bottom",
  1475. "showLegend": true
  1476. },
  1477. "tooltip": {
  1478. "mode": "multi",
  1479. "sort": "none"
  1480. }
  1481. },
  1482. "pluginVersion": "10.3.1",
  1483. "targets": [
  1484. {
  1485. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le))",
  1486. "format": "time_series",
  1487. "hide": false,
  1488. "intervalFactor": 2,
  1489. "legendFormat": "average",
  1490. "refId": "A",
  1491. "step": 60
  1492. },
  1493. {
  1494. "exemplar": true,
  1495. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le, type))",
  1496. "format": "time_series",
  1497. "hide": false,
  1498. "interval": "",
  1499. "intervalFactor": 2,
  1500. "legendFormat": "{{type}}",
  1501. "refId": "B",
  1502. "step": 60
  1503. }
  1504. ],
  1505. "title": "S3 Request Duration 99th percentile",
  1506. "type": "timeseries"
  1507. },
  1508. {
  1509. "datasource": {
  1510. "type": "prometheus",
  1511. "uid": "${DS_PROMETHEUS}"
  1512. },
  1513. "fieldConfig": {
  1514. "defaults": {
  1515. "unit": "decbytes"
  1516. },
  1517. "overrides": []
  1518. },
  1519. "gridPos": {
  1520. "h": 7,
  1521. "w": 12,
  1522. "x": 0,
  1523. "y": 36
  1524. },
  1525. "id": 84,
  1526. "links": [],
  1527. "options": {
  1528. "legend": {
  1529. "calcs": [],
  1530. "displayMode": "list",
  1531. "placement": "bottom",
  1532. "showLegend": true
  1533. },
  1534. "tooltip": {
  1535. "mode": "multi",
  1536. "sort": "none"
  1537. }
  1538. },
  1539. "pluginVersion": "10.3.1",
  1540. "targets": [
  1541. {
  1542. "expr": "sum(rate(SeaweedFS_s3_bucket_traffic_received_bytes_total{namespace=\"$NAMESPACE\"}[$__interval])) by (bucket)",
  1543. "format": "time_series",
  1544. "hide": false,
  1545. "intervalFactor": 2,
  1546. "legendFormat": "{{bucket}}",
  1547. "refId": "A"
  1548. }
  1549. ],
  1550. "title": "S3 Bucket Traffic Received",
  1551. "type": "timeseries"
  1552. },
  1553. {
  1554. "datasource": {
  1555. "type": "prometheus",
  1556. "uid": "${DS_PROMETHEUS}"
  1557. },
  1558. "fieldConfig": {
  1559. "defaults": {
  1560. "unit": "decbytes"
  1561. },
  1562. "overrides": []
  1563. },
  1564. "gridPos": {
  1565. "h": 7,
  1566. "w": 12,
  1567. "x": 12,
  1568. "y": 36
  1569. },
  1570. "id": 85,
  1571. "links": [],
  1572. "options": {
  1573. "legend": {
  1574. "calcs": [],
  1575. "displayMode": "list",
  1576. "placement": "bottom",
  1577. "showLegend": true
  1578. },
  1579. "tooltip": {
  1580. "mode": "multi",
  1581. "sort": "none"
  1582. }
  1583. },
  1584. "pluginVersion": "10.3.1",
  1585. "targets": [
  1586. {
  1587. "expr": "sum(rate(SeaweedFS_s3_bucket_traffic_sent_bytes_total{namespace=\"$NAMESPACE\"}[$__interval])) by (bucket)",
  1588. "format": "time_series",
  1589. "hide": false,
  1590. "intervalFactor": 2,
  1591. "legendFormat": "{{bucket}}",
  1592. "refId": "A"
  1593. }
  1594. ],
  1595. "title": "S3 Bucket Traffic Sent",
  1596. "type": "timeseries"
  1597. },
  1598. {
  1599. "datasource": {
  1600. "type": "prometheus",
  1601. "uid": "${DS_PROMETHEUS}"
  1602. },
  1603. "fieldConfig": {
  1604. "defaults": {
  1605. "color": {
  1606. "mode": "palette-classic"
  1607. },
  1608. "custom": {
  1609. "axisBorderShow": false,
  1610. "axisCenteredZero": false,
  1611. "axisColorMode": "text",
  1612. "axisLabel": "",
  1613. "axisPlacement": "auto",
  1614. "barAlignment": 0,
  1615. "drawStyle": "line",
  1616. "fillOpacity": 10,
  1617. "gradientMode": "none",
  1618. "hideFrom": {
  1619. "legend": false,
  1620. "tooltip": false,
  1621. "viz": false
  1622. },
  1623. "insertNulls": false,
  1624. "lineInterpolation": "linear",
  1625. "lineWidth": 1,
  1626. "pointSize": 5,
  1627. "scaleDistribution": {
  1628. "type": "linear"
  1629. },
  1630. "showPoints": "never",
  1631. "spanNulls": false,
  1632. "stacking": {
  1633. "group": "A",
  1634. "mode": "none"
  1635. },
  1636. "thresholdsStyle": {
  1637. "mode": "off"
  1638. }
  1639. },
  1640. "mappings": [],
  1641. "min": 0,
  1642. "thresholds": {
  1643. "mode": "absolute",
  1644. "steps": [
  1645. {
  1646. "color": "green",
  1647. "value": null
  1648. },
  1649. {
  1650. "color": "red",
  1651. "value": 80
  1652. }
  1653. ]
  1654. },
  1655. "unit": "s",
  1656. "unitScale": true
  1657. },
  1658. "overrides": []
  1659. },
  1660. "gridPos": {
  1661. "h": 7,
  1662. "w": 24,
  1663. "x": 0,
  1664. "y": 41
  1665. },
  1666. "id": 72,
  1667. "links": [],
  1668. "options": {
  1669. "legend": {
  1670. "calcs": [],
  1671. "displayMode": "list",
  1672. "placement": "bottom",
  1673. "showLegend": true
  1674. },
  1675. "tooltip": {
  1676. "mode": "multi",
  1677. "sort": "none"
  1678. }
  1679. },
  1680. "pluginVersion": "10.3.1",
  1681. "targets": [
  1682. {
  1683. "datasource": {
  1684. "type": "prometheus",
  1685. "uid": "${DS_PROMETHEUS}"
  1686. },
  1687. "exemplar": true,
  1688. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le))",
  1689. "format": "time_series",
  1690. "hide": false,
  1691. "interval": "",
  1692. "intervalFactor": 2,
  1693. "legendFormat": "average",
  1694. "refId": "A",
  1695. "step": 60
  1696. },
  1697. {
  1698. "datasource": {
  1699. "type": "prometheus",
  1700. "uid": "${DS_PROMETHEUS}"
  1701. },
  1702. "exemplar": true,
  1703. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le, type, pod))",
  1704. "format": "time_series",
  1705. "hide": false,
  1706. "interval": "",
  1707. "intervalFactor": 2,
  1708. "legendFormat": "{{type}}-{{pod}}",
  1709. "refId": "B",
  1710. "step": 60
  1711. }
  1712. ],
  1713. "title": "S3 Request. Duration 99th percentile per instance",
  1714. "type": "timeseries"
  1715. },
  1716. {
  1717. "datasource": {
  1718. "type": "prometheus",
  1719. "uid": "${DS_PROMETHEUS}"
  1720. },
  1721. "fieldConfig": {
  1722. "defaults": {
  1723. "color": {
  1724. "mode": "palette-classic"
  1725. },
  1726. "custom": {
  1727. "axisBorderShow": false,
  1728. "axisCenteredZero": false,
  1729. "axisColorMode": "text",
  1730. "axisLabel": "",
  1731. "axisPlacement": "auto",
  1732. "barAlignment": 0,
  1733. "drawStyle": "line",
  1734. "fillOpacity": 10,
  1735. "gradientMode": "none",
  1736. "hideFrom": {
  1737. "legend": false,
  1738. "tooltip": false,
  1739. "viz": false
  1740. },
  1741. "insertNulls": false,
  1742. "lineInterpolation": "linear",
  1743. "lineWidth": 1,
  1744. "pointSize": 5,
  1745. "scaleDistribution": {
  1746. "type": "linear"
  1747. },
  1748. "showPoints": "never",
  1749. "spanNulls": false,
  1750. "stacking": {
  1751. "group": "A",
  1752. "mode": "none"
  1753. },
  1754. "thresholdsStyle": {
  1755. "mode": "off"
  1756. }
  1757. },
  1758. "mappings": [],
  1759. "min": 0,
  1760. "thresholds": {
  1761. "mode": "absolute",
  1762. "steps": [
  1763. {
  1764. "color": "green",
  1765. "value": null
  1766. },
  1767. {
  1768. "color": "red",
  1769. "value": 80
  1770. }
  1771. ]
  1772. },
  1773. "unit": "s",
  1774. "unitScale": true
  1775. },
  1776. "overrides": []
  1777. },
  1778. "gridPos": {
  1779. "h": 7,
  1780. "w": 24,
  1781. "x": 0,
  1782. "y": 50
  1783. },
  1784. "id": 73,
  1785. "links": [],
  1786. "options": {
  1787. "legend": {
  1788. "calcs": [],
  1789. "displayMode": "list",
  1790. "placement": "bottom",
  1791. "showLegend": true
  1792. },
  1793. "tooltip": {
  1794. "mode": "multi",
  1795. "sort": "none"
  1796. }
  1797. },
  1798. "pluginVersion": "10.3.1",
  1799. "targets": [
  1800. {
  1801. "datasource": {
  1802. "type": "prometheus",
  1803. "uid": "${DS_PROMETHEUS}"
  1804. },
  1805. "exemplar": true,
  1806. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le, type, bucket))",
  1807. "format": "time_series",
  1808. "hide": false,
  1809. "interval": "",
  1810. "intervalFactor": 2,
  1811. "legendFormat": "{{type}}-{{bucket}}",
  1812. "refId": "B",
  1813. "step": 60
  1814. }
  1815. ],
  1816. "title": "S3 Request Duration 99th percentile per bucket",
  1817. "type": "timeseries"
  1818. },
  1819. {
  1820. "datasource": {
  1821. "type": "prometheus",
  1822. "uid": "${DS_PROMETHEUS}"
  1823. },
  1824. "fieldConfig": {
  1825. "defaults": {
  1826. "color": {
  1827. "mode": "palette-classic"
  1828. },
  1829. "custom": {
  1830. "axisBorderShow": false,
  1831. "axisCenteredZero": false,
  1832. "axisColorMode": "text",
  1833. "axisLabel": "",
  1834. "axisPlacement": "auto",
  1835. "barAlignment": 0,
  1836. "drawStyle": "line",
  1837. "fillOpacity": 0,
  1838. "gradientMode": "none",
  1839. "hideFrom": {
  1840. "legend": false,
  1841. "tooltip": false,
  1842. "viz": false
  1843. },
  1844. "insertNulls": false,
  1845. "lineInterpolation": "linear",
  1846. "lineWidth": 1,
  1847. "pointSize": 5,
  1848. "scaleDistribution": {
  1849. "type": "linear"
  1850. },
  1851. "showPoints": "never",
  1852. "spanNulls": false,
  1853. "stacking": {
  1854. "group": "A",
  1855. "mode": "none"
  1856. },
  1857. "thresholdsStyle": {
  1858. "mode": "off"
  1859. }
  1860. },
  1861. "mappings": [],
  1862. "min": 0,
  1863. "thresholds": {
  1864. "mode": "absolute",
  1865. "steps": [
  1866. {
  1867. "color": "green",
  1868. "value": null
  1869. },
  1870. {
  1871. "color": "red",
  1872. "value": 80
  1873. }
  1874. ]
  1875. },
  1876. "unit": "short",
  1877. "unitScale": true
  1878. },
  1879. "overrides": [
  1880. {
  1881. "matcher": {
  1882. "id": "byName",
  1883. "options": "total"
  1884. },
  1885. "properties": [
  1886. {
  1887. "id": "custom.lineWidth",
  1888. "value": 0
  1889. }
  1890. ]
  1891. },
  1892. {
  1893. "matcher": {
  1894. "id": "byValue",
  1895. "options": {
  1896. "op": "gte",
  1897. "reducer": "allIsZero",
  1898. "value": 0
  1899. }
  1900. },
  1901. "properties": [
  1902. {
  1903. "id": "custom.hideFrom",
  1904. "value": {
  1905. "legend": true,
  1906. "tooltip": true,
  1907. "viz": false
  1908. }
  1909. }
  1910. ]
  1911. },
  1912. {
  1913. "matcher": {
  1914. "id": "byValue",
  1915. "options": {
  1916. "op": "gte",
  1917. "reducer": "allIsNull",
  1918. "value": 0
  1919. }
  1920. },
  1921. "properties": [
  1922. {
  1923. "id": "custom.hideFrom",
  1924. "value": {
  1925. "legend": true,
  1926. "tooltip": true,
  1927. "viz": false
  1928. }
  1929. }
  1930. ]
  1931. }
  1932. ]
  1933. },
  1934. "gridPos": {
  1935. "h": 7,
  1936. "w": 24,
  1937. "x": 0,
  1938. "y": 57
  1939. },
  1940. "id": 55,
  1941. "links": [],
  1942. "options": {
  1943. "legend": {
  1944. "calcs": [
  1945. "lastNotNull",
  1946. "max"
  1947. ],
  1948. "displayMode": "table",
  1949. "placement": "right",
  1950. "showLegend": true,
  1951. "width": 250
  1952. },
  1953. "tooltip": {
  1954. "mode": "multi",
  1955. "sort": "desc"
  1956. }
  1957. },
  1958. "pluginVersion": "10.3.1",
  1959. "targets": [
  1960. {
  1961. "datasource": {
  1962. "type": "prometheus",
  1963. "uid": "${DS_PROMETHEUS}"
  1964. },
  1965. "expr": "sum (rate(SeaweedFS_s3_request_total{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (type)",
  1966. "format": "time_series",
  1967. "intervalFactor": 2,
  1968. "legendFormat": "{{type}}",
  1969. "refId": "A",
  1970. "step": 30
  1971. }
  1972. ],
  1973. "title": "S3 API QPS",
  1974. "type": "timeseries"
  1975. },
  1976. {
  1977. "datasource": {
  1978. "type": "prometheus",
  1979. "uid": "${DS_PROMETHEUS}"
  1980. },
  1981. "fieldConfig": {
  1982. "defaults": {
  1983. "color": {
  1984. "mode": "palette-classic"
  1985. },
  1986. "custom": {
  1987. "axisBorderShow": false,
  1988. "axisCenteredZero": false,
  1989. "axisColorMode": "text",
  1990. "axisLabel": "Cost in US$",
  1991. "axisPlacement": "auto",
  1992. "barAlignment": 0,
  1993. "drawStyle": "line",
  1994. "fillOpacity": 0,
  1995. "gradientMode": "none",
  1996. "hideFrom": {
  1997. "legend": false,
  1998. "tooltip": false,
  1999. "viz": false
  2000. },
  2001. "insertNulls": false,
  2002. "lineInterpolation": "linear",
  2003. "lineWidth": 1,
  2004. "pointSize": 5,
  2005. "scaleDistribution": {
  2006. "type": "linear"
  2007. },
  2008. "showPoints": "never",
  2009. "spanNulls": false,
  2010. "stacking": {
  2011. "group": "A",
  2012. "mode": "none"
  2013. },
  2014. "thresholdsStyle": {
  2015. "mode": "off"
  2016. }
  2017. },
  2018. "mappings": [],
  2019. "min": 0,
  2020. "thresholds": {
  2021. "mode": "absolute",
  2022. "steps": [
  2023. {
  2024. "color": "green",
  2025. "value": null
  2026. },
  2027. {
  2028. "color": "red",
  2029. "value": 80
  2030. }
  2031. ]
  2032. },
  2033. "unit": "currencyUSD",
  2034. "unitScale": true
  2035. },
  2036. "overrides": [
  2037. {
  2038. "matcher": {
  2039. "id": "byName",
  2040. "options": "total"
  2041. },
  2042. "properties": [
  2043. {
  2044. "id": "custom.lineWidth",
  2045. "value": 0
  2046. }
  2047. ]
  2048. },
  2049. {
  2050. "matcher": {
  2051. "id": "byValue",
  2052. "options": {
  2053. "op": "gte",
  2054. "reducer": "allIsZero",
  2055. "value": 0
  2056. }
  2057. },
  2058. "properties": [
  2059. {
  2060. "id": "custom.hideFrom",
  2061. "value": {
  2062. "legend": true,
  2063. "tooltip": true,
  2064. "viz": false
  2065. }
  2066. }
  2067. ]
  2068. },
  2069. {
  2070. "matcher": {
  2071. "id": "byValue",
  2072. "options": {
  2073. "op": "gte",
  2074. "reducer": "allIsNull",
  2075. "value": 0
  2076. }
  2077. },
  2078. "properties": [
  2079. {
  2080. "id": "custom.hideFrom",
  2081. "value": {
  2082. "legend": true,
  2083. "tooltip": true,
  2084. "viz": false
  2085. }
  2086. }
  2087. ]
  2088. }
  2089. ]
  2090. },
  2091. "gridPos": {
  2092. "h": 7,
  2093. "w": 24,
  2094. "x": 0,
  2095. "y": 64
  2096. },
  2097. "hideTimeOverride": false,
  2098. "id": 59,
  2099. "links": [],
  2100. "options": {
  2101. "legend": {
  2102. "calcs": [
  2103. "lastNotNull",
  2104. "max"
  2105. ],
  2106. "displayMode": "table",
  2107. "placement": "right",
  2108. "showLegend": true,
  2109. "width": 250
  2110. },
  2111. "tooltip": {
  2112. "mode": "multi",
  2113. "sort": "desc"
  2114. }
  2115. },
  2116. "pluginVersion": "10.3.1",
  2117. "targets": [
  2118. {
  2119. "expr": "sum by (type) (SeaweedFS_s3_request_total{type=~'PUT|COPY|POST|LIST', namespace=\"$NAMESPACE\"})*0.000005",
  2120. "format": "time_series",
  2121. "hide": false,
  2122. "intervalFactor": 2,
  2123. "legendFormat": "{{type}} requests",
  2124. "refId": "A",
  2125. "step": 30
  2126. },
  2127. {
  2128. "expr": "sum (SeaweedFS_s3_request_total{type=~'PUT|COPY|POST|LIST', namespace=\"$NAMESPACE\"})*0.000005",
  2129. "format": "time_series",
  2130. "hide": false,
  2131. "intervalFactor": 2,
  2132. "legendFormat": "All PUT, COPY, POST, LIST",
  2133. "refId": "C",
  2134. "step": 30
  2135. },
  2136. {
  2137. "expr": "sum (SeaweedFS_s3_request_total{type!~'PUT|COPY|POST|LIST', namespace=\"$NAMESPACE\"})*0.0000004",
  2138. "format": "time_series",
  2139. "hide": false,
  2140. "intervalFactor": 2,
  2141. "legendFormat": "GET and all other",
  2142. "refId": "B"
  2143. },
  2144. {
  2145. "expr": "sum by (type) (SeaweedFS_s3_request_total{type!~'PUT|COPY|POST|LIST', namespace=\"$NAMESPACE\"})*0.0000004",
  2146. "format": "time_series",
  2147. "hide": false,
  2148. "intervalFactor": 2,
  2149. "legendFormat": "{{type}} requests",
  2150. "refId": "D"
  2151. }
  2152. ],
  2153. "timeFrom": "1M",
  2154. "title": "S3 API Monthly Cost if on AWS",
  2155. "type": "timeseries"
  2156. },
  2157. {
  2158. "collapsed": false,
  2159. "datasource": {
  2160. "type": "prometheus",
  2161. "uid": "${DS_PROMETHEUS}"
  2162. },
  2163. "gridPos": {
  2164. "h": 1,
  2165. "w": 24,
  2166. "x": 0,
  2167. "y": 71
  2168. },
  2169. "id": 62,
  2170. "panels": [],
  2171. "title": "Volume Server",
  2172. "type": "row"
  2173. },
  2174. {
  2175. "datasource": {
  2176. "uid": "${DS_PROMETHEUS}"
  2177. },
  2178. "fieldConfig": {
  2179. "defaults": {
  2180. "color": {
  2181. "mode": "palette-classic"
  2182. },
  2183. "custom": {
  2184. "axisBorderShow": false,
  2185. "axisCenteredZero": false,
  2186. "axisColorMode": "text",
  2187. "axisLabel": "",
  2188. "axisPlacement": "auto",
  2189. "barAlignment": 0,
  2190. "drawStyle": "line",
  2191. "fillOpacity": 10,
  2192. "gradientMode": "none",
  2193. "hideFrom": {
  2194. "legend": false,
  2195. "tooltip": false,
  2196. "viz": false
  2197. },
  2198. "insertNulls": false,
  2199. "lineInterpolation": "linear",
  2200. "lineWidth": 2,
  2201. "pointSize": 5,
  2202. "scaleDistribution": {
  2203. "type": "linear"
  2204. },
  2205. "showPoints": "never",
  2206. "spanNulls": false,
  2207. "stacking": {
  2208. "group": "A",
  2209. "mode": "none"
  2210. },
  2211. "thresholdsStyle": {
  2212. "mode": "off"
  2213. }
  2214. },
  2215. "mappings": [],
  2216. "min": 0,
  2217. "thresholds": {
  2218. "mode": "absolute",
  2219. "steps": [
  2220. {
  2221. "color": "green",
  2222. "value": null
  2223. },
  2224. {
  2225. "color": "red",
  2226. "value": 80
  2227. }
  2228. ]
  2229. },
  2230. "unit": "s",
  2231. "unitScale": true
  2232. },
  2233. "overrides": []
  2234. },
  2235. "gridPos": {
  2236. "h": 7,
  2237. "w": 12,
  2238. "x": 0,
  2239. "y": 72
  2240. },
  2241. "id": 47,
  2242. "links": [],
  2243. "options": {
  2244. "legend": {
  2245. "calcs": [],
  2246. "displayMode": "list",
  2247. "placement": "bottom",
  2248. "showLegend": false
  2249. },
  2250. "tooltip": {
  2251. "mode": "multi",
  2252. "sort": "none"
  2253. }
  2254. },
  2255. "pluginVersion": "10.3.1",
  2256. "targets": [
  2257. {
  2258. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_volumeServer_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le, exported_instance))",
  2259. "format": "time_series",
  2260. "hide": false,
  2261. "intervalFactor": 2,
  2262. "legendFormat": "{{exported_instance}}",
  2263. "refId": "B"
  2264. },
  2265. {
  2266. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_volumeServer_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le))",
  2267. "format": "time_series",
  2268. "intervalFactor": 2,
  2269. "legendFormat": "average",
  2270. "refId": "C"
  2271. }
  2272. ],
  2273. "title": "Volume Server Request Duration 99th percentile",
  2274. "type": "timeseries"
  2275. },
  2276. {
  2277. "datasource": {
  2278. "type": "prometheus",
  2279. "uid": "${DS_PROMETHEUS}"
  2280. },
  2281. "fieldConfig": {
  2282. "defaults": {
  2283. "color": {
  2284. "mode": "palette-classic"
  2285. },
  2286. "custom": {
  2287. "axisBorderShow": false,
  2288. "axisCenteredZero": false,
  2289. "axisColorMode": "text",
  2290. "axisLabel": "",
  2291. "axisPlacement": "auto",
  2292. "barAlignment": 0,
  2293. "drawStyle": "line",
  2294. "fillOpacity": 10,
  2295. "gradientMode": "none",
  2296. "hideFrom": {
  2297. "legend": false,
  2298. "tooltip": false,
  2299. "viz": false
  2300. },
  2301. "insertNulls": false,
  2302. "lineInterpolation": "linear",
  2303. "lineWidth": 2,
  2304. "pointSize": 5,
  2305. "scaleDistribution": {
  2306. "type": "linear"
  2307. },
  2308. "showPoints": "never",
  2309. "spanNulls": false,
  2310. "stacking": {
  2311. "group": "A",
  2312. "mode": "none"
  2313. },
  2314. "thresholdsStyle": {
  2315. "mode": "off"
  2316. }
  2317. },
  2318. "mappings": [],
  2319. "thresholds": {
  2320. "mode": "absolute",
  2321. "steps": [
  2322. {
  2323. "color": "green",
  2324. "value": null
  2325. },
  2326. {
  2327. "color": "red",
  2328. "value": 80
  2329. }
  2330. ]
  2331. },
  2332. "unit": "short",
  2333. "unitScale": true
  2334. },
  2335. "overrides": [
  2336. {
  2337. "matcher": {
  2338. "id": "byValue",
  2339. "options": {
  2340. "op": "gte",
  2341. "reducer": "allIsZero",
  2342. "value": 0
  2343. }
  2344. },
  2345. "properties": [
  2346. {
  2347. "id": "custom.hideFrom",
  2348. "value": {
  2349. "legend": true,
  2350. "tooltip": true,
  2351. "viz": false
  2352. }
  2353. }
  2354. ]
  2355. },
  2356. {
  2357. "matcher": {
  2358. "id": "byValue",
  2359. "options": {
  2360. "op": "gte",
  2361. "reducer": "allIsNull",
  2362. "value": 0
  2363. }
  2364. },
  2365. "properties": [
  2366. {
  2367. "id": "custom.hideFrom",
  2368. "value": {
  2369. "legend": true,
  2370. "tooltip": true,
  2371. "viz": false
  2372. }
  2373. }
  2374. ]
  2375. }
  2376. ]
  2377. },
  2378. "gridPos": {
  2379. "h": 7,
  2380. "w": 12,
  2381. "x": 12,
  2382. "y": 72
  2383. },
  2384. "id": 40,
  2385. "links": [],
  2386. "options": {
  2387. "legend": {
  2388. "calcs": [
  2389. "sum"
  2390. ],
  2391. "displayMode": "table",
  2392. "placement": "right",
  2393. "showLegend": true
  2394. },
  2395. "tooltip": {
  2396. "mode": "multi",
  2397. "sort": "none"
  2398. }
  2399. },
  2400. "pluginVersion": "10.3.1",
  2401. "targets": [
  2402. {
  2403. "expr": "sum(rate(SeaweedFS_volumeServer_request_total{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (type)",
  2404. "format": "time_series",
  2405. "intervalFactor": 2,
  2406. "legendFormat": "{{type}}",
  2407. "refId": "A",
  2408. "step": 4
  2409. }
  2410. ],
  2411. "title": "Volume Server QPS",
  2412. "type": "timeseries"
  2413. },
  2414. {
  2415. "datasource": {
  2416. "type": "prometheus",
  2417. "uid": "${DS_PROMETHEUS}"
  2418. },
  2419. "fieldConfig": {
  2420. "defaults": {
  2421. "color": {
  2422. "mode": "palette-classic"
  2423. },
  2424. "custom": {
  2425. "axisBorderShow": false,
  2426. "axisCenteredZero": false,
  2427. "axisColorMode": "text",
  2428. "axisLabel": "",
  2429. "axisPlacement": "auto",
  2430. "barAlignment": 0,
  2431. "drawStyle": "line",
  2432. "fillOpacity": 10,
  2433. "gradientMode": "none",
  2434. "hideFrom": {
  2435. "legend": false,
  2436. "tooltip": false,
  2437. "viz": false
  2438. },
  2439. "insertNulls": false,
  2440. "lineInterpolation": "linear",
  2441. "lineWidth": 1,
  2442. "pointSize": 5,
  2443. "scaleDistribution": {
  2444. "type": "linear"
  2445. },
  2446. "showPoints": "never",
  2447. "spanNulls": false,
  2448. "stacking": {
  2449. "group": "A",
  2450. "mode": "none"
  2451. },
  2452. "thresholdsStyle": {
  2453. "mode": "off"
  2454. }
  2455. },
  2456. "mappings": [],
  2457. "thresholds": {
  2458. "mode": "absolute",
  2459. "steps": [
  2460. {
  2461. "color": "green",
  2462. "value": null
  2463. },
  2464. {
  2465. "color": "red",
  2466. "value": 80
  2467. }
  2468. ]
  2469. },
  2470. "unit": "short",
  2471. "unitScale": true
  2472. },
  2473. "overrides": []
  2474. },
  2475. "gridPos": {
  2476. "h": 7,
  2477. "w": 24,
  2478. "x": 0,
  2479. "y": 79
  2480. },
  2481. "id": 48,
  2482. "links": [],
  2483. "options": {
  2484. "legend": {
  2485. "calcs": [],
  2486. "displayMode": "list",
  2487. "placement": "bottom",
  2488. "showLegend": true
  2489. },
  2490. "tooltip": {
  2491. "mode": "multi",
  2492. "sort": "none"
  2493. }
  2494. },
  2495. "pluginVersion": "10.3.1",
  2496. "targets": [
  2497. {
  2498. "datasource": {
  2499. "type": "prometheus",
  2500. "uid": "${DS_PROMETHEUS}"
  2501. },
  2502. "expr": "sum(SeaweedFS_volumeServer_volumes{namespace=\"$NAMESPACE\"}) by (collection, type)",
  2503. "format": "time_series",
  2504. "hide": false,
  2505. "intervalFactor": 2,
  2506. "legendFormat": "{{collection}} {{type}}",
  2507. "refId": "A"
  2508. },
  2509. {
  2510. "datasource": {
  2511. "type": "prometheus",
  2512. "uid": "${DS_PROMETHEUS}"
  2513. },
  2514. "expr": "sum(SeaweedFS_volumeServer_volumes{namespace=\"$NAMESPACE\"})",
  2515. "format": "time_series",
  2516. "intervalFactor": 2,
  2517. "legendFormat": "Total",
  2518. "refId": "B"
  2519. }
  2520. ],
  2521. "title": "Volume Count",
  2522. "type": "timeseries"
  2523. },
  2524. {
  2525. "datasource": {
  2526. "type": "prometheus",
  2527. "uid": "${DS_PROMETHEUS}"
  2528. },
  2529. "fieldConfig": {
  2530. "defaults": {
  2531. "color": {
  2532. "mode": "palette-classic"
  2533. },
  2534. "custom": {
  2535. "axisBorderShow": false,
  2536. "axisCenteredZero": false,
  2537. "axisColorMode": "text",
  2538. "axisLabel": "",
  2539. "axisPlacement": "auto",
  2540. "barAlignment": 0,
  2541. "drawStyle": "line",
  2542. "fillOpacity": 10,
  2543. "gradientMode": "none",
  2544. "hideFrom": {
  2545. "legend": false,
  2546. "tooltip": false,
  2547. "viz": false
  2548. },
  2549. "insertNulls": false,
  2550. "lineInterpolation": "linear",
  2551. "lineWidth": 1,
  2552. "pointSize": 5,
  2553. "scaleDistribution": {
  2554. "type": "linear"
  2555. },
  2556. "showPoints": "never",
  2557. "spanNulls": false,
  2558. "stacking": {
  2559. "group": "A",
  2560. "mode": "none"
  2561. },
  2562. "thresholdsStyle": {
  2563. "mode": "off"
  2564. }
  2565. },
  2566. "mappings": [],
  2567. "thresholds": {
  2568. "mode": "absolute",
  2569. "steps": [
  2570. {
  2571. "color": "green",
  2572. "value": null
  2573. },
  2574. {
  2575. "color": "red",
  2576. "value": 80
  2577. }
  2578. ]
  2579. },
  2580. "unit": "bytes",
  2581. "unitScale": true
  2582. },
  2583. "overrides": []
  2584. },
  2585. "gridPos": {
  2586. "h": 7,
  2587. "w": 24,
  2588. "x": 0,
  2589. "y": 86
  2590. },
  2591. "id": 50,
  2592. "links": [],
  2593. "options": {
  2594. "legend": {
  2595. "calcs": [],
  2596. "displayMode": "list",
  2597. "placement": "bottom",
  2598. "showLegend": true
  2599. },
  2600. "tooltip": {
  2601. "mode": "multi",
  2602. "sort": "none"
  2603. }
  2604. },
  2605. "pluginVersion": "10.3.1",
  2606. "targets": [
  2607. {
  2608. "expr": "sum(SeaweedFS_volumeServer_total_disk_size{namespace=\"$NAMESPACE\"}) by (collection, type)",
  2609. "format": "time_series",
  2610. "hide": false,
  2611. "intervalFactor": 2,
  2612. "legendFormat": "{{collection}} {{type}}",
  2613. "refId": "A"
  2614. },
  2615. {
  2616. "expr": "sum(SeaweedFS_volumeServer_total_disk_size{namespace=\"$NAMESPACE\"})",
  2617. "format": "time_series",
  2618. "intervalFactor": 2,
  2619. "legendFormat": "Total",
  2620. "refId": "B"
  2621. }
  2622. ],
  2623. "title": "Used Disk Space by Collection and Type",
  2624. "type": "timeseries"
  2625. },
  2626. {
  2627. "datasource": {
  2628. "type": "prometheus",
  2629. "uid": "${DS_PROMETHEUS}"
  2630. },
  2631. "fieldConfig": {
  2632. "defaults": {
  2633. "color": {
  2634. "mode": "palette-classic"
  2635. },
  2636. "custom": {
  2637. "axisBorderShow": false,
  2638. "axisCenteredZero": false,
  2639. "axisColorMode": "text",
  2640. "axisLabel": "",
  2641. "axisPlacement": "auto",
  2642. "barAlignment": 0,
  2643. "drawStyle": "line",
  2644. "fillOpacity": 10,
  2645. "gradientMode": "none",
  2646. "hideFrom": {
  2647. "legend": false,
  2648. "tooltip": false,
  2649. "viz": false
  2650. },
  2651. "insertNulls": false,
  2652. "lineInterpolation": "linear",
  2653. "lineWidth": 1,
  2654. "pointSize": 5,
  2655. "scaleDistribution": {
  2656. "type": "linear"
  2657. },
  2658. "showPoints": "never",
  2659. "spanNulls": false,
  2660. "stacking": {
  2661. "group": "A",
  2662. "mode": "none"
  2663. },
  2664. "thresholdsStyle": {
  2665. "mode": "off"
  2666. }
  2667. },
  2668. "mappings": [],
  2669. "thresholds": {
  2670. "mode": "absolute",
  2671. "steps": [
  2672. {
  2673. "color": "green",
  2674. "value": null
  2675. },
  2676. {
  2677. "color": "red",
  2678. "value": 80
  2679. }
  2680. ]
  2681. },
  2682. "unit": "bytes",
  2683. "unitScale": true
  2684. },
  2685. "overrides": []
  2686. },
  2687. "gridPos": {
  2688. "h": 7,
  2689. "w": 24,
  2690. "x": 0,
  2691. "y": 93
  2692. },
  2693. "id": 51,
  2694. "links": [],
  2695. "options": {
  2696. "legend": {
  2697. "calcs": [],
  2698. "displayMode": "list",
  2699. "placement": "bottom",
  2700. "showLegend": true
  2701. },
  2702. "tooltip": {
  2703. "mode": "multi",
  2704. "sort": "none"
  2705. }
  2706. },
  2707. "pluginVersion": "10.3.1",
  2708. "targets": [
  2709. {
  2710. "expr": "sum(SeaweedFS_volumeServer_total_disk_size{namespace=\"$NAMESPACE\"}) by (exported_instance)",
  2711. "format": "time_series",
  2712. "hide": false,
  2713. "intervalFactor": 2,
  2714. "legendFormat": "{{exported_instance}}",
  2715. "refId": "A"
  2716. }
  2717. ],
  2718. "title": "Used Disk Space by Host",
  2719. "type": "timeseries"
  2720. },
  2721. {
  2722. "collapsed": false,
  2723. "datasource": {
  2724. "type": "prometheus",
  2725. "uid": "${DS_PROMETHEUS}"
  2726. },
  2727. "gridPos": {
  2728. "h": 1,
  2729. "w": 24,
  2730. "x": 0,
  2731. "y": 93
  2732. },
  2733. "id": 63,
  2734. "panels": [],
  2735. "title": "Filer Store",
  2736. "type": "row"
  2737. },
  2738. {
  2739. "datasource": {
  2740. "type": "prometheus",
  2741. "uid": "${DS_PROMETHEUS}"
  2742. },
  2743. "fieldConfig": {
  2744. "defaults": {
  2745. "color": {
  2746. "mode": "palette-classic"
  2747. },
  2748. "custom": {
  2749. "axisBorderShow": false,
  2750. "axisCenteredZero": false,
  2751. "axisColorMode": "text",
  2752. "axisLabel": "",
  2753. "axisPlacement": "auto",
  2754. "barAlignment": 0,
  2755. "drawStyle": "line",
  2756. "fillOpacity": 10,
  2757. "gradientMode": "none",
  2758. "hideFrom": {
  2759. "legend": false,
  2760. "tooltip": false,
  2761. "viz": false
  2762. },
  2763. "insertNulls": false,
  2764. "lineInterpolation": "linear",
  2765. "lineWidth": 2,
  2766. "pointSize": 5,
  2767. "scaleDistribution": {
  2768. "type": "linear"
  2769. },
  2770. "showPoints": "never",
  2771. "spanNulls": false,
  2772. "stacking": {
  2773. "group": "A",
  2774. "mode": "none"
  2775. },
  2776. "thresholdsStyle": {
  2777. "mode": "off"
  2778. }
  2779. },
  2780. "mappings": [],
  2781. "min": 0,
  2782. "thresholds": {
  2783. "mode": "absolute",
  2784. "steps": [
  2785. {
  2786. "color": "green",
  2787. "value": null
  2788. },
  2789. {
  2790. "color": "red",
  2791. "value": 80
  2792. }
  2793. ]
  2794. },
  2795. "unit": "s",
  2796. "unitScale": true
  2797. },
  2798. "overrides": []
  2799. },
  2800. "gridPos": {
  2801. "h": 7,
  2802. "w": 12,
  2803. "x": 0,
  2804. "y": 101
  2805. },
  2806. "id": 12,
  2807. "links": [],
  2808. "options": {
  2809. "legend": {
  2810. "calcs": [],
  2811. "displayMode": "list",
  2812. "placement": "bottom",
  2813. "showLegend": false
  2814. },
  2815. "tooltip": {
  2816. "mode": "multi",
  2817. "sort": "none"
  2818. }
  2819. },
  2820. "pluginVersion": "10.3.1",
  2821. "targets": [
  2822. {
  2823. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_filerStore_request_seconds_bucket{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (le, type))",
  2824. "format": "time_series",
  2825. "intervalFactor": 2,
  2826. "legendFormat": "{{type}}",
  2827. "refId": "B"
  2828. }
  2829. ],
  2830. "title": "Filer Store Request Duration 99th percentile",
  2831. "type": "timeseries"
  2832. },
  2833. {
  2834. "datasource": {
  2835. "type": "prometheus",
  2836. "uid": "${DS_PROMETHEUS}"
  2837. },
  2838. "fieldConfig": {
  2839. "defaults": {
  2840. "color": {
  2841. "mode": "palette-classic"
  2842. },
  2843. "custom": {
  2844. "axisBorderShow": false,
  2845. "axisCenteredZero": false,
  2846. "axisColorMode": "text",
  2847. "axisLabel": "",
  2848. "axisPlacement": "auto",
  2849. "barAlignment": 0,
  2850. "drawStyle": "line",
  2851. "fillOpacity": 10,
  2852. "gradientMode": "none",
  2853. "hideFrom": {
  2854. "legend": false,
  2855. "tooltip": false,
  2856. "viz": false
  2857. },
  2858. "insertNulls": false,
  2859. "lineInterpolation": "linear",
  2860. "lineWidth": 2,
  2861. "pointSize": 5,
  2862. "scaleDistribution": {
  2863. "type": "linear"
  2864. },
  2865. "showPoints": "never",
  2866. "spanNulls": false,
  2867. "stacking": {
  2868. "group": "A",
  2869. "mode": "none"
  2870. },
  2871. "thresholdsStyle": {
  2872. "mode": "off"
  2873. }
  2874. },
  2875. "mappings": [],
  2876. "min": 0,
  2877. "thresholds": {
  2878. "mode": "absolute",
  2879. "steps": [
  2880. {
  2881. "color": "green",
  2882. "value": null
  2883. },
  2884. {
  2885. "color": "red",
  2886. "value": 80
  2887. }
  2888. ]
  2889. },
  2890. "unit": "short",
  2891. "unitScale": true
  2892. },
  2893. "overrides": []
  2894. },
  2895. "gridPos": {
  2896. "h": 7,
  2897. "w": 12,
  2898. "x": 12,
  2899. "y": 101
  2900. },
  2901. "id": 14,
  2902. "links": [],
  2903. "options": {
  2904. "legend": {
  2905. "calcs": [
  2906. "mean",
  2907. "lastNotNull"
  2908. ],
  2909. "displayMode": "table",
  2910. "placement": "right",
  2911. "showLegend": true
  2912. },
  2913. "tooltip": {
  2914. "mode": "multi",
  2915. "sort": "none"
  2916. }
  2917. },
  2918. "pluginVersion": "10.3.1",
  2919. "targets": [
  2920. {
  2921. "expr": "sum(rate(SeaweedFS_filerStore_request_total{namespace=\"$NAMESPACE\"}[$__rate_interval])) by (type)",
  2922. "format": "time_series",
  2923. "intervalFactor": 2,
  2924. "legendFormat": "{{type}}",
  2925. "refId": "B"
  2926. }
  2927. ],
  2928. "title": "Filer Store QPS",
  2929. "type": "timeseries"
  2930. },
  2931. {
  2932. "collapsed": false,
  2933. "datasource": {
  2934. "type": "prometheus",
  2935. "uid": "${DS_PROMETHEUS}"
  2936. },
  2937. "gridPos": {
  2938. "h": 1,
  2939. "w": 24,
  2940. "x": 0,
  2941. "y": 108
  2942. },
  2943. "id": 64,
  2944. "panels": [],
  2945. "title": "Filer Instances",
  2946. "type": "row"
  2947. },
  2948. {
  2949. "datasource": {
  2950. "type": "prometheus",
  2951. "uid": "${DS_PROMETHEUS}"
  2952. },
  2953. "fieldConfig": {
  2954. "defaults": {
  2955. "color": {
  2956. "mode": "palette-classic"
  2957. },
  2958. "custom": {
  2959. "axisBorderShow": false,
  2960. "axisCenteredZero": false,
  2961. "axisColorMode": "text",
  2962. "axisLabel": "",
  2963. "axisPlacement": "auto",
  2964. "barAlignment": 0,
  2965. "drawStyle": "line",
  2966. "fillOpacity": 10,
  2967. "gradientMode": "none",
  2968. "hideFrom": {
  2969. "legend": false,
  2970. "tooltip": false,
  2971. "viz": false
  2972. },
  2973. "insertNulls": false,
  2974. "lineInterpolation": "linear",
  2975. "lineWidth": 2,
  2976. "pointSize": 5,
  2977. "scaleDistribution": {
  2978. "type": "linear"
  2979. },
  2980. "showPoints": "never",
  2981. "spanNulls": false,
  2982. "stacking": {
  2983. "group": "A",
  2984. "mode": "none"
  2985. },
  2986. "thresholdsStyle": {
  2987. "mode": "off"
  2988. }
  2989. },
  2990. "mappings": [],
  2991. "min": 0,
  2992. "thresholds": {
  2993. "mode": "absolute",
  2994. "steps": [
  2995. {
  2996. "color": "green",
  2997. "value": null
  2998. },
  2999. {
  3000. "color": "red",
  3001. "value": 80
  3002. }
  3003. ]
  3004. },
  3005. "unit": "bytes",
  3006. "unitScale": true
  3007. },
  3008. "overrides": []
  3009. },
  3010. "gridPos": {
  3011. "h": 7,
  3012. "w": 12,
  3013. "x": 0,
  3014. "y": 109
  3015. },
  3016. "id": 52,
  3017. "links": [],
  3018. "options": {
  3019. "legend": {
  3020. "calcs": [],
  3021. "displayMode": "list",
  3022. "placement": "bottom",
  3023. "showLegend": false
  3024. },
  3025. "tooltip": {
  3026. "mode": "multi",
  3027. "sort": "none"
  3028. }
  3029. },
  3030. "pluginVersion": "10.3.1",
  3031. "targets": [
  3032. {
  3033. "exemplar": true,
  3034. "expr": "go_memstats_alloc_bytes{job=\"seaweedfs-filer\", namespace=\"$NAMESPACE\"}",
  3035. "format": "time_series",
  3036. "hide": false,
  3037. "interval": "",
  3038. "intervalFactor": 2,
  3039. "legendFormat": "bytes allocated",
  3040. "refId": "B"
  3041. },
  3042. {
  3043. "exemplar": true,
  3044. "expr": "rate(go_memstats_alloc_bytes_total{job=\"seaweedfs-filer\", namespace=\"$NAMESPACE\"}[$__rate_interval])",
  3045. "format": "time_series",
  3046. "hide": false,
  3047. "interval": "",
  3048. "intervalFactor": 2,
  3049. "legendFormat": "alloc rate",
  3050. "refId": "A"
  3051. },
  3052. {
  3053. "exemplar": true,
  3054. "expr": "go_memstats_stack_inuse_bytes{job=\"seaweedfs-filer\", namespace=\"$NAMESPACE\"}",
  3055. "format": "time_series",
  3056. "hide": false,
  3057. "interval": "",
  3058. "intervalFactor": 2,
  3059. "legendFormat": "stack inuse",
  3060. "refId": "C"
  3061. },
  3062. {
  3063. "exemplar": true,
  3064. "expr": "go_memstats_heap_inuse_bytes{job=\"seaweedfs-filer\", namespace=\"$NAMESPACE\"}",
  3065. "format": "time_series",
  3066. "hide": false,
  3067. "interval": "",
  3068. "intervalFactor": 2,
  3069. "legendFormat": "heap inuse",
  3070. "refId": "D"
  3071. }
  3072. ],
  3073. "title": "Filer Go Memory Stats",
  3074. "type": "timeseries"
  3075. },
  3076. {
  3077. "datasource": {
  3078. "type": "prometheus",
  3079. "uid": "${DS_PROMETHEUS}"
  3080. },
  3081. "fieldConfig": {
  3082. "defaults": {
  3083. "color": {
  3084. "mode": "palette-classic"
  3085. },
  3086. "custom": {
  3087. "axisBorderShow": false,
  3088. "axisCenteredZero": false,
  3089. "axisColorMode": "text",
  3090. "axisLabel": "",
  3091. "axisPlacement": "auto",
  3092. "barAlignment": 0,
  3093. "drawStyle": "line",
  3094. "fillOpacity": 10,
  3095. "gradientMode": "none",
  3096. "hideFrom": {
  3097. "legend": false,
  3098. "tooltip": false,
  3099. "viz": false
  3100. },
  3101. "insertNulls": false,
  3102. "lineInterpolation": "linear",
  3103. "lineWidth": 2,
  3104. "pointSize": 5,
  3105. "scaleDistribution": {
  3106. "type": "linear"
  3107. },
  3108. "showPoints": "never",
  3109. "spanNulls": false,
  3110. "stacking": {
  3111. "group": "A",
  3112. "mode": "none"
  3113. },
  3114. "thresholdsStyle": {
  3115. "mode": "off"
  3116. }
  3117. },
  3118. "mappings": [],
  3119. "min": 0,
  3120. "thresholds": {
  3121. "mode": "absolute",
  3122. "steps": [
  3123. {
  3124. "color": "green",
  3125. "value": null
  3126. },
  3127. {
  3128. "color": "red",
  3129. "value": 80
  3130. }
  3131. ]
  3132. },
  3133. "unit": "s",
  3134. "unitScale": true
  3135. },
  3136. "overrides": []
  3137. },
  3138. "gridPos": {
  3139. "h": 7,
  3140. "w": 12,
  3141. "x": 12,
  3142. "y": 109
  3143. },
  3144. "id": 54,
  3145. "links": [],
  3146. "options": {
  3147. "legend": {
  3148. "calcs": [],
  3149. "displayMode": "list",
  3150. "placement": "bottom",
  3151. "showLegend": false
  3152. },
  3153. "tooltip": {
  3154. "mode": "multi",
  3155. "sort": "none"
  3156. }
  3157. },
  3158. "pluginVersion": "10.3.1",
  3159. "targets": [
  3160. {
  3161. "exemplar": true,
  3162. "expr": "go_gc_duration_seconds{job=\"seaweedfs-filer\", namespace=\"$NAMESPACE\"}",
  3163. "format": "time_series",
  3164. "interval": "",
  3165. "intervalFactor": 2,
  3166. "legendFormat": "{{quantile}}",
  3167. "refId": "B"
  3168. }
  3169. ],
  3170. "title": "Filer Go GC duration quantiles",
  3171. "type": "timeseries"
  3172. },
  3173. {
  3174. "datasource": {
  3175. "type": "prometheus",
  3176. "uid": "${DS_PROMETHEUS}"
  3177. },
  3178. "fieldConfig": {
  3179. "defaults": {
  3180. "color": {
  3181. "mode": "palette-classic"
  3182. },
  3183. "custom": {
  3184. "axisBorderShow": false,
  3185. "axisCenteredZero": false,
  3186. "axisColorMode": "text",
  3187. "axisLabel": "",
  3188. "axisPlacement": "auto",
  3189. "barAlignment": 0,
  3190. "drawStyle": "line",
  3191. "fillOpacity": 10,
  3192. "gradientMode": "none",
  3193. "hideFrom": {
  3194. "legend": false,
  3195. "tooltip": false,
  3196. "viz": false
  3197. },
  3198. "insertNulls": false,
  3199. "lineInterpolation": "linear",
  3200. "lineWidth": 2,
  3201. "pointSize": 5,
  3202. "scaleDistribution": {
  3203. "type": "linear"
  3204. },
  3205. "showPoints": "never",
  3206. "spanNulls": false,
  3207. "stacking": {
  3208. "group": "A",
  3209. "mode": "none"
  3210. },
  3211. "thresholdsStyle": {
  3212. "mode": "off"
  3213. }
  3214. },
  3215. "mappings": [],
  3216. "min": 0,
  3217. "thresholds": {
  3218. "mode": "absolute",
  3219. "steps": [
  3220. {
  3221. "color": "green",
  3222. "value": null
  3223. },
  3224. {
  3225. "color": "red",
  3226. "value": 80
  3227. }
  3228. ]
  3229. },
  3230. "unit": "none",
  3231. "unitScale": true
  3232. },
  3233. "overrides": []
  3234. },
  3235. "gridPos": {
  3236. "h": 7,
  3237. "w": 24,
  3238. "x": 0,
  3239. "y": 116
  3240. },
  3241. "id": 53,
  3242. "links": [],
  3243. "options": {
  3244. "legend": {
  3245. "calcs": [],
  3246. "displayMode": "list",
  3247. "placement": "bottom",
  3248. "showLegend": false
  3249. },
  3250. "tooltip": {
  3251. "mode": "multi",
  3252. "sort": "none"
  3253. }
  3254. },
  3255. "pluginVersion": "10.3.1",
  3256. "targets": [
  3257. {
  3258. "exemplar": true,
  3259. "expr": "go_goroutines{job=\"seaweedfs-filer\", namespace=\"$NAMESPACE\"}",
  3260. "format": "time_series",
  3261. "interval": "",
  3262. "intervalFactor": 2,
  3263. "legendFormat": "{{exported_instance}}",
  3264. "refId": "B"
  3265. }
  3266. ],
  3267. "title": "Filer Go Routines",
  3268. "type": "timeseries"
  3269. }
  3270. ],
  3271. "refresh": "",
  3272. "schemaVersion": 39,
  3273. "tags": [],
  3274. "templating": {
  3275. "list": [
  3276. {
  3277. "current": {
  3278. "selected": false,
  3279. "text": "Prometheus",
  3280. "value": "PBFA97CFB590B2093"
  3281. },
  3282. "hide": 0,
  3283. "includeAll": false,
  3284. "label": "Datasource",
  3285. "multi": false,
  3286. "name": "DS_PROMETHEUS",
  3287. "options": [],
  3288. "query": "prometheus",
  3289. "queryValue": "",
  3290. "refresh": 1,
  3291. "regex": "",
  3292. "skipUrlSync": false,
  3293. "type": "datasource"
  3294. },
  3295. {
  3296. "current": {
  3297. "selected": false,
  3298. "text": "mes",
  3299. "value": "mes"
  3300. },
  3301. "datasource": {
  3302. "type": "prometheus",
  3303. "uid": "${DS_PROMETHEUS}"
  3304. },
  3305. "definition": "label_values(SeaweedFS_master_is_leader,namespace)",
  3306. "hide": 0,
  3307. "includeAll": false,
  3308. "label": "Namespace",
  3309. "multi": false,
  3310. "name": "NAMESPACE",
  3311. "options": [],
  3312. "query": {
  3313. "qryType": 1,
  3314. "query": "label_values(SeaweedFS_master_is_leader,namespace)",
  3315. "refId": "PrometheusVariableQueryEditor-VariableQuery"
  3316. },
  3317. "refresh": 1,
  3318. "regex": "",
  3319. "skipUrlSync": false,
  3320. "sort": 2,
  3321. "type": "query"
  3322. }
  3323. ]
  3324. },
  3325. "time": {
  3326. "from": "now-1d",
  3327. "to": "now"
  3328. },
  3329. "timepicker": {
  3330. "refresh_intervals": [
  3331. "5s",
  3332. "10s",
  3333. "30s",
  3334. "1m",
  3335. "5m",
  3336. "15m",
  3337. "30m",
  3338. "1h",
  3339. "2h",
  3340. "1d"
  3341. ],
  3342. "time_options": [
  3343. "5m",
  3344. "15m",
  3345. "1h",
  3346. "6h",
  3347. "12h",
  3348. "24h",
  3349. "2d",
  3350. "7d",
  3351. "30d"
  3352. ]
  3353. },
  3354. "timezone": "browser",
  3355. "title": "SeaweedFS",
  3356. "uid": "a24009d7-cbda-4443-a132-1cc1c4677304",
  3357. "version": 1,
  3358. "weekStart": ""
  3359. }