MongoDB_Overview.json 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349
  1. {
  2. "annotations": {
  3. "list": []
  4. },
  5. "editable": true,
  6. "gnetId": null,
  7. "graphTooltip": 1,
  8. "hideControls": true,
  9. "id": null,
  10. "links": [
  11. {
  12. "icon": "bolt",
  13. "includeVars": true,
  14. "keepTime": true,
  15. "tags": [],
  16. "targetBlank": true,
  17. "title": "Query Analytics",
  18. "type": "link",
  19. "url": "/graph/dashboard/db/_pmm-query-analytics"
  20. },
  21. {
  22. "icon": "doc",
  23. "tags": [],
  24. "targetBlank": true,
  25. "title": "MongoDB Dashboards",
  26. "type": "link",
  27. "url": "https://www.percona.com/doc/percona-monitoring-and-management/mm-dashboards.html?utm_source=installed-pmm&utm_medium=dashboard&utm_campaign=mongodb&utm_term=mongodb&utm_content=mongodb-overview#mongodb-overview"
  28. },
  29. {
  30. "asDropdown": true,
  31. "icon": "external link",
  32. "includeVars": true,
  33. "keepTime": true,
  34. "tags": [
  35. "OS"
  36. ],
  37. "targetBlank": true,
  38. "title": "OS",
  39. "type": "dashboards"
  40. },
  41. {
  42. "asDropdown": true,
  43. "icon": "external link",
  44. "includeVars": true,
  45. "keepTime": true,
  46. "tags": [
  47. "MongoDB"
  48. ],
  49. "targetBlank": true,
  50. "title": "MongoDB",
  51. "type": "dashboards"
  52. }
  53. ],
  54. "refresh": false,
  55. "rows": [
  56. {
  57. "collapse": false,
  58. "height": "250px",
  59. "panels": [
  60. {
  61. "aliasColors": {},
  62. "bars": false,
  63. "datasource": "Prometheus",
  64. "decimals": 1,
  65. "description": "Shows how many times a command is executed per second on average during the selected interval.",
  66. "editable": true,
  67. "error": false,
  68. "fill": 2,
  69. "grid": {
  70. "leftLogBase": 1,
  71. "leftMax": null,
  72. "leftMin": 0,
  73. "rightLogBase": 1,
  74. "rightMax": null,
  75. "rightMin": null
  76. },
  77. "id": 15,
  78. "legend": {
  79. "alignAsTable": true,
  80. "avg": true,
  81. "current": false,
  82. "hideZero": true,
  83. "max": true,
  84. "min": true,
  85. "rightSide": true,
  86. "show": true,
  87. "sort": "avg",
  88. "sortDesc": true,
  89. "total": false,
  90. "values": true
  91. },
  92. "lines": true,
  93. "linewidth": 2,
  94. "links": [],
  95. "nullPointMode": "null",
  96. "percentage": false,
  97. "pointradius": 5,
  98. "points": false,
  99. "renderer": "flot",
  100. "seriesOverrides": [],
  101. "span": 12,
  102. "stack": false,
  103. "steppedLine": false,
  104. "targets": [
  105. {
  106. "expr": "rate(mongodb_mongod_op_counters_total{instance=\"$host\", type!=\"command\"}[$interval]) or irate(mongodb_mongod_op_counters_total{instance=\"$host\", type!=\"command\"}[5m])",
  107. "hide": false,
  108. "interval": "$interval",
  109. "intervalFactor": 1,
  110. "legendFormat": "{{type}}",
  111. "refId": "J",
  112. "step": 300
  113. },
  114. {
  115. "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])",
  116. "hide": false,
  117. "interval": "$interval",
  118. "intervalFactor": 1,
  119. "legendFormat": "repl_{{type}}",
  120. "refId": "A",
  121. "step": 300
  122. },
  123. {
  124. "expr": "rate(mongodb_mongod_metrics_ttl_deleted_documents_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_ttl_deleted_documents_total{instance=\"$host\"}[5m])",
  125. "hide": false,
  126. "interval": "$interval",
  127. "intervalFactor": 1,
  128. "legendFormat": "ttl_delete",
  129. "refId": "B",
  130. "step": 300
  131. }
  132. ],
  133. "thresholds": [],
  134. "timeFrom": null,
  135. "timeShift": null,
  136. "title": "Command Operations",
  137. "tooltip": {
  138. "msResolution": false,
  139. "shared": true,
  140. "sort": 0,
  141. "value_type": "individual"
  142. },
  143. "type": "graph",
  144. "x-axis": true,
  145. "xaxis": {
  146. "mode": "time",
  147. "name": null,
  148. "show": true,
  149. "values": []
  150. },
  151. "y-axis": true,
  152. "y_formats": [
  153. "short",
  154. "short"
  155. ],
  156. "yaxes": [
  157. {
  158. "format": "ops",
  159. "label": "",
  160. "logBase": 1,
  161. "max": null,
  162. "min": 0,
  163. "show": true
  164. },
  165. {
  166. "format": "short",
  167. "logBase": 1,
  168. "max": null,
  169. "min": null,
  170. "show": true
  171. }
  172. ]
  173. }
  174. ],
  175. "repeat": null,
  176. "repeatIteration": null,
  177. "repeatRowId": null,
  178. "showTitle": false,
  179. "title": "New row",
  180. "titleSize": "h6"
  181. },
  182. {
  183. "collapse": false,
  184. "height": "250px",
  185. "panels": [
  186. {
  187. "aliasColors": {},
  188. "bars": false,
  189. "datasource": "Prometheus",
  190. "decimals": null,
  191. "description": "Keep in mind the hard limit on the maximum number of connections set by your distribution.",
  192. "editable": true,
  193. "error": false,
  194. "fill": 2,
  195. "grid": {
  196. "leftLogBase": 1,
  197. "leftMax": null,
  198. "leftMin": 0,
  199. "rightLogBase": 1,
  200. "rightMax": null,
  201. "rightMin": null
  202. },
  203. "height": "250px",
  204. "id": 38,
  205. "legend": {
  206. "alignAsTable": true,
  207. "avg": true,
  208. "current": false,
  209. "max": true,
  210. "min": true,
  211. "rightSide": false,
  212. "show": true,
  213. "total": false,
  214. "values": true
  215. },
  216. "lines": true,
  217. "linewidth": 2,
  218. "links": [],
  219. "nullPointMode": "null",
  220. "percentage": false,
  221. "pointradius": 5,
  222. "points": false,
  223. "renderer": "flot",
  224. "seriesOverrides": [],
  225. "span": 6,
  226. "stack": false,
  227. "steppedLine": false,
  228. "targets": [
  229. {
  230. "expr": "mongodb_mongod_connections{instance=\"$host\", state=\"current\"}",
  231. "hide": false,
  232. "interval": "$interval",
  233. "intervalFactor": 1,
  234. "legendFormat": "Connections",
  235. "refId": "J",
  236. "step": 300
  237. }
  238. ],
  239. "thresholds": [],
  240. "timeFrom": null,
  241. "timeShift": null,
  242. "title": "Connections",
  243. "tooltip": {
  244. "msResolution": false,
  245. "shared": true,
  246. "sort": 0,
  247. "value_type": "cumulative"
  248. },
  249. "type": "graph",
  250. "x-axis": true,
  251. "xaxis": {
  252. "mode": "time",
  253. "name": null,
  254. "show": true,
  255. "values": []
  256. },
  257. "y-axis": true,
  258. "y_formats": [
  259. "short",
  260. "short"
  261. ],
  262. "yaxes": [
  263. {
  264. "format": "short",
  265. "label": "",
  266. "logBase": 1,
  267. "max": null,
  268. "min": 0,
  269. "show": true
  270. },
  271. {
  272. "format": "short",
  273. "logBase": 1,
  274. "max": null,
  275. "min": null,
  276. "show": true
  277. }
  278. ]
  279. },
  280. {
  281. "aliasColors": {},
  282. "bars": false,
  283. "datasource": "Prometheus",
  284. "decimals": null,
  285. "description": "Helps identify why connections are increasing. Shows active cursors compared to cursors being automatically killed after 10 minutes due to an application not closing the connection.",
  286. "editable": true,
  287. "error": false,
  288. "fill": 2,
  289. "grid": {
  290. "leftLogBase": 1,
  291. "leftMax": null,
  292. "leftMin": 0,
  293. "rightLogBase": 1,
  294. "rightMax": null,
  295. "rightMin": null
  296. },
  297. "height": "250px",
  298. "id": 25,
  299. "legend": {
  300. "alignAsTable": true,
  301. "avg": true,
  302. "current": false,
  303. "hideZero": true,
  304. "max": true,
  305. "min": true,
  306. "rightSide": false,
  307. "show": true,
  308. "sort": "avg",
  309. "sortDesc": true,
  310. "total": false,
  311. "values": true
  312. },
  313. "lines": true,
  314. "linewidth": 2,
  315. "links": [],
  316. "nullPointMode": "null",
  317. "percentage": false,
  318. "pointradius": 5,
  319. "points": false,
  320. "renderer": "flot",
  321. "seriesOverrides": [],
  322. "span": 6,
  323. "stack": false,
  324. "steppedLine": false,
  325. "targets": [
  326. {
  327. "expr": "mongodb_mongod_metrics_cursor_open{instance=\"$host\"} or mongodb_mongod_cursors{instance=\"$host\"}",
  328. "hide": false,
  329. "interval": "$interval",
  330. "intervalFactor": 1,
  331. "legendFormat": "{{state}}",
  332. "refId": "J",
  333. "step": 300
  334. }
  335. ],
  336. "thresholds": [],
  337. "timeFrom": null,
  338. "timeShift": null,
  339. "title": "Cursors",
  340. "tooltip": {
  341. "msResolution": false,
  342. "shared": true,
  343. "sort": 0,
  344. "value_type": "cumulative"
  345. },
  346. "type": "graph",
  347. "x-axis": true,
  348. "xaxis": {
  349. "mode": "time",
  350. "name": null,
  351. "show": true,
  352. "values": []
  353. },
  354. "y-axis": true,
  355. "y_formats": [
  356. "short",
  357. "short"
  358. ],
  359. "yaxes": [
  360. {
  361. "format": "short",
  362. "label": "",
  363. "logBase": 1,
  364. "max": null,
  365. "min": 0,
  366. "show": true
  367. },
  368. {
  369. "format": "short",
  370. "logBase": 1,
  371. "max": null,
  372. "min": null,
  373. "show": true
  374. }
  375. ]
  376. }
  377. ],
  378. "repeat": null,
  379. "repeatIteration": null,
  380. "repeatRowId": null,
  381. "showTitle": false,
  382. "title": "New row",
  383. "titleSize": "h6"
  384. },
  385. {
  386. "collapse": false,
  387. "height": "250px",
  388. "panels": [
  389. {
  390. "aliasColors": {},
  391. "bars": false,
  392. "datasource": "Prometheus",
  393. "decimals": null,
  394. "description": "When used in combination with 'Command Operations', this graph can help identify write amplification. For example, when one insert or update command actually inserts or updates hundreds, thousands, or even millions of documents.",
  395. "editable": true,
  396. "error": false,
  397. "fill": 2,
  398. "grid": {
  399. "leftLogBase": 1,
  400. "leftMax": null,
  401. "leftMin": 0,
  402. "rightLogBase": 1,
  403. "rightMax": null,
  404. "rightMin": null
  405. },
  406. "height": "250px",
  407. "id": 36,
  408. "legend": {
  409. "alignAsTable": true,
  410. "avg": true,
  411. "current": false,
  412. "hideZero": true,
  413. "max": true,
  414. "min": true,
  415. "show": true,
  416. "sort": "avg",
  417. "sortDesc": true,
  418. "total": false,
  419. "values": true
  420. },
  421. "lines": true,
  422. "linewidth": 2,
  423. "links": [],
  424. "nullPointMode": "null",
  425. "percentage": false,
  426. "pointradius": 5,
  427. "points": false,
  428. "renderer": "flot",
  429. "seriesOverrides": [],
  430. "span": 6,
  431. "stack": false,
  432. "steppedLine": false,
  433. "targets": [
  434. {
  435. "expr": "rate(mongodb_mongod_metrics_document_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_document_total{instance=\"$host\"}[5m])",
  436. "hide": false,
  437. "interval": "$interval",
  438. "intervalFactor": 1,
  439. "legendFormat": "{{state}}",
  440. "refId": "J",
  441. "step": 300
  442. }
  443. ],
  444. "thresholds": [],
  445. "timeFrom": null,
  446. "timeShift": null,
  447. "title": "Document Operations",
  448. "tooltip": {
  449. "msResolution": false,
  450. "shared": true,
  451. "sort": 0,
  452. "value_type": "cumulative"
  453. },
  454. "type": "graph",
  455. "x-axis": true,
  456. "xaxis": {
  457. "mode": "time",
  458. "name": null,
  459. "show": true,
  460. "values": []
  461. },
  462. "y-axis": true,
  463. "y_formats": [
  464. "short",
  465. "short"
  466. ],
  467. "yaxes": [
  468. {
  469. "format": "ops",
  470. "label": "",
  471. "logBase": 1,
  472. "max": null,
  473. "min": 0,
  474. "show": true
  475. },
  476. {
  477. "format": "short",
  478. "logBase": 1,
  479. "max": null,
  480. "min": null,
  481. "show": true
  482. }
  483. ]
  484. },
  485. {
  486. "aliasColors": {},
  487. "bars": false,
  488. "datasource": "Prometheus",
  489. "decimals": null,
  490. "description": "Any number of queued operations for long periods of time is an indication of possible issues. Find the cause and fix it before requests get stuck in the queue.",
  491. "editable": true,
  492. "error": false,
  493. "fill": 2,
  494. "grid": {
  495. "leftLogBase": 1,
  496. "leftMax": null,
  497. "leftMin": 0,
  498. "rightLogBase": 1,
  499. "rightMax": null,
  500. "rightMin": null
  501. },
  502. "height": "250px",
  503. "id": 40,
  504. "legend": {
  505. "alignAsTable": true,
  506. "avg": true,
  507. "current": false,
  508. "hideZero": false,
  509. "max": true,
  510. "min": true,
  511. "show": true,
  512. "sort": "avg",
  513. "sortDesc": true,
  514. "total": false,
  515. "values": true
  516. },
  517. "lines": true,
  518. "linewidth": 2,
  519. "links": [],
  520. "nullPointMode": "null",
  521. "percentage": false,
  522. "pointradius": 5,
  523. "points": false,
  524. "renderer": "flot",
  525. "seriesOverrides": [],
  526. "span": 6,
  527. "stack": false,
  528. "steppedLine": false,
  529. "targets": [
  530. {
  531. "expr": "mongodb_mongod_global_lock_current_queue{instance=\"$host\"}",
  532. "hide": false,
  533. "interval": "$interval",
  534. "intervalFactor": 1,
  535. "legendFormat": "{{type}}",
  536. "refId": "J",
  537. "step": 300
  538. }
  539. ],
  540. "thresholds": [],
  541. "timeFrom": null,
  542. "timeShift": null,
  543. "title": "Queued Operations",
  544. "tooltip": {
  545. "msResolution": false,
  546. "shared": true,
  547. "sort": 0,
  548. "value_type": "cumulative"
  549. },
  550. "type": "graph",
  551. "x-axis": true,
  552. "xaxis": {
  553. "mode": "time",
  554. "name": null,
  555. "show": true,
  556. "values": []
  557. },
  558. "y-axis": true,
  559. "y_formats": [
  560. "short",
  561. "short"
  562. ],
  563. "yaxes": [
  564. {
  565. "format": "ops",
  566. "label": "",
  567. "logBase": 1,
  568. "max": null,
  569. "min": 0,
  570. "show": true
  571. },
  572. {
  573. "format": "short",
  574. "logBase": 1,
  575. "max": null,
  576. "min": null,
  577. "show": true
  578. }
  579. ]
  580. }
  581. ],
  582. "repeat": null,
  583. "repeatIteration": null,
  584. "repeatRowId": null,
  585. "showTitle": false,
  586. "title": "New row",
  587. "titleSize": "h6"
  588. },
  589. {
  590. "collapse": false,
  591. "height": 250,
  592. "panels": [
  593. {
  594. "aliasColors": {},
  595. "bars": false,
  596. "datasource": "Prometheus",
  597. "decimals": 2,
  598. "editable": true,
  599. "error": false,
  600. "fill": 2,
  601. "grid": {
  602. "leftLogBase": 1,
  603. "leftMax": null,
  604. "leftMin": 0,
  605. "rightLogBase": 1,
  606. "rightMax": null,
  607. "rightMin": null
  608. },
  609. "height": "250px",
  610. "id": 63,
  611. "legend": {
  612. "alignAsTable": true,
  613. "avg": true,
  614. "current": false,
  615. "max": true,
  616. "min": true,
  617. "show": true,
  618. "total": false,
  619. "values": true
  620. },
  621. "lines": true,
  622. "linewidth": 2,
  623. "links": [],
  624. "nullPointMode": "null",
  625. "percentage": true,
  626. "pointradius": 5,
  627. "points": false,
  628. "renderer": "flot",
  629. "seriesOverrides": [],
  630. "span": 6,
  631. "stack": false,
  632. "steppedLine": false,
  633. "targets": [
  634. {
  635. "expr": "sum(increase(mongodb_mongod_metrics_query_executor_total{instance=\"$host\", state=\"scanned_objects\"}[5m]))/sum(increase(mongodb_mongod_metrics_document_total{instance=\"$host\", state=\"returned\"}[5m]))",
  636. "hide": false,
  637. "interval": "$interval",
  638. "intervalFactor": 1,
  639. "legendFormat": "Document",
  640. "refId": "J",
  641. "step": 300
  642. },
  643. {
  644. "expr": "sum(increase(mongodb_mongod_metrics_query_executor_total{instance=\"$host\", state=\"scanned\"}[5m]))/sum(increase(mongodb_mongod_metrics_document_total{instance=\"$host\", state=\"returned\"}[5m]))",
  645. "hide": false,
  646. "interval": "$interval",
  647. "intervalFactor": 1,
  648. "legendFormat": "Index",
  649. "refId": "A",
  650. "step": 300
  651. }
  652. ],
  653. "thresholds": [],
  654. "timeFrom": null,
  655. "timeShift": null,
  656. "title": "Query Efficiency",
  657. "tooltip": {
  658. "msResolution": false,
  659. "shared": true,
  660. "sort": 0,
  661. "value_type": "cumulative"
  662. },
  663. "type": "graph",
  664. "x-axis": true,
  665. "xaxis": {
  666. "mode": "time",
  667. "name": null,
  668. "show": true,
  669. "values": []
  670. },
  671. "y-axis": true,
  672. "y_formats": [
  673. "short",
  674. "short"
  675. ],
  676. "yaxes": [
  677. {
  678. "format": "percentunit",
  679. "label": "",
  680. "logBase": 1,
  681. "max": null,
  682. "min": 0,
  683. "show": true
  684. },
  685. {
  686. "format": "none",
  687. "logBase": 1,
  688. "max": null,
  689. "min": null,
  690. "show": true
  691. }
  692. ]
  693. },
  694. {
  695. "aliasColors": {},
  696. "bars": false,
  697. "datasource": "Prometheus",
  698. "decimals": null,
  699. "editable": true,
  700. "error": false,
  701. "fill": 2,
  702. "grid": {},
  703. "id": 64,
  704. "legend": {
  705. "alignAsTable": true,
  706. "avg": true,
  707. "current": false,
  708. "hideZero": true,
  709. "max": true,
  710. "min": true,
  711. "rightSide": false,
  712. "show": true,
  713. "sort": "avg",
  714. "sortDesc": true,
  715. "total": false,
  716. "values": true
  717. },
  718. "lines": true,
  719. "linewidth": 2,
  720. "links": [],
  721. "nullPointMode": "null",
  722. "percentage": false,
  723. "pointradius": 5,
  724. "points": false,
  725. "renderer": "flot",
  726. "seriesOverrides": [],
  727. "span": 6,
  728. "stack": false,
  729. "steppedLine": false,
  730. "targets": [
  731. {
  732. "expr": "rate(mongodb_mongod_metrics_query_executor_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_query_executor_total{instance=\"$host\"}[5m])",
  733. "interval": "$interval",
  734. "intervalFactor": 1,
  735. "legendFormat": "{{state}}",
  736. "metric": "",
  737. "refId": "A",
  738. "step": 300
  739. },
  740. {
  741. "expr": "rate(mongodb_mongod_metrics_record_moves_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_record_moves_total{instance=\"$host\"}[5m])",
  742. "interval": "$interval",
  743. "intervalFactor": 1,
  744. "legendFormat": "moved",
  745. "refId": "B",
  746. "step": 300
  747. }
  748. ],
  749. "thresholds": [],
  750. "timeFrom": null,
  751. "timeShift": null,
  752. "title": "Scanned and Moved Objects",
  753. "tooltip": {
  754. "msResolution": false,
  755. "shared": true,
  756. "sort": 0,
  757. "value_type": "cumulative"
  758. },
  759. "type": "graph",
  760. "xaxis": {
  761. "mode": "time",
  762. "name": null,
  763. "show": true,
  764. "values": []
  765. },
  766. "yaxes": [
  767. {
  768. "format": "ops",
  769. "label": "",
  770. "logBase": 1,
  771. "max": null,
  772. "min": 0,
  773. "show": true
  774. },
  775. {
  776. "format": "short",
  777. "logBase": 1,
  778. "max": null,
  779. "min": null,
  780. "show": true
  781. }
  782. ]
  783. }
  784. ],
  785. "repeat": null,
  786. "repeatIteration": null,
  787. "repeatRowId": null,
  788. "showTitle": false,
  789. "title": "Dashboard Row",
  790. "titleSize": "h6"
  791. },
  792. {
  793. "collapse": false,
  794. "height": "250px",
  795. "panels": [
  796. {
  797. "aliasColors": {},
  798. "bars": false,
  799. "datasource": "Prometheus",
  800. "decimals": null,
  801. "description": "This is useful for write-heavy workloads to understand how long it takes to verify writes and how many concurrent writes are occurring.",
  802. "editable": true,
  803. "error": false,
  804. "fill": 2,
  805. "grid": {
  806. "leftLogBase": 1,
  807. "leftMax": null,
  808. "leftMin": 0,
  809. "rightLogBase": 1,
  810. "rightMax": null,
  811. "rightMin": null
  812. },
  813. "id": 41,
  814. "legend": {
  815. "alignAsTable": true,
  816. "avg": true,
  817. "current": false,
  818. "max": true,
  819. "min": true,
  820. "show": true,
  821. "total": false,
  822. "values": true
  823. },
  824. "lines": true,
  825. "linewidth": 2,
  826. "links": [],
  827. "nullPointMode": "null",
  828. "percentage": false,
  829. "pointradius": 5,
  830. "points": false,
  831. "renderer": "flot",
  832. "seriesOverrides": [],
  833. "span": 6,
  834. "stack": false,
  835. "steppedLine": false,
  836. "targets": [
  837. {
  838. "expr": "rate(mongodb_mongod_metrics_get_last_error_wtime_total_milliseconds{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_get_last_error_wtime_total_milliseconds{instance=\"$host\"}[5m])",
  839. "hide": false,
  840. "interval": "$interval",
  841. "intervalFactor": 1,
  842. "legendFormat": "Write Wait Time",
  843. "refId": "J",
  844. "step": 300
  845. }
  846. ],
  847. "thresholds": [],
  848. "timeFrom": null,
  849. "timeShift": null,
  850. "title": "getLastError Write Time",
  851. "tooltip": {
  852. "msResolution": false,
  853. "shared": true,
  854. "sort": 0,
  855. "value_type": "cumulative"
  856. },
  857. "type": "graph",
  858. "x-axis": true,
  859. "xaxis": {
  860. "mode": "time",
  861. "name": null,
  862. "show": true,
  863. "values": []
  864. },
  865. "y-axis": true,
  866. "y_formats": [
  867. "short",
  868. "short"
  869. ],
  870. "yaxes": [
  871. {
  872. "format": "ms",
  873. "label": "",
  874. "logBase": 1,
  875. "max": null,
  876. "min": 0,
  877. "show": true
  878. },
  879. {
  880. "format": "short",
  881. "logBase": 1,
  882. "max": null,
  883. "min": null,
  884. "show": true
  885. }
  886. ]
  887. },
  888. {
  889. "aliasColors": {},
  890. "bars": false,
  891. "datasource": "Prometheus",
  892. "decimals": null,
  893. "description": "This is useful for write-heavy workloads to understand how long it takes to verify writes and how many concurrent writes are occurring.",
  894. "editable": true,
  895. "error": false,
  896. "fill": 2,
  897. "grid": {
  898. "leftLogBase": 1,
  899. "leftMax": null,
  900. "leftMin": 0,
  901. "rightLogBase": 1,
  902. "rightMax": null,
  903. "rightMin": null
  904. },
  905. "height": "250px",
  906. "id": 62,
  907. "legend": {
  908. "alignAsTable": true,
  909. "avg": true,
  910. "current": false,
  911. "hideZero": true,
  912. "max": true,
  913. "min": true,
  914. "show": true,
  915. "sort": "avg",
  916. "sortDesc": true,
  917. "total": false,
  918. "values": true
  919. },
  920. "lines": true,
  921. "linewidth": 2,
  922. "links": [],
  923. "nullPointMode": "null",
  924. "percentage": false,
  925. "pointradius": 5,
  926. "points": false,
  927. "renderer": "flot",
  928. "seriesOverrides": [],
  929. "span": 6,
  930. "stack": false,
  931. "steppedLine": false,
  932. "targets": [
  933. {
  934. "expr": "rate(mongodb_mongod_metrics_get_last_error_wtime_num_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_get_last_error_wtime_num_total{instance=\"$host\"}[5m])",
  935. "hide": false,
  936. "interval": "$interval",
  937. "intervalFactor": 1,
  938. "legendFormat": "Total",
  939. "refId": "J",
  940. "step": 300
  941. },
  942. {
  943. "expr": "rate(mongodb_mongod_metrics_get_last_error_wtimeouts_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_get_last_error_wtimeouts_total{instance=\"$host\"}[5m])",
  944. "hide": false,
  945. "interval": "$interval",
  946. "intervalFactor": 1,
  947. "legendFormat": "Timeouts",
  948. "refId": "A",
  949. "step": 300
  950. }
  951. ],
  952. "thresholds": [],
  953. "timeFrom": null,
  954. "timeShift": null,
  955. "title": "getLastError Write Operations",
  956. "tooltip": {
  957. "msResolution": false,
  958. "shared": true,
  959. "sort": 0,
  960. "value_type": "cumulative"
  961. },
  962. "type": "graph",
  963. "x-axis": true,
  964. "xaxis": {
  965. "mode": "time",
  966. "name": null,
  967. "show": true,
  968. "values": []
  969. },
  970. "y-axis": true,
  971. "y_formats": [
  972. "short",
  973. "short"
  974. ],
  975. "yaxes": [
  976. {
  977. "format": "ops",
  978. "label": "",
  979. "logBase": 1,
  980. "max": null,
  981. "min": 0,
  982. "show": true
  983. },
  984. {
  985. "format": "short",
  986. "logBase": 1,
  987. "max": null,
  988. "min": null,
  989. "show": true
  990. }
  991. ]
  992. }
  993. ],
  994. "repeat": null,
  995. "repeatIteration": null,
  996. "repeatRowId": null,
  997. "showTitle": false,
  998. "title": "New row",
  999. "titleSize": "h6"
  1000. },
  1001. {
  1002. "collapse": false,
  1003. "height": "250px",
  1004. "panels": [
  1005. {
  1006. "aliasColors": {},
  1007. "bars": false,
  1008. "datasource": "Prometheus",
  1009. "decimals": null,
  1010. "description": "Asserts are not important by themselves, but you can correlate spikes with other graphs.",
  1011. "editable": true,
  1012. "error": false,
  1013. "fill": 2,
  1014. "grid": {
  1015. "leftLogBase": 1,
  1016. "leftMax": null,
  1017. "leftMin": 0,
  1018. "rightLogBase": 1,
  1019. "rightMax": null,
  1020. "rightMin": null
  1021. },
  1022. "height": "250px",
  1023. "id": 37,
  1024. "legend": {
  1025. "alignAsTable": true,
  1026. "avg": true,
  1027. "current": false,
  1028. "hideZero": true,
  1029. "max": true,
  1030. "min": true,
  1031. "rightSide": false,
  1032. "show": true,
  1033. "sort": "avg",
  1034. "sortDesc": true,
  1035. "total": false,
  1036. "values": true
  1037. },
  1038. "lines": true,
  1039. "linewidth": 2,
  1040. "links": [],
  1041. "nullPointMode": "null",
  1042. "percentage": false,
  1043. "pointradius": 5,
  1044. "points": false,
  1045. "renderer": "flot",
  1046. "seriesOverrides": [],
  1047. "span": 6,
  1048. "stack": false,
  1049. "steppedLine": false,
  1050. "targets": [
  1051. {
  1052. "expr": "rate(mongodb_mongod_asserts_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_asserts_total{instance=\"$host\"}[5m])",
  1053. "hide": false,
  1054. "interval": "$interval",
  1055. "intervalFactor": 1,
  1056. "legendFormat": "{{type}}",
  1057. "refId": "J",
  1058. "step": 300
  1059. }
  1060. ],
  1061. "thresholds": [],
  1062. "timeFrom": null,
  1063. "timeShift": null,
  1064. "title": "Assert Events",
  1065. "tooltip": {
  1066. "msResolution": false,
  1067. "shared": true,
  1068. "sort": 0,
  1069. "value_type": "cumulative"
  1070. },
  1071. "type": "graph",
  1072. "x-axis": true,
  1073. "xaxis": {
  1074. "mode": "time",
  1075. "name": null,
  1076. "show": true,
  1077. "values": []
  1078. },
  1079. "y-axis": true,
  1080. "y_formats": [
  1081. "short",
  1082. "short"
  1083. ],
  1084. "yaxes": [
  1085. {
  1086. "format": "short",
  1087. "label": "",
  1088. "logBase": 1,
  1089. "max": null,
  1090. "min": 0,
  1091. "show": true
  1092. },
  1093. {
  1094. "format": "short",
  1095. "logBase": 1,
  1096. "max": null,
  1097. "min": null,
  1098. "show": true
  1099. }
  1100. ]
  1101. },
  1102. {
  1103. "aliasColors": {},
  1104. "bars": false,
  1105. "datasource": "Prometheus",
  1106. "decimals": null,
  1107. "description": "Page faults indicate that requests are processed from disk either because an index is missing or there is not enough memory for the data set. Consider increasing memory or sharding out.",
  1108. "editable": true,
  1109. "error": false,
  1110. "fill": 2,
  1111. "grid": {
  1112. "leftLogBase": 1,
  1113. "leftMax": null,
  1114. "leftMin": 0,
  1115. "rightLogBase": 1,
  1116. "rightMax": null,
  1117. "rightMin": null
  1118. },
  1119. "height": "250px",
  1120. "id": 39,
  1121. "legend": {
  1122. "alignAsTable": true,
  1123. "avg": true,
  1124. "current": false,
  1125. "max": true,
  1126. "min": true,
  1127. "show": true,
  1128. "total": false,
  1129. "values": true
  1130. },
  1131. "lines": true,
  1132. "linewidth": 2,
  1133. "links": [],
  1134. "nullPointMode": "null",
  1135. "percentage": false,
  1136. "pointradius": 5,
  1137. "points": false,
  1138. "renderer": "flot",
  1139. "seriesOverrides": [],
  1140. "span": 6,
  1141. "stack": false,
  1142. "steppedLine": false,
  1143. "targets": [
  1144. {
  1145. "expr": "rate(mongodb_mongod_extra_info_page_faults_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_extra_info_page_faults_total{instance=\"$host\"}[5m])",
  1146. "hide": false,
  1147. "interval": "$interval",
  1148. "intervalFactor": 1,
  1149. "legendFormat": "Faults",
  1150. "refId": "J",
  1151. "step": 300
  1152. }
  1153. ],
  1154. "thresholds": [],
  1155. "timeFrom": null,
  1156. "timeShift": null,
  1157. "title": "Page Faults",
  1158. "tooltip": {
  1159. "msResolution": false,
  1160. "shared": true,
  1161. "sort": 0,
  1162. "value_type": "cumulative"
  1163. },
  1164. "type": "graph",
  1165. "x-axis": true,
  1166. "xaxis": {
  1167. "mode": "time",
  1168. "name": null,
  1169. "show": true,
  1170. "values": []
  1171. },
  1172. "y-axis": true,
  1173. "y_formats": [
  1174. "short",
  1175. "short"
  1176. ],
  1177. "yaxes": [
  1178. {
  1179. "format": "short",
  1180. "label": "",
  1181. "logBase": 1,
  1182. "max": null,
  1183. "min": 0,
  1184. "show": true
  1185. },
  1186. {
  1187. "format": "short",
  1188. "logBase": 1,
  1189. "max": null,
  1190. "min": null,
  1191. "show": true
  1192. }
  1193. ]
  1194. }
  1195. ],
  1196. "repeat": null,
  1197. "repeatIteration": null,
  1198. "repeatRowId": null,
  1199. "showTitle": false,
  1200. "title": "New row",
  1201. "titleSize": "h6"
  1202. }
  1203. ],
  1204. "schemaVersion": 14,
  1205. "style": "dark",
  1206. "tags": [
  1207. "MongoDB",
  1208. "Percona"
  1209. ],
  1210. "templating": {
  1211. "list": [
  1212. {
  1213. "allFormat": "glob",
  1214. "auto": true,
  1215. "auto_count": 200,
  1216. "auto_min": "1s",
  1217. "current": {
  1218. "text": "auto",
  1219. "value": "$__auto_interval"
  1220. },
  1221. "datasource": "Prometheus",
  1222. "hide": 0,
  1223. "includeAll": false,
  1224. "label": "Interval",
  1225. "multi": false,
  1226. "multiFormat": "glob",
  1227. "name": "interval",
  1228. "options": [
  1229. {
  1230. "selected": true,
  1231. "text": "auto",
  1232. "value": "$__auto_interval"
  1233. },
  1234. {
  1235. "selected": false,
  1236. "text": "1s",
  1237. "value": "1s"
  1238. },
  1239. {
  1240. "selected": false,
  1241. "text": "5s",
  1242. "value": "5s"
  1243. },
  1244. {
  1245. "selected": false,
  1246. "text": "1m",
  1247. "value": "1m"
  1248. },
  1249. {
  1250. "selected": false,
  1251. "text": "5m",
  1252. "value": "5m"
  1253. },
  1254. {
  1255. "selected": false,
  1256. "text": "1h",
  1257. "value": "1h"
  1258. },
  1259. {
  1260. "selected": false,
  1261. "text": "6h",
  1262. "value": "6h"
  1263. },
  1264. {
  1265. "selected": false,
  1266. "text": "1d",
  1267. "value": "1d"
  1268. }
  1269. ],
  1270. "query": "1s,5s,1m,5m,1h,6h,1d",
  1271. "refresh": 2,
  1272. "type": "interval"
  1273. },
  1274. {
  1275. "allFormat": "blob",
  1276. "allValue": null,
  1277. "datasource": "Prometheus",
  1278. "hide": 0,
  1279. "includeAll": true,
  1280. "label": "Cluster",
  1281. "multi": false,
  1282. "multiFormat": "glob",
  1283. "name": "cluster",
  1284. "query": "label_values(cluster)",
  1285. "refresh": 1,
  1286. "regex": "",
  1287. "sort": 1,
  1288. "tagValuesQuery": null,
  1289. "tags": [],
  1290. "tagsQuery": null,
  1291. "type": "query",
  1292. "useTags": false
  1293. },
  1294. {
  1295. "allFormat": "glob",
  1296. "allValue": null,
  1297. "datasource": "Prometheus",
  1298. "hide": 0,
  1299. "includeAll": false,
  1300. "label": "Instance",
  1301. "multi": false,
  1302. "multiFormat": "glob",
  1303. "name": "host",
  1304. "query": "label_values(mongodb_mongod_connections{cluster=~\"$cluster\"}, instance)",
  1305. "refresh": 1,
  1306. "regex": "",
  1307. "sort": 1,
  1308. "tagValuesQuery": null,
  1309. "tags": [],
  1310. "tagsQuery": "",
  1311. "type": "query",
  1312. "useTags": false
  1313. }
  1314. ]
  1315. },
  1316. "time": {
  1317. "from": "now-12h",
  1318. "to": "now"
  1319. },
  1320. "timepicker": {
  1321. "now": true,
  1322. "refresh_intervals": [
  1323. "5s",
  1324. "10s",
  1325. "30s",
  1326. "1m",
  1327. "5m",
  1328. "15m",
  1329. "30m",
  1330. "1h",
  1331. "2h",
  1332. "1d"
  1333. ],
  1334. "time_options": [
  1335. "5m",
  1336. "15m",
  1337. "1h",
  1338. "6h",
  1339. "12h",
  1340. "24h",
  1341. "2d",
  1342. "7d",
  1343. "30d"
  1344. ]
  1345. },
  1346. "timezone": "browser",
  1347. "title": "MongoDB Overview",
  1348. "version": 0
  1349. }