MongoDB_MMAPv1.json 70 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836
  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. "refresh": false,
  36. "rows": [
  37. {
  38. "collapse": false,
  39. "height": "125px",
  40. "panels": [
  41. {
  42. "cacheTimeout": null,
  43. "colorBackground": false,
  44. "colorValue": false,
  45. "colors": [
  46. "rgba(50, 172, 45, 0.97)",
  47. "rgba(237, 129, 40, 0.89)",
  48. "rgba(245, 54, 54, 0.9)"
  49. ],
  50. "datasource": "Prometheus",
  51. "decimals": 0,
  52. "editable": true,
  53. "error": false,
  54. "format": "short",
  55. "gauge": {
  56. "maxValue": 100,
  57. "minValue": 0,
  58. "show": false,
  59. "thresholdLabels": false,
  60. "thresholdMarkers": true
  61. },
  62. "height": "125px",
  63. "id": 88,
  64. "interval": "$interval",
  65. "links": [],
  66. "mappingType": 1,
  67. "mappingTypes": [
  68. {
  69. "name": "value to text",
  70. "value": 1
  71. },
  72. {
  73. "name": "range to text",
  74. "value": 2
  75. }
  76. ],
  77. "maxDataPoints": 100,
  78. "nullPointMode": "connected",
  79. "nullText": null,
  80. "postfix": "",
  81. "postfixFontSize": "50%",
  82. "prefix": "",
  83. "prefixFontSize": "80%",
  84. "rangeMaps": [
  85. {
  86. "from": "null",
  87. "text": "N/A",
  88. "to": "null"
  89. }
  90. ],
  91. "span": 3,
  92. "sparkline": {
  93. "fillColor": "rgba(31, 118, 189, 0.18)",
  94. "full": true,
  95. "lineColor": "rgb(31, 120, 193)",
  96. "show": false
  97. },
  98. "targets": [
  99. {
  100. "calculatedInterval": "10m",
  101. "datasourceErrors": {},
  102. "errors": {},
  103. "expr": "(sum(increase(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=\"Database\"}[$interval])) by (instance) / (increase(mongodb_mongod_instance_uptime_seconds{instance=\"$host\"}[$interval])*1000000)) or mongodb_mongod_global_lock_ratio{instance=\"$host\"}",
  104. "interval": "5m",
  105. "intervalFactor": 1,
  106. "legendFormat": "",
  107. "metric": "node_mem",
  108. "refId": "A",
  109. "step": 300
  110. }
  111. ],
  112. "thresholds": "90,95",
  113. "title": "MMAPv1 Lock Wait Ratio",
  114. "transparent": false,
  115. "type": "singlestat",
  116. "valueFontSize": "80%",
  117. "valueMaps": [],
  118. "valueName": "current"
  119. },
  120. {
  121. "cacheTimeout": null,
  122. "colorBackground": false,
  123. "colorValue": false,
  124. "colors": [
  125. "rgba(50, 172, 45, 0.97)",
  126. "rgba(237, 129, 40, 0.89)",
  127. "rgba(245, 54, 54, 0.9)"
  128. ],
  129. "datasource": "Prometheus",
  130. "decimals": 0,
  131. "editable": true,
  132. "error": false,
  133. "format": "ms",
  134. "gauge": {
  135. "maxValue": 100,
  136. "minValue": 0,
  137. "show": false,
  138. "thresholdLabels": false,
  139. "thresholdMarkers": true
  140. },
  141. "height": "125px",
  142. "id": 89,
  143. "interval": "$interval",
  144. "links": [],
  145. "mappingType": 1,
  146. "mappingTypes": [
  147. {
  148. "name": "value to text",
  149. "value": 1
  150. },
  151. {
  152. "name": "range to text",
  153. "value": 2
  154. }
  155. ],
  156. "maxDataPoints": 100,
  157. "nullPointMode": "connected",
  158. "nullText": null,
  159. "postfix": "",
  160. "postfixFontSize": "50%",
  161. "prefix": "",
  162. "prefixFontSize": "80%",
  163. "rangeMaps": [
  164. {
  165. "from": "null",
  166. "text": "N/A",
  167. "to": "null"
  168. }
  169. ],
  170. "span": 3,
  171. "sparkline": {
  172. "fillColor": "rgba(31, 118, 189, 0.18)",
  173. "full": true,
  174. "lineColor": "rgb(31, 120, 193)",
  175. "show": false
  176. },
  177. "targets": [
  178. {
  179. "calculatedInterval": "10m",
  180. "datasourceErrors": {},
  181. "errors": {},
  182. "expr": "rate(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=\"Global\",type=\"write\"}[$interval]) or irate(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=\"Global\",type=\"write\"}[5m])",
  183. "interval": "5m",
  184. "intervalFactor": 1,
  185. "legendFormat": "",
  186. "metric": "node_mem",
  187. "refId": "A",
  188. "step": 300
  189. }
  190. ],
  191. "thresholds": "90,95",
  192. "title": "MMAPv1 Write Lock Time",
  193. "transparent": false,
  194. "type": "singlestat",
  195. "valueFontSize": "80%",
  196. "valueMaps": [],
  197. "valueName": "current"
  198. },
  199. {
  200. "cacheTimeout": null,
  201. "colorBackground": false,
  202. "colorValue": false,
  203. "colors": [
  204. "rgba(245, 54, 54, 0.9)",
  205. "rgba(237, 129, 40, 0.89)",
  206. "rgba(50, 172, 45, 0.97)"
  207. ],
  208. "datasource": "Prometheus",
  209. "decimals": 2,
  210. "editable": true,
  211. "error": false,
  212. "format": "bytes",
  213. "gauge": {
  214. "maxValue": 100,
  215. "minValue": 0,
  216. "show": false,
  217. "thresholdLabels": false,
  218. "thresholdMarkers": true
  219. },
  220. "hideTimeOverride": true,
  221. "id": 79,
  222. "interval": null,
  223. "links": [],
  224. "mappingType": 1,
  225. "mappingTypes": [
  226. {
  227. "name": "value to text",
  228. "value": 1
  229. },
  230. {
  231. "name": "range to text",
  232. "value": 2
  233. }
  234. ],
  235. "maxDataPoints": 100,
  236. "nullPointMode": "null",
  237. "nullText": null,
  238. "postfix": "",
  239. "postfixFontSize": "50%",
  240. "prefix": "",
  241. "prefixFontSize": "50%",
  242. "rangeMaps": [
  243. {
  244. "from": "null",
  245. "text": "N/A",
  246. "to": "null"
  247. }
  248. ],
  249. "span": 3,
  250. "sparkline": {
  251. "fillColor": "rgba(31, 118, 189, 0.18)",
  252. "full": false,
  253. "lineColor": "rgb(31, 120, 193)",
  254. "show": false
  255. },
  256. "targets": [
  257. {
  258. "expr": "node_memory_Cached{instance=\"$host\"}",
  259. "interval": "5m",
  260. "intervalFactor": 1,
  261. "legendFormat": "",
  262. "refId": "A",
  263. "step": 300
  264. }
  265. ],
  266. "thresholds": "",
  267. "timeFrom": "1m",
  268. "title": "Memory Cached",
  269. "type": "singlestat",
  270. "valueFontSize": "70%",
  271. "valueMaps": [
  272. {
  273. "op": "=",
  274. "text": "N/A",
  275. "value": "null"
  276. }
  277. ],
  278. "valueName": "avg"
  279. },
  280. {
  281. "cacheTimeout": null,
  282. "colorBackground": false,
  283. "colorValue": true,
  284. "colors": [
  285. "rgba(50, 172, 45, 0.97)",
  286. "rgba(237, 129, 40, 0.89)",
  287. "rgba(245, 54, 54, 0.9)"
  288. ],
  289. "datasource": "Prometheus",
  290. "decimals": 0,
  291. "editable": true,
  292. "error": false,
  293. "format": "percent",
  294. "gauge": {
  295. "maxValue": 100,
  296. "minValue": 0,
  297. "show": false,
  298. "thresholdLabels": false,
  299. "thresholdMarkers": true
  300. },
  301. "height": "125px",
  302. "id": 80,
  303. "interval": "$interval",
  304. "links": [],
  305. "mappingType": 1,
  306. "mappingTypes": [
  307. {
  308. "name": "value to text",
  309. "value": 1
  310. },
  311. {
  312. "name": "range to text",
  313. "value": 2
  314. }
  315. ],
  316. "maxDataPoints": 100,
  317. "nullPointMode": "connected",
  318. "nullText": null,
  319. "postfix": "",
  320. "postfixFontSize": "50%",
  321. "prefix": "",
  322. "prefixFontSize": "80%",
  323. "rangeMaps": [
  324. {
  325. "from": "null",
  326. "text": "N/A",
  327. "to": "null"
  328. }
  329. ],
  330. "span": 3,
  331. "sparkline": {
  332. "fillColor": "rgba(31, 118, 189, 0.18)",
  333. "full": true,
  334. "lineColor": "rgb(31, 120, 193)",
  335. "show": true
  336. },
  337. "targets": [
  338. {
  339. "calculatedInterval": "10m",
  340. "datasourceErrors": {},
  341. "errors": {},
  342. "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",
  343. "interval": "5m",
  344. "intervalFactor": 1,
  345. "legendFormat": "",
  346. "metric": "node_mem",
  347. "refId": "A",
  348. "step": 300
  349. }
  350. ],
  351. "thresholds": "90,95",
  352. "title": "Memory Available",
  353. "transparent": false,
  354. "type": "singlestat",
  355. "valueFontSize": "80%",
  356. "valueMaps": [],
  357. "valueName": "current"
  358. }
  359. ],
  360. "repeat": null,
  361. "repeatIteration": null,
  362. "repeatRowId": null,
  363. "showTitle": false,
  364. "title": "New row",
  365. "titleSize": "h6"
  366. },
  367. {
  368. "collapse": false,
  369. "height": "250px",
  370. "panels": [
  371. {
  372. "aliasColors": {},
  373. "bars": false,
  374. "datasource": "Prometheus",
  375. "decimals": null,
  376. "editable": true,
  377. "error": false,
  378. "fill": 2,
  379. "grid": {},
  380. "id": 36,
  381. "legend": {
  382. "alignAsTable": true,
  383. "avg": true,
  384. "current": false,
  385. "hideZero": true,
  386. "max": true,
  387. "min": true,
  388. "rightSide": false,
  389. "show": true,
  390. "sort": "avg",
  391. "sortDesc": true,
  392. "total": false,
  393. "values": true
  394. },
  395. "lines": true,
  396. "linewidth": 2,
  397. "links": [],
  398. "nullPointMode": "null",
  399. "percentage": false,
  400. "pointradius": 5,
  401. "points": false,
  402. "renderer": "flot",
  403. "seriesOverrides": [],
  404. "span": 6,
  405. "stack": true,
  406. "steppedLine": false,
  407. "targets": [
  408. {
  409. "expr": "rate(mongodb_mongod_metrics_document_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_document_total{instance=\"$host\"}[5m])",
  410. "hide": false,
  411. "interval": "$interval",
  412. "intervalFactor": 1,
  413. "legendFormat": "{{state}}",
  414. "refId": "J",
  415. "step": 300
  416. },
  417. {
  418. "expr": "rate(mongodb_mongod_metrics_ttl_deleted_documents_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_ttl_deleted_documents_total{instance=\"$host\"}[5m])",
  419. "hide": false,
  420. "interval": "$interval",
  421. "intervalFactor": 1,
  422. "legendFormat": "ttl_deleted",
  423. "refId": "A",
  424. "step": 300
  425. },
  426. {
  427. "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])",
  428. "hide": false,
  429. "interval": "$interval",
  430. "intervalFactor": 1,
  431. "legendFormat": "repl_deleted",
  432. "refId": "B",
  433. "step": 300
  434. },
  435. {
  436. "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])",
  437. "hide": false,
  438. "interval": "$interval",
  439. "intervalFactor": 1,
  440. "legendFormat": "repl_inserted",
  441. "refId": "C",
  442. "step": 300
  443. },
  444. {
  445. "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])",
  446. "hide": false,
  447. "interval": "$interval",
  448. "intervalFactor": 1,
  449. "legendFormat": "repl_updated",
  450. "refId": "D",
  451. "step": 300
  452. }
  453. ],
  454. "thresholds": [],
  455. "timeFrom": null,
  456. "timeShift": null,
  457. "title": "Document Activity",
  458. "tooltip": {
  459. "msResolution": false,
  460. "shared": true,
  461. "sort": 0,
  462. "value_type": "individual"
  463. },
  464. "type": "graph",
  465. "xaxis": {
  466. "mode": "time",
  467. "name": null,
  468. "show": true,
  469. "values": []
  470. },
  471. "yaxes": [
  472. {
  473. "format": "ops",
  474. "label": "",
  475. "logBase": 1,
  476. "max": null,
  477. "min": 0,
  478. "show": true
  479. },
  480. {
  481. "format": "short",
  482. "logBase": 1,
  483. "max": null,
  484. "min": null,
  485. "show": true
  486. }
  487. ]
  488. },
  489. {
  490. "aliasColors": {},
  491. "bars": false,
  492. "datasource": "Prometheus",
  493. "decimals": null,
  494. "editable": true,
  495. "error": false,
  496. "fill": 2,
  497. "grid": {},
  498. "id": 82,
  499. "legend": {
  500. "alignAsTable": true,
  501. "avg": true,
  502. "current": false,
  503. "hideEmpty": false,
  504. "hideZero": 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": true,
  525. "steppedLine": false,
  526. "targets": [
  527. {
  528. "expr": "(sum(increase(mongodb_mongod_locks_time_locked_global_microseconds_total{instance=\"$host\",database=\"Database\"}[$interval])) by (instance) / (increase(mongodb_mongod_instance_uptime_seconds{instance=\"$host\"}[$interval])*1000000)) or mongodb_mongod_global_lock_ratio{instance=\"$host\"}",
  529. "hide": false,
  530. "interval": "$interval",
  531. "intervalFactor": 1,
  532. "legendFormat": "Lock (pre-3.2 only)",
  533. "metric": "mongodb_mongod_global_lock_ratio",
  534. "refId": "J",
  535. "step": 300
  536. },
  537. {
  538. "expr": "(sum(increase(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=\"Database\"}[$interval])) by (instance) / (increase(mongodb_mongod_instance_uptime_seconds{instance=\"$host\"}[$interval])*1000000)) or mongodb_mongod_global_lock_ratio{instance=\"$host\"}",
  539. "hide": false,
  540. "interval": "$interval",
  541. "intervalFactor": 1,
  542. "legendFormat": "Lock Wait",
  543. "metric": "mongodb_mongod_global_lock_ratio",
  544. "refId": "A",
  545. "step": 300
  546. }
  547. ],
  548. "thresholds": [],
  549. "timeFrom": null,
  550. "timeShift": null,
  551. "title": "MMAPv1 Lock Ratios",
  552. "tooltip": {
  553. "msResolution": false,
  554. "shared": true,
  555. "sort": 0,
  556. "value_type": "individual"
  557. },
  558. "type": "graph",
  559. "xaxis": {
  560. "mode": "time",
  561. "name": null,
  562. "show": true,
  563. "values": []
  564. },
  565. "yaxes": [
  566. {
  567. "format": "none",
  568. "label": "",
  569. "logBase": 1,
  570. "max": null,
  571. "min": 0,
  572. "show": true
  573. },
  574. {
  575. "format": "short",
  576. "logBase": 1,
  577. "max": null,
  578. "min": null,
  579. "show": true
  580. }
  581. ]
  582. }
  583. ],
  584. "repeat": null,
  585. "repeatIteration": null,
  586. "repeatRowId": null,
  587. "showTitle": false,
  588. "title": "Document Activity and MMAPv1 Lock Ratio",
  589. "titleSize": "h6"
  590. },
  591. {
  592. "collapse": false,
  593. "height": "250px",
  594. "panels": [
  595. {
  596. "aliasColors": {},
  597. "bars": false,
  598. "datasource": "Prometheus",
  599. "decimals": null,
  600. "editable": true,
  601. "error": false,
  602. "fill": 2,
  603. "grid": {},
  604. "id": 83,
  605. "legend": {
  606. "alignAsTable": true,
  607. "avg": true,
  608. "current": false,
  609. "max": true,
  610. "min": true,
  611. "show": true,
  612. "total": false,
  613. "values": true
  614. },
  615. "lines": true,
  616. "linewidth": 2,
  617. "links": [],
  618. "nullPointMode": "null",
  619. "percentage": false,
  620. "pointradius": 5,
  621. "points": false,
  622. "renderer": "flot",
  623. "seriesOverrides": [],
  624. "span": 6,
  625. "stack": false,
  626. "steppedLine": false,
  627. "targets": [
  628. {
  629. "expr": "rate(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=~\"(Global|Database|MMAPV1Journal)\"}[$interval]) or irate(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=~\"(Global|Database|MMAPV1Journal)\"}[5m])",
  630. "hide": false,
  631. "interval": "$interval",
  632. "intervalFactor": 1,
  633. "legendFormat": "{{database}} {{type}}",
  634. "metric": "node_vmstat_nr_dirty",
  635. "refId": "J",
  636. "step": 300
  637. }
  638. ],
  639. "thresholds": [],
  640. "timeFrom": null,
  641. "timeShift": null,
  642. "title": "MMAPv1 Lock Wait Time",
  643. "tooltip": {
  644. "msResolution": false,
  645. "shared": true,
  646. "sort": 0,
  647. "value_type": "cumulative"
  648. },
  649. "transparent": false,
  650. "type": "graph",
  651. "xaxis": {
  652. "mode": "time",
  653. "name": null,
  654. "show": true,
  655. "values": []
  656. },
  657. "yaxes": [
  658. {
  659. "format": "\u00b5s",
  660. "label": "",
  661. "logBase": 1,
  662. "max": null,
  663. "min": 0,
  664. "show": true
  665. },
  666. {
  667. "format": "short",
  668. "logBase": 1,
  669. "max": null,
  670. "min": null,
  671. "show": true
  672. }
  673. ]
  674. },
  675. {
  676. "aliasColors": {},
  677. "bars": false,
  678. "datasource": "Prometheus",
  679. "decimals": null,
  680. "editable": true,
  681. "error": false,
  682. "fill": 2,
  683. "grid": {},
  684. "id": 39,
  685. "legend": {
  686. "alignAsTable": true,
  687. "avg": true,
  688. "current": false,
  689. "max": true,
  690. "min": true,
  691. "show": false,
  692. "total": false,
  693. "values": true
  694. },
  695. "lines": true,
  696. "linewidth": 2,
  697. "links": [],
  698. "nullPointMode": "null",
  699. "percentage": false,
  700. "pointradius": 5,
  701. "points": false,
  702. "renderer": "flot",
  703. "seriesOverrides": [],
  704. "span": 6,
  705. "stack": false,
  706. "steppedLine": false,
  707. "targets": [
  708. {
  709. "expr": "rate(mongodb_mongod_extra_info_page_faults_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_extra_info_page_faults_total{instance=\"$host\"}[5m])",
  710. "hide": false,
  711. "interval": "$interval",
  712. "intervalFactor": 1,
  713. "legendFormat": "Faults",
  714. "refId": "J",
  715. "step": 300
  716. }
  717. ],
  718. "thresholds": [],
  719. "timeFrom": null,
  720. "timeShift": null,
  721. "title": "MMAPv1 Page Faults",
  722. "tooltip": {
  723. "msResolution": false,
  724. "shared": true,
  725. "sort": 0,
  726. "value_type": "cumulative"
  727. },
  728. "type": "graph",
  729. "xaxis": {
  730. "mode": "time",
  731. "name": null,
  732. "show": true,
  733. "values": []
  734. },
  735. "yaxes": [
  736. {
  737. "format": "ops",
  738. "label": "",
  739. "logBase": 1,
  740. "max": null,
  741. "min": 0,
  742. "show": true
  743. },
  744. {
  745. "format": "short",
  746. "logBase": 1,
  747. "max": null,
  748. "min": null,
  749. "show": true
  750. }
  751. ]
  752. }
  753. ],
  754. "repeat": null,
  755. "repeatIteration": null,
  756. "repeatRowId": null,
  757. "showTitle": false,
  758. "title": "MMAPv1 Lock Wait Time and Page Faults",
  759. "titleSize": "h6"
  760. },
  761. {
  762. "collapse": false,
  763. "height": 250,
  764. "panels": [
  765. {
  766. "aliasColors": {},
  767. "bars": false,
  768. "datasource": "Prometheus",
  769. "decimals": null,
  770. "editable": true,
  771. "error": false,
  772. "fill": 2,
  773. "grid": {},
  774. "id": 85,
  775. "legend": {
  776. "alignAsTable": true,
  777. "avg": true,
  778. "current": false,
  779. "max": true,
  780. "min": true,
  781. "show": 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. "span": 6,
  795. "stack": false,
  796. "steppedLine": false,
  797. "targets": [
  798. {
  799. "expr": "rate(mongodb_mongod_durability_journaled_megabytes{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_durability_journaled_megabytes{instance=\"$host\"}[5m])",
  800. "hide": false,
  801. "interval": "$interval",
  802. "intervalFactor": 1,
  803. "legendFormat": "Journaled",
  804. "metric": "node_vmstat_nr_dirty",
  805. "refId": "J",
  806. "step": 300
  807. },
  808. {
  809. "expr": "rate(mongodb_mongod_durability_write_to_data_files_megabytes{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_durability_write_to_data_files_megabytes{instance=\"$host\"}[5m])",
  810. "hide": false,
  811. "interval": "$interval",
  812. "intervalFactor": 1,
  813. "legendFormat": "Write to Data Files",
  814. "metric": "node_vmstat_nr_dirty",
  815. "refId": "A",
  816. "step": 300
  817. }
  818. ],
  819. "thresholds": [],
  820. "timeFrom": null,
  821. "timeShift": null,
  822. "title": "MMAPv1 Journal Write Activity",
  823. "tooltip": {
  824. "msResolution": false,
  825. "shared": true,
  826. "sort": 0,
  827. "value_type": "cumulative"
  828. },
  829. "transparent": false,
  830. "type": "graph",
  831. "xaxis": {
  832. "mode": "time",
  833. "name": null,
  834. "show": true,
  835. "values": []
  836. },
  837. "yaxes": [
  838. {
  839. "format": "MBs",
  840. "label": "",
  841. "logBase": 1,
  842. "max": null,
  843. "min": 0,
  844. "show": true
  845. },
  846. {
  847. "format": "short",
  848. "logBase": 1,
  849. "max": null,
  850. "min": null,
  851. "show": true
  852. }
  853. ]
  854. },
  855. {
  856. "aliasColors": {},
  857. "bars": false,
  858. "datasource": "Prometheus",
  859. "decimals": null,
  860. "editable": true,
  861. "error": false,
  862. "fill": 2,
  863. "grid": {},
  864. "id": 87,
  865. "legend": {
  866. "alignAsTable": true,
  867. "avg": true,
  868. "current": false,
  869. "max": true,
  870. "min": true,
  871. "show": true,
  872. "total": false,
  873. "values": true
  874. },
  875. "lines": true,
  876. "linewidth": 2,
  877. "links": [],
  878. "nullPointMode": "null",
  879. "percentage": false,
  880. "pointradius": 5,
  881. "points": false,
  882. "renderer": "flot",
  883. "seriesOverrides": [],
  884. "span": 6,
  885. "stack": false,
  886. "steppedLine": false,
  887. "targets": [
  888. {
  889. "expr": "rate(mongodb_mongod_durability_commits{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_durability_commits{instance=\"$host\"}[5m])",
  890. "hide": false,
  891. "interval": "$interval",
  892. "intervalFactor": 1,
  893. "legendFormat": "{{state}}",
  894. "metric": "node_vmstat_nr_dirty",
  895. "refId": "J",
  896. "step": 300
  897. }
  898. ],
  899. "thresholds": [],
  900. "timeFrom": null,
  901. "timeShift": null,
  902. "title": "MMAPv1 Journal Commit Activity",
  903. "tooltip": {
  904. "msResolution": false,
  905. "shared": true,
  906. "sort": 0,
  907. "value_type": "cumulative"
  908. },
  909. "transparent": false,
  910. "type": "graph",
  911. "xaxis": {
  912. "mode": "time",
  913. "name": null,
  914. "show": true,
  915. "values": []
  916. },
  917. "yaxes": [
  918. {
  919. "format": "ops",
  920. "label": "",
  921. "logBase": 1,
  922. "max": null,
  923. "min": 0,
  924. "show": true
  925. },
  926. {
  927. "format": "short",
  928. "logBase": 1,
  929. "max": null,
  930. "min": null,
  931. "show": true
  932. }
  933. ]
  934. }
  935. ],
  936. "repeat": null,
  937. "repeatIteration": null,
  938. "repeatRowId": null,
  939. "showTitle": false,
  940. "title": "MMAPv1 Journal Activity",
  941. "titleSize": "h6"
  942. },
  943. {
  944. "collapse": false,
  945. "height": 250,
  946. "panels": [
  947. {
  948. "aliasColors": {},
  949. "bars": false,
  950. "datasource": "Prometheus",
  951. "decimals": null,
  952. "editable": true,
  953. "error": false,
  954. "fill": 2,
  955. "grid": {},
  956. "id": 84,
  957. "legend": {
  958. "alignAsTable": true,
  959. "avg": true,
  960. "current": false,
  961. "max": true,
  962. "min": true,
  963. "show": true,
  964. "total": false,
  965. "values": true
  966. },
  967. "lines": true,
  968. "linewidth": 2,
  969. "links": [],
  970. "nullPointMode": "null",
  971. "percentage": false,
  972. "pointradius": 5,
  973. "points": false,
  974. "renderer": "flot",
  975. "seriesOverrides": [],
  976. "span": 6,
  977. "stack": false,
  978. "steppedLine": false,
  979. "targets": [
  980. {
  981. "expr": "rate(mongodb_mongod_durability_time_milliseconds_sum{instance=\"$host\",stage!=\"dt\"}[$interval]) or irate(mongodb_mongod_durability_time_milliseconds_sum{instance=\"$host\",stage!=\"dt\"}[5m])",
  982. "hide": false,
  983. "interval": "$interval",
  984. "intervalFactor": 1,
  985. "legendFormat": "{{stage}}",
  986. "metric": "node_vmstat_nr_dirty",
  987. "refId": "J",
  988. "step": 300
  989. }
  990. ],
  991. "thresholds": [],
  992. "timeFrom": null,
  993. "timeShift": null,
  994. "title": "MMAPv1 Journaling Time",
  995. "tooltip": {
  996. "msResolution": false,
  997. "shared": true,
  998. "sort": 0,
  999. "value_type": "individual"
  1000. },
  1001. "transparent": false,
  1002. "type": "graph",
  1003. "xaxis": {
  1004. "mode": "time",
  1005. "name": null,
  1006. "show": true,
  1007. "values": []
  1008. },
  1009. "yaxes": [
  1010. {
  1011. "format": "ms",
  1012. "label": "",
  1013. "logBase": 1,
  1014. "max": null,
  1015. "min": 0,
  1016. "show": true
  1017. },
  1018. {
  1019. "format": "short",
  1020. "logBase": 1,
  1021. "max": null,
  1022. "min": null,
  1023. "show": true
  1024. }
  1025. ]
  1026. },
  1027. {
  1028. "aliasColors": {},
  1029. "bars": false,
  1030. "datasource": "Prometheus",
  1031. "decimals": null,
  1032. "editable": true,
  1033. "error": false,
  1034. "fill": 2,
  1035. "grid": {},
  1036. "id": 86,
  1037. "legend": {
  1038. "alignAsTable": true,
  1039. "avg": true,
  1040. "current": false,
  1041. "max": true,
  1042. "min": true,
  1043. "show": true,
  1044. "total": false,
  1045. "values": true
  1046. },
  1047. "lines": true,
  1048. "linewidth": 2,
  1049. "links": [],
  1050. "nullPointMode": "null",
  1051. "percentage": false,
  1052. "pointradius": 5,
  1053. "points": false,
  1054. "renderer": "flot",
  1055. "seriesOverrides": [],
  1056. "span": 6,
  1057. "stack": false,
  1058. "steppedLine": false,
  1059. "targets": [
  1060. {
  1061. "expr": "mongodb_mongod_durability_time_milliseconds{instance=\"$host\",quantile=\"0.99\",stage!=\"dt\"}",
  1062. "hide": false,
  1063. "interval": "$interval",
  1064. "intervalFactor": 1,
  1065. "legendFormat": "{{stage}}",
  1066. "metric": "node_vmstat_nr_dirty",
  1067. "refId": "J",
  1068. "step": 300
  1069. }
  1070. ],
  1071. "thresholds": [],
  1072. "timeFrom": null,
  1073. "timeShift": null,
  1074. "title": "MMAPv1 Journaling Time - 99th Percentile",
  1075. "tooltip": {
  1076. "msResolution": false,
  1077. "shared": true,
  1078. "sort": 0,
  1079. "value_type": "individual"
  1080. },
  1081. "transparent": false,
  1082. "type": "graph",
  1083. "xaxis": {
  1084. "mode": "time",
  1085. "name": null,
  1086. "show": true,
  1087. "values": []
  1088. },
  1089. "yaxes": [
  1090. {
  1091. "format": "ms",
  1092. "label": "",
  1093. "logBase": 1,
  1094. "max": null,
  1095. "min": 0,
  1096. "show": true
  1097. },
  1098. {
  1099. "format": "short",
  1100. "logBase": 1,
  1101. "max": null,
  1102. "min": null,
  1103. "show": true
  1104. }
  1105. ]
  1106. }
  1107. ],
  1108. "repeat": null,
  1109. "repeatIteration": null,
  1110. "repeatRowId": null,
  1111. "showTitle": false,
  1112. "title": "MMAPv1 Journaling Time",
  1113. "titleSize": "h6"
  1114. },
  1115. {
  1116. "collapse": false,
  1117. "height": 250,
  1118. "panels": [
  1119. {
  1120. "aliasColors": {},
  1121. "bars": false,
  1122. "datasource": "Prometheus",
  1123. "decimals": null,
  1124. "editable": true,
  1125. "error": false,
  1126. "fill": 2,
  1127. "grid": {},
  1128. "id": 91,
  1129. "legend": {
  1130. "alignAsTable": true,
  1131. "avg": true,
  1132. "current": false,
  1133. "max": true,
  1134. "min": true,
  1135. "show": true,
  1136. "sort": "avg",
  1137. "sortDesc": true,
  1138. "total": false,
  1139. "values": true
  1140. },
  1141. "lines": true,
  1142. "linewidth": 2,
  1143. "links": [],
  1144. "nullPointMode": "null",
  1145. "percentage": false,
  1146. "pointradius": 5,
  1147. "points": false,
  1148. "renderer": "flot",
  1149. "seriesOverrides": [],
  1150. "span": 6,
  1151. "stack": false,
  1152. "steppedLine": false,
  1153. "targets": [
  1154. {
  1155. "expr": "rate(mongodb_mongod_background_flushing_average_milliseconds{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_background_flushing_average_milliseconds{instance=\"$host\"}[5m])",
  1156. "hide": false,
  1157. "interval": "$interval",
  1158. "intervalFactor": 1,
  1159. "legendFormat": "Background Flushing",
  1160. "refId": "J",
  1161. "step": 300
  1162. }
  1163. ],
  1164. "thresholds": [],
  1165. "timeFrom": null,
  1166. "timeShift": null,
  1167. "title": "MMAPv1 Background Flushing Time",
  1168. "tooltip": {
  1169. "msResolution": false,
  1170. "shared": true,
  1171. "sort": 0,
  1172. "value_type": "cumulative"
  1173. },
  1174. "type": "graph",
  1175. "xaxis": {
  1176. "mode": "time",
  1177. "name": null,
  1178. "show": true,
  1179. "values": []
  1180. },
  1181. "yaxes": [
  1182. {
  1183. "format": "ms",
  1184. "label": "",
  1185. "logBase": 1,
  1186. "max": null,
  1187. "min": 0,
  1188. "show": true
  1189. },
  1190. {
  1191. "format": "short",
  1192. "logBase": 1,
  1193. "max": null,
  1194. "min": null,
  1195. "show": true
  1196. }
  1197. ]
  1198. },
  1199. {
  1200. "aliasColors": {},
  1201. "bars": false,
  1202. "datasource": "Prometheus",
  1203. "decimals": null,
  1204. "editable": true,
  1205. "error": false,
  1206. "fill": 2,
  1207. "grid": {},
  1208. "id": 40,
  1209. "legend": {
  1210. "alignAsTable": true,
  1211. "avg": true,
  1212. "current": false,
  1213. "max": true,
  1214. "min": true,
  1215. "show": true,
  1216. "sort": "avg",
  1217. "sortDesc": true,
  1218. "total": false,
  1219. "values": true
  1220. },
  1221. "lines": true,
  1222. "linewidth": 2,
  1223. "links": [],
  1224. "nullPointMode": "null",
  1225. "percentage": false,
  1226. "pointradius": 5,
  1227. "points": false,
  1228. "renderer": "flot",
  1229. "seriesOverrides": [],
  1230. "span": 6,
  1231. "stack": false,
  1232. "steppedLine": false,
  1233. "targets": [
  1234. {
  1235. "expr": "mongodb_mongod_global_lock_current_queue{instance=\"$host\"}",
  1236. "hide": false,
  1237. "interval": "$interval",
  1238. "intervalFactor": 1,
  1239. "legendFormat": "{{type}}",
  1240. "refId": "J",
  1241. "step": 300
  1242. }
  1243. ],
  1244. "thresholds": [],
  1245. "timeFrom": null,
  1246. "timeShift": null,
  1247. "title": "Queued Operations",
  1248. "tooltip": {
  1249. "msResolution": false,
  1250. "shared": true,
  1251. "sort": 0,
  1252. "value_type": "cumulative"
  1253. },
  1254. "type": "graph",
  1255. "xaxis": {
  1256. "mode": "time",
  1257. "name": null,
  1258. "show": true,
  1259. "values": []
  1260. },
  1261. "yaxes": [
  1262. {
  1263. "format": "ops",
  1264. "label": "",
  1265. "logBase": 1,
  1266. "max": null,
  1267. "min": 0,
  1268. "show": true
  1269. },
  1270. {
  1271. "format": "short",
  1272. "logBase": 1,
  1273. "max": null,
  1274. "min": null,
  1275. "show": true
  1276. }
  1277. ]
  1278. }
  1279. ],
  1280. "repeat": null,
  1281. "repeatIteration": null,
  1282. "repeatRowId": null,
  1283. "showTitle": false,
  1284. "title": "MMAPv1 Background Flushing Time and Queued Operations",
  1285. "titleSize": "h6"
  1286. },
  1287. {
  1288. "collapse": false,
  1289. "height": "250px",
  1290. "panels": [
  1291. {
  1292. "aliasColors": {},
  1293. "bars": false,
  1294. "datasource": "Prometheus",
  1295. "decimals": null,
  1296. "editable": true,
  1297. "error": false,
  1298. "fill": 2,
  1299. "grid": {},
  1300. "id": 60,
  1301. "legend": {
  1302. "alignAsTable": true,
  1303. "avg": true,
  1304. "current": false,
  1305. "hideZero": true,
  1306. "max": true,
  1307. "min": true,
  1308. "rightSide": false,
  1309. "show": true,
  1310. "sort": "avg",
  1311. "sortDesc": true,
  1312. "total": false,
  1313. "values": true
  1314. },
  1315. "lines": true,
  1316. "linewidth": 2,
  1317. "links": [],
  1318. "nullPointMode": "null",
  1319. "percentage": false,
  1320. "pointradius": 5,
  1321. "points": false,
  1322. "renderer": "flot",
  1323. "seriesOverrides": [],
  1324. "span": 6,
  1325. "stack": true,
  1326. "steppedLine": false,
  1327. "targets": [
  1328. {
  1329. "expr": "rate(mongodb_mongod_op_counters_total{instance=\"$host\", type!=\"command\"}[$interval]) or irate(mongodb_mongod_op_counters_total{instance=\"$host\", type!=\"command\"}[5m])",
  1330. "interval": "$interval",
  1331. "intervalFactor": 1,
  1332. "legendFormat": "{{type}}",
  1333. "metric": "",
  1334. "refId": "A",
  1335. "step": 300
  1336. },
  1337. {
  1338. "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])",
  1339. "interval": "$interval",
  1340. "intervalFactor": 1,
  1341. "legendFormat": "repl_{{type}}",
  1342. "metric": "",
  1343. "refId": "B",
  1344. "step": 300
  1345. }
  1346. ],
  1347. "thresholds": [],
  1348. "timeFrom": null,
  1349. "timeShift": null,
  1350. "title": "Client Operations",
  1351. "tooltip": {
  1352. "msResolution": false,
  1353. "shared": true,
  1354. "sort": 0,
  1355. "value_type": "individual"
  1356. },
  1357. "type": "graph",
  1358. "xaxis": {
  1359. "mode": "time",
  1360. "name": null,
  1361. "show": true,
  1362. "values": []
  1363. },
  1364. "yaxes": [
  1365. {
  1366. "format": "ops",
  1367. "label": "",
  1368. "logBase": 1,
  1369. "max": null,
  1370. "min": 0,
  1371. "show": true
  1372. },
  1373. {
  1374. "format": "short",
  1375. "logBase": 1,
  1376. "max": null,
  1377. "min": null,
  1378. "show": true
  1379. }
  1380. ]
  1381. },
  1382. {
  1383. "aliasColors": {},
  1384. "bars": false,
  1385. "datasource": "Prometheus",
  1386. "decimals": null,
  1387. "editable": true,
  1388. "error": false,
  1389. "fill": 2,
  1390. "grid": {},
  1391. "id": 32,
  1392. "legend": {
  1393. "alignAsTable": true,
  1394. "avg": true,
  1395. "current": false,
  1396. "hideZero": true,
  1397. "max": true,
  1398. "min": true,
  1399. "rightSide": false,
  1400. "show": true,
  1401. "sort": "avg",
  1402. "sortDesc": true,
  1403. "total": false,
  1404. "values": true
  1405. },
  1406. "lines": true,
  1407. "linewidth": 2,
  1408. "links": [],
  1409. "nullPointMode": "null",
  1410. "percentage": false,
  1411. "pointradius": 5,
  1412. "points": false,
  1413. "renderer": "flot",
  1414. "seriesOverrides": [],
  1415. "span": 6,
  1416. "stack": false,
  1417. "steppedLine": false,
  1418. "targets": [
  1419. {
  1420. "expr": "rate(mongodb_mongod_metrics_query_executor_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_query_executor_total{instance=\"$host\"}[5m])",
  1421. "interval": "$interval",
  1422. "intervalFactor": 1,
  1423. "legendFormat": "{{state}}",
  1424. "metric": "",
  1425. "refId": "A",
  1426. "step": 300
  1427. },
  1428. {
  1429. "expr": "rate(mongodb_mongod_metrics_record_moves_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_record_moves_total{instance=\"$host\"}[5m])",
  1430. "interval": "$interval",
  1431. "intervalFactor": 1,
  1432. "legendFormat": "moved",
  1433. "refId": "B",
  1434. "step": 300
  1435. }
  1436. ],
  1437. "thresholds": [],
  1438. "timeFrom": null,
  1439. "timeShift": null,
  1440. "title": "Scanned and Moved Objects",
  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": "ops",
  1457. "label": "",
  1458. "logBase": 1,
  1459. "max": null,
  1460. "min": 0,
  1461. "show": true
  1462. },
  1463. {
  1464. "format": "short",
  1465. "logBase": 1,
  1466. "max": null,
  1467. "min": null,
  1468. "show": true
  1469. }
  1470. ]
  1471. }
  1472. ],
  1473. "repeat": null,
  1474. "repeatIteration": null,
  1475. "repeatRowId": null,
  1476. "showTitle": false,
  1477. "title": "MongoDB Client Operations and Scanned & Moved Objects",
  1478. "titleSize": "h6"
  1479. },
  1480. {
  1481. "collapse": false,
  1482. "height": 250,
  1483. "panels": [
  1484. {
  1485. "aliasColors": {},
  1486. "bars": false,
  1487. "datasource": "Prometheus",
  1488. "decimals": null,
  1489. "editable": true,
  1490. "error": false,
  1491. "fill": 2,
  1492. "grid": {},
  1493. "id": 81,
  1494. "legend": {
  1495. "alignAsTable": true,
  1496. "avg": true,
  1497. "current": false,
  1498. "max": true,
  1499. "min": true,
  1500. "show": true,
  1501. "total": false,
  1502. "values": true
  1503. },
  1504. "lines": true,
  1505. "linewidth": 2,
  1506. "links": [],
  1507. "nullPointMode": "null",
  1508. "percentage": false,
  1509. "pointradius": 5,
  1510. "points": false,
  1511. "renderer": "flot",
  1512. "seriesOverrides": [],
  1513. "span": 6,
  1514. "stack": false,
  1515. "steppedLine": false,
  1516. "targets": [
  1517. {
  1518. "expr": "node_memory_Cached{instance=\"$host\"}-node_memory_Mapped{instance=\"$host\"}",
  1519. "hide": false,
  1520. "interval": "$interval",
  1521. "intervalFactor": 1,
  1522. "legendFormat": "Unmapped",
  1523. "metric": "node_memory_Buffers",
  1524. "refId": "J",
  1525. "step": 300
  1526. },
  1527. {
  1528. "expr": "node_memory_Mapped{instance=\"$host\"}",
  1529. "hide": false,
  1530. "interval": "$interval",
  1531. "intervalFactor": 1,
  1532. "legendFormat": "Mapped",
  1533. "metric": "node_memory_Map",
  1534. "refId": "C",
  1535. "step": 300
  1536. },
  1537. {
  1538. "expr": "node_memory_SwapCached{instance=\"$host\"}",
  1539. "hide": false,
  1540. "interval": "$interval",
  1541. "intervalFactor": 1,
  1542. "legendFormat": "Swap Cached",
  1543. "metric": "node_memory_SwapCached",
  1544. "refId": "B",
  1545. "step": 300
  1546. }
  1547. ],
  1548. "thresholds": [],
  1549. "timeFrom": null,
  1550. "timeShift": null,
  1551. "title": "MMAPv1 Memory Usage",
  1552. "tooltip": {
  1553. "msResolution": false,
  1554. "shared": true,
  1555. "sort": 0,
  1556. "value_type": "individual"
  1557. },
  1558. "transparent": false,
  1559. "type": "graph",
  1560. "xaxis": {
  1561. "mode": "time",
  1562. "name": null,
  1563. "show": true,
  1564. "values": []
  1565. },
  1566. "yaxes": [
  1567. {
  1568. "format": "decbytes",
  1569. "label": "",
  1570. "logBase": 1,
  1571. "max": null,
  1572. "min": 0,
  1573. "show": true
  1574. },
  1575. {
  1576. "format": "short",
  1577. "logBase": 1,
  1578. "max": null,
  1579. "min": null,
  1580. "show": true
  1581. }
  1582. ]
  1583. },
  1584. {
  1585. "aliasColors": {},
  1586. "bars": false,
  1587. "datasource": "Prometheus",
  1588. "decimals": null,
  1589. "editable": true,
  1590. "error": false,
  1591. "fill": 2,
  1592. "grid": {},
  1593. "id": 90,
  1594. "legend": {
  1595. "alignAsTable": true,
  1596. "avg": true,
  1597. "current": false,
  1598. "max": true,
  1599. "min": true,
  1600. "show": true,
  1601. "total": false,
  1602. "values": true
  1603. },
  1604. "lines": true,
  1605. "linewidth": 2,
  1606. "links": [],
  1607. "nullPointMode": "null",
  1608. "percentage": false,
  1609. "pointradius": 5,
  1610. "points": false,
  1611. "renderer": "flot",
  1612. "seriesOverrides": [],
  1613. "span": 6,
  1614. "stack": false,
  1615. "steppedLine": false,
  1616. "targets": [
  1617. {
  1618. "expr": "node_vmstat_nr_dirty{instance=\"$host\"}",
  1619. "hide": false,
  1620. "interval": "$interval",
  1621. "intervalFactor": 1,
  1622. "legendFormat": "Total Dirty Pages",
  1623. "metric": "node_vmstat_nr_dirty",
  1624. "refId": "J",
  1625. "step": 300
  1626. },
  1627. {
  1628. "expr": "node_vmstat_nr_dirty_background_threshold{instance=\"$host\"}",
  1629. "hide": false,
  1630. "interval": "$interval",
  1631. "intervalFactor": 1,
  1632. "legendFormat": "Soft Dirty Page Threshold",
  1633. "metric": "node_vmstat_nr_dirty_background_threshold",
  1634. "refId": "A",
  1635. "step": 300
  1636. },
  1637. {
  1638. "expr": "node_vmstat_nr_dirty_threshold{instance=\"$host\"}",
  1639. "hide": false,
  1640. "interval": "$interval",
  1641. "intervalFactor": 1,
  1642. "legendFormat": "Hard Dirty Page Threshold",
  1643. "metric": "node_vmstat_nr_dirty_threshold",
  1644. "refId": "B",
  1645. "step": 300
  1646. }
  1647. ],
  1648. "thresholds": [],
  1649. "timeFrom": null,
  1650. "timeShift": null,
  1651. "title": "MMAPv1 Memory Dirty Pages",
  1652. "tooltip": {
  1653. "msResolution": false,
  1654. "shared": true,
  1655. "sort": 0,
  1656. "value_type": "cumulative"
  1657. },
  1658. "transparent": false,
  1659. "type": "graph",
  1660. "xaxis": {
  1661. "mode": "time",
  1662. "name": null,
  1663. "show": true,
  1664. "values": []
  1665. },
  1666. "yaxes": [
  1667. {
  1668. "format": "short",
  1669. "label": "",
  1670. "logBase": 10,
  1671. "max": null,
  1672. "min": 0,
  1673. "show": true
  1674. },
  1675. {
  1676. "format": "short",
  1677. "logBase": 1,
  1678. "max": null,
  1679. "min": null,
  1680. "show": true
  1681. }
  1682. ]
  1683. }
  1684. ],
  1685. "repeat": null,
  1686. "repeatIteration": null,
  1687. "repeatRowId": null,
  1688. "showTitle": false,
  1689. "title": "System / MMAPv1 Memory",
  1690. "titleSize": "h6"
  1691. }
  1692. ],
  1693. "schemaVersion": 13,
  1694. "sharedCrosshair": true,
  1695. "style": "dark",
  1696. "tags": [
  1697. "MongoDB",
  1698. "Percona"
  1699. ],
  1700. "templating": {
  1701. "list": [
  1702. {
  1703. "allFormat": "glob",
  1704. "auto": true,
  1705. "auto_count": 200,
  1706. "auto_min": "1s",
  1707. "current": {
  1708. "text": "auto",
  1709. "value": "$__auto_interval"
  1710. },
  1711. "datasource": "Prometheus",
  1712. "hide": 0,
  1713. "includeAll": false,
  1714. "label": "Interval",
  1715. "multi": false,
  1716. "multiFormat": "glob",
  1717. "name": "interval",
  1718. "options": [
  1719. {
  1720. "selected": true,
  1721. "text": "auto",
  1722. "value": "$__auto_interval"
  1723. },
  1724. {
  1725. "selected": false,
  1726. "text": "1s",
  1727. "value": "1s"
  1728. },
  1729. {
  1730. "selected": false,
  1731. "text": "5s",
  1732. "value": "5s"
  1733. },
  1734. {
  1735. "selected": false,
  1736. "text": "1m",
  1737. "value": "1m"
  1738. },
  1739. {
  1740. "selected": false,
  1741. "text": "5m",
  1742. "value": "5m"
  1743. },
  1744. {
  1745. "selected": false,
  1746. "text": "1h",
  1747. "value": "1h"
  1748. },
  1749. {
  1750. "selected": false,
  1751. "text": "6h",
  1752. "value": "6h"
  1753. },
  1754. {
  1755. "selected": false,
  1756. "text": "1d",
  1757. "value": "1d"
  1758. }
  1759. ],
  1760. "query": "1s,5s,1m,5m,1h,6h,1d",
  1761. "refresh": 2,
  1762. "type": "interval"
  1763. },
  1764. {
  1765. "allFormat": "glob",
  1766. "allValue": null,
  1767. "datasource": "Prometheus",
  1768. "hide": 0,
  1769. "includeAll": true,
  1770. "label": "Cluster",
  1771. "multi": false,
  1772. "multiFormat": "glob",
  1773. "name": "cluster",
  1774. "query": "label_values(cluster)",
  1775. "refresh": 1,
  1776. "regex": "",
  1777. "sort": 1,
  1778. "tagValuesQuery": null,
  1779. "tagsQuery": null,
  1780. "type": "query"
  1781. },
  1782. {
  1783. "allFormat": "glob",
  1784. "allValue": null,
  1785. "datasource": "Prometheus",
  1786. "hide": 0,
  1787. "includeAll": false,
  1788. "label": "Instance",
  1789. "multi": false,
  1790. "multiFormat": "glob",
  1791. "name": "host",
  1792. "query": "label_values(mongodb_mongod_storage_engine{cluster=~\"$cluster\",engine=\"mmapv1\"}, instance)",
  1793. "refresh": 1,
  1794. "regex": "",
  1795. "sort": 1,
  1796. "tagValuesQuery": null,
  1797. "tagsQuery": "",
  1798. "type": "query",
  1799. "useTags": false
  1800. }
  1801. ]
  1802. },
  1803. "time": {
  1804. "from": "now-12h",
  1805. "to": "now"
  1806. },
  1807. "timepicker": {
  1808. "now": true,
  1809. "refresh_intervals": [
  1810. "5s",
  1811. "10s",
  1812. "30s",
  1813. "1m",
  1814. "5m",
  1815. "15m",
  1816. "30m",
  1817. "1h",
  1818. "2h",
  1819. "1d"
  1820. ],
  1821. "time_options": [
  1822. "5m",
  1823. "15m",
  1824. "1h",
  1825. "6h",
  1826. "12h",
  1827. "24h",
  1828. "2d",
  1829. "7d",
  1830. "30d"
  1831. ]
  1832. },
  1833. "timezone": "browser",
  1834. "title": "MongoDB MMAPv1",
  1835. "version": 0
  1836. }