MySQL_TokuDB_Metrics.json 96 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294
  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. "MySQL"
  29. ],
  30. "targetBlank": true,
  31. "title": "MySQL",
  32. "type": "dashboards"
  33. },
  34. {
  35. "asDropdown": true,
  36. "icon": "external link",
  37. "includeVars": true,
  38. "keepTime": true,
  39. "tags": [
  40. "HA"
  41. ],
  42. "targetBlank": true,
  43. "title": "HA",
  44. "type": "dashboards"
  45. }
  46. ],
  47. "rows": [
  48. {
  49. "collapse": false,
  50. "height": "250px",
  51. "panels": [
  52. {
  53. "aliasColors": {},
  54. "bars": false,
  55. "datasource": "Prometheus",
  56. "editable": true,
  57. "error": false,
  58. "fill": 2,
  59. "grid": {},
  60. "id": 9,
  61. "legend": {
  62. "alignAsTable": true,
  63. "avg": true,
  64. "current": false,
  65. "max": true,
  66. "min": true,
  67. "show": true,
  68. "sort": "avg",
  69. "sortDesc": true,
  70. "total": false,
  71. "values": true
  72. },
  73. "lines": true,
  74. "linewidth": 2,
  75. "links": [],
  76. "nullPointMode": "null",
  77. "percentage": false,
  78. "pointradius": 5,
  79. "points": false,
  80. "renderer": "flot",
  81. "seriesOverrides": [],
  82. "span": 9,
  83. "stack": false,
  84. "steppedLine": false,
  85. "targets": [
  86. {
  87. "expr": "rate(mysql_global_status_tokudb_leaf_nodes_flushed_checkpoint_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_flushed_checkpoint_bytes{instance=\"$host\"}[5m])",
  88. "interval": "$interval",
  89. "intervalFactor": 1,
  90. "legendFormat": "tokudb_leaf_nodes_flushed_checkpoint_bytes",
  91. "refId": "A",
  92. "step": 300
  93. },
  94. {
  95. "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_bytes{instance=\"$host\"}[5m])",
  96. "interval": "$interval",
  97. "intervalFactor": 1,
  98. "legendFormat": "tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_bytes",
  99. "refId": "D",
  100. "step": 300
  101. }
  102. ],
  103. "thresholds": [],
  104. "timeFrom": null,
  105. "timeShift": null,
  106. "title": "TokuDB Checkpointing",
  107. "tooltip": {
  108. "msResolution": false,
  109. "shared": true,
  110. "sort": 0,
  111. "value_type": "cumulative"
  112. },
  113. "type": "graph",
  114. "xaxis": {
  115. "mode": "time",
  116. "name": null,
  117. "show": true,
  118. "values": []
  119. },
  120. "yaxes": [
  121. {
  122. "format": "bytes",
  123. "logBase": 1,
  124. "max": null,
  125. "min": 0,
  126. "show": true
  127. },
  128. {
  129. "format": "short",
  130. "logBase": 1,
  131. "max": null,
  132. "min": 0,
  133. "show": true
  134. }
  135. ]
  136. },
  137. {
  138. "cacheTimeout": null,
  139. "colorBackground": false,
  140. "colorValue": false,
  141. "colors": [
  142. "rgba(50, 172, 45, 0.97)",
  143. "rgba(237, 129, 40, 0.89)",
  144. "rgba(245, 54, 54, 0.9)"
  145. ],
  146. "datasource": "Prometheus",
  147. "decimals": 0,
  148. "editable": true,
  149. "error": false,
  150. "format": "bytes",
  151. "gauge": {
  152. "maxValue": 100,
  153. "minValue": 0,
  154. "show": false,
  155. "thresholdLabels": false,
  156. "thresholdMarkers": true
  157. },
  158. "height": "125px",
  159. "id": 10,
  160. "interval": "$interval",
  161. "links": [],
  162. "mappingType": 1,
  163. "mappingTypes": [
  164. {
  165. "name": "value to text",
  166. "value": 1
  167. },
  168. {
  169. "name": "range to text",
  170. "value": 2
  171. }
  172. ],
  173. "maxDataPoints": 100,
  174. "nullPointMode": "connected",
  175. "nullText": null,
  176. "postfix": "",
  177. "postfixFontSize": "50%",
  178. "prefix": "",
  179. "prefixFontSize": "80%",
  180. "rangeMaps": [
  181. {
  182. "from": "null",
  183. "text": "N/A",
  184. "to": "null"
  185. }
  186. ],
  187. "span": 3,
  188. "sparkline": {
  189. "fillColor": "rgba(31, 118, 189, 0.18)",
  190. "full": false,
  191. "lineColor": "rgb(31, 120, 193)",
  192. "show": false
  193. },
  194. "targets": [
  195. {
  196. "calculatedInterval": "10m",
  197. "datasourceErrors": {},
  198. "errors": {},
  199. "expr": "mysql_global_variables_tokudb_cache_size{instance=\"$host\"}",
  200. "interval": "5m",
  201. "intervalFactor": 1,
  202. "legendFormat": "",
  203. "metric": "",
  204. "refId": "A",
  205. "step": 300
  206. }
  207. ],
  208. "thresholds": "90,95",
  209. "title": "TokuDB Cache Size",
  210. "transparent": false,
  211. "type": "singlestat",
  212. "valueFontSize": "80%",
  213. "valueMaps": [],
  214. "valueName": "current"
  215. }
  216. ],
  217. "repeat": null,
  218. "repeatIteration": null,
  219. "repeatRowId": null,
  220. "showTitle": false,
  221. "title": "Checkpointing",
  222. "titleSize": "h6"
  223. },
  224. {
  225. "collapse": false,
  226. "height": "250px",
  227. "panels": [
  228. {
  229. "aliasColors": {},
  230. "bars": false,
  231. "datasource": "Prometheus",
  232. "editable": true,
  233. "error": false,
  234. "fill": 2,
  235. "grid": {},
  236. "id": 2,
  237. "legend": {
  238. "alignAsTable": true,
  239. "avg": true,
  240. "current": false,
  241. "max": true,
  242. "min": true,
  243. "show": true,
  244. "sort": "avg",
  245. "sortDesc": true,
  246. "total": false,
  247. "values": true
  248. },
  249. "lines": true,
  250. "linewidth": 2,
  251. "links": [],
  252. "nullPointMode": "null",
  253. "percentage": false,
  254. "pointradius": 5,
  255. "points": false,
  256. "renderer": "flot",
  257. "seriesOverrides": [],
  258. "span": 6,
  259. "stack": false,
  260. "steppedLine": false,
  261. "targets": [
  262. {
  263. "expr": "rate(mysql_global_status_tokudb_cachetable_miss{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_cachetable_miss{instance=\"$host\"}[5m])",
  264. "interval": "$interval",
  265. "intervalFactor": 1,
  266. "legendFormat": "tokudb_cachetable_miss",
  267. "refId": "A",
  268. "step": 300
  269. },
  270. {
  271. "expr": "rate(mysql_global_status_tokudb_cachetable_evictions{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_cachetable_evictions{instance=\"$host\"}[5m])",
  272. "interval": "$interval",
  273. "intervalFactor": 1,
  274. "legendFormat": "tokudb_cachetable_evictions",
  275. "refId": "B",
  276. "step": 300
  277. },
  278. {
  279. "expr": "rate(mysql_global_status_tokudb_cachetable_prefetches{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_cachetable_prefetches{instance=\"$host\"}[5m])",
  280. "interval": "$interval",
  281. "intervalFactor": 1,
  282. "legendFormat": "tokudb_cachetable_prefetches",
  283. "refId": "C",
  284. "step": 300
  285. }
  286. ],
  287. "thresholds": [],
  288. "timeFrom": null,
  289. "timeShift": null,
  290. "title": "TokuDB CacheTable",
  291. "tooltip": {
  292. "msResolution": false,
  293. "shared": true,
  294. "sort": 0,
  295. "value_type": "cumulative"
  296. },
  297. "type": "graph",
  298. "xaxis": {
  299. "mode": "time",
  300. "name": null,
  301. "show": true,
  302. "values": []
  303. },
  304. "yaxes": [
  305. {
  306. "format": "short",
  307. "logBase": 1,
  308. "max": null,
  309. "min": 0,
  310. "show": true
  311. },
  312. {
  313. "format": "short",
  314. "logBase": 1,
  315. "max": null,
  316. "min": 0,
  317. "show": true
  318. }
  319. ]
  320. },
  321. {
  322. "aliasColors": {},
  323. "bars": false,
  324. "datasource": "Prometheus",
  325. "editable": true,
  326. "error": false,
  327. "fill": 2,
  328. "grid": {},
  329. "id": 1,
  330. "legend": {
  331. "alignAsTable": true,
  332. "avg": true,
  333. "current": false,
  334. "max": true,
  335. "min": true,
  336. "show": true,
  337. "sort": "avg",
  338. "sortDesc": true,
  339. "total": false,
  340. "values": true
  341. },
  342. "lines": true,
  343. "linewidth": 2,
  344. "links": [],
  345. "nullPointMode": "null",
  346. "percentage": false,
  347. "pointradius": 5,
  348. "points": false,
  349. "renderer": "flot",
  350. "seriesOverrides": [],
  351. "span": 6,
  352. "stack": false,
  353. "steppedLine": false,
  354. "targets": [
  355. {
  356. "expr": "{__name__=~\"mysql_global_status_tokudb_cachetable_size_.+\", instance=\"$host\"}",
  357. "interval": "$interval",
  358. "intervalFactor": 1,
  359. "legendFormat": "{{ __name__ }}",
  360. "refId": "A",
  361. "step": 300
  362. }
  363. ],
  364. "thresholds": [],
  365. "timeFrom": null,
  366. "timeShift": null,
  367. "title": "TokuDB CacheTable Size",
  368. "tooltip": {
  369. "msResolution": false,
  370. "shared": true,
  371. "sort": 0,
  372. "value_type": "cumulative"
  373. },
  374. "type": "graph",
  375. "xaxis": {
  376. "mode": "time",
  377. "name": null,
  378. "show": true,
  379. "values": []
  380. },
  381. "yaxes": [
  382. {
  383. "format": "bytes",
  384. "logBase": 1,
  385. "max": null,
  386. "min": 0,
  387. "show": true
  388. },
  389. {
  390. "format": "short",
  391. "logBase": 1,
  392. "max": null,
  393. "min": 0,
  394. "show": true
  395. }
  396. ]
  397. }
  398. ],
  399. "repeat": null,
  400. "repeatIteration": null,
  401. "repeatRowId": null,
  402. "showTitle": false,
  403. "title": "CacheTable",
  404. "titleSize": "h6"
  405. },
  406. {
  407. "collapse": false,
  408. "height": "250px",
  409. "panels": [
  410. {
  411. "aliasColors": {},
  412. "bars": false,
  413. "datasource": "Prometheus",
  414. "editable": true,
  415. "error": false,
  416. "fill": 2,
  417. "grid": {},
  418. "id": 6,
  419. "legend": {
  420. "alignAsTable": true,
  421. "avg": true,
  422. "current": false,
  423. "max": true,
  424. "min": true,
  425. "show": true,
  426. "sort": "avg",
  427. "sortDesc": true,
  428. "total": false,
  429. "values": true
  430. },
  431. "lines": true,
  432. "linewidth": 2,
  433. "links": [],
  434. "nullPointMode": "null",
  435. "percentage": false,
  436. "pointradius": 5,
  437. "points": false,
  438. "renderer": "flot",
  439. "seriesOverrides": [],
  440. "span": 6,
  441. "stack": false,
  442. "steppedLine": false,
  443. "targets": [
  444. {
  445. "expr": "rate(mysql_global_status_tokudb_pivots_fetched_for_query_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_pivots_fetched_for_query_seconds{instance=\"$host\"}[5m])",
  446. "interval": "$interval",
  447. "intervalFactor": 1,
  448. "legendFormat": "tokudb_pivots_fetched_for_query_seconds",
  449. "refId": "A",
  450. "step": 300
  451. },
  452. {
  453. "expr": "rate(mysql_global_status_tokudb_pivots_fetched_for_prefetch_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_pivots_fetched_for_prefetch_seconds{instance=\"$host\"}[5m])",
  454. "interval": "$interval",
  455. "intervalFactor": 1,
  456. "legendFormat": "tokudb_pivots_fetched_for_prefetch_seconds",
  457. "refId": "B",
  458. "step": 300
  459. },
  460. {
  461. "expr": "rate(mysql_global_status_tokudb_pivots_fetched_for_write_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_pivots_fetched_for_write_seconds{instance=\"$host\"}[5m])",
  462. "interval": "$interval",
  463. "intervalFactor": 1,
  464. "legendFormat": "tokudb_pivots_fetched_for_write_seconds",
  465. "refId": "C",
  466. "step": 300
  467. }
  468. ],
  469. "thresholds": [],
  470. "timeFrom": null,
  471. "timeShift": null,
  472. "title": "TokuDB Pivots Time",
  473. "tooltip": {
  474. "msResolution": false,
  475. "shared": true,
  476. "sort": 0,
  477. "value_type": "cumulative"
  478. },
  479. "type": "graph",
  480. "xaxis": {
  481. "mode": "time",
  482. "name": null,
  483. "show": true,
  484. "values": []
  485. },
  486. "yaxes": [
  487. {
  488. "format": "s",
  489. "logBase": 1,
  490. "max": null,
  491. "min": 0,
  492. "show": true
  493. },
  494. {
  495. "format": "short",
  496. "logBase": 1,
  497. "max": null,
  498. "min": 0,
  499. "show": true
  500. }
  501. ]
  502. },
  503. {
  504. "aliasColors": {},
  505. "bars": false,
  506. "datasource": "Prometheus",
  507. "editable": true,
  508. "error": false,
  509. "fill": 2,
  510. "grid": {},
  511. "id": 3,
  512. "legend": {
  513. "alignAsTable": true,
  514. "avg": true,
  515. "current": false,
  516. "max": true,
  517. "min": true,
  518. "show": true,
  519. "sort": "avg",
  520. "sortDesc": true,
  521. "total": false,
  522. "values": true
  523. },
  524. "lines": true,
  525. "linewidth": 2,
  526. "links": [],
  527. "nullPointMode": "null",
  528. "percentage": false,
  529. "pointradius": 5,
  530. "points": false,
  531. "renderer": "flot",
  532. "seriesOverrides": [],
  533. "span": 6,
  534. "stack": false,
  535. "steppedLine": false,
  536. "targets": [
  537. {
  538. "expr": "rate(mysql_global_status_tokudb_db_opens{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_db_opens{instance=\"$host\"}[5m])",
  539. "interval": "$interval",
  540. "intervalFactor": 1,
  541. "legendFormat": "tokudb_db_opens",
  542. "refId": "A",
  543. "step": 300
  544. },
  545. {
  546. "expr": "mysql_global_status_tokudb_db_open_current{instance=\"$host\"}",
  547. "interval": "$interval",
  548. "intervalFactor": 1,
  549. "legendFormat": "tokudb_db_open_current",
  550. "refId": "B",
  551. "step": 300
  552. },
  553. {
  554. "expr": "mysql_global_status_tokudb_db_open_max{instance=\"$host\"}",
  555. "interval": "$interval",
  556. "intervalFactor": 1,
  557. "legendFormat": "tokudb_db_open_max",
  558. "refId": "C",
  559. "step": 300
  560. },
  561. {
  562. "expr": "rate(mysql_global_status_tokudb_db_closes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_db_closes{instance=\"$host\"}[5m])",
  563. "interval": "$interval",
  564. "intervalFactor": 1,
  565. "legendFormat": "tokudb_db_closes",
  566. "refId": "D",
  567. "step": 300
  568. }
  569. ],
  570. "thresholds": [],
  571. "timeFrom": null,
  572. "timeShift": null,
  573. "title": "TokuDB Opens/Closes",
  574. "tooltip": {
  575. "msResolution": false,
  576. "shared": true,
  577. "sort": 0,
  578. "value_type": "cumulative"
  579. },
  580. "type": "graph",
  581. "xaxis": {
  582. "mode": "time",
  583. "name": null,
  584. "show": true,
  585. "values": []
  586. },
  587. "yaxes": [
  588. {
  589. "format": "short",
  590. "logBase": 1,
  591. "max": null,
  592. "min": 0,
  593. "show": true
  594. },
  595. {
  596. "format": "short",
  597. "logBase": 1,
  598. "max": null,
  599. "min": 0,
  600. "show": true
  601. }
  602. ]
  603. }
  604. ],
  605. "repeat": null,
  606. "repeatIteration": null,
  607. "repeatRowId": null,
  608. "showTitle": false,
  609. "title": "Pivots",
  610. "titleSize": "h6"
  611. },
  612. {
  613. "collapse": false,
  614. "height": "250px",
  615. "panels": [
  616. {
  617. "aliasColors": {},
  618. "bars": false,
  619. "datasource": "Prometheus",
  620. "editable": true,
  621. "error": false,
  622. "fill": 2,
  623. "grid": {},
  624. "id": 8,
  625. "legend": {
  626. "alignAsTable": true,
  627. "avg": true,
  628. "current": false,
  629. "max": true,
  630. "min": true,
  631. "show": true,
  632. "sort": "avg",
  633. "sortDesc": true,
  634. "total": false,
  635. "values": true
  636. },
  637. "lines": true,
  638. "linewidth": 2,
  639. "links": [],
  640. "nullPointMode": "null",
  641. "percentage": false,
  642. "pointradius": 5,
  643. "points": false,
  644. "renderer": "flot",
  645. "seriesOverrides": [],
  646. "span": 6,
  647. "stack": false,
  648. "steppedLine": false,
  649. "targets": [
  650. {
  651. "expr": "rate(mysql_global_status_tokudb_leaf_compression_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_compression_to_memory_seconds{instance=\"$host\"}[5m])",
  652. "interval": "$interval",
  653. "intervalFactor": 1,
  654. "legendFormat": "tokudb_leaf_compression_to_memory_seconds",
  655. "refId": "A",
  656. "step": 300
  657. },
  658. {
  659. "expr": "rate(mysql_global_status_tokudb_leaf_serialization_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_serialization_to_memory_seconds{instance=\"$host\"}[5m])",
  660. "interval": "$interval",
  661. "intervalFactor": 1,
  662. "legendFormat": "tokudb_leaf_serialization_to_memory_seconds",
  663. "refId": "B",
  664. "step": 300
  665. },
  666. {
  667. "expr": "rate(mysql_global_status_tokudb_leaf_deserialization_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_deserialization_to_memory_seconds{instance=\"$host\"}[5m])",
  668. "interval": "$interval",
  669. "intervalFactor": 1,
  670. "legendFormat": "tokudb_leaf_deserialization_to_memory_seconds",
  671. "refId": "C",
  672. "step": 300
  673. },
  674. {
  675. "expr": "rate(mysql_global_status_tokudb_leaf_decompression_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_decompression_to_memory_seconds{instance=\"$host\"}[5m])",
  676. "interval": "$interval",
  677. "intervalFactor": 1,
  678. "legendFormat": "tokudb_leaf_decompression_to_memory_seconds",
  679. "refId": "D",
  680. "step": 300
  681. }
  682. ],
  683. "thresholds": [],
  684. "timeFrom": null,
  685. "timeShift": null,
  686. "title": "TokuDB Leaf",
  687. "tooltip": {
  688. "msResolution": false,
  689. "shared": true,
  690. "sort": 0,
  691. "value_type": "cumulative"
  692. },
  693. "type": "graph",
  694. "xaxis": {
  695. "mode": "time",
  696. "name": null,
  697. "show": true,
  698. "values": []
  699. },
  700. "yaxes": [
  701. {
  702. "format": "s",
  703. "logBase": 1,
  704. "max": null,
  705. "min": 0,
  706. "show": true
  707. },
  708. {
  709. "format": "short",
  710. "logBase": 1,
  711. "max": null,
  712. "min": 0,
  713. "show": true
  714. }
  715. ]
  716. },
  717. {
  718. "aliasColors": {},
  719. "bars": false,
  720. "datasource": "Prometheus",
  721. "editable": true,
  722. "error": false,
  723. "fill": 2,
  724. "grid": {},
  725. "id": 7,
  726. "legend": {
  727. "alignAsTable": true,
  728. "avg": true,
  729. "current": false,
  730. "max": true,
  731. "min": true,
  732. "show": true,
  733. "sort": "avg",
  734. "sortDesc": true,
  735. "total": false,
  736. "values": true
  737. },
  738. "lines": true,
  739. "linewidth": 2,
  740. "links": [],
  741. "nullPointMode": "null",
  742. "percentage": false,
  743. "pointradius": 5,
  744. "points": false,
  745. "renderer": "flot",
  746. "seriesOverrides": [],
  747. "span": 6,
  748. "stack": false,
  749. "steppedLine": false,
  750. "targets": [
  751. {
  752. "expr": "rate(mysql_global_status_tokudb_nonleaf_compression_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_compression_to_memory_seconds{instance=\"$host\"}[5m])",
  753. "interval": "$interval",
  754. "intervalFactor": 1,
  755. "legendFormat": "tokudb_nonleaf_compression_to_memory_seconds",
  756. "refId": "A",
  757. "step": 300
  758. },
  759. {
  760. "expr": "rate(mysql_global_status_tokudb_nonleaf_serialization_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_serialization_to_memory_seconds{instance=\"$host\"}[5m])",
  761. "interval": "$interval",
  762. "intervalFactor": 1,
  763. "legendFormat": "tokudb_nonleaf_serialization_to_memory_seconds",
  764. "refId": "B",
  765. "step": 300
  766. },
  767. {
  768. "expr": "rate(mysql_global_status_tokudb_nonleaf_deserialization_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_deserialization_to_memory_seconds{instance=\"$host\"}[5m])",
  769. "interval": "$interval",
  770. "intervalFactor": 1,
  771. "legendFormat": "tokudb_nonleaf_deserialization_to_memory_seconds",
  772. "refId": "C",
  773. "step": 300
  774. },
  775. {
  776. "expr": "rate(mysql_global_status_tokudb_nonleaf_decompression_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_decompression_to_memory_seconds{instance=\"$host\"}[5m])",
  777. "interval": "$interval",
  778. "intervalFactor": 1,
  779. "legendFormat": "tokudb_nonleaf_decompression_to_memory_seconds",
  780. "refId": "D",
  781. "step": 300
  782. }
  783. ],
  784. "thresholds": [],
  785. "timeFrom": null,
  786. "timeShift": null,
  787. "title": "TokuDB NonLeaf",
  788. "tooltip": {
  789. "msResolution": false,
  790. "shared": true,
  791. "sort": 0,
  792. "value_type": "cumulative"
  793. },
  794. "type": "graph",
  795. "xaxis": {
  796. "mode": "time",
  797. "name": null,
  798. "show": true,
  799. "values": []
  800. },
  801. "yaxes": [
  802. {
  803. "format": "s",
  804. "logBase": 1,
  805. "max": null,
  806. "min": 0,
  807. "show": true
  808. },
  809. {
  810. "format": "short",
  811. "logBase": 1,
  812. "max": null,
  813. "min": 0,
  814. "show": true
  815. }
  816. ]
  817. },
  818. {
  819. "aliasColors": {},
  820. "bars": false,
  821. "datasource": "Prometheus",
  822. "editable": true,
  823. "error": false,
  824. "fill": 2,
  825. "grid": {},
  826. "id": 4,
  827. "legend": {
  828. "alignAsTable": true,
  829. "avg": true,
  830. "current": false,
  831. "max": true,
  832. "min": true,
  833. "show": true,
  834. "sort": "avg",
  835. "sortDesc": true,
  836. "total": false,
  837. "values": true
  838. },
  839. "lines": true,
  840. "linewidth": 2,
  841. "links": [],
  842. "nullPointMode": "null",
  843. "percentage": false,
  844. "pointradius": 5,
  845. "points": false,
  846. "renderer": "flot",
  847. "seriesOverrides": [],
  848. "span": 9,
  849. "stack": false,
  850. "steppedLine": false,
  851. "targets": [
  852. {
  853. "expr": "rate(mysql_global_status_tokudb_basements_fetched_target_query_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_basements_fetched_target_query_seconds{instance=\"$host\"}[5m])",
  854. "interval": "$interval",
  855. "intervalFactor": 1,
  856. "legendFormat": "tokudb_basements_fetched_target_query_seconds",
  857. "refId": "D",
  858. "step": 300
  859. },
  860. {
  861. "expr": "rate(mysql_global_status_tokudb_basements_fetched_prefetch_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_basements_fetched_prefetch_seconds{instance=\"$host\"}[5m])",
  862. "interval": "$interval",
  863. "intervalFactor": 1,
  864. "legendFormat": "tokudb_basements_fetched_prefetch_seconds",
  865. "refId": "A",
  866. "step": 300
  867. },
  868. {
  869. "expr": "rate(mysql_global_status_tokudb_basements_fetched_prelocked_range_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_basements_fetched_prelocked_range_seconds{instance=\"$host\"}[5m])",
  870. "interval": "$interval",
  871. "intervalFactor": 1,
  872. "legendFormat": "tokudb_basements_fetched_prelocked_range_seconds",
  873. "refId": "B",
  874. "step": 300
  875. },
  876. {
  877. "expr": "rate(mysql_global_status_tokudb_basements_fetched_for_write_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_basements_fetched_for_write_seconds{instance=\"$host\"}[5m])",
  878. "interval": "$interval",
  879. "intervalFactor": 1,
  880. "legendFormat": "tokudb_basements_fetched_for_write_seconds",
  881. "refId": "C",
  882. "step": 300
  883. }
  884. ],
  885. "thresholds": [],
  886. "timeFrom": null,
  887. "timeShift": null,
  888. "title": "TokuDB Basements Time",
  889. "tooltip": {
  890. "msResolution": false,
  891. "shared": true,
  892. "sort": 0,
  893. "value_type": "cumulative"
  894. },
  895. "type": "graph",
  896. "xaxis": {
  897. "mode": "time",
  898. "name": null,
  899. "show": true,
  900. "values": []
  901. },
  902. "yaxes": [
  903. {
  904. "format": "s",
  905. "logBase": 1,
  906. "max": null,
  907. "min": 0,
  908. "show": true
  909. },
  910. {
  911. "format": "short",
  912. "logBase": 1,
  913. "max": null,
  914. "min": 0,
  915. "show": true
  916. }
  917. ]
  918. },
  919. {
  920. "aliasColors": {},
  921. "bars": false,
  922. "datasource": "Prometheus",
  923. "editable": true,
  924. "error": false,
  925. "fill": 2,
  926. "grid": {},
  927. "id": 12,
  928. "legend": {
  929. "alignAsTable": true,
  930. "avg": true,
  931. "current": false,
  932. "max": true,
  933. "min": true,
  934. "show": true,
  935. "sort": "avg",
  936. "sortDesc": true,
  937. "total": false,
  938. "values": true
  939. },
  940. "lines": true,
  941. "linewidth": 2,
  942. "links": [],
  943. "nullPointMode": "null",
  944. "percentage": false,
  945. "pointradius": 5,
  946. "points": false,
  947. "renderer": "flot",
  948. "seriesOverrides": [],
  949. "span": 9,
  950. "stack": false,
  951. "steppedLine": false,
  952. "targets": [
  953. {
  954. "expr": "rate(mysql_global_status_tokudb_promotion_injections_at_depth_0{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_injections_at_depth_0{instance=\"$host\"}[5m])",
  955. "interval": "$interval",
  956. "intervalFactor": 1,
  957. "legendFormat": "tokudb_promotion_injections_at_depth_0",
  958. "refId": "A",
  959. "step": 300
  960. },
  961. {
  962. "expr": "rate(mysql_global_status_tokudb_promotion_injections_at_depth_1{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_injections_at_depth_1{instance=\"$host\"}[5m])",
  963. "interval": "$interval",
  964. "intervalFactor": 1,
  965. "legendFormat": "tokudb_promotion_injections_at_depth_1",
  966. "refId": "B",
  967. "step": 300
  968. },
  969. {
  970. "expr": "rate(mysql_global_status_tokudb_promotion_injections_at_depth_2{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_injections_at_depth_2{instance=\"$host\"}[5m])",
  971. "interval": "$interval",
  972. "intervalFactor": 1,
  973. "legendFormat": "tokudb_promotion_injections_at_depth_2",
  974. "refId": "C",
  975. "step": 300
  976. },
  977. {
  978. "expr": "rate(mysql_global_status_tokudb_promotion_injections_at_depth_3{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_injections_at_depth_3{instance=\"$host\"}[5m])",
  979. "interval": "$interval",
  980. "intervalFactor": 1,
  981. "legendFormat": "tokudb_promotion_injections_at_depth_3",
  982. "refId": "D",
  983. "step": 300
  984. }
  985. ],
  986. "thresholds": [],
  987. "timeFrom": null,
  988. "timeShift": null,
  989. "title": "TokuDB Promotion Injections",
  990. "tooltip": {
  991. "msResolution": false,
  992. "shared": true,
  993. "sort": 0,
  994. "value_type": "cumulative"
  995. },
  996. "type": "graph",
  997. "xaxis": {
  998. "mode": "time",
  999. "name": null,
  1000. "show": true,
  1001. "values": []
  1002. },
  1003. "yaxes": [
  1004. {
  1005. "format": "short",
  1006. "logBase": 1,
  1007. "max": null,
  1008. "min": 0,
  1009. "show": true
  1010. },
  1011. {
  1012. "format": "short",
  1013. "logBase": 1,
  1014. "max": null,
  1015. "min": 0,
  1016. "show": true
  1017. }
  1018. ]
  1019. },
  1020. {
  1021. "aliasColors": {},
  1022. "bars": false,
  1023. "datasource": "Prometheus",
  1024. "editable": true,
  1025. "error": false,
  1026. "fill": 2,
  1027. "grid": {},
  1028. "id": 13,
  1029. "legend": {
  1030. "alignAsTable": true,
  1031. "avg": true,
  1032. "current": false,
  1033. "max": true,
  1034. "min": true,
  1035. "show": true,
  1036. "sort": "avg",
  1037. "sortDesc": true,
  1038. "total": false,
  1039. "values": true
  1040. },
  1041. "lines": true,
  1042. "linewidth": 2,
  1043. "links": [],
  1044. "nullPointMode": "null",
  1045. "percentage": false,
  1046. "pointradius": 5,
  1047. "points": false,
  1048. "renderer": "flot",
  1049. "seriesOverrides": [],
  1050. "span": 9,
  1051. "stack": false,
  1052. "steppedLine": false,
  1053. "targets": [
  1054. {
  1055. "expr": "rate(mysql_global_status_tokudb_promotion_stopped_nonempty_buffer{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_stopped_nonempty_buffer{instance=\"$host\"}[5m])",
  1056. "interval": "$interval",
  1057. "intervalFactor": 1,
  1058. "legendFormat": "tokudb_promotion_stopped_nonempty_buffer",
  1059. "refId": "A",
  1060. "step": 300
  1061. },
  1062. {
  1063. "expr": "rate(mysql_global_status_tokudb_promotion_stopped_at_height_1{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_stopped_at_height_1{instance=\"$host\"}[5m])",
  1064. "interval": "$interval",
  1065. "intervalFactor": 1,
  1066. "legendFormat": "tokudb_promotion_stopped_at_height_1",
  1067. "refId": "D",
  1068. "step": 300
  1069. },
  1070. {
  1071. "expr": "rate(mysql_global_status_tokudb_promotion_stopped_child_locked_or_not_in_memory{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_stopped_child_locked_or_not_in_memory{instance=\"$host\"}[5m])",
  1072. "interval": "$interval",
  1073. "intervalFactor": 1,
  1074. "legendFormat": "tokudb_promotion_stopped_child_locked_or_not_in_memory",
  1075. "refId": "B",
  1076. "step": 300
  1077. },
  1078. {
  1079. "expr": "rate(mysql_global_status_tokudb_promotion_stopped_child_not_fully_in_memory{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_stopped_child_not_fully_in_memory{instance=\"$host\"}[5m])",
  1080. "interval": "$interval",
  1081. "intervalFactor": 1,
  1082. "legendFormat": "tokudb_promotion_stopped_child_not_fully_in_memory",
  1083. "refId": "C",
  1084. "step": 300
  1085. },
  1086. {
  1087. "expr": "rate(mysql_global_status_tokudb_promotion_stopped_after_locking_child{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_stopped_after_locking_child{instance=\"$host\"}[5m])",
  1088. "interval": "$interval",
  1089. "intervalFactor": 1,
  1090. "legendFormat": "tokudb_promotion_stopped_after_locking_child",
  1091. "refId": "E",
  1092. "step": 300
  1093. }
  1094. ],
  1095. "thresholds": [],
  1096. "timeFrom": null,
  1097. "timeShift": null,
  1098. "title": "TokuDB Promotion Stopped",
  1099. "tooltip": {
  1100. "msResolution": false,
  1101. "shared": true,
  1102. "sort": 0,
  1103. "value_type": "cumulative"
  1104. },
  1105. "type": "graph",
  1106. "xaxis": {
  1107. "mode": "time",
  1108. "name": null,
  1109. "show": true,
  1110. "values": []
  1111. },
  1112. "yaxes": [
  1113. {
  1114. "format": "short",
  1115. "logBase": 1,
  1116. "max": null,
  1117. "min": 0,
  1118. "show": true
  1119. },
  1120. {
  1121. "format": "short",
  1122. "logBase": 1,
  1123. "max": null,
  1124. "min": 0,
  1125. "show": true
  1126. }
  1127. ]
  1128. },
  1129. {
  1130. "aliasColors": {},
  1131. "bars": false,
  1132. "datasource": "Prometheus",
  1133. "editable": true,
  1134. "error": false,
  1135. "fill": 2,
  1136. "grid": {},
  1137. "id": 11,
  1138. "legend": {
  1139. "alignAsTable": true,
  1140. "avg": true,
  1141. "current": false,
  1142. "max": true,
  1143. "min": true,
  1144. "show": true,
  1145. "sort": "avg",
  1146. "sortDesc": true,
  1147. "total": false,
  1148. "values": true
  1149. },
  1150. "lines": true,
  1151. "linewidth": 2,
  1152. "links": [],
  1153. "nullPointMode": "null",
  1154. "percentage": false,
  1155. "pointradius": 5,
  1156. "points": false,
  1157. "renderer": "flot",
  1158. "seriesOverrides": [],
  1159. "span": 6,
  1160. "stack": false,
  1161. "steppedLine": false,
  1162. "targets": [
  1163. {
  1164. "expr": "rate(mysql_global_status_tokudb_promotion_roots_split{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_roots_split{instance=\"$host\"}[5m])",
  1165. "interval": "$interval",
  1166. "intervalFactor": 1,
  1167. "legendFormat": "tokudb_promotion_roots_split",
  1168. "refId": "A",
  1169. "step": 300
  1170. },
  1171. {
  1172. "expr": "rate(mysql_global_status_tokudb_promotion_h1_roots_injected_into{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_h1_roots_injected_into{instance=\"$host\"}[5m])",
  1173. "interval": "$interval",
  1174. "intervalFactor": 1,
  1175. "legendFormat": "tokudb_promotion_h1_roots_injected_into",
  1176. "refId": "D",
  1177. "step": 300
  1178. },
  1179. {
  1180. "expr": "rate(mysql_global_status_tokudb_promotion_leaf_roots_injected_into{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_leaf_roots_injected_into{instance=\"$host\"}[5m])",
  1181. "interval": "$interval",
  1182. "intervalFactor": 1,
  1183. "legendFormat": "tokudb_promotion_leaf_roots_injected_into",
  1184. "refId": "B",
  1185. "step": 300
  1186. }
  1187. ],
  1188. "thresholds": [],
  1189. "timeFrom": null,
  1190. "timeShift": null,
  1191. "title": "TokuDB Promotion Root",
  1192. "tooltip": {
  1193. "msResolution": false,
  1194. "shared": true,
  1195. "sort": 0,
  1196. "value_type": "cumulative"
  1197. },
  1198. "type": "graph",
  1199. "xaxis": {
  1200. "mode": "time",
  1201. "name": null,
  1202. "show": true,
  1203. "values": []
  1204. },
  1205. "yaxes": [
  1206. {
  1207. "format": "short",
  1208. "logBase": 1,
  1209. "max": null,
  1210. "min": 0,
  1211. "show": true
  1212. },
  1213. {
  1214. "format": "short",
  1215. "logBase": 1,
  1216. "max": null,
  1217. "min": 0,
  1218. "show": true
  1219. }
  1220. ]
  1221. },
  1222. {
  1223. "aliasColors": {},
  1224. "bars": false,
  1225. "datasource": "Prometheus",
  1226. "editable": true,
  1227. "error": false,
  1228. "fill": 2,
  1229. "grid": {},
  1230. "id": 19,
  1231. "legend": {
  1232. "alignAsTable": true,
  1233. "avg": true,
  1234. "current": false,
  1235. "max": true,
  1236. "min": true,
  1237. "show": true,
  1238. "sort": "avg",
  1239. "sortDesc": true,
  1240. "total": false,
  1241. "values": true
  1242. },
  1243. "lines": true,
  1244. "linewidth": 2,
  1245. "links": [],
  1246. "nullPointMode": "null",
  1247. "percentage": false,
  1248. "pointradius": 5,
  1249. "points": false,
  1250. "renderer": "flot",
  1251. "seriesOverrides": [],
  1252. "span": 6,
  1253. "stack": false,
  1254. "steppedLine": false,
  1255. "targets": [
  1256. {
  1257. "expr": "rate(mysql_global_status_tokudb_buffers_fetched_target_query{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_target_query{instance=\"$host\"}[5m])",
  1258. "interval": "$interval",
  1259. "intervalFactor": 1,
  1260. "legendFormat": "tokudb_buffers_fetched_target_query",
  1261. "refId": "D",
  1262. "step": 300
  1263. },
  1264. {
  1265. "expr": "rate(mysql_global_status_tokudb_buffers_fetched_prefetch{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_prefetch{instance=\"$host\"}[5m])",
  1266. "interval": "$interval",
  1267. "intervalFactor": 1,
  1268. "legendFormat": "tokudb_buffers_fetched_prefetch",
  1269. "refId": "B",
  1270. "step": 300
  1271. },
  1272. {
  1273. "expr": "rate(mysql_global_status_tokudb_buffers_fetched_prelocked_range{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_prelocked_range{instance=\"$host\"}[5m])",
  1274. "interval": "$interval",
  1275. "intervalFactor": 1,
  1276. "legendFormat": "tokudb_buffers_fetched_prelocked_range",
  1277. "refId": "A",
  1278. "step": 300
  1279. },
  1280. {
  1281. "expr": "rate(mysql_global_status_tokudb_buffers_fetched_for_write{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_for_write{instance=\"$host\"}[5m])",
  1282. "interval": "$interval",
  1283. "intervalFactor": 1,
  1284. "legendFormat": "tokudb_buffers_fetched_for_write",
  1285. "refId": "C",
  1286. "step": 300
  1287. }
  1288. ],
  1289. "thresholds": [],
  1290. "timeFrom": null,
  1291. "timeShift": null,
  1292. "title": "TokuDB Buffers",
  1293. "tooltip": {
  1294. "msResolution": false,
  1295. "shared": true,
  1296. "sort": 0,
  1297. "value_type": "cumulative"
  1298. },
  1299. "type": "graph",
  1300. "xaxis": {
  1301. "mode": "time",
  1302. "name": null,
  1303. "show": true,
  1304. "values": []
  1305. },
  1306. "yaxes": [
  1307. {
  1308. "format": "short",
  1309. "logBase": 1,
  1310. "max": null,
  1311. "min": 0,
  1312. "show": true
  1313. },
  1314. {
  1315. "format": "short",
  1316. "logBase": 1,
  1317. "max": null,
  1318. "min": 0,
  1319. "show": true
  1320. }
  1321. ]
  1322. },
  1323. {
  1324. "aliasColors": {},
  1325. "bars": false,
  1326. "datasource": "Prometheus",
  1327. "editable": true,
  1328. "error": false,
  1329. "fill": 2,
  1330. "grid": {},
  1331. "id": 5,
  1332. "legend": {
  1333. "alignAsTable": true,
  1334. "avg": true,
  1335. "current": false,
  1336. "max": true,
  1337. "min": true,
  1338. "show": true,
  1339. "sort": "avg",
  1340. "sortDesc": true,
  1341. "total": false,
  1342. "values": true
  1343. },
  1344. "lines": true,
  1345. "linewidth": 2,
  1346. "links": [],
  1347. "nullPointMode": "null",
  1348. "percentage": false,
  1349. "pointradius": 5,
  1350. "points": false,
  1351. "renderer": "flot",
  1352. "seriesOverrides": [],
  1353. "span": 9,
  1354. "stack": false,
  1355. "steppedLine": false,
  1356. "targets": [
  1357. {
  1358. "expr": "rate(mysql_global_status_tokudb_buffers_fetched_target_query_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_target_query_seconds{instance=\"$host\"}[5m])",
  1359. "interval": "$interval",
  1360. "intervalFactor": 1,
  1361. "legendFormat": "tokudb_buffers_fetched_target_query_seconds",
  1362. "refId": "D",
  1363. "step": 300
  1364. },
  1365. {
  1366. "expr": "rate(mysql_global_status_tokudb_buffers_fetched_prefetch_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_prefetch_seconds{instance=\"$host\"}[5m])",
  1367. "interval": "$interval",
  1368. "intervalFactor": 1,
  1369. "legendFormat": "tokudb_buffers_fetched_prefetch_seconds",
  1370. "refId": "A",
  1371. "step": 300
  1372. },
  1373. {
  1374. "expr": "rate(mysql_global_status_tokudb_buffers_fetched_prelocked_range_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_prelocked_range_seconds{instance=\"$host\"}[5m])",
  1375. "interval": "$interval",
  1376. "intervalFactor": 1,
  1377. "legendFormat": "tokudb_buffers_fetched_prelocked_range_seconds",
  1378. "refId": "B",
  1379. "step": 300
  1380. },
  1381. {
  1382. "expr": "rate(mysql_global_status_tokudb_buffers_fetched_for_write_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_for_write_seconds{instance=\"$host\"}[5m])",
  1383. "interval": "$interval",
  1384. "intervalFactor": 1,
  1385. "legendFormat": "tokudb_buffers_fetched_for_write_seconds",
  1386. "refId": "C",
  1387. "step": 300
  1388. }
  1389. ],
  1390. "thresholds": [],
  1391. "timeFrom": null,
  1392. "timeShift": null,
  1393. "title": "TokuDB Buffers Time",
  1394. "tooltip": {
  1395. "msResolution": false,
  1396. "shared": true,
  1397. "sort": 0,
  1398. "value_type": "cumulative"
  1399. },
  1400. "type": "graph",
  1401. "xaxis": {
  1402. "mode": "time",
  1403. "name": null,
  1404. "show": true,
  1405. "values": []
  1406. },
  1407. "yaxes": [
  1408. {
  1409. "format": "s",
  1410. "logBase": 1,
  1411. "max": null,
  1412. "min": 0,
  1413. "show": true
  1414. },
  1415. {
  1416. "format": "short",
  1417. "logBase": 1,
  1418. "max": null,
  1419. "min": 0,
  1420. "show": true
  1421. }
  1422. ]
  1423. },
  1424. {
  1425. "aliasColors": {},
  1426. "bars": false,
  1427. "datasource": "Prometheus",
  1428. "editable": true,
  1429. "error": false,
  1430. "fill": 2,
  1431. "grid": {},
  1432. "id": 15,
  1433. "legend": {
  1434. "alignAsTable": true,
  1435. "avg": true,
  1436. "current": false,
  1437. "max": true,
  1438. "min": true,
  1439. "show": true,
  1440. "sort": "avg",
  1441. "sortDesc": true,
  1442. "total": false,
  1443. "values": true
  1444. },
  1445. "lines": true,
  1446. "linewidth": 2,
  1447. "links": [],
  1448. "nullPointMode": "null",
  1449. "percentage": false,
  1450. "pointradius": 5,
  1451. "points": false,
  1452. "renderer": "flot",
  1453. "seriesOverrides": [],
  1454. "span": 9,
  1455. "stack": false,
  1456. "steppedLine": false,
  1457. "targets": [
  1458. {
  1459. "expr": "rate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_bytes{instance=\"$host\"}[5m])",
  1460. "interval": "$interval",
  1461. "intervalFactor": 1,
  1462. "legendFormat": "tokudb_leaf_nodes_flushed_not_checkpoint_bytes",
  1463. "refId": "A",
  1464. "step": 300
  1465. },
  1466. {
  1467. "expr": "rate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_uncompressed_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_uncompressed_bytes{instance=\"$host\"}[5m])",
  1468. "interval": "$interval",
  1469. "intervalFactor": 1,
  1470. "legendFormat": "tokudb_leaf_nodes_flushed_not_checkpoint_uncompressed_bytes",
  1471. "refId": "D",
  1472. "step": 300
  1473. },
  1474. {
  1475. "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_bytes{instance=\"$host\"}[5m])",
  1476. "interval": "$interval",
  1477. "intervalFactor": 1,
  1478. "legendFormat": "tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_bytes",
  1479. "refId": "B",
  1480. "step": 300
  1481. },
  1482. {
  1483. "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_uncompresse{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_uncompresse{instance=\"$host\"}[5m])",
  1484. "interval": "$interval",
  1485. "intervalFactor": 1,
  1486. "legendFormat": "tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_uncompresse",
  1487. "refId": "C",
  1488. "step": 300
  1489. }
  1490. ],
  1491. "thresholds": [],
  1492. "timeFrom": null,
  1493. "timeShift": null,
  1494. "title": "TokuDB Flushed Not Checkpoint",
  1495. "tooltip": {
  1496. "msResolution": false,
  1497. "shared": true,
  1498. "sort": 0,
  1499. "value_type": "cumulative"
  1500. },
  1501. "type": "graph",
  1502. "xaxis": {
  1503. "mode": "time",
  1504. "name": null,
  1505. "show": true,
  1506. "values": []
  1507. },
  1508. "yaxes": [
  1509. {
  1510. "format": "bytes",
  1511. "logBase": 1,
  1512. "max": null,
  1513. "min": 0,
  1514. "show": true
  1515. },
  1516. {
  1517. "format": "short",
  1518. "logBase": 1,
  1519. "max": null,
  1520. "min": 0,
  1521. "show": true
  1522. }
  1523. ]
  1524. },
  1525. {
  1526. "aliasColors": {},
  1527. "bars": false,
  1528. "datasource": "Prometheus",
  1529. "editable": true,
  1530. "error": false,
  1531. "fill": 2,
  1532. "grid": {},
  1533. "id": 16,
  1534. "legend": {
  1535. "alignAsTable": true,
  1536. "avg": true,
  1537. "current": false,
  1538. "max": true,
  1539. "min": true,
  1540. "show": true,
  1541. "sort": "avg",
  1542. "sortDesc": true,
  1543. "total": false,
  1544. "values": true
  1545. },
  1546. "lines": true,
  1547. "linewidth": 2,
  1548. "links": [],
  1549. "nullPointMode": "null",
  1550. "percentage": false,
  1551. "pointradius": 5,
  1552. "points": false,
  1553. "renderer": "flot",
  1554. "seriesOverrides": [],
  1555. "span": 6,
  1556. "stack": false,
  1557. "steppedLine": false,
  1558. "targets": [
  1559. {
  1560. "expr": "rate(mysql_global_status_tokudb_logger_writes_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_logger_writes_bytes{instance=\"$host\"}[5m])",
  1561. "interval": "$interval",
  1562. "intervalFactor": 1,
  1563. "legendFormat": "tokudb_logger_writes_bytes",
  1564. "refId": "A",
  1565. "step": 300
  1566. },
  1567. {
  1568. "expr": "rate(mysql_global_status_tokudb_logger_writes_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_logger_writes_seconds{instance=\"$host\"}[5m])",
  1569. "interval": "$interval",
  1570. "intervalFactor": 1,
  1571. "legendFormat": "tokudb_logger_writes_seconds",
  1572. "refId": "B",
  1573. "step": 300
  1574. },
  1575. {
  1576. "expr": "rate(mysql_global_status_tokudb_logger_writes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_logger_writes{instance=\"$host\"}[5m])",
  1577. "interval": "$interval",
  1578. "intervalFactor": 1,
  1579. "legendFormat": "tokudb_logger_writes",
  1580. "refId": "C",
  1581. "step": 300
  1582. }
  1583. ],
  1584. "thresholds": [],
  1585. "timeFrom": null,
  1586. "timeShift": null,
  1587. "title": "TokuDB Logger",
  1588. "tooltip": {
  1589. "msResolution": false,
  1590. "shared": true,
  1591. "sort": 0,
  1592. "value_type": "cumulative"
  1593. },
  1594. "type": "graph",
  1595. "xaxis": {
  1596. "mode": "time",
  1597. "name": null,
  1598. "show": true,
  1599. "values": []
  1600. },
  1601. "yaxes": [
  1602. {
  1603. "format": "short",
  1604. "logBase": 1,
  1605. "max": null,
  1606. "min": 0,
  1607. "show": true
  1608. },
  1609. {
  1610. "format": "short",
  1611. "logBase": 1,
  1612. "max": null,
  1613. "min": 0,
  1614. "show": true
  1615. }
  1616. ]
  1617. },
  1618. {
  1619. "aliasColors": {},
  1620. "bars": false,
  1621. "datasource": "Prometheus",
  1622. "editable": true,
  1623. "error": false,
  1624. "fill": 2,
  1625. "grid": {},
  1626. "id": 18,
  1627. "legend": {
  1628. "alignAsTable": true,
  1629. "avg": true,
  1630. "current": false,
  1631. "max": true,
  1632. "min": true,
  1633. "show": true,
  1634. "sort": "avg",
  1635. "sortDesc": true,
  1636. "total": false,
  1637. "values": true
  1638. },
  1639. "lines": true,
  1640. "linewidth": 2,
  1641. "links": [],
  1642. "nullPointMode": "null",
  1643. "percentage": false,
  1644. "pointradius": 5,
  1645. "points": false,
  1646. "renderer": "flot",
  1647. "seriesOverrides": [],
  1648. "span": 6,
  1649. "stack": false,
  1650. "steppedLine": false,
  1651. "targets": [
  1652. {
  1653. "expr": "rate(mysql_global_status_tokudb_leaf_nodes_created{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_created{instance=\"$host\"}[5m])",
  1654. "interval": "$interval",
  1655. "intervalFactor": 1,
  1656. "legendFormat": "tokudb_leaf_nodes_created",
  1657. "refId": "A",
  1658. "step": 300
  1659. },
  1660. {
  1661. "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_created{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_created{instance=\"$host\"}[5m])",
  1662. "interval": "$interval",
  1663. "intervalFactor": 1,
  1664. "legendFormat": "tokudb_nonleaf_nodes_created",
  1665. "refId": "B",
  1666. "step": 300
  1667. },
  1668. {
  1669. "expr": "rate(mysql_global_status_tokudb_leaf_nodes_destroyed{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_destroyed{instance=\"$host\"}[5m])",
  1670. "interval": "$interval",
  1671. "intervalFactor": 1,
  1672. "legendFormat": "tokudb_leaf_nodes_destroyed",
  1673. "refId": "C",
  1674. "step": 300
  1675. },
  1676. {
  1677. "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_destroyed{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_destroyed{instance=\"$host\"}[5m])",
  1678. "interval": "$interval",
  1679. "intervalFactor": 1,
  1680. "legendFormat": "tokudb_nonleaf_nodes_destroyed",
  1681. "refId": "D",
  1682. "step": 300
  1683. }
  1684. ],
  1685. "thresholds": [],
  1686. "timeFrom": null,
  1687. "timeShift": null,
  1688. "title": "TokuDB Create and Destroy",
  1689. "tooltip": {
  1690. "msResolution": false,
  1691. "shared": true,
  1692. "sort": 0,
  1693. "value_type": "cumulative"
  1694. },
  1695. "type": "graph",
  1696. "xaxis": {
  1697. "mode": "time",
  1698. "name": null,
  1699. "show": true,
  1700. "values": []
  1701. },
  1702. "yaxes": [
  1703. {
  1704. "format": "short",
  1705. "logBase": 1,
  1706. "max": null,
  1707. "min": 0,
  1708. "show": true
  1709. },
  1710. {
  1711. "format": "short",
  1712. "logBase": 1,
  1713. "max": null,
  1714. "min": 0,
  1715. "show": true
  1716. }
  1717. ]
  1718. },
  1719. {
  1720. "aliasColors": {},
  1721. "bars": false,
  1722. "datasource": "Prometheus",
  1723. "editable": true,
  1724. "error": false,
  1725. "fill": 2,
  1726. "grid": {},
  1727. "id": 17,
  1728. "legend": {
  1729. "alignAsTable": true,
  1730. "avg": true,
  1731. "current": false,
  1732. "max": true,
  1733. "min": true,
  1734. "show": true,
  1735. "sort": "avg",
  1736. "sortDesc": true,
  1737. "total": false,
  1738. "values": true
  1739. },
  1740. "lines": true,
  1741. "linewidth": 2,
  1742. "links": [],
  1743. "nullPointMode": "null",
  1744. "percentage": false,
  1745. "pointradius": 5,
  1746. "points": false,
  1747. "renderer": "flot",
  1748. "seriesOverrides": [],
  1749. "span": 9,
  1750. "stack": false,
  1751. "steppedLine": false,
  1752. "targets": [
  1753. {
  1754. "expr": "rate(mysql_global_status_tokudb_messages_injected_at_root_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_messages_injected_at_root_bytes{instance=\"$host\"}[5m])",
  1755. "interval": "$interval",
  1756. "intervalFactor": 1,
  1757. "legendFormat": "tokudb_messages_injected_at_root_bytes",
  1758. "refId": "A",
  1759. "step": 300
  1760. },
  1761. {
  1762. "expr": "rate(mysql_global_status_tokudb_messages_in_trees_estimate_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_messages_in_trees_estimate_bytes{instance=\"$host\"}[5m])",
  1763. "interval": "$interval",
  1764. "intervalFactor": 1,
  1765. "legendFormat": "tokudb_messages_in_trees_estimate_bytes",
  1766. "refId": "B",
  1767. "step": 300
  1768. },
  1769. {
  1770. "expr": "rate(mysql_global_status_tokudb_messages_flushed_from_h1_to_leaves_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_messages_flushed_from_h1_to_leaves_bytes{instance=\"$host\"}[5m])",
  1771. "interval": "$interval",
  1772. "intervalFactor": 1,
  1773. "legendFormat": "tokudb_messages_flushed_from_h1_to_leaves_bytes",
  1774. "refId": "C",
  1775. "step": 300
  1776. }
  1777. ],
  1778. "thresholds": [],
  1779. "timeFrom": null,
  1780. "timeShift": null,
  1781. "title": "TokuDB Messages",
  1782. "tooltip": {
  1783. "msResolution": false,
  1784. "shared": true,
  1785. "sort": 0,
  1786. "value_type": "cumulative"
  1787. },
  1788. "type": "graph",
  1789. "xaxis": {
  1790. "mode": "time",
  1791. "name": null,
  1792. "show": true,
  1793. "values": []
  1794. },
  1795. "yaxes": [
  1796. {
  1797. "format": "bytes",
  1798. "logBase": 1,
  1799. "max": null,
  1800. "min": 0,
  1801. "show": true
  1802. },
  1803. {
  1804. "format": "short",
  1805. "logBase": 1,
  1806. "max": null,
  1807. "min": 0,
  1808. "show": true
  1809. }
  1810. ]
  1811. },
  1812. {
  1813. "aliasColors": {},
  1814. "bars": false,
  1815. "datasource": "Prometheus",
  1816. "editable": true,
  1817. "error": false,
  1818. "fill": 2,
  1819. "grid": {},
  1820. "id": 14,
  1821. "legend": {
  1822. "alignAsTable": true,
  1823. "avg": true,
  1824. "current": false,
  1825. "max": true,
  1826. "min": true,
  1827. "show": true,
  1828. "sort": "avg",
  1829. "sortDesc": true,
  1830. "total": false,
  1831. "values": true
  1832. },
  1833. "lines": true,
  1834. "linewidth": 2,
  1835. "links": [],
  1836. "nullPointMode": "null",
  1837. "percentage": false,
  1838. "pointradius": 5,
  1839. "points": false,
  1840. "renderer": "flot",
  1841. "seriesOverrides": [],
  1842. "span": 6,
  1843. "stack": false,
  1844. "steppedLine": false,
  1845. "targets": [
  1846. {
  1847. "expr": "rate(mysql_global_status_tokudb_messages_ignored_by_leaf_due_to_msn{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_messages_ignored_by_leaf_due_to_msn{instance=\"$host\"}[5m])",
  1848. "interval": "$interval",
  1849. "intervalFactor": 1,
  1850. "legendFormat": "tokudb_messages_ignored_by_leaf_due_to_msn",
  1851. "refId": "E",
  1852. "step": 300
  1853. }
  1854. ],
  1855. "thresholds": [],
  1856. "timeFrom": null,
  1857. "timeShift": null,
  1858. "title": "TokuDB Messages Ignored",
  1859. "tooltip": {
  1860. "msResolution": false,
  1861. "shared": true,
  1862. "sort": 0,
  1863. "value_type": "cumulative"
  1864. },
  1865. "type": "graph",
  1866. "xaxis": {
  1867. "mode": "time",
  1868. "name": null,
  1869. "show": true,
  1870. "values": []
  1871. },
  1872. "yaxes": [
  1873. {
  1874. "format": "short",
  1875. "logBase": 1,
  1876. "max": null,
  1877. "min": 0,
  1878. "show": true
  1879. },
  1880. {
  1881. "format": "short",
  1882. "logBase": 1,
  1883. "max": null,
  1884. "min": 0,
  1885. "show": true
  1886. }
  1887. ]
  1888. },
  1889. {
  1890. "aliasColors": {},
  1891. "bars": false,
  1892. "datasource": "Prometheus",
  1893. "editable": true,
  1894. "error": false,
  1895. "fill": 2,
  1896. "grid": {},
  1897. "id": 20,
  1898. "legend": {
  1899. "alignAsTable": true,
  1900. "avg": true,
  1901. "current": false,
  1902. "max": true,
  1903. "min": true,
  1904. "show": true,
  1905. "sort": "avg",
  1906. "sortDesc": true,
  1907. "total": false,
  1908. "values": true
  1909. },
  1910. "lines": true,
  1911. "linewidth": 2,
  1912. "links": [],
  1913. "nullPointMode": "null",
  1914. "percentage": false,
  1915. "pointradius": 5,
  1916. "points": false,
  1917. "renderer": "flot",
  1918. "seriesOverrides": [],
  1919. "span": 6,
  1920. "stack": false,
  1921. "steppedLine": false,
  1922. "targets": [
  1923. {
  1924. "expr": "rate(mysql_global_status_tokudb_cursor_skip_deleted_leaf_entry{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_cursor_skip_deleted_leaf_entry{instance=\"$host\"}[5m])",
  1925. "interval": "$interval",
  1926. "intervalFactor": 1,
  1927. "legendFormat": "tokudb_cursor_skip_deleted_leaf_entry",
  1928. "refId": "E",
  1929. "step": 300
  1930. }
  1931. ],
  1932. "thresholds": [],
  1933. "timeFrom": null,
  1934. "timeShift": null,
  1935. "title": "TokuDB Garbage",
  1936. "tooltip": {
  1937. "msResolution": false,
  1938. "shared": true,
  1939. "sort": 0,
  1940. "value_type": "cumulative"
  1941. },
  1942. "type": "graph",
  1943. "xaxis": {
  1944. "mode": "time",
  1945. "name": null,
  1946. "show": true,
  1947. "values": []
  1948. },
  1949. "yaxes": [
  1950. {
  1951. "format": "short",
  1952. "logBase": 1,
  1953. "max": null,
  1954. "min": 0,
  1955. "show": true
  1956. },
  1957. {
  1958. "format": "short",
  1959. "logBase": 1,
  1960. "max": null,
  1961. "min": 0,
  1962. "show": true
  1963. }
  1964. ]
  1965. },
  1966. {
  1967. "aliasColors": {},
  1968. "bars": false,
  1969. "datasource": "Prometheus",
  1970. "editable": true,
  1971. "error": false,
  1972. "fill": 2,
  1973. "grid": {},
  1974. "id": 22,
  1975. "legend": {
  1976. "alignAsTable": true,
  1977. "avg": true,
  1978. "current": false,
  1979. "max": true,
  1980. "min": true,
  1981. "show": true,
  1982. "sort": "avg",
  1983. "sortDesc": true,
  1984. "total": false,
  1985. "values": true
  1986. },
  1987. "lines": true,
  1988. "linewidth": 2,
  1989. "links": [],
  1990. "nullPointMode": "null",
  1991. "percentage": false,
  1992. "pointradius": 5,
  1993. "points": false,
  1994. "renderer": "flot",
  1995. "seriesOverrides": [],
  1996. "span": 9,
  1997. "stack": false,
  1998. "steppedLine": false,
  1999. "targets": [
  2000. {
  2001. "expr": "rate(mysql_global_status_tokudb_leaf_nodes_flushed_checkpoint_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_flushed_checkpoint_seconds{instance=\"$host\"}[5m])",
  2002. "interval": "$interval",
  2003. "intervalFactor": 1,
  2004. "legendFormat": "tokudb_leaf_nodes_flushed_checkpoint_seconds",
  2005. "refId": "D",
  2006. "step": 300
  2007. },
  2008. {
  2009. "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_seconds{instance=\"$host\"}[5m])",
  2010. "interval": "$interval",
  2011. "intervalFactor": 1,
  2012. "legendFormat": "tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_seconds",
  2013. "refId": "B",
  2014. "step": 300
  2015. },
  2016. {
  2017. "expr": "rate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_seconds{instance=\"$host\"}[5m])",
  2018. "interval": "$interval",
  2019. "intervalFactor": 1,
  2020. "legendFormat": "tokudb_leaf_nodes_flushed_not_checkpoint_seconds",
  2021. "refId": "A",
  2022. "step": 300
  2023. },
  2024. {
  2025. "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_seconds{instance=\"$host\"}[5m])",
  2026. "interval": "$interval",
  2027. "intervalFactor": 1,
  2028. "legendFormat": "tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_seconds",
  2029. "refId": "C",
  2030. "step": 300
  2031. }
  2032. ],
  2033. "thresholds": [],
  2034. "timeFrom": null,
  2035. "timeShift": null,
  2036. "title": "TokuDB Flush Types Time",
  2037. "tooltip": {
  2038. "msResolution": false,
  2039. "shared": true,
  2040. "sort": 0,
  2041. "value_type": "cumulative"
  2042. },
  2043. "type": "graph",
  2044. "xaxis": {
  2045. "mode": "time",
  2046. "name": null,
  2047. "show": true,
  2048. "values": []
  2049. },
  2050. "yaxes": [
  2051. {
  2052. "format": "s",
  2053. "logBase": 1,
  2054. "max": null,
  2055. "min": 0,
  2056. "show": true
  2057. },
  2058. {
  2059. "format": "short",
  2060. "logBase": 1,
  2061. "max": null,
  2062. "min": 0,
  2063. "show": true
  2064. }
  2065. ]
  2066. },
  2067. {
  2068. "aliasColors": {},
  2069. "bars": false,
  2070. "datasource": "Prometheus",
  2071. "editable": true,
  2072. "error": false,
  2073. "fill": 2,
  2074. "grid": {},
  2075. "id": 21,
  2076. "legend": {
  2077. "alignAsTable": true,
  2078. "avg": true,
  2079. "current": false,
  2080. "max": true,
  2081. "min": true,
  2082. "show": true,
  2083. "sort": "avg",
  2084. "sortDesc": true,
  2085. "total": false,
  2086. "values": true
  2087. },
  2088. "lines": true,
  2089. "linewidth": 2,
  2090. "links": [],
  2091. "nullPointMode": "null",
  2092. "percentage": false,
  2093. "pointradius": 5,
  2094. "points": false,
  2095. "renderer": "flot",
  2096. "seriesOverrides": [],
  2097. "span": 6,
  2098. "stack": false,
  2099. "steppedLine": false,
  2100. "targets": [
  2101. {
  2102. "expr": "mysql_global_status_tokudb_overall_node_compression_ratio{instance=\"$host\"} or i",
  2103. "interval": "$interval",
  2104. "intervalFactor": 1,
  2105. "legendFormat": "tokudb_overall_node_compression_ratio",
  2106. "refId": "E",
  2107. "step": 300
  2108. },
  2109. {
  2110. "expr": "mysql_global_status_tokudb_leaf_node_compression_ratio{instance=\"$host\"}",
  2111. "interval": "$interval",
  2112. "intervalFactor": 1,
  2113. "legendFormat": "tokudb_leaf_node_compression_ratio",
  2114. "refId": "A",
  2115. "step": 300
  2116. },
  2117. {
  2118. "expr": "mysql_global_status_tokudb_nonleaf_node_compression_ratio{instance=\"$host\"}",
  2119. "interval": "$interval",
  2120. "intervalFactor": 1,
  2121. "legendFormat": "tokudb_nonleaf_node_compression_ratio",
  2122. "refId": "B",
  2123. "step": 300
  2124. }
  2125. ],
  2126. "thresholds": [],
  2127. "timeFrom": null,
  2128. "timeShift": null,
  2129. "title": "TokuDB Compression Ratios",
  2130. "tooltip": {
  2131. "msResolution": false,
  2132. "shared": true,
  2133. "sort": 0,
  2134. "value_type": "cumulative"
  2135. },
  2136. "type": "graph",
  2137. "xaxis": {
  2138. "mode": "time",
  2139. "name": null,
  2140. "show": true,
  2141. "values": []
  2142. },
  2143. "yaxes": [
  2144. {
  2145. "format": "short",
  2146. "logBase": 1,
  2147. "max": null,
  2148. "min": 0,
  2149. "show": true
  2150. },
  2151. {
  2152. "format": "short",
  2153. "logBase": 1,
  2154. "max": null,
  2155. "min": 0,
  2156. "show": true
  2157. }
  2158. ]
  2159. }
  2160. ],
  2161. "repeat": null,
  2162. "repeatIteration": null,
  2163. "repeatRowId": null,
  2164. "showTitle": false,
  2165. "title": "Leaf",
  2166. "titleSize": "h6"
  2167. }
  2168. ],
  2169. "schemaVersion": 13,
  2170. "sharedCrosshair": true,
  2171. "style": "dark",
  2172. "tags": [
  2173. "MySQL",
  2174. "Percona"
  2175. ],
  2176. "templating": {
  2177. "list": [
  2178. {
  2179. "allFormat": "glob",
  2180. "auto": true,
  2181. "auto_count": 200,
  2182. "auto_min": "1s",
  2183. "current": {
  2184. "text": "auto",
  2185. "value": "$__auto_interval"
  2186. },
  2187. "datasource": "Prometheus",
  2188. "hide": 0,
  2189. "includeAll": false,
  2190. "label": "Interval",
  2191. "multi": false,
  2192. "multiFormat": "glob",
  2193. "name": "interval",
  2194. "options": [
  2195. {
  2196. "selected": true,
  2197. "text": "auto",
  2198. "value": "$__auto_interval"
  2199. },
  2200. {
  2201. "selected": false,
  2202. "text": "1s",
  2203. "value": "1s"
  2204. },
  2205. {
  2206. "selected": false,
  2207. "text": "5s",
  2208. "value": "5s"
  2209. },
  2210. {
  2211. "selected": false,
  2212. "text": "1m",
  2213. "value": "1m"
  2214. },
  2215. {
  2216. "selected": false,
  2217. "text": "5m",
  2218. "value": "5m"
  2219. },
  2220. {
  2221. "selected": false,
  2222. "text": "1h",
  2223. "value": "1h"
  2224. },
  2225. {
  2226. "selected": false,
  2227. "text": "6h",
  2228. "value": "6h"
  2229. },
  2230. {
  2231. "selected": false,
  2232. "text": "1d",
  2233. "value": "1d"
  2234. }
  2235. ],
  2236. "query": "1s,5s,1m,5m,1h,6h,1d",
  2237. "refresh": 2,
  2238. "type": "interval"
  2239. },
  2240. {
  2241. "allFormat": "glob",
  2242. "allValue": null,
  2243. "datasource": "Prometheus",
  2244. "hide": 0,
  2245. "includeAll": false,
  2246. "label": "Host",
  2247. "multi": false,
  2248. "multiFormat": "glob",
  2249. "name": "host",
  2250. "query": "label_values(mysql_global_variables_tokudb_cache_size, instance)",
  2251. "refresh": 1,
  2252. "refresh_on_load": false,
  2253. "regex": "",
  2254. "sort": 1,
  2255. "tagValuesQuery": null,
  2256. "tagsQuery": null,
  2257. "type": "query"
  2258. }
  2259. ]
  2260. },
  2261. "time": {
  2262. "from": "now-12h",
  2263. "to": "now"
  2264. },
  2265. "timepicker": {
  2266. "now": true,
  2267. "refresh_intervals": [
  2268. "5s",
  2269. "10s",
  2270. "30s",
  2271. "1m",
  2272. "5m",
  2273. "15m",
  2274. "30m",
  2275. "1h",
  2276. "2h",
  2277. "1d"
  2278. ],
  2279. "time_options": [
  2280. "5m",
  2281. "15m",
  2282. "1h",
  2283. "6h",
  2284. "12h",
  2285. "24h",
  2286. "2d",
  2287. "7d",
  2288. "30d"
  2289. ]
  2290. },
  2291. "timezone": "browser",
  2292. "title": "MySQL TokuDB Metrics",
  2293. "version": 0
  2294. }