PXC_Galera_Cluster_Overview.json 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145
  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. "refresh": false,
  48. "rows": [
  49. {
  50. "collapse": false,
  51. "height": "125px",
  52. "panels": [
  53. {
  54. "aliasColors": {},
  55. "bars": false,
  56. "datasource": "Prometheus",
  57. "decimals": 0,
  58. "editable": true,
  59. "error": false,
  60. "fill": 0,
  61. "grid": {},
  62. "id": 42,
  63. "legend": {
  64. "alignAsTable": true,
  65. "avg": true,
  66. "current": false,
  67. "max": true,
  68. "min": true,
  69. "rightSide": true,
  70. "show": false,
  71. "total": false,
  72. "values": true
  73. },
  74. "lines": true,
  75. "linewidth": 2,
  76. "links": [],
  77. "nullPointMode": "null",
  78. "percentage": false,
  79. "pointradius": 5,
  80. "points": false,
  81. "renderer": "flot",
  82. "seriesOverrides": [
  83. {
  84. "alias": "Size",
  85. "color": "#5195CE"
  86. }
  87. ],
  88. "span": 12,
  89. "stack": false,
  90. "steppedLine": true,
  91. "targets": [
  92. {
  93. "calculatedInterval": "2m",
  94. "datasourceErrors": {},
  95. "errors": {},
  96. "expr": "min(mysql_global_status_wsrep_cluster_size * on (instance) group_left mysql_galera_variables_info{wsrep_cluster_name=\"$cluster\"})",
  97. "interval": "$interval",
  98. "intervalFactor": 1,
  99. "legendFormat": "Size",
  100. "metric": "",
  101. "refId": "C",
  102. "step": 300,
  103. "target": ""
  104. }
  105. ],
  106. "thresholds": [],
  107. "timeFrom": null,
  108. "timeShift": null,
  109. "title": "Percona XtraDB / Galera Cluster Size",
  110. "tooltip": {
  111. "msResolution": false,
  112. "shared": true,
  113. "sort": 0,
  114. "value_type": "cumulative"
  115. },
  116. "transparent": true,
  117. "type": "graph",
  118. "xaxis": {
  119. "mode": "time",
  120. "name": null,
  121. "show": false,
  122. "values": []
  123. },
  124. "yaxes": [
  125. {
  126. "format": "short",
  127. "label": "",
  128. "logBase": 2,
  129. "max": null,
  130. "min": 1,
  131. "show": true
  132. },
  133. {
  134. "format": "short",
  135. "logBase": 1,
  136. "max": null,
  137. "min": 0,
  138. "show": false
  139. }
  140. ]
  141. }
  142. ],
  143. "repeat": null,
  144. "repeatIteration": null,
  145. "repeatRowId": null,
  146. "showTitle": false,
  147. "title": "Size/Queue",
  148. "titleSize": "h6"
  149. },
  150. {
  151. "collapse": false,
  152. "height": "250px",
  153. "panels": [
  154. {
  155. "aliasColors": {},
  156. "bars": false,
  157. "datasource": "Prometheus",
  158. "decimals": null,
  159. "editable": true,
  160. "error": false,
  161. "fill": 2,
  162. "grid": {},
  163. "id": 52,
  164. "legend": {
  165. "alignAsTable": true,
  166. "avg": true,
  167. "current": false,
  168. "max": true,
  169. "min": true,
  170. "show": true,
  171. "total": false,
  172. "values": true
  173. },
  174. "lines": true,
  175. "linewidth": 2,
  176. "links": [],
  177. "nullPointMode": "null",
  178. "percentage": false,
  179. "pointradius": 5,
  180. "points": false,
  181. "renderer": "flot",
  182. "seriesOverrides": [],
  183. "span": 6,
  184. "stack": false,
  185. "steppedLine": false,
  186. "targets": [
  187. {
  188. "calculatedInterval": "2m",
  189. "datasourceErrors": {},
  190. "errors": {},
  191. "expr": "(rate(mysql_global_status_wsrep_flow_control_paused_ns[$interval]) or irate(mysql_global_status_wsrep_flow_control_paused_ns[5m]))/1000000000 * on (instance) group_left mysql_galera_variables_info{wsrep_cluster_name=\"$cluster\"}",
  192. "interval": "$interval",
  193. "intervalFactor": 1,
  194. "legendFormat": "{{ instance }}",
  195. "metric": "",
  196. "refId": "A",
  197. "step": 300
  198. }
  199. ],
  200. "thresholds": [],
  201. "timeFrom": null,
  202. "timeShift": null,
  203. "title": "Flow Control Paused Time",
  204. "tooltip": {
  205. "msResolution": false,
  206. "shared": true,
  207. "sort": 0,
  208. "value_type": "cumulative"
  209. },
  210. "type": "graph",
  211. "xaxis": {
  212. "mode": "time",
  213. "name": null,
  214. "show": true,
  215. "values": []
  216. },
  217. "yaxes": [
  218. {
  219. "format": "percentunit",
  220. "logBase": 1,
  221. "max": 1,
  222. "min": 0,
  223. "show": true
  224. },
  225. {
  226. "format": "short",
  227. "logBase": 1,
  228. "max": null,
  229. "min": 0,
  230. "show": true
  231. }
  232. ]
  233. },
  234. {
  235. "aliasColors": {},
  236. "bars": false,
  237. "datasource": "Prometheus",
  238. "decimals": null,
  239. "editable": true,
  240. "error": false,
  241. "fill": 2,
  242. "grid": {},
  243. "id": 53,
  244. "legend": {
  245. "alignAsTable": true,
  246. "avg": true,
  247. "current": false,
  248. "max": true,
  249. "min": true,
  250. "show": true,
  251. "total": false,
  252. "values": true
  253. },
  254. "lines": true,
  255. "linewidth": 2,
  256. "links": [],
  257. "nullPointMode": "null",
  258. "percentage": false,
  259. "pointradius": 5,
  260. "points": false,
  261. "renderer": "flot",
  262. "seriesOverrides": [],
  263. "span": 6,
  264. "stack": false,
  265. "steppedLine": false,
  266. "targets": [
  267. {
  268. "calculatedInterval": "2m",
  269. "datasourceErrors": {},
  270. "errors": {},
  271. "expr": "(rate(mysql_global_status_wsrep_flow_control_sent[$interval]) or irate(mysql_global_status_wsrep_flow_control_sent[5m])) * on (instance) group_left mysql_galera_variables_info{wsrep_cluster_name=\"$cluster\"}",
  272. "interval": "$interval",
  273. "intervalFactor": 1,
  274. "legendFormat": "{{ instance }}",
  275. "metric": "",
  276. "refId": "A",
  277. "step": 300
  278. }
  279. ],
  280. "thresholds": [],
  281. "timeFrom": null,
  282. "timeShift": null,
  283. "title": "Flow Control Messages Sent",
  284. "tooltip": {
  285. "msResolution": false,
  286. "shared": true,
  287. "sort": 0,
  288. "value_type": "cumulative"
  289. },
  290. "type": "graph",
  291. "xaxis": {
  292. "mode": "time",
  293. "name": null,
  294. "show": true,
  295. "values": []
  296. },
  297. "yaxes": [
  298. {
  299. "format": "short",
  300. "logBase": 1,
  301. "max": null,
  302. "min": 0,
  303. "show": true
  304. },
  305. {
  306. "format": "short",
  307. "logBase": 1,
  308. "max": null,
  309. "min": 0,
  310. "show": true
  311. }
  312. ]
  313. }
  314. ],
  315. "repeat": null,
  316. "repeatIteration": null,
  317. "repeatRowId": null,
  318. "showTitle": false,
  319. "title": "FC",
  320. "titleSize": "h6"
  321. },
  322. {
  323. "collapse": false,
  324. "height": "250px",
  325. "panels": [
  326. {
  327. "aliasColors": {},
  328. "bars": false,
  329. "datasource": "Prometheus",
  330. "decimals": null,
  331. "editable": true,
  332. "error": false,
  333. "fill": 6,
  334. "grid": {},
  335. "id": 9,
  336. "legend": {
  337. "alignAsTable": true,
  338. "avg": true,
  339. "current": false,
  340. "max": true,
  341. "min": true,
  342. "rightSide": false,
  343. "show": true,
  344. "total": false,
  345. "values": true
  346. },
  347. "lines": true,
  348. "linewidth": 2,
  349. "links": [],
  350. "nullPointMode": "null",
  351. "percentage": false,
  352. "pointradius": 5,
  353. "points": false,
  354. "renderer": "flot",
  355. "seriesOverrides": [],
  356. "span": 6,
  357. "stack": true,
  358. "steppedLine": false,
  359. "targets": [
  360. {
  361. "calculatedInterval": "2m",
  362. "datasourceErrors": {},
  363. "errors": {},
  364. "expr": "(rate(mysql_global_status_wsrep_received_bytes[$interval]) or irate(mysql_global_status_wsrep_received_bytes[5m])) * on (instance) group_left mysql_galera_variables_info{wsrep_cluster_name=\"$cluster\"}",
  365. "interval": "$interval",
  366. "intervalFactor": 1,
  367. "legendFormat": "{{ instance }}",
  368. "metric": "",
  369. "refId": "A",
  370. "step": 300
  371. }
  372. ],
  373. "thresholds": [],
  374. "timeFrom": null,
  375. "timeShift": null,
  376. "title": "Writeset Inbound Traffic",
  377. "tooltip": {
  378. "msResolution": false,
  379. "shared": true,
  380. "sort": 0,
  381. "value_type": "individual"
  382. },
  383. "type": "graph",
  384. "xaxis": {
  385. "mode": "time",
  386. "name": null,
  387. "show": true,
  388. "values": []
  389. },
  390. "yaxes": [
  391. {
  392. "format": "bytes",
  393. "logBase": 1,
  394. "max": null,
  395. "min": 0,
  396. "show": true
  397. },
  398. {
  399. "format": "none",
  400. "logBase": 1,
  401. "max": null,
  402. "min": 0,
  403. "show": true
  404. }
  405. ]
  406. },
  407. {
  408. "aliasColors": {},
  409. "bars": false,
  410. "datasource": "Prometheus",
  411. "decimals": null,
  412. "editable": true,
  413. "error": false,
  414. "fill": 6,
  415. "grid": {},
  416. "id": 47,
  417. "legend": {
  418. "alignAsTable": true,
  419. "avg": true,
  420. "current": false,
  421. "max": true,
  422. "min": true,
  423. "rightSide": false,
  424. "show": true,
  425. "total": false,
  426. "values": true
  427. },
  428. "lines": true,
  429. "linewidth": 2,
  430. "links": [],
  431. "nullPointMode": "null",
  432. "percentage": false,
  433. "pointradius": 5,
  434. "points": false,
  435. "renderer": "flot",
  436. "seriesOverrides": [],
  437. "span": 6,
  438. "stack": true,
  439. "steppedLine": false,
  440. "targets": [
  441. {
  442. "calculatedInterval": "2m",
  443. "datasourceErrors": {},
  444. "errors": {},
  445. "expr": "(rate(mysql_global_status_wsrep_replicated_bytes[$interval]) or irate(mysql_global_status_wsrep_replicated_bytes[5m])) * on (instance) group_left mysql_galera_variables_info{wsrep_cluster_name=\"$cluster\"}",
  446. "interval": "$interval",
  447. "intervalFactor": 1,
  448. "legendFormat": "{{ instance }}",
  449. "metric": "",
  450. "refId": "A",
  451. "step": 300
  452. }
  453. ],
  454. "thresholds": [],
  455. "timeFrom": null,
  456. "timeShift": null,
  457. "title": "Writeset Outbound Traffic",
  458. "tooltip": {
  459. "msResolution": false,
  460. "shared": true,
  461. "sort": 0,
  462. "value_type": "individual"
  463. },
  464. "type": "graph",
  465. "xaxis": {
  466. "mode": "time",
  467. "name": null,
  468. "show": true,
  469. "values": []
  470. },
  471. "yaxes": [
  472. {
  473. "format": "bytes",
  474. "logBase": 1,
  475. "max": null,
  476. "min": 0,
  477. "show": true
  478. },
  479. {
  480. "format": "none",
  481. "logBase": 1,
  482. "max": null,
  483. "min": 0,
  484. "show": true
  485. }
  486. ]
  487. }
  488. ],
  489. "repeat": null,
  490. "repeatIteration": null,
  491. "repeatRowId": null,
  492. "showTitle": false,
  493. "title": "Traffic",
  494. "titleSize": "h6"
  495. },
  496. {
  497. "collapse": false,
  498. "height": "250px",
  499. "panels": [
  500. {
  501. "aliasColors": {},
  502. "bars": false,
  503. "datasource": "Prometheus",
  504. "decimals": null,
  505. "editable": true,
  506. "error": false,
  507. "fill": 2,
  508. "grid": {},
  509. "id": 48,
  510. "legend": {
  511. "alignAsTable": true,
  512. "avg": true,
  513. "current": false,
  514. "max": true,
  515. "min": true,
  516. "show": true,
  517. "total": false,
  518. "values": true
  519. },
  520. "lines": true,
  521. "linewidth": 2,
  522. "links": [],
  523. "nullPointMode": "null",
  524. "percentage": false,
  525. "pointradius": 5,
  526. "points": false,
  527. "renderer": "flot",
  528. "seriesOverrides": [],
  529. "span": 6,
  530. "stack": false,
  531. "steppedLine": false,
  532. "targets": [
  533. {
  534. "calculatedInterval": "2m",
  535. "datasourceErrors": {},
  536. "errors": {},
  537. "expr": "mysql_global_status_wsrep_local_recv_queue * on (instance) group_left mysql_galera_variables_info{wsrep_cluster_name=\"$cluster\"}",
  538. "interval": "$interval",
  539. "intervalFactor": 1,
  540. "legendFormat": "{{ instance }}",
  541. "metric": "",
  542. "refId": "A",
  543. "step": 300
  544. }
  545. ],
  546. "thresholds": [],
  547. "timeFrom": null,
  548. "timeShift": null,
  549. "title": "Receive Queue",
  550. "tooltip": {
  551. "msResolution": false,
  552. "shared": true,
  553. "sort": 0,
  554. "value_type": "cumulative"
  555. },
  556. "type": "graph",
  557. "xaxis": {
  558. "mode": "time",
  559. "name": null,
  560. "show": true,
  561. "values": []
  562. },
  563. "yaxes": [
  564. {
  565. "format": "short",
  566. "logBase": 1,
  567. "max": null,
  568. "min": 0,
  569. "show": true
  570. },
  571. {
  572. "format": "short",
  573. "logBase": 1,
  574. "max": null,
  575. "min": 0,
  576. "show": true
  577. }
  578. ]
  579. },
  580. {
  581. "aliasColors": {},
  582. "bars": false,
  583. "datasource": "Prometheus",
  584. "decimals": null,
  585. "editable": true,
  586. "error": false,
  587. "fill": 2,
  588. "grid": {},
  589. "id": 49,
  590. "legend": {
  591. "alignAsTable": true,
  592. "avg": true,
  593. "current": false,
  594. "max": true,
  595. "min": true,
  596. "show": true,
  597. "total": false,
  598. "values": true
  599. },
  600. "lines": true,
  601. "linewidth": 2,
  602. "links": [],
  603. "nullPointMode": "null",
  604. "percentage": false,
  605. "pointradius": 5,
  606. "points": false,
  607. "renderer": "flot",
  608. "seriesOverrides": [],
  609. "span": 6,
  610. "stack": false,
  611. "steppedLine": false,
  612. "targets": [
  613. {
  614. "calculatedInterval": "2m",
  615. "datasourceErrors": {},
  616. "errors": {},
  617. "expr": "mysql_global_status_wsrep_local_send_queue * on (instance) group_left mysql_galera_variables_info{wsrep_cluster_name=\"$cluster\"}",
  618. "interval": "$interval",
  619. "intervalFactor": 1,
  620. "legendFormat": "{{ instance }}",
  621. "metric": "",
  622. "refId": "A",
  623. "step": 300
  624. }
  625. ],
  626. "thresholds": [],
  627. "timeFrom": null,
  628. "timeShift": null,
  629. "title": "Send Queue",
  630. "tooltip": {
  631. "msResolution": false,
  632. "shared": true,
  633. "sort": 0,
  634. "value_type": "cumulative"
  635. },
  636. "type": "graph",
  637. "xaxis": {
  638. "mode": "time",
  639. "name": null,
  640. "show": true,
  641. "values": []
  642. },
  643. "yaxes": [
  644. {
  645. "format": "short",
  646. "logBase": 1,
  647. "max": null,
  648. "min": 0,
  649. "show": true
  650. },
  651. {
  652. "format": "short",
  653. "logBase": 1,
  654. "max": null,
  655. "min": 0,
  656. "show": true
  657. }
  658. ]
  659. }
  660. ],
  661. "repeat": null,
  662. "repeatIteration": null,
  663. "repeatRowId": null,
  664. "showTitle": false,
  665. "title": "Flow Control",
  666. "titleSize": "h6"
  667. },
  668. {
  669. "collapse": false,
  670. "height": "250px",
  671. "panels": [
  672. {
  673. "aliasColors": {},
  674. "bars": false,
  675. "datasource": "Prometheus",
  676. "decimals": null,
  677. "editable": true,
  678. "error": false,
  679. "fill": 2,
  680. "grid": {},
  681. "id": 2,
  682. "legend": {
  683. "alignAsTable": true,
  684. "avg": true,
  685. "current": false,
  686. "max": true,
  687. "min": true,
  688. "show": true,
  689. "total": false,
  690. "values": true
  691. },
  692. "lines": true,
  693. "linewidth": 2,
  694. "links": [],
  695. "nullPointMode": "null",
  696. "percentage": false,
  697. "pointradius": 5,
  698. "points": false,
  699. "renderer": "flot",
  700. "seriesOverrides": [],
  701. "span": 6,
  702. "stack": false,
  703. "steppedLine": false,
  704. "targets": [
  705. {
  706. "calculatedInterval": "2m",
  707. "datasourceErrors": {},
  708. "errors": {},
  709. "expr": "(rate(mysql_global_status_wsrep_received[$interval]) or irate(mysql_global_status_wsrep_received[5m])) * on (instance) group_left mysql_galera_variables_info{wsrep_cluster_name=\"$cluster\"}",
  710. "interval": "$interval",
  711. "intervalFactor": 1,
  712. "legendFormat": "{{ instance }}",
  713. "metric": "",
  714. "refId": "A",
  715. "step": 300
  716. }
  717. ],
  718. "thresholds": [],
  719. "timeFrom": null,
  720. "timeShift": null,
  721. "title": "Transactions Received",
  722. "tooltip": {
  723. "msResolution": false,
  724. "shared": true,
  725. "sort": 0,
  726. "value_type": "cumulative"
  727. },
  728. "type": "graph",
  729. "xaxis": {
  730. "mode": "time",
  731. "name": null,
  732. "show": true,
  733. "values": []
  734. },
  735. "yaxes": [
  736. {
  737. "format": "short",
  738. "logBase": 1,
  739. "max": null,
  740. "min": 0,
  741. "show": true
  742. },
  743. {
  744. "format": "short",
  745. "logBase": 1,
  746. "max": null,
  747. "min": 0,
  748. "show": true
  749. }
  750. ]
  751. },
  752. {
  753. "aliasColors": {},
  754. "bars": false,
  755. "datasource": "Prometheus",
  756. "decimals": null,
  757. "editable": true,
  758. "error": false,
  759. "fill": 2,
  760. "grid": {},
  761. "id": 50,
  762. "legend": {
  763. "alignAsTable": true,
  764. "avg": true,
  765. "current": false,
  766. "max": true,
  767. "min": true,
  768. "show": true,
  769. "total": false,
  770. "values": true
  771. },
  772. "lines": true,
  773. "linewidth": 2,
  774. "links": [],
  775. "nullPointMode": "null",
  776. "percentage": false,
  777. "pointradius": 5,
  778. "points": false,
  779. "renderer": "flot",
  780. "seriesOverrides": [],
  781. "span": 6,
  782. "stack": false,
  783. "steppedLine": false,
  784. "targets": [
  785. {
  786. "calculatedInterval": "2m",
  787. "datasourceErrors": {},
  788. "errors": {},
  789. "expr": "(rate(mysql_global_status_wsrep_replicated[$interval]) or irate(mysql_global_status_wsrep_replicated[5m])) * on (instance) group_left mysql_galera_variables_info{wsrep_cluster_name=\"$cluster\"}",
  790. "interval": "$interval",
  791. "intervalFactor": 1,
  792. "legendFormat": "{{ instance }}",
  793. "metric": "",
  794. "refId": "A",
  795. "step": 300
  796. }
  797. ],
  798. "thresholds": [],
  799. "timeFrom": null,
  800. "timeShift": null,
  801. "title": "Transactions Replicated",
  802. "tooltip": {
  803. "msResolution": false,
  804. "shared": true,
  805. "sort": 0,
  806. "value_type": "cumulative"
  807. },
  808. "type": "graph",
  809. "xaxis": {
  810. "mode": "time",
  811. "name": null,
  812. "show": true,
  813. "values": []
  814. },
  815. "yaxes": [
  816. {
  817. "format": "short",
  818. "logBase": 1,
  819. "max": null,
  820. "min": 0,
  821. "show": true
  822. },
  823. {
  824. "format": "short",
  825. "logBase": 1,
  826. "max": null,
  827. "min": 0,
  828. "show": true
  829. }
  830. ]
  831. }
  832. ],
  833. "repeat": null,
  834. "repeatIteration": null,
  835. "repeatRowId": null,
  836. "showTitle": false,
  837. "title": "Parallelization",
  838. "titleSize": "h6"
  839. },
  840. {
  841. "collapse": false,
  842. "height": "250px",
  843. "panels": [
  844. {
  845. "aliasColors": {},
  846. "bars": false,
  847. "datasource": "Prometheus",
  848. "decimals": null,
  849. "editable": true,
  850. "error": false,
  851. "fill": 2,
  852. "grid": {},
  853. "id": 11,
  854. "legend": {
  855. "alignAsTable": true,
  856. "avg": true,
  857. "current": false,
  858. "max": true,
  859. "min": true,
  860. "rightSide": false,
  861. "show": true,
  862. "total": false,
  863. "values": true
  864. },
  865. "lines": true,
  866. "linewidth": 2,
  867. "links": [],
  868. "nullPointMode": "null",
  869. "percentage": false,
  870. "pointradius": 5,
  871. "points": false,
  872. "renderer": "flot",
  873. "seriesOverrides": [],
  874. "span": 6,
  875. "stack": false,
  876. "steppedLine": false,
  877. "targets": [
  878. {
  879. "calculatedInterval": "2m",
  880. "datasourceErrors": {},
  881. "errors": {},
  882. "expr": "(rate(mysql_global_status_wsrep_received_bytes[$interval]) / rate(mysql_global_status_wsrep_received[$interval]) or irate(mysql_global_status_wsrep_received_bytes[5m]) / irate(mysql_global_status_wsrep_received[5m])) * on (instance) group_left mysql_galera_variables_info{wsrep_cluster_name=\"$cluster\"}",
  883. "interval": "$interval",
  884. "intervalFactor": 1,
  885. "legendFormat": "{{ instance }}",
  886. "metric": "",
  887. "refId": "C",
  888. "step": 300
  889. }
  890. ],
  891. "thresholds": [],
  892. "timeFrom": null,
  893. "timeShift": null,
  894. "title": "Average Incoming Transaction Size",
  895. "tooltip": {
  896. "msResolution": false,
  897. "shared": true,
  898. "sort": 0,
  899. "value_type": "individual"
  900. },
  901. "type": "graph",
  902. "xaxis": {
  903. "mode": "time",
  904. "name": null,
  905. "show": true,
  906. "values": []
  907. },
  908. "yaxes": [
  909. {
  910. "format": "bytes",
  911. "logBase": 1,
  912. "max": null,
  913. "min": 0,
  914. "show": true
  915. },
  916. {
  917. "format": "short",
  918. "logBase": 1,
  919. "max": null,
  920. "min": 0,
  921. "show": true
  922. }
  923. ]
  924. },
  925. {
  926. "aliasColors": {},
  927. "bars": false,
  928. "datasource": "Prometheus",
  929. "decimals": null,
  930. "editable": true,
  931. "error": false,
  932. "fill": 2,
  933. "grid": {},
  934. "id": 51,
  935. "legend": {
  936. "alignAsTable": true,
  937. "avg": true,
  938. "current": false,
  939. "max": true,
  940. "min": true,
  941. "rightSide": false,
  942. "show": true,
  943. "total": false,
  944. "values": true
  945. },
  946. "lines": true,
  947. "linewidth": 2,
  948. "links": [],
  949. "nullPointMode": "null",
  950. "percentage": false,
  951. "pointradius": 5,
  952. "points": false,
  953. "renderer": "flot",
  954. "seriesOverrides": [],
  955. "span": 6,
  956. "stack": false,
  957. "steppedLine": false,
  958. "targets": [
  959. {
  960. "calculatedInterval": "2m",
  961. "datasourceErrors": {},
  962. "errors": {},
  963. "expr": "(rate(mysql_global_status_wsrep_replicated_bytes[$interval]) / rate(mysql_global_status_wsrep_replicated[$interval]) or irate(mysql_global_status_wsrep_replicated_bytes[5m]) / irate(mysql_global_status_wsrep_replicated[5m])) * on (instance) group_left mysql_galera_variables_info{wsrep_cluster_name=\"$cluster\"}",
  964. "interval": "$interval",
  965. "intervalFactor": 1,
  966. "legendFormat": "{{ instance }}",
  967. "metric": "",
  968. "refId": "C",
  969. "step": 300
  970. }
  971. ],
  972. "thresholds": [],
  973. "timeFrom": null,
  974. "timeShift": null,
  975. "title": "Average Replicated Transaction Size",
  976. "tooltip": {
  977. "msResolution": false,
  978. "shared": true,
  979. "sort": 0,
  980. "value_type": "individual"
  981. },
  982. "type": "graph",
  983. "xaxis": {
  984. "mode": "time",
  985. "name": null,
  986. "show": true,
  987. "values": []
  988. },
  989. "yaxes": [
  990. {
  991. "format": "bytes",
  992. "logBase": 1,
  993. "max": null,
  994. "min": 0,
  995. "show": true
  996. },
  997. {
  998. "format": "short",
  999. "logBase": 1,
  1000. "max": null,
  1001. "min": 0,
  1002. "show": true
  1003. }
  1004. ]
  1005. }
  1006. ],
  1007. "repeat": null,
  1008. "repeatIteration": null,
  1009. "repeatRowId": null,
  1010. "showTitle": false,
  1011. "title": "Writeset",
  1012. "titleSize": "h6"
  1013. }
  1014. ],
  1015. "schemaVersion": 13,
  1016. "sharedCrosshair": true,
  1017. "style": "dark",
  1018. "tags": [
  1019. "Percona",
  1020. "HA"
  1021. ],
  1022. "templating": {
  1023. "list": [
  1024. {
  1025. "allFormat": "glob",
  1026. "auto": true,
  1027. "auto_count": 200,
  1028. "auto_min": "1s",
  1029. "current": {
  1030. "text": "auto",
  1031. "value": "$__auto_interval"
  1032. },
  1033. "datasource": "Prometheus",
  1034. "hide": 0,
  1035. "includeAll": false,
  1036. "label": "Interval",
  1037. "multi": false,
  1038. "multiFormat": "glob",
  1039. "name": "interval",
  1040. "options": [
  1041. {
  1042. "selected": true,
  1043. "text": "auto",
  1044. "value": "$__auto_interval"
  1045. },
  1046. {
  1047. "selected": false,
  1048. "text": "1s",
  1049. "value": "1s"
  1050. },
  1051. {
  1052. "selected": false,
  1053. "text": "5s",
  1054. "value": "5s"
  1055. },
  1056. {
  1057. "selected": false,
  1058. "text": "1m",
  1059. "value": "1m"
  1060. },
  1061. {
  1062. "selected": false,
  1063. "text": "5m",
  1064. "value": "5m"
  1065. },
  1066. {
  1067. "selected": false,
  1068. "text": "1h",
  1069. "value": "1h"
  1070. },
  1071. {
  1072. "selected": false,
  1073. "text": "6h",
  1074. "value": "6h"
  1075. },
  1076. {
  1077. "selected": false,
  1078. "text": "1d",
  1079. "value": "1d"
  1080. }
  1081. ],
  1082. "query": "1s,5s,1m,5m,1h,6h,1d",
  1083. "refresh": 2,
  1084. "type": "interval"
  1085. },
  1086. {
  1087. "allFormat": "glob",
  1088. "allValue": null,
  1089. "datasource": "Prometheus",
  1090. "hide": 0,
  1091. "includeAll": false,
  1092. "label": "Cluster",
  1093. "multi": false,
  1094. "multiFormat": "regex values",
  1095. "name": "cluster",
  1096. "query": "label_values(mysql_galera_variables_info, wsrep_cluster_name)",
  1097. "refresh": 1,
  1098. "refresh_on_load": false,
  1099. "regex": "",
  1100. "sort": 1,
  1101. "tagValuesQuery": null,
  1102. "tagsQuery": null,
  1103. "type": "query"
  1104. }
  1105. ]
  1106. },
  1107. "time": {
  1108. "from": "now-12h",
  1109. "to": "now"
  1110. },
  1111. "timepicker": {
  1112. "collapse": false,
  1113. "enable": true,
  1114. "notice": false,
  1115. "now": true,
  1116. "refresh_intervals": [
  1117. "5s",
  1118. "10s",
  1119. "30s",
  1120. "1m",
  1121. "5m",
  1122. "15m",
  1123. "30m",
  1124. "1h",
  1125. "2h",
  1126. "1d"
  1127. ],
  1128. "status": "Stable",
  1129. "time_options": [
  1130. "5m",
  1131. "15m",
  1132. "1h",
  1133. "6h",
  1134. "12h",
  1135. "24h",
  1136. "2d",
  1137. "7d",
  1138. "30d"
  1139. ],
  1140. "type": "timepicker"
  1141. },
  1142. "timezone": "browser",
  1143. "title": "PXC/Galera Cluster Overview",
  1144. "version": 0
  1145. }