MongoDB_RocksDB.json 115 KB

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