Advanced_Data_Exploration.json 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  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. "refresh": "1m",
  49. "rows": [
  50. {
  51. "collapse": false,
  52. "height": "50px",
  53. "panels": [
  54. {
  55. "cacheTimeout": null,
  56. "colorBackground": false,
  57. "colorValue": false,
  58. "colors": [
  59. "rgba(245, 54, 54, 0.9)",
  60. "rgba(237, 129, 40, 0.89)",
  61. "rgba(50, 172, 45, 0.97)"
  62. ],
  63. "datasource": "Prometheus",
  64. "format": "none",
  65. "gauge": {
  66. "maxValue": 100,
  67. "minValue": 0,
  68. "show": false,
  69. "thresholdLabels": false,
  70. "thresholdMarkers": true
  71. },
  72. "height": "50px",
  73. "id": 7,
  74. "interval": null,
  75. "links": [],
  76. "mappingType": 1,
  77. "mappingTypes": [
  78. {
  79. "name": "value to text",
  80. "value": 1
  81. },
  82. {
  83. "name": "range to text",
  84. "value": 2
  85. }
  86. ],
  87. "maxDataPoints": 100,
  88. "nullPointMode": "connected",
  89. "nullText": null,
  90. "postfix": "",
  91. "postfixFontSize": "50%",
  92. "prefix": "",
  93. "prefixFontSize": "50%",
  94. "rangeMaps": [
  95. {
  96. "from": "null",
  97. "text": "N/A",
  98. "to": "null"
  99. }
  100. ],
  101. "span": 12,
  102. "sparkline": {
  103. "fillColor": "rgba(31, 118, 189, 0.18)",
  104. "full": false,
  105. "lineColor": "rgb(31, 120, 193)",
  106. "show": false
  107. },
  108. "tableColumn": "__name__",
  109. "targets": [
  110. {
  111. "expr": "$metric",
  112. "format": "table",
  113. "intervalFactor": 2,
  114. "legendFormat": "$metric",
  115. "refId": "A",
  116. "step": 60
  117. }
  118. ],
  119. "thresholds": "",
  120. "title": "Metric Name",
  121. "transparent": true,
  122. "type": "singlestat",
  123. "valueFontSize": "50%",
  124. "valueMaps": [
  125. {
  126. "op": "=",
  127. "text": "N/A",
  128. "value": "null"
  129. }
  130. ],
  131. "valueName": "avg"
  132. }
  133. ],
  134. "repeat": null,
  135. "repeatIteration": null,
  136. "repeatRowId": null,
  137. "showTitle": false,
  138. "title": "Dashboard Row",
  139. "titleSize": "h1"
  140. },
  141. {
  142. "collapse": false,
  143. "height": "250px",
  144. "panels": [
  145. {
  146. "aliasColors": {},
  147. "bars": false,
  148. "dashLength": 10,
  149. "dashes": false,
  150. "datasource": "Prometheus",
  151. "decimals": 2,
  152. "description": "A gauge is a metric that represents a single numerical value that can arbitrarily go up and down.\n\nGauges are typically used for measured values like temperatures or current memory usage, but also \"counts\" that can go up and down, like the number of running goroutines.",
  153. "editable": true,
  154. "error": false,
  155. "fill": 1,
  156. "grid": {},
  157. "height": "",
  158. "id": 6,
  159. "legend": {
  160. "alignAsTable": true,
  161. "avg": true,
  162. "current": true,
  163. "hideEmpty": false,
  164. "max": true,
  165. "min": true,
  166. "rightSide": true,
  167. "show": true,
  168. "total": false,
  169. "values": true
  170. },
  171. "lines": true,
  172. "linewidth": 2,
  173. "links": [],
  174. "nullPointMode": "null",
  175. "percentage": false,
  176. "pointradius": 1,
  177. "points": false,
  178. "renderer": "flot",
  179. "seriesOverrides": [],
  180. "spaceLength": 10,
  181. "span": 12,
  182. "stack": false,
  183. "steppedLine": false,
  184. "targets": [
  185. {
  186. "calculatedInterval": "10s",
  187. "datasourceErrors": {},
  188. "errors": {},
  189. "expr": "$metric{instance=~\"$host\"}",
  190. "format": "time_series",
  191. "interval": "$interval",
  192. "intervalFactor": 1,
  193. "legendFormat": "",
  194. "metric": "",
  195. "refId": "A",
  196. "step": 20,
  197. "target": ""
  198. }
  199. ],
  200. "thresholds": [
  201. {
  202. "colorMode": "custom",
  203. "line": true,
  204. "lineColor": "rgb(241, 34, 15)",
  205. "op": "gt",
  206. "value": 15
  207. }
  208. ],
  209. "timeFrom": null,
  210. "timeShift": null,
  211. "title": "View Actual Metric Values (Gauge)",
  212. "tooltip": {
  213. "msResolution": false,
  214. "shared": true,
  215. "sort": 0,
  216. "value_type": "individual"
  217. },
  218. "transparent": false,
  219. "type": "graph",
  220. "xaxis": {
  221. "buckets": null,
  222. "mode": "time",
  223. "name": null,
  224. "show": true,
  225. "values": []
  226. },
  227. "yaxes": [
  228. {
  229. "format": "short",
  230. "label": "",
  231. "logBase": 1,
  232. "max": null,
  233. "min": null,
  234. "show": true
  235. },
  236. {
  237. "format": "short",
  238. "logBase": 1,
  239. "max": null,
  240. "min": 0,
  241. "show": true
  242. }
  243. ]
  244. }
  245. ],
  246. "repeat": null,
  247. "repeatIteration": null,
  248. "repeatRowId": null,
  249. "showTitle": false,
  250. "title": "System",
  251. "titleSize": "h6"
  252. },
  253. {
  254. "collapse": false,
  255. "height": "250",
  256. "panels": [
  257. {
  258. "aliasColors": {},
  259. "bars": false,
  260. "dashLength": 10,
  261. "dashes": false,
  262. "datasource": "Prometheus",
  263. "decimals": 2,
  264. "description": "A counter is a cumulative metric that represents a single numerical value that only ever goes up. A counter is typically used to count requests served, tasks completed, errors occurred, etc. Counters should not be used to expose current counts of items whose number can also go down, e.g. the number of currently running goroutines. Use gauges for this use case.",
  265. "editable": true,
  266. "error": false,
  267. "fill": 1,
  268. "grid": {},
  269. "id": 4,
  270. "legend": {
  271. "alignAsTable": true,
  272. "avg": true,
  273. "current": true,
  274. "hideEmpty": false,
  275. "max": true,
  276. "min": true,
  277. "rightSide": true,
  278. "show": true,
  279. "sort": null,
  280. "sortDesc": null,
  281. "total": false,
  282. "values": true
  283. },
  284. "lines": true,
  285. "linewidth": 2,
  286. "links": [],
  287. "nullPointMode": "null",
  288. "percentage": false,
  289. "pointradius": 1,
  290. "points": false,
  291. "renderer": "flot",
  292. "seriesOverrides": [],
  293. "spaceLength": 10,
  294. "span": 12,
  295. "stack": false,
  296. "steppedLine": false,
  297. "targets": [
  298. {
  299. "calculatedInterval": "2m",
  300. "datasourceErrors": {},
  301. "errors": {},
  302. "expr": "rate($metric{instance=~\"$host\"}[$interval]) or irate($metric{instance=~\"$host\"}[5m])",
  303. "format": "time_series",
  304. "interval": "$interval",
  305. "intervalFactor": 1,
  306. "legendFormat": "",
  307. "metric": "",
  308. "refId": "A",
  309. "step": 20
  310. }
  311. ],
  312. "thresholds": [],
  313. "timeFrom": null,
  314. "timeShift": null,
  315. "title": "View Metric Rate of Change (Counter)",
  316. "tooltip": {
  317. "msResolution": false,
  318. "shared": true,
  319. "sort": 0,
  320. "value_type": "cumulative"
  321. },
  322. "type": "graph",
  323. "xaxis": {
  324. "buckets": null,
  325. "mode": "time",
  326. "name": null,
  327. "show": true,
  328. "values": []
  329. },
  330. "yaxes": [
  331. {
  332. "format": "short",
  333. "logBase": 1,
  334. "max": null,
  335. "min": null,
  336. "show": true
  337. },
  338. {
  339. "format": "short",
  340. "logBase": 1,
  341. "max": null,
  342. "min": 0,
  343. "show": true
  344. }
  345. ]
  346. }
  347. ],
  348. "repeat": null,
  349. "repeatIteration": null,
  350. "repeatRowId": null,
  351. "showTitle": false,
  352. "title": "MySQL",
  353. "titleSize": "h6"
  354. },
  355. {
  356. "collapse": false,
  357. "height": 250,
  358. "panels": [
  359. {
  360. "columns": [],
  361. "datasource": "Prometheus",
  362. "fontSize": "100%",
  363. "id": 8,
  364. "links": [],
  365. "pageSize": null,
  366. "scroll": true,
  367. "showHeader": true,
  368. "sort": {
  369. "col": 0,
  370. "desc": true
  371. },
  372. "span": 12,
  373. "styles": [
  374. {
  375. "alias": "Time",
  376. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  377. "pattern": "Time",
  378. "type": "date"
  379. },
  380. {
  381. "alias": "",
  382. "colorMode": null,
  383. "colors": [
  384. "rgba(245, 54, 54, 0.9)",
  385. "rgba(237, 129, 40, 0.89)",
  386. "rgba(50, 172, 45, 0.97)"
  387. ],
  388. "decimals": 2,
  389. "pattern": "/.*/",
  390. "thresholds": [],
  391. "type": "number",
  392. "unit": "short"
  393. }
  394. ],
  395. "targets": [
  396. {
  397. "expr": "$metric{instance=~\"$host\"}",
  398. "format": "table",
  399. "intervalFactor": 2,
  400. "refId": "A",
  401. "step": 4
  402. }
  403. ],
  404. "title": "Metric Data Table",
  405. "transform": "table",
  406. "transparent": false,
  407. "type": "table"
  408. }
  409. ],
  410. "repeat": null,
  411. "repeatIteration": null,
  412. "repeatRowId": null,
  413. "showTitle": false,
  414. "title": "Dashboard Row",
  415. "titleSize": "h6"
  416. }
  417. ],
  418. "schemaVersion": 14,
  419. "style": "dark",
  420. "tags": [
  421. "Percona",
  422. "Insight "
  423. ],
  424. "templating": {
  425. "list": [
  426. {
  427. "allValue": null,
  428. "current": {
  429. "text": "go_memstats_alloc_bytes",
  430. "value": "go_memstats_alloc_bytes"
  431. },
  432. "datasource": "Prometheus",
  433. "hide": 0,
  434. "includeAll": false,
  435. "label": null,
  436. "multi": false,
  437. "name": "metric",
  438. "options": [],
  439. "query": "metrics(.*)",
  440. "refresh": 1,
  441. "regex": "",
  442. "sort": 0,
  443. "tagValuesQuery": "",
  444. "tags": [],
  445. "tagsQuery": "",
  446. "type": "query",
  447. "useTags": false
  448. },
  449. {
  450. "allFormat": "glob",
  451. "auto": true,
  452. "auto_count": 200,
  453. "auto_min": "1s",
  454. "current": {
  455. "text": "auto",
  456. "value": "$__auto_interval"
  457. },
  458. "datasource": "Prometheus",
  459. "hide": 0,
  460. "includeAll": false,
  461. "label": "Interval",
  462. "multi": false,
  463. "multiFormat": "glob",
  464. "name": "interval",
  465. "options": [
  466. {
  467. "selected": true,
  468. "text": "auto",
  469. "value": "$__auto_interval"
  470. },
  471. {
  472. "selected": false,
  473. "text": "1s",
  474. "value": "1s"
  475. },
  476. {
  477. "selected": false,
  478. "text": "5s",
  479. "value": "5s"
  480. },
  481. {
  482. "selected": false,
  483. "text": "1m",
  484. "value": "1m"
  485. },
  486. {
  487. "selected": false,
  488. "text": "5m",
  489. "value": "5m"
  490. },
  491. {
  492. "selected": false,
  493. "text": "1h",
  494. "value": "1h"
  495. },
  496. {
  497. "selected": false,
  498. "text": "6h",
  499. "value": "6h"
  500. },
  501. {
  502. "selected": false,
  503. "text": "1d",
  504. "value": "1d"
  505. }
  506. ],
  507. "query": "1s,5s,1m,5m,1h,6h,1d",
  508. "refresh": 2,
  509. "regex": "",
  510. "type": "interval"
  511. },
  512. {
  513. "allFormat": "pipe",
  514. "allValue": null,
  515. "datasource": "Prometheus",
  516. "hide": 0,
  517. "includeAll": true,
  518. "label": "Host",
  519. "multi": true,
  520. "multiFormat": "pipe",
  521. "name": "host",
  522. "query": "label_values({__name__=\"up\"}, instance)",
  523. "refresh": 1,
  524. "regex": "",
  525. "sort": 1,
  526. "tagValuesQuery": null,
  527. "tags": [],
  528. "tagsQuery": null,
  529. "type": "query",
  530. "useTags": false
  531. }
  532. ]
  533. },
  534. "time": {
  535. "from": "now-12h",
  536. "to": "now"
  537. },
  538. "timepicker": {
  539. "collapse": false,
  540. "enable": true,
  541. "notice": false,
  542. "now": true,
  543. "refresh_intervals": [
  544. "5s",
  545. "10s",
  546. "30s",
  547. "1m",
  548. "5m",
  549. "15m",
  550. "30m",
  551. "1h",
  552. "2h",
  553. "1d"
  554. ],
  555. "status": "Stable",
  556. "time_options": [
  557. "5m",
  558. "15m",
  559. "1h",
  560. "6h",
  561. "12h",
  562. "24h",
  563. "2d",
  564. "7d",
  565. "30d"
  566. ],
  567. "type": "timepicker"
  568. },
  569. "timezone": "browser",
  570. "title": "Advanced Data Exploration",
  571. "version": 0
  572. }