MongoDB_Cluster_Summary.json 69 KB

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