Saltstack Official Galera Formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

1956 lines
42KB

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