MySQL_MyISAM_Aria_Metrics.json 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937
  1. {
  2. "annotations": {
  3. "list": []
  4. },
  5. "editable": false,
  6. "gnetId": null,
  7. "graphTooltip": 1,
  8. "hideControls": true,
  9. "id": null,
  10. "links": [
  11. {
  12. "asDropdown": true,
  13. "icon": "external link",
  14. "includeVars": true,
  15. "keepTime": true,
  16. "tags": [
  17. "OS"
  18. ],
  19. "targetBlank": true,
  20. "title": "OS",
  21. "type": "dashboards"
  22. },
  23. {
  24. "asDropdown": true,
  25. "icon": "external link",
  26. "includeVars": true,
  27. "keepTime": true,
  28. "tags": [
  29. "MySQL"
  30. ],
  31. "targetBlank": true,
  32. "title": "MySQL",
  33. "type": "dashboards"
  34. },
  35. {
  36. "asDropdown": true,
  37. "icon": "external link",
  38. "includeVars": true,
  39. "keepTime": true,
  40. "tags": [
  41. "HA"
  42. ],
  43. "targetBlank": true,
  44. "title": "HA",
  45. "type": "dashboards"
  46. }
  47. ],
  48. "refresh": false,
  49. "rows": [
  50. {
  51. "collapse": false,
  52. "height": "500px",
  53. "panels": [
  54. {
  55. "aliasColors": {},
  56. "bars": false,
  57. "dashLength": 10,
  58. "dashes": false,
  59. "datasource": "Prometheus",
  60. "decimals": 2,
  61. "editable": true,
  62. "error": false,
  63. "fill": 2,
  64. "grid": {},
  65. "height": "250px",
  66. "id": 3,
  67. "legend": {
  68. "alignAsTable": true,
  69. "avg": true,
  70. "current": false,
  71. "max": true,
  72. "min": true,
  73. "rightSide": true,
  74. "show": true,
  75. "sort": "avg",
  76. "sortDesc": true,
  77. "total": false,
  78. "values": true
  79. },
  80. "lines": true,
  81. "linewidth": 2,
  82. "links": [],
  83. "nullPointMode": "null",
  84. "percentage": false,
  85. "pointradius": 5,
  86. "points": false,
  87. "renderer": "flot",
  88. "seriesOverrides": [
  89. {
  90. "alias": "Key Reads",
  91. "fill": 0
  92. },
  93. {
  94. "alias": "Key Writes",
  95. "fill": 0,
  96. "transform": "negative-Y"
  97. },
  98. {
  99. "alias": "Key Write Requests",
  100. "transform": "negative-Y"
  101. }
  102. ],
  103. "spaceLength": 10,
  104. "span": 12,
  105. "stack": false,
  106. "steppedLine": false,
  107. "targets": [
  108. {
  109. "calculatedInterval": "2m",
  110. "datasourceErrors": {},
  111. "errors": {},
  112. "expr": "rate(mysql_global_status_key_reads{instance=\"$host\"}[$interval]) or irate(mysql_global_status_key_reads{instance=\"$host\"}[5m])",
  113. "format": "time_series",
  114. "interval": "$interval",
  115. "intervalFactor": 1,
  116. "legendFormat": "Key Reads",
  117. "metric": "",
  118. "refId": "D",
  119. "step": 20
  120. },
  121. {
  122. "calculatedInterval": "2m",
  123. "datasourceErrors": {},
  124. "errors": {},
  125. "expr": "rate(mysql_global_status_key_read_requests{instance=\"$host\"}[$interval]) or irate(mysql_global_status_key_read_requests{instance=\"$host\"}[5m])",
  126. "format": "time_series",
  127. "interval": "$interval",
  128. "intervalFactor": 1,
  129. "legendFormat": "Key Read Requests",
  130. "metric": "",
  131. "refId": "A",
  132. "step": 20
  133. },
  134. {
  135. "calculatedInterval": "2m",
  136. "datasourceErrors": {},
  137. "errors": {},
  138. "expr": "rate(mysql_global_status_key_writes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_key_writes{instance=\"$host\"}[5m])",
  139. "format": "time_series",
  140. "interval": "$interval",
  141. "intervalFactor": 1,
  142. "legendFormat": "Key Writes",
  143. "metric": "",
  144. "refId": "B",
  145. "step": 20
  146. },
  147. {
  148. "calculatedInterval": "2m",
  149. "datasourceErrors": {},
  150. "errors": {},
  151. "expr": "rate(mysql_global_status_key_write_requests{instance=\"$host\"}[$interval]) or irate(mysql_global_status_key_write_requests{instance=\"$host\"}[5m])",
  152. "format": "time_series",
  153. "interval": "$interval",
  154. "intervalFactor": 1,
  155. "legendFormat": "Key Write Requests",
  156. "metric": "",
  157. "refId": "C",
  158. "step": 20
  159. }
  160. ],
  161. "thresholds": [],
  162. "timeFrom": null,
  163. "timeShift": null,
  164. "title": "MyISAM Indexes",
  165. "tooltip": {
  166. "msResolution": false,
  167. "shared": true,
  168. "sort": 0,
  169. "value_type": "individual"
  170. },
  171. "type": "graph",
  172. "xaxis": {
  173. "buckets": null,
  174. "mode": "time",
  175. "name": null,
  176. "show": true,
  177. "values": []
  178. },
  179. "yaxes": [
  180. {
  181. "format": "short",
  182. "logBase": 1,
  183. "max": null,
  184. "min": 0,
  185. "show": true
  186. },
  187. {
  188. "format": "short",
  189. "logBase": 1,
  190. "max": null,
  191. "min": 0,
  192. "show": true
  193. }
  194. ]
  195. },
  196. {
  197. "aliasColors": {},
  198. "bars": false,
  199. "dashLength": 10,
  200. "dashes": false,
  201. "datasource": "Prometheus",
  202. "decimals": 2,
  203. "description": "The `Key Read Ratio` (Key_reads/Key_read_requests) ratio should normally be less than 0.01.\n\nThe `Key Write Ratio` (Key_writes/Key_write_requests) ratio is usually near 1 if you are using mostly updates and deletes, but might be much smaller if you tend to do updates that affect many rows at the same time or if you are using the `DELAY_KEY_WRITE` table option.",
  204. "editable": true,
  205. "error": false,
  206. "fill": 2,
  207. "grid": {},
  208. "height": "250px",
  209. "id": 22,
  210. "legend": {
  211. "alignAsTable": true,
  212. "avg": true,
  213. "current": false,
  214. "hideEmpty": false,
  215. "hideZero": false,
  216. "max": true,
  217. "min": true,
  218. "rightSide": false,
  219. "show": true,
  220. "sort": "avg",
  221. "sortDesc": true,
  222. "total": false,
  223. "values": true
  224. },
  225. "lines": true,
  226. "linewidth": 2,
  227. "links": [],
  228. "nullPointMode": "null",
  229. "percentage": false,
  230. "pointradius": 5,
  231. "points": false,
  232. "renderer": "flot",
  233. "seriesOverrides": [
  234. {
  235. "alias": "Key Reads",
  236. "fill": 0
  237. },
  238. {
  239. "alias": "Key Writes",
  240. "fill": 0,
  241. "transform": "negative-Y"
  242. },
  243. {
  244. "alias": "Key Write Requests",
  245. "transform": "negative-Y"
  246. }
  247. ],
  248. "spaceLength": 10,
  249. "span": 6,
  250. "stack": false,
  251. "steppedLine": false,
  252. "targets": [
  253. {
  254. "calculatedInterval": "2m",
  255. "datasourceErrors": {},
  256. "errors": {},
  257. "expr": "rate(mysql_global_status_key_reads{instance=\"$host\"}[$interval]) / rate(mysql_global_status_key_read_requests{instance=\"$host\"}[$interval]) or irate(mysql_global_status_key_reads{instance=\"$host\"}[5m]) / irate(mysql_global_status_key_read_requests{instance=\"$host\"}[5m])",
  258. "format": "time_series",
  259. "interval": "$interval",
  260. "intervalFactor": 1,
  261. "legendFormat": "Key Read Ratio",
  262. "metric": "",
  263. "refId": "D",
  264. "step": 20
  265. },
  266. {
  267. "calculatedInterval": "2m",
  268. "datasourceErrors": {},
  269. "errors": {},
  270. "expr": "rate(mysql_global_status_key_writes{instance=\"$host\"}[$interval]) / rate(mysql_global_status_key_write_requests{instance=\"$host\"}[$interval]) or irate(mysql_global_status_key_writes{instance=\"$host\"}[5m]) / irate(mysql_global_status_key_write_requests{instance=\"$host\"}[5m])",
  271. "format": "time_series",
  272. "interval": "$interval",
  273. "intervalFactor": 1,
  274. "legendFormat": "Key Write Ratio",
  275. "metric": "",
  276. "refId": "A",
  277. "step": 20
  278. }
  279. ],
  280. "thresholds": [],
  281. "timeFrom": null,
  282. "timeShift": null,
  283. "title": "MyISAM Key Buffer Performance",
  284. "tooltip": {
  285. "msResolution": false,
  286. "shared": true,
  287. "sort": 0,
  288. "value_type": "individual"
  289. },
  290. "type": "graph",
  291. "xaxis": {
  292. "buckets": null,
  293. "mode": "time",
  294. "name": null,
  295. "show": true,
  296. "values": []
  297. },
  298. "yaxes": [
  299. {
  300. "format": "short",
  301. "logBase": 1,
  302. "max": null,
  303. "min": 0,
  304. "show": true
  305. },
  306. {
  307. "format": "short",
  308. "logBase": 1,
  309. "max": null,
  310. "min": 0,
  311. "show": true
  312. }
  313. ]
  314. },
  315. {
  316. "aliasColors": {},
  317. "bars": false,
  318. "dashLength": 10,
  319. "dashes": false,
  320. "datasource": "Prometheus",
  321. "decimals": 2,
  322. "editable": true,
  323. "error": false,
  324. "fill": 6,
  325. "grid": {},
  326. "height": "250px",
  327. "id": 21,
  328. "legend": {
  329. "alignAsTable": true,
  330. "avg": true,
  331. "current": false,
  332. "max": true,
  333. "min": true,
  334. "rightSide": false,
  335. "show": true,
  336. "sort": "avg",
  337. "sortDesc": true,
  338. "total": false,
  339. "values": true
  340. },
  341. "lines": true,
  342. "linewidth": 2,
  343. "links": [],
  344. "nullPointMode": "null",
  345. "percentage": false,
  346. "pointradius": 5,
  347. "points": false,
  348. "renderer": "flot",
  349. "seriesOverrides": [
  350. {
  351. "alias": "Key Blocks Not Flushed",
  352. "fill": 0
  353. }
  354. ],
  355. "spaceLength": 10,
  356. "span": 6,
  357. "stack": false,
  358. "steppedLine": false,
  359. "targets": [
  360. {
  361. "calculatedInterval": "2m",
  362. "datasourceErrors": {},
  363. "errors": {},
  364. "expr": "mysql_global_variables_key_buffer_size{instance=\"$host\"}",
  365. "format": "time_series",
  366. "interval": "$interval",
  367. "intervalFactor": 1,
  368. "legendFormat": "Key Buffer Size",
  369. "metric": "",
  370. "refId": "C",
  371. "step": 20
  372. },
  373. {
  374. "calculatedInterval": "2m",
  375. "datasourceErrors": {},
  376. "errors": {},
  377. "expr": "mysql_global_variables_key_buffer_size{instance=\"$host\"} - mysql_global_status_key_blocks_unused{instance=\"$host\"} * mysql_global_variables_key_cache_block_size{instance=\"$host\"}",
  378. "format": "time_series",
  379. "interval": "$interval",
  380. "intervalFactor": 1,
  381. "legendFormat": "Key Blocks Used",
  382. "metric": "",
  383. "refId": "B",
  384. "step": 20
  385. },
  386. {
  387. "calculatedInterval": "2m",
  388. "datasourceErrors": {},
  389. "errors": {},
  390. "expr": "mysql_global_status_key_blocks_not_flushed{instance=\"$host\"} * mysql_global_variables_key_cache_block_size{instance=\"$host\"}",
  391. "format": "time_series",
  392. "interval": "$interval",
  393. "intervalFactor": 1,
  394. "legendFormat": "Key Blocks Not Flushed",
  395. "metric": "",
  396. "refId": "A",
  397. "step": 20
  398. }
  399. ],
  400. "thresholds": [],
  401. "timeFrom": null,
  402. "timeShift": null,
  403. "title": "MyISAM Key Cache",
  404. "tooltip": {
  405. "msResolution": false,
  406. "shared": true,
  407. "sort": 0,
  408. "value_type": "individual"
  409. },
  410. "type": "graph",
  411. "xaxis": {
  412. "buckets": null,
  413. "mode": "time",
  414. "name": null,
  415. "show": true,
  416. "values": []
  417. },
  418. "yaxes": [
  419. {
  420. "format": "short",
  421. "logBase": 1,
  422. "max": null,
  423. "min": 0,
  424. "show": true
  425. },
  426. {
  427. "format": "short",
  428. "logBase": 1,
  429. "max": null,
  430. "min": 0,
  431. "show": true
  432. }
  433. ]
  434. }
  435. ],
  436. "repeat": null,
  437. "repeatIteration": null,
  438. "repeatRowId": null,
  439. "showTitle": true,
  440. "title": "MyISAM Metrics",
  441. "titleSize": "h6"
  442. },
  443. {
  444. "collapse": false,
  445. "height": "500px",
  446. "panels": [
  447. {
  448. "aliasColors": {},
  449. "bars": false,
  450. "dashLength": 10,
  451. "dashes": false,
  452. "datasource": "Prometheus",
  453. "decimals": 2,
  454. "editable": true,
  455. "error": false,
  456. "fill": 2,
  457. "grid": {},
  458. "height": "250px",
  459. "id": 24,
  460. "legend": {
  461. "alignAsTable": true,
  462. "avg": true,
  463. "current": false,
  464. "max": true,
  465. "min": true,
  466. "rightSide": true,
  467. "show": true,
  468. "sort": "avg",
  469. "sortDesc": true,
  470. "total": false,
  471. "values": true
  472. },
  473. "lines": true,
  474. "linewidth": 2,
  475. "links": [],
  476. "nullPointMode": "null",
  477. "percentage": false,
  478. "pointradius": 5,
  479. "points": false,
  480. "renderer": "flot",
  481. "seriesOverrides": [],
  482. "spaceLength": 10,
  483. "span": 9,
  484. "stack": false,
  485. "steppedLine": false,
  486. "targets": [
  487. {
  488. "calculatedInterval": "2m",
  489. "datasourceErrors": {},
  490. "errors": {},
  491. "expr": "rate(mysql_global_status_aria_pagecache_write_requests{instance=\"$host\"}[$interval]) or irate(mysql_global_status_aria_pagecache_write_requests{instance=\"$host\"}[5m])",
  492. "format": "time_series",
  493. "interval": "$interval",
  494. "intervalFactor": 1,
  495. "legendFormat": "Aria Pagecache Write Requests",
  496. "metric": "",
  497. "refId": "D",
  498. "step": 20
  499. },
  500. {
  501. "calculatedInterval": "2m",
  502. "datasourceErrors": {},
  503. "errors": {},
  504. "expr": "rate(mysql_global_status_aria_pagecache_read_requests{instance=\"$host\"}[$interval]) or irate(mysql_global_status_aria_pagecache_read_requests{instance=\"$host\"}[5m])",
  505. "format": "time_series",
  506. "interval": "$interval",
  507. "intervalFactor": 1,
  508. "legendFormat": "Aria Pagecache Read Requests",
  509. "metric": "",
  510. "refId": "C",
  511. "step": 20
  512. },
  513. {
  514. "calculatedInterval": "2m",
  515. "datasourceErrors": {},
  516. "errors": {},
  517. "expr": "rate(mysql_global_status_aria_pagecache_reads{instance=\"$host\"}[$interval]) or irate(mysql_global_status_aria_pagecache_reads{instance=\"$host\"}[5m])",
  518. "format": "time_series",
  519. "interval": "$interval",
  520. "intervalFactor": 1,
  521. "legendFormat": "Aria Pagecache Reads",
  522. "metric": "",
  523. "refId": "A",
  524. "step": 20
  525. },
  526. {
  527. "calculatedInterval": "2m",
  528. "datasourceErrors": {},
  529. "errors": {},
  530. "expr": "rate(mysql_global_status_aria_pagecache_writes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_aria_pagecache_writes{instance=\"$host\"}[5m])",
  531. "format": "time_series",
  532. "interval": "$interval",
  533. "intervalFactor": 1,
  534. "legendFormat": "Aria Pagecache Writes",
  535. "metric": "",
  536. "refId": "B",
  537. "step": 20
  538. }
  539. ],
  540. "thresholds": [],
  541. "timeFrom": null,
  542. "timeShift": null,
  543. "title": "Aria Pagecache Reads/Writes",
  544. "tooltip": {
  545. "msResolution": false,
  546. "shared": true,
  547. "sort": 0,
  548. "value_type": "individual"
  549. },
  550. "type": "graph",
  551. "xaxis": {
  552. "buckets": null,
  553. "mode": "time",
  554. "name": null,
  555. "show": true,
  556. "values": []
  557. },
  558. "yaxes": [
  559. {
  560. "format": "short",
  561. "logBase": 1,
  562. "max": null,
  563. "min": 0,
  564. "show": true
  565. },
  566. {
  567. "format": "short",
  568. "logBase": 1,
  569. "max": null,
  570. "min": 0,
  571. "show": true
  572. }
  573. ]
  574. },
  575. {
  576. "content": "The Aria Storage Engine ships only with MariaDB so you should expect to see empty Aria graphs if you are running Percona Server for MySQL, MySQL Community, or MySQL Enterprise.",
  577. "datasource": "Prometheus",
  578. "height": "250px",
  579. "id": 27,
  580. "links": [],
  581. "mode": "markdown",
  582. "span": 3,
  583. "title": "Aria Storage Engine",
  584. "type": "text"
  585. },
  586. {
  587. "aliasColors": {},
  588. "bars": false,
  589. "dashLength": 10,
  590. "dashes": false,
  591. "datasource": "Prometheus",
  592. "description": "The number of Aria log fsyncs.",
  593. "fill": 1,
  594. "height": "250px",
  595. "id": 26,
  596. "legend": {
  597. "avg": false,
  598. "current": false,
  599. "max": false,
  600. "min": false,
  601. "show": true,
  602. "total": false,
  603. "values": false
  604. },
  605. "lines": true,
  606. "linewidth": 1,
  607. "links": [],
  608. "nullPointMode": "null",
  609. "percentage": false,
  610. "pointradius": 5,
  611. "points": false,
  612. "renderer": "flot",
  613. "seriesOverrides": [],
  614. "spaceLength": 10,
  615. "span": 6,
  616. "stack": false,
  617. "steppedLine": false,
  618. "targets": [
  619. {
  620. "expr": "rate(mysql_global_status_aria_transaction_log_syncs{instance=\"$host\"}[$interval]) or irate(mysql_global_status_aria_transaction_log_syncs{instance=\"$host\"}[5m])",
  621. "format": "time_series",
  622. "intervalFactor": 1,
  623. "legendFormat": "Aria Transaction Log Syncs",
  624. "refId": "A",
  625. "step": 5
  626. }
  627. ],
  628. "thresholds": [],
  629. "timeFrom": null,
  630. "timeShift": null,
  631. "title": "Aria Transaction Log Syncs",
  632. "tooltip": {
  633. "msResolution": false,
  634. "shared": true,
  635. "sort": 0,
  636. "value_type": "individual"
  637. },
  638. "type": "graph",
  639. "xaxis": {
  640. "buckets": null,
  641. "mode": "time",
  642. "name": null,
  643. "show": true,
  644. "values": []
  645. },
  646. "yaxes": [
  647. {
  648. "format": "short",
  649. "label": null,
  650. "logBase": 1,
  651. "max": null,
  652. "min": "0",
  653. "show": true
  654. },
  655. {
  656. "format": "short",
  657. "label": null,
  658. "logBase": 1,
  659. "max": null,
  660. "min": null,
  661. "show": true
  662. }
  663. ]
  664. },
  665. {
  666. "aliasColors": {},
  667. "bars": false,
  668. "dashLength": 10,
  669. "dashes": false,
  670. "datasource": "Prometheus",
  671. "decimals": 0,
  672. "editable": true,
  673. "error": false,
  674. "fill": 2,
  675. "grid": {},
  676. "height": "250px",
  677. "id": 25,
  678. "legend": {
  679. "alignAsTable": true,
  680. "avg": false,
  681. "current": true,
  682. "max": false,
  683. "min": false,
  684. "rightSide": false,
  685. "show": true,
  686. "sort": "avg",
  687. "sortDesc": true,
  688. "total": false,
  689. "values": true
  690. },
  691. "lines": true,
  692. "linewidth": 2,
  693. "links": [],
  694. "nullPointMode": "null",
  695. "percentage": false,
  696. "pointradius": 10,
  697. "points": false,
  698. "renderer": "flot",
  699. "seriesOverrides": [
  700. {
  701. "alias": "Aria Pagecache Total Blocks",
  702. "fill": 0
  703. }
  704. ],
  705. "spaceLength": 10,
  706. "span": 6,
  707. "stack": false,
  708. "steppedLine": false,
  709. "targets": [
  710. {
  711. "calculatedInterval": "2m",
  712. "datasourceErrors": {},
  713. "errors": {},
  714. "expr": "mysql_global_status_aria_pagecache_blocks_not_flushed{instance=\"$host\"}",
  715. "format": "time_series",
  716. "hide": false,
  717. "interval": "$interval",
  718. "intervalFactor": 1,
  719. "legendFormat": "Aria Pagecache Blocks Not Flushed",
  720. "metric": "",
  721. "refId": "D",
  722. "step": 20
  723. },
  724. {
  725. "calculatedInterval": "2m",
  726. "datasourceErrors": {},
  727. "errors": {},
  728. "expr": "mysql_global_status_aria_pagecache_blocks_used{instance=\"$host\"}",
  729. "format": "time_series",
  730. "interval": "$interval",
  731. "intervalFactor": 1,
  732. "legendFormat": "Aria Pagecache Blocks Used",
  733. "metric": "",
  734. "refId": "A",
  735. "step": 20
  736. },
  737. {
  738. "calculatedInterval": "2m",
  739. "datasourceErrors": {},
  740. "errors": {},
  741. "expr": "mysql_global_status_aria_pagecache_blocks_unused{instance=\"$host\"}",
  742. "format": "time_series",
  743. "interval": "",
  744. "intervalFactor": 1,
  745. "legendFormat": "Aria Pagecache Blocks Unused",
  746. "metric": "",
  747. "refId": "C",
  748. "step": 5
  749. },
  750. {
  751. "expr": "mysql_global_variables_aria_pagecache_buffer_size{instance=\"$host\"} / mysql_global_variables_aria_block_size{instance=\"$host\"}",
  752. "format": "time_series",
  753. "hide": false,
  754. "intervalFactor": 1,
  755. "legendFormat": "Aria Pagecache Total Blocks",
  756. "refId": "B",
  757. "step": 5
  758. }
  759. ],
  760. "thresholds": [],
  761. "timeFrom": null,
  762. "timeShift": null,
  763. "title": "Aria Pagecache Blocks",
  764. "tooltip": {
  765. "msResolution": false,
  766. "shared": false,
  767. "sort": 2,
  768. "value_type": "individual"
  769. },
  770. "type": "graph",
  771. "xaxis": {
  772. "buckets": null,
  773. "mode": "time",
  774. "name": null,
  775. "show": true,
  776. "values": [
  777. "current"
  778. ]
  779. },
  780. "yaxes": [
  781. {
  782. "format": "none",
  783. "logBase": 1,
  784. "max": null,
  785. "min": 0,
  786. "show": true
  787. },
  788. {
  789. "format": "short",
  790. "logBase": 1,
  791. "max": "100",
  792. "min": 0,
  793. "show": false
  794. }
  795. ]
  796. }
  797. ],
  798. "repeat": null,
  799. "repeatIteration": null,
  800. "repeatRowId": null,
  801. "showTitle": true,
  802. "title": "Aria Metrics",
  803. "titleSize": "h6"
  804. }
  805. ],
  806. "schemaVersion": 14,
  807. "style": "dark",
  808. "tags": [
  809. "Percona",
  810. "MySQL"
  811. ],
  812. "templating": {
  813. "list": [
  814. {
  815. "allFormat": "glob",
  816. "auto": true,
  817. "auto_count": 200,
  818. "auto_min": "1s",
  819. "current": {
  820. "text": "auto",
  821. "value": "$__auto_interval"
  822. },
  823. "datasource": "Prometheus",
  824. "hide": 0,
  825. "includeAll": false,
  826. "label": "Interval",
  827. "multi": false,
  828. "multiFormat": "glob",
  829. "name": "interval",
  830. "options": [
  831. {
  832. "selected": true,
  833. "text": "auto",
  834. "value": "$__auto_interval"
  835. },
  836. {
  837. "selected": false,
  838. "text": "1s",
  839. "value": "1s"
  840. },
  841. {
  842. "selected": false,
  843. "text": "5s",
  844. "value": "5s"
  845. },
  846. {
  847. "selected": false,
  848. "text": "1m",
  849. "value": "1m"
  850. },
  851. {
  852. "selected": false,
  853. "text": "5m",
  854. "value": "5m"
  855. },
  856. {
  857. "selected": false,
  858. "text": "1h",
  859. "value": "1h"
  860. },
  861. {
  862. "selected": false,
  863. "text": "6h",
  864. "value": "6h"
  865. },
  866. {
  867. "selected": false,
  868. "text": "1d",
  869. "value": "1d"
  870. }
  871. ],
  872. "query": "1s,5s,1m,5m,1h,6h,1d",
  873. "refresh": 2,
  874. "type": "interval"
  875. },
  876. {
  877. "allFormat": "glob",
  878. "allValue": null,
  879. "datasource": "Prometheus",
  880. "hide": 0,
  881. "includeAll": false,
  882. "label": "Host",
  883. "multi": false,
  884. "multiFormat": "regex values",
  885. "name": "host",
  886. "query": "label_values(mysql_up, instance)",
  887. "refresh": 1,
  888. "refresh_on_load": false,
  889. "regex": "",
  890. "sort": 1,
  891. "tagValuesQuery": null,
  892. "tags": [],
  893. "tagsQuery": null,
  894. "type": "query",
  895. "useTags": false
  896. }
  897. ]
  898. },
  899. "time": {
  900. "from": "now-12h",
  901. "to": "now"
  902. },
  903. "timepicker": {
  904. "collapse": false,
  905. "enable": true,
  906. "notice": false,
  907. "now": true,
  908. "refresh_intervals": [
  909. "5s",
  910. "10s",
  911. "30s",
  912. "1m",
  913. "5m",
  914. "15m",
  915. "30m",
  916. "1h",
  917. "2h",
  918. "1d"
  919. ],
  920. "status": "Stable",
  921. "time_options": [
  922. "5m",
  923. "15m",
  924. "1h",
  925. "6h",
  926. "12h",
  927. "24h",
  928. "2d",
  929. "7d",
  930. "30d"
  931. ],
  932. "type": "timepicker"
  933. },
  934. "timezone": "browser",
  935. "title": "MySQL MyISAM/Aria Metrics",
  936. "version": 0
  937. }