ProxySQL_Overview.json 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000
  1. {
  2. "annotations": {
  3. "list": []
  4. },
  5. "editable": true,
  6. "gnetId": null,
  7. "graphTooltip": 1,
  8. "hideControls": true,
  9. "id": null,
  10. "links": [
  11. {
  12. "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. "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": "count_scalar(proxysql_connection_pool_status{instance=\"$proxysql\", hostgroup=\"$hostgroup\"})",
  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": "Hostgroup 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": "ProxySQL Instance Stats",
  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": 55,
  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": true,
  185. "steppedLine": false,
  186. "targets": [
  187. {
  188. "calculatedInterval": "2m",
  189. "datasourceErrors": {},
  190. "errors": {},
  191. "expr": "proxysql_mysql_status_client_connections_connected{instance=\"$proxysql\"}",
  192. "interval": "$interval",
  193. "intervalFactor": 1,
  194. "legendFormat": "Connections",
  195. "metric": "",
  196. "refId": "A",
  197. "step": 300
  198. }
  199. ],
  200. "thresholds": [],
  201. "timeFrom": null,
  202. "timeShift": null,
  203. "title": "Client Connections (All Host Groups)",
  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": "short",
  220. "label": "",
  221. "logBase": 1,
  222. "max": null,
  223. "min": 0,
  224. "show": true
  225. },
  226. {
  227. "format": "short",
  228. "logBase": 1,
  229. "max": null,
  230. "min": 0,
  231. "show": true
  232. }
  233. ]
  234. },
  235. {
  236. "aliasColors": {},
  237. "bars": false,
  238. "datasource": "Prometheus",
  239. "decimals": null,
  240. "editable": true,
  241. "error": false,
  242. "fill": 2,
  243. "grid": {},
  244. "id": 56,
  245. "legend": {
  246. "alignAsTable": true,
  247. "avg": true,
  248. "current": false,
  249. "max": true,
  250. "min": true,
  251. "show": true,
  252. "total": false,
  253. "values": true
  254. },
  255. "lines": true,
  256. "linewidth": 2,
  257. "links": [],
  258. "nullPointMode": "null",
  259. "percentage": false,
  260. "pointradius": 5,
  261. "points": false,
  262. "renderer": "flot",
  263. "seriesOverrides": [],
  264. "span": 6,
  265. "stack": true,
  266. "steppedLine": false,
  267. "targets": [
  268. {
  269. "calculatedInterval": "2m",
  270. "datasourceErrors": {},
  271. "errors": {},
  272. "expr": "rate(proxysql_mysql_status_questions{instance=\"$proxysql\"}[$interval]) or irate(proxysql_mysql_status_questions{instance=\"$proxysql\"}[5m])",
  273. "interval": "$interval",
  274. "intervalFactor": 1,
  275. "legendFormat": "Question Rate",
  276. "metric": "",
  277. "refId": "A",
  278. "step": 300
  279. }
  280. ],
  281. "thresholds": [],
  282. "timeFrom": null,
  283. "timeShift": null,
  284. "title": "Client Questions (All Host Groups)",
  285. "tooltip": {
  286. "msResolution": false,
  287. "shared": true,
  288. "sort": 0,
  289. "value_type": "cumulative"
  290. },
  291. "type": "graph",
  292. "xaxis": {
  293. "mode": "time",
  294. "name": null,
  295. "show": true,
  296. "values": []
  297. },
  298. "yaxes": [
  299. {
  300. "format": "short",
  301. "label": "",
  302. "logBase": 1,
  303. "max": null,
  304. "min": 0,
  305. "show": true
  306. },
  307. {
  308. "format": "short",
  309. "logBase": 1,
  310. "max": null,
  311. "min": 0,
  312. "show": true
  313. }
  314. ]
  315. }
  316. ],
  317. "repeat": null,
  318. "repeatIteration": null,
  319. "repeatRowId": null,
  320. "showTitle": false,
  321. "title": "Connections",
  322. "titleSize": "h6"
  323. },
  324. {
  325. "collapse": false,
  326. "height": "250px",
  327. "panels": [
  328. {
  329. "columns": [
  330. {
  331. "text": "Current",
  332. "value": "current"
  333. }
  334. ],
  335. "datasource": "Prometheus",
  336. "editable": true,
  337. "error": false,
  338. "filterNull": false,
  339. "fontSize": "100%",
  340. "hideTimeOverride": true,
  341. "id": 57,
  342. "links": [],
  343. "pageSize": null,
  344. "scroll": true,
  345. "showHeader": true,
  346. "sort": {
  347. "col": 1,
  348. "desc": false
  349. },
  350. "span": 9,
  351. "styles": [
  352. {
  353. "colorMode": "cell",
  354. "colors": [
  355. "rgba(50, 172, 45, 0.97)",
  356. "rgba(237, 129, 40, 0.89)",
  357. "rgba(245, 54, 54, 0.9)"
  358. ],
  359. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  360. "decimals": 0,
  361. "pattern": "Current",
  362. "thresholds": [
  363. "3",
  364. "4"
  365. ],
  366. "type": "number",
  367. "unit": "none"
  368. }
  369. ],
  370. "targets": [
  371. {
  372. "expr": "proxysql_connection_pool_status{instance=\"$proxysql\", hostgroup=\"$hostgroup\"}",
  373. "interval": "5m",
  374. "intervalFactor": 1,
  375. "legendFormat": "{{ endpoint }}",
  376. "metric": "",
  377. "refId": "A",
  378. "step": 300
  379. }
  380. ],
  381. "timeFrom": "5m",
  382. "title": "Endpoint Status",
  383. "transform": "timeseries_aggregations",
  384. "type": "table"
  385. },
  386. {
  387. "content": "Status number to state mapping:\n\n1 `ONLINE`\n\n2 `SHUNNED`\n\n3 `OFFLINE_SOFT`\n\n4 `OFFLINE_HARD`\n\nFor status details, see the [description](https://github.com/sysown/proxysql/blob/master/doc/admin_tables.md#mysql_servers).",
  388. "datasource": "Prometheus",
  389. "editable": true,
  390. "error": false,
  391. "id": 58,
  392. "links": [],
  393. "mode": "markdown",
  394. "span": 3,
  395. "style": {},
  396. "title": "",
  397. "type": "text"
  398. }
  399. ],
  400. "repeat": null,
  401. "repeatIteration": null,
  402. "repeatRowId": null,
  403. "showTitle": true,
  404. "title": "Connection Pool Usage",
  405. "titleSize": "h6"
  406. },
  407. {
  408. "collapse": false,
  409. "height": "250px",
  410. "panels": [
  411. {
  412. "aliasColors": {},
  413. "bars": false,
  414. "datasource": "Prometheus",
  415. "decimals": null,
  416. "editable": true,
  417. "error": false,
  418. "fill": 2,
  419. "grid": {},
  420. "id": 51,
  421. "legend": {
  422. "alignAsTable": true,
  423. "avg": true,
  424. "current": false,
  425. "max": true,
  426. "min": true,
  427. "show": 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": true,
  442. "steppedLine": false,
  443. "targets": [
  444. {
  445. "calculatedInterval": "2m",
  446. "datasourceErrors": {},
  447. "errors": {},
  448. "expr": "proxysql_connection_pool_conn_used{instance=\"$proxysql\", hostgroup=\"$hostgroup\"}",
  449. "interval": "$interval",
  450. "intervalFactor": 1,
  451. "legendFormat": "{{ endpoint }}",
  452. "metric": "",
  453. "refId": "A",
  454. "step": 300
  455. }
  456. ],
  457. "thresholds": [],
  458. "timeFrom": null,
  459. "timeShift": null,
  460. "title": "Active Backend Connections",
  461. "tooltip": {
  462. "msResolution": false,
  463. "shared": true,
  464. "sort": 0,
  465. "value_type": "cumulative"
  466. },
  467. "type": "graph",
  468. "xaxis": {
  469. "mode": "time",
  470. "name": null,
  471. "show": true,
  472. "values": []
  473. },
  474. "yaxes": [
  475. {
  476. "format": "short",
  477. "label": "",
  478. "logBase": 1,
  479. "max": null,
  480. "min": 0,
  481. "show": true
  482. },
  483. {
  484. "format": "short",
  485. "logBase": 1,
  486. "max": null,
  487. "min": 0,
  488. "show": true
  489. }
  490. ]
  491. },
  492. {
  493. "aliasColors": {},
  494. "bars": false,
  495. "datasource": "Prometheus",
  496. "decimals": null,
  497. "editable": true,
  498. "error": false,
  499. "fill": 2,
  500. "grid": {},
  501. "id": 52,
  502. "legend": {
  503. "alignAsTable": true,
  504. "avg": true,
  505. "current": false,
  506. "max": true,
  507. "min": true,
  508. "show": true,
  509. "total": false,
  510. "values": true
  511. },
  512. "lines": true,
  513. "linewidth": 2,
  514. "links": [],
  515. "nullPointMode": "null",
  516. "percentage": false,
  517. "pointradius": 5,
  518. "points": false,
  519. "renderer": "flot",
  520. "seriesOverrides": [],
  521. "span": 6,
  522. "stack": true,
  523. "steppedLine": false,
  524. "targets": [
  525. {
  526. "calculatedInterval": "2m",
  527. "datasourceErrors": {},
  528. "errors": {},
  529. "expr": "rate(proxysql_connection_pool_conn_err{instance=\"$proxysql\", hostgroup=\"$hostgroup\"}[$interval]) or irate(proxysql_connection_pool_conn_err{instance=\"$proxysql\", hostgroup=\"$hostgroup\"}[5m])",
  530. "interval": "$interval",
  531. "intervalFactor": 1,
  532. "legendFormat": "{{ endpoint }}",
  533. "metric": "",
  534. "refId": "A",
  535. "step": 300
  536. }
  537. ],
  538. "thresholds": [],
  539. "timeFrom": null,
  540. "timeShift": null,
  541. "title": "Failed Backend Connections",
  542. "tooltip": {
  543. "msResolution": false,
  544. "shared": true,
  545. "sort": 0,
  546. "value_type": "cumulative"
  547. },
  548. "type": "graph",
  549. "xaxis": {
  550. "mode": "time",
  551. "name": null,
  552. "show": true,
  553. "values": []
  554. },
  555. "yaxes": [
  556. {
  557. "format": "short",
  558. "label": "",
  559. "logBase": 1,
  560. "max": null,
  561. "min": 0,
  562. "show": true
  563. },
  564. {
  565. "format": "short",
  566. "logBase": 1,
  567. "max": null,
  568. "min": 0,
  569. "show": true
  570. }
  571. ]
  572. }
  573. ],
  574. "repeat": null,
  575. "repeatIteration": null,
  576. "repeatRowId": null,
  577. "showTitle": false,
  578. "title": "Connections",
  579. "titleSize": "h6"
  580. },
  581. {
  582. "collapse": false,
  583. "height": "250px",
  584. "panels": [
  585. {
  586. "aliasColors": {},
  587. "bars": false,
  588. "datasource": "Prometheus",
  589. "decimals": null,
  590. "editable": true,
  591. "error": false,
  592. "fill": 2,
  593. "grid": {},
  594. "id": 2,
  595. "legend": {
  596. "alignAsTable": true,
  597. "avg": true,
  598. "current": false,
  599. "max": true,
  600. "min": true,
  601. "show": true,
  602. "total": false,
  603. "values": true
  604. },
  605. "lines": true,
  606. "linewidth": 2,
  607. "links": [],
  608. "nullPointMode": "null",
  609. "percentage": false,
  610. "pointradius": 5,
  611. "points": false,
  612. "renderer": "flot",
  613. "seriesOverrides": [],
  614. "span": 6,
  615. "stack": false,
  616. "steppedLine": false,
  617. "targets": [
  618. {
  619. "calculatedInterval": "2m",
  620. "datasourceErrors": {},
  621. "errors": {},
  622. "expr": "rate(proxysql_connection_pool_queries{instance=\"$proxysql\", hostgroup=\"$hostgroup\"}[$interval]) or irate(proxysql_connection_pool_queries{instance=\"$proxysql\", hostgroup=\"$hostgroup\"}[5m])",
  623. "interval": "$interval",
  624. "intervalFactor": 1,
  625. "legendFormat": "{{ endpoint }}",
  626. "metric": "",
  627. "refId": "A",
  628. "step": 300
  629. }
  630. ],
  631. "thresholds": [],
  632. "timeFrom": null,
  633. "timeShift": null,
  634. "title": "Queries Routed",
  635. "tooltip": {
  636. "msResolution": false,
  637. "shared": true,
  638. "sort": 0,
  639. "value_type": "cumulative"
  640. },
  641. "type": "graph",
  642. "xaxis": {
  643. "mode": "time",
  644. "name": null,
  645. "show": true,
  646. "values": []
  647. },
  648. "yaxes": [
  649. {
  650. "format": "short",
  651. "label": "",
  652. "logBase": 1,
  653. "max": null,
  654. "min": 0,
  655. "show": true
  656. },
  657. {
  658. "format": "short",
  659. "logBase": 1,
  660. "max": null,
  661. "min": 0,
  662. "show": true
  663. }
  664. ]
  665. },
  666. {
  667. "aliasColors": {},
  668. "bars": false,
  669. "datasource": "Prometheus",
  670. "decimals": null,
  671. "editable": true,
  672. "error": false,
  673. "fill": 2,
  674. "grid": {},
  675. "id": 50,
  676. "legend": {
  677. "alignAsTable": true,
  678. "avg": true,
  679. "current": false,
  680. "max": true,
  681. "min": true,
  682. "show": true,
  683. "total": false,
  684. "values": true
  685. },
  686. "lines": true,
  687. "linewidth": 2,
  688. "links": [],
  689. "nullPointMode": "null",
  690. "percentage": false,
  691. "pointradius": 5,
  692. "points": false,
  693. "renderer": "flot",
  694. "seriesOverrides": [],
  695. "span": 6,
  696. "stack": false,
  697. "steppedLine": false,
  698. "targets": [
  699. {
  700. "calculatedInterval": "2m",
  701. "datasourceErrors": {},
  702. "errors": {},
  703. "expr": "proxysql_connection_pool_latency_us{instance=\"$proxysql\", hostgroup=\"$hostgroup\"}",
  704. "interval": "$interval",
  705. "intervalFactor": 1,
  706. "legendFormat": "{{ endpoint }}",
  707. "metric": "",
  708. "refId": "A",
  709. "step": 300
  710. }
  711. ],
  712. "thresholds": [],
  713. "timeFrom": null,
  714. "timeShift": null,
  715. "title": "Latency",
  716. "tooltip": {
  717. "msResolution": false,
  718. "shared": true,
  719. "sort": 0,
  720. "value_type": "cumulative"
  721. },
  722. "type": "graph",
  723. "xaxis": {
  724. "mode": "time",
  725. "name": null,
  726. "show": true,
  727. "values": []
  728. },
  729. "yaxes": [
  730. {
  731. "format": "\u00b5s",
  732. "logBase": 1,
  733. "max": null,
  734. "min": 0,
  735. "show": true
  736. },
  737. {
  738. "format": "short",
  739. "logBase": 1,
  740. "max": null,
  741. "min": 0,
  742. "show": true
  743. }
  744. ]
  745. }
  746. ],
  747. "repeat": null,
  748. "repeatIteration": null,
  749. "repeatRowId": null,
  750. "showTitle": false,
  751. "title": "Queries",
  752. "titleSize": "h6"
  753. },
  754. {
  755. "collapse": false,
  756. "height": "250px",
  757. "panels": [
  758. {
  759. "aliasColors": {},
  760. "bars": false,
  761. "datasource": "Prometheus",
  762. "decimals": null,
  763. "editable": true,
  764. "error": false,
  765. "fill": 2,
  766. "grid": {},
  767. "id": 53,
  768. "legend": {
  769. "alignAsTable": true,
  770. "avg": true,
  771. "current": false,
  772. "max": true,
  773. "min": true,
  774. "show": true,
  775. "total": false,
  776. "values": true
  777. },
  778. "lines": true,
  779. "linewidth": 2,
  780. "links": [],
  781. "nullPointMode": "null",
  782. "percentage": false,
  783. "pointradius": 5,
  784. "points": false,
  785. "renderer": "flot",
  786. "seriesOverrides": [],
  787. "span": 6,
  788. "stack": false,
  789. "steppedLine": false,
  790. "targets": [
  791. {
  792. "calculatedInterval": "2m",
  793. "datasourceErrors": {},
  794. "errors": {},
  795. "expr": "(rate(proxysql_connection_pool_bytes_data_recv{instance=\"$proxysql\", hostgroup=\"$hostgroup\"}[$interval]) + rate(proxysql_connection_pool_bytes_data_sent{instance=\"$proxysql\", hostgroup=\"$hostgroup\"}[$interval])) or (irate(proxysql_connection_pool_bytes_data_recv{instance=\"$proxysql\", hostgroup=\"$hostgroup\"}[5m]) + irate(proxysql_connection_pool_bytes_data_sent{instance=\"$proxysql\", hostgroup=\"$hostgroup\"}[5m]))",
  796. "interval": "$interval",
  797. "intervalFactor": 1,
  798. "legendFormat": "{{ endpoint }}",
  799. "metric": "",
  800. "refId": "A",
  801. "step": 300
  802. }
  803. ],
  804. "thresholds": [],
  805. "timeFrom": null,
  806. "timeShift": null,
  807. "title": "Network Traffic",
  808. "tooltip": {
  809. "msResolution": false,
  810. "shared": true,
  811. "sort": 0,
  812. "value_type": "cumulative"
  813. },
  814. "type": "graph",
  815. "xaxis": {
  816. "mode": "time",
  817. "name": null,
  818. "show": true,
  819. "values": []
  820. },
  821. "yaxes": [
  822. {
  823. "format": "Bps",
  824. "label": "",
  825. "logBase": 1,
  826. "max": null,
  827. "min": 0,
  828. "show": true
  829. },
  830. {
  831. "format": "short",
  832. "logBase": 1,
  833. "max": null,
  834. "min": 0,
  835. "show": true
  836. }
  837. ]
  838. }
  839. ],
  840. "repeat": null,
  841. "repeatIteration": null,
  842. "repeatRowId": null,
  843. "showTitle": false,
  844. "title": "Network",
  845. "titleSize": "h6"
  846. }
  847. ],
  848. "schemaVersion": 14,
  849. "style": "dark",
  850. "tags": [
  851. "Percona",
  852. "HA"
  853. ],
  854. "templating": {
  855. "list": [
  856. {
  857. "allFormat": "glob",
  858. "auto": true,
  859. "auto_count": 200,
  860. "auto_min": "1s",
  861. "current": {
  862. "text": "auto",
  863. "value": "$__auto_interval"
  864. },
  865. "datasource": "Prometheus",
  866. "hide": 0,
  867. "includeAll": false,
  868. "label": "Interval",
  869. "multi": false,
  870. "multiFormat": "glob",
  871. "name": "interval",
  872. "options": [
  873. {
  874. "selected": true,
  875. "text": "auto",
  876. "value": "$__auto_interval"
  877. },
  878. {
  879. "selected": false,
  880. "text": "1s",
  881. "value": "1s"
  882. },
  883. {
  884. "selected": false,
  885. "text": "5s",
  886. "value": "5s"
  887. },
  888. {
  889. "selected": false,
  890. "text": "1m",
  891. "value": "1m"
  892. },
  893. {
  894. "selected": false,
  895. "text": "5m",
  896. "value": "5m"
  897. },
  898. {
  899. "selected": false,
  900. "text": "1h",
  901. "value": "1h"
  902. },
  903. {
  904. "selected": false,
  905. "text": "6h",
  906. "value": "6h"
  907. },
  908. {
  909. "selected": false,
  910. "text": "1d",
  911. "value": "1d"
  912. }
  913. ],
  914. "query": "1s,5s,1m,5m,1h,6h,1d",
  915. "refresh": 2,
  916. "type": "interval"
  917. },
  918. {
  919. "allFormat": "glob",
  920. "allValue": null,
  921. "datasource": "Prometheus",
  922. "hide": 0,
  923. "includeAll": false,
  924. "label": "ProxySQL Instance",
  925. "multi": false,
  926. "multiFormat": "regex values",
  927. "name": "proxysql",
  928. "query": "label_values(proxysql_mysql_status_active_transactions, instance)",
  929. "refresh": 1,
  930. "refresh_on_load": false,
  931. "regex": "",
  932. "sort": 1,
  933. "tagValuesQuery": null,
  934. "tags": [],
  935. "tagsQuery": null,
  936. "type": "query",
  937. "useTags": false
  938. },
  939. {
  940. "allFormat": "glob",
  941. "allValue": null,
  942. "datasource": "Prometheus",
  943. "hide": 0,
  944. "includeAll": false,
  945. "label": "Hostgroup",
  946. "multi": false,
  947. "multiFormat": "regex values",
  948. "name": "hostgroup",
  949. "query": "label_values(proxysql_connection_pool_status{instance=\"$proxysql\"}, hostgroup)",
  950. "refresh": 1,
  951. "refresh_on_load": false,
  952. "regex": "",
  953. "sort": 3,
  954. "tagValuesQuery": null,
  955. "tags": [],
  956. "tagsQuery": null,
  957. "type": "query",
  958. "useTags": false
  959. }
  960. ]
  961. },
  962. "time": {
  963. "from": "now-12h",
  964. "to": "now"
  965. },
  966. "timepicker": {
  967. "collapse": false,
  968. "enable": true,
  969. "notice": false,
  970. "now": true,
  971. "refresh_intervals": [
  972. "5s",
  973. "10s",
  974. "30s",
  975. "1m",
  976. "5m",
  977. "15m",
  978. "30m",
  979. "1h",
  980. "2h",
  981. "1d"
  982. ],
  983. "status": "Stable",
  984. "time_options": [
  985. "5m",
  986. "15m",
  987. "1h",
  988. "6h",
  989. "12h",
  990. "24h",
  991. "2d",
  992. "7d",
  993. "30d"
  994. ],
  995. "type": "timepicker"
  996. },
  997. "timezone": "browser",
  998. "title": "ProxySQL Overview",
  999. "version": 0
  1000. }