Spring Boot 2.x Statistics

  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_PROMETHEUS",
  5. "label": "Prometheus",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "prometheus",
  9. "pluginName": "Prometheus"
  10. }
  11. ],
  12. "__requires": [
  13. {
  14. "type": "grafana",
  15. "id": "grafana",
  16. "name": "Grafana",
  17. "version": "5.1.3"
  18. },
  19. {
  20. "type": "panel",
  21. "id": "graph",
  22. "name": "Graph",
  23. "version": "5.0.0"
  24. },
  25. {
  26. "type": "datasource",
  27. "id": "prometheus",
  28. "name": "Prometheus",
  29. "version": "5.0.0"
  30. },
  31. {
  32. "type": "panel",
  33. "id": "singlestat",
  34. "name": "Singlestat",
  35. "version": "5.0.0"
  36. }
  37. ],
  38. "editable": true,
  39. "gnetId": 6756,
  40. "graphTooltip": 0,
  41. "id": null,
  42. "iteration": 1530521539038,
  43. "links": [],
  44. "panels": [
  45. {
  46. "collapsed": false,
  47. "gridPos": {
  48. "h": 1,
  49. "w": 24,
  50. "x": 0,
  51. "y": 0
  52. },
  53. "id": 54,
  54. "panels": [],
  55. "title": "Basic Statistics",
  56. "type": "row"
  57. },
  58. {
  59. "cacheTimeout": null,
  60. "colorBackground": false,
  61. "colorValue": true,
  62. "colors": [
  63. "rgba(245, 54, 54, 0.9)",
  64. "#5195ce",
  65. "rgba(50, 172, 45, 0.97)"
  66. ],
  67. "datasource": "${DS_PROMETHEUS}",
  68. "decimals": 1,
  69. "editable": true,
  70. "error": false,
  71. "format": "s",
  72. "gauge": {
  73. "maxValue": 100,
  74. "minValue": 0,
  75. "show": false,
  76. "thresholdLabels": false,
  77. "thresholdMarkers": true
  78. },
  79. "gridPos": {
  80. "h": 3,
  81. "w": 6,
  82. "x": 0,
  83. "y": 1
  84. },
  85. "height": "",
  86. "id": 52,
  87. "interval": null,
  88. "links": [],
  89. "mappingType": 1,
  90. "mappingTypes": [
  91. {
  92. "name": "value to text",
  93. "value": 1
  94. },
  95. {
  96. "name": "range to text",
  97. "value": 2
  98. }
  99. ],
  100. "maxDataPoints": 100,
  101. "nullPointMode": "connected",
  102. "nullText": null,
  103. "postfix": "",
  104. "postfixFontSize": "50%",
  105. "prefix": "",
  106. "prefixFontSize": "70%",
  107. "rangeMaps": [
  108. {
  109. "from": "null",
  110. "text": "N/A",
  111. "to": "null"
  112. }
  113. ],
  114. "sparkline": {
  115. "fillColor": "rgba(31, 118, 189, 0.18)",
  116. "full": false,
  117. "lineColor": "rgb(31, 120, 193)",
  118. "show": false
  119. },
  120. "tableColumn": "",
  121. "targets": [
  122. {
  123. "expr": "process_uptime_seconds{namespace=\"$namespace\", pod=\"$pod\"}",
  124. "format": "time_series",
  125. "intervalFactor": 2,
  126. "legendFormat": "",
  127. "metric": "",
  128. "refId": "A",
  129. "step": 14400
  130. }
  131. ],
  132. "thresholds": "",
  133. "title": "Uptime",
  134. "transparent": false,
  135. "type": "singlestat",
  136. "valueFontSize": "80%",
  137. "valueMaps": [
  138. {
  139. "op": "=",
  140. "text": "N/A",
  141. "value": "null"
  142. }
  143. ],
  144. "valueName": "current"
  145. },
  146. {
  147. "cacheTimeout": null,
  148. "colorBackground": false,
  149. "colorValue": true,
  150. "colors": [
  151. "rgba(50, 172, 45, 0.97)",
  152. "rgba(237, 129, 40, 0.89)",
  153. "rgba(245, 54, 54, 0.9)"
  154. ],
  155. "datasource": "${DS_PROMETHEUS}",
  156. "decimals": 1,
  157. "editable": true,
  158. "error": false,
  159. "format": "percent",
  160. "gauge": {
  161. "maxValue": 100,
  162. "minValue": 0,
  163. "show": true,
  164. "thresholdLabels": false,
  165. "thresholdMarkers": true
  166. },
  167. "gridPos": {
  168. "h": 6,
  169. "w": 5,
  170. "x": 6,
  171. "y": 1
  172. },
  173. "id": 58,
  174. "interval": null,
  175. "links": [],
  176. "mappingType": 1,
  177. "mappingTypes": [
  178. {
  179. "name": "value to text",
  180. "value": 1
  181. },
  182. {
  183. "name": "range to text",
  184. "value": 2
  185. }
  186. ],
  187. "maxDataPoints": 100,
  188. "nullPointMode": "connected",
  189. "nullText": null,
  190. "postfix": "",
  191. "postfixFontSize": "50%",
  192. "prefix": "",
  193. "prefixFontSize": "70%",
  194. "rangeMaps": [
  195. {
  196. "from": "null",
  197. "text": "N/A",
  198. "to": "null"
  199. }
  200. ],
  201. "sparkline": {
  202. "fillColor": "rgba(31, 118, 189, 0.18)",
  203. "full": false,
  204. "lineColor": "rgb(31, 120, 193)",
  205. "show": false
  206. },
  207. "tableColumn": "",
  208. "targets": [
  209. {
  210. "expr": "sum(jvm_memory_used_bytes{namespace=\"$namespace\", pod=\"$pod\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{namespace=\"$namespace\",pod=\"$pod\", area=\"heap\"})",
  211. "format": "time_series",
  212. "intervalFactor": 1,
  213. "legendFormat": "",
  214. "refId": "A",
  215. "step": 14400
  216. }
  217. ],
  218. "thresholds": "70,90",
  219. "title": "Heap Used",
  220. "type": "singlestat",
  221. "valueFontSize": "70%",
  222. "valueMaps": [
  223. {
  224. "op": "=",
  225. "text": "N/A",
  226. "value": "null"
  227. }
  228. ],
  229. "valueName": "current"
  230. },
  231. {
  232. "cacheTimeout": null,
  233. "colorBackground": false,
  234. "colorValue": true,
  235. "colors": [
  236. "rgba(50, 172, 45, 0.97)",
  237. "rgba(237, 129, 40, 0.89)",
  238. "rgba(245, 54, 54, 0.9)"
  239. ],
  240. "datasource": "${DS_PROMETHEUS}",
  241. "decimals": 1,
  242. "editable": true,
  243. "error": false,
  244. "format": "percent",
  245. "gauge": {
  246. "maxValue": 100,
  247. "minValue": 0,
  248. "show": true,
  249. "thresholdLabels": false,
  250. "thresholdMarkers": true
  251. },
  252. "gridPos": {
  253. "h": 6,
  254. "w": 5,
  255. "x": 11,
  256. "y": 1
  257. },
  258. "id": 60,
  259. "interval": null,
  260. "links": [],
  261. "mappingType": 2,
  262. "mappingTypes": [
  263. {
  264. "name": "value to text",
  265. "value": 1
  266. },
  267. {
  268. "name": "range to text",
  269. "value": 2
  270. }
  271. ],
  272. "maxDataPoints": 100,
  273. "nullPointMode": "connected",
  274. "nullText": null,
  275. "postfix": "",
  276. "postfixFontSize": "50%",
  277. "prefix": "",
  278. "prefixFontSize": "70%",
  279. "rangeMaps": [
  280. {
  281. "from": "null",
  282. "text": "N/A",
  283. "to": "null"
  284. },
  285. {
  286. "from": "-99999999999999999999999999999999",
  287. "text": "N/A",
  288. "to": "0"
  289. }
  290. ],
  291. "sparkline": {
  292. "fillColor": "rgba(31, 118, 189, 0.18)",
  293. "full": false,
  294. "lineColor": "rgb(31, 120, 193)",
  295. "show": false
  296. },
  297. "tableColumn": "",
  298. "targets": [
  299. {
  300. "expr": "sum(jvm_memory_used_bytes{namespace=\"$namespace\", pod=\"$pod\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{namespace=\"$namespace\",pod=\"$pod\", area=\"nonheap\"})",
  301. "format": "time_series",
  302. "intervalFactor": 2,
  303. "legendFormat": "",
  304. "refId": "A",
  305. "step": 14400
  306. }
  307. ],
  308. "thresholds": "70,90",
  309. "title": "Non-Heap Used",
  310. "type": "singlestat",
  311. "valueFontSize": "70%",
  312. "valueMaps": [
  313. {
  314. "op": "=",
  315. "text": "N/A",
  316. "value": "null"
  317. },
  318. {
  319. "op": "=",
  320. "text": "x",
  321. "value": ""
  322. }
  323. ],
  324. "valueName": "current"
  325. },
  326. {
  327. "aliasColors": {},
  328. "bars": false,
  329. "dashLength": 10,
  330. "dashes": false,
  331. "datasource": "${DS_PROMETHEUS}",
  332. "fill": 1,
  333. "gridPos": {
  334. "h": 6,
  335. "w": 8,
  336. "x": 16,
  337. "y": 1
  338. },
  339. "id": 66,
  340. "legend": {
  341. "avg": false,
  342. "current": false,
  343. "max": false,
  344. "min": false,
  345. "show": true,
  346. "total": false,
  347. "values": false
  348. },
  349. "lines": true,
  350. "linewidth": 1,
  351. "links": [],
  352. "nullPointMode": "null",
  353. "percentage": false,
  354. "pointradius": 5,
  355. "points": false,
  356. "renderer": "flot",
  357. "seriesOverrides": [],
  358. "spaceLength": 10,
  359. "stack": false,
  360. "steppedLine": false,
  361. "targets": [
  362. {
  363. "expr": "process_files_open_files{namespace=\"$namespace\", pod=\"$pod\"}",
  364. "format": "time_series",
  365. "intervalFactor": 1,
  366. "legendFormat": "Open Files",
  367. "refId": "A"
  368. },
  369. {
  370. "expr": "process_files_max_files{namespace=\"$namespace\", pod=\"$pod\"}",
  371. "format": "time_series",
  372. "intervalFactor": 1,
  373. "legendFormat": "Max Files",
  374. "refId": "B"
  375. }
  376. ],
  377. "thresholds": [],
  378. "timeFrom": null,
  379. "timeShift": null,
  380. "title": "Process Open Files",
  381. "tooltip": {
  382. "shared": true,
  383. "sort": 0,
  384. "value_type": "individual"
  385. },
  386. "type": "graph",
  387. "xaxis": {
  388. "buckets": null,
  389. "mode": "time",
  390. "name": null,
  391. "show": true,
  392. "values": []
  393. },
  394. "yaxes": [
  395. {
  396. "format": "locale",
  397. "label": null,
  398. "logBase": 1,
  399. "max": null,
  400. "min": null,
  401. "show": true
  402. },
  403. {
  404. "format": "short",
  405. "label": null,
  406. "logBase": 1,
  407. "max": null,
  408. "min": null,
  409. "show": true
  410. }
  411. ],
  412. "yaxis": {
  413. "align": false,
  414. "alignLevel": null
  415. }
  416. },
  417. {
  418. "cacheTimeout": null,
  419. "colorBackground": false,
  420. "colorValue": true,
  421. "colors": [
  422. "rgba(245, 54, 54, 0.9)",
  423. "#5195ce",
  424. "rgba(50, 172, 45, 0.97)"
  425. ],
  426. "datasource": "${DS_PROMETHEUS}",
  427. "decimals": null,
  428. "editable": true,
  429. "error": false,
  430. "format": "dateTimeAsIso",
  431. "gauge": {
  432. "maxValue": 100,
  433. "minValue": 0,
  434. "show": false,
  435. "thresholdLabels": false,
  436. "thresholdMarkers": true
  437. },
  438. "gridPos": {
  439. "h": 3,
  440. "w": 6,
  441. "x": 0,
  442. "y": 4
  443. },
  444. "height": "",
  445. "id": 56,
  446. "interval": null,
  447. "links": [],
  448. "mappingType": 1,
  449. "mappingTypes": [
  450. {
  451. "name": "value to text",
  452. "value": 1
  453. },
  454. {
  455. "name": "range to text",
  456. "value": 2
  457. }
  458. ],
  459. "maxDataPoints": 100,
  460. "nullPointMode": "connected",
  461. "nullText": null,
  462. "postfix": "",
  463. "postfixFontSize": "50%",
  464. "prefix": "",
  465. "prefixFontSize": "70%",
  466. "rangeMaps": [
  467. {
  468. "from": "null",
  469. "text": "N/A",
  470. "to": "null"
  471. }
  472. ],
  473. "sparkline": {
  474. "fillColor": "rgba(31, 118, 189, 0.18)",
  475. "full": false,
  476. "lineColor": "rgb(31, 120, 193)",
  477. "show": false
  478. },
  479. "tableColumn": "",
  480. "targets": [
  481. {
  482. "expr": "process_start_time_seconds{namespace=\"$namespace\", pod=\"$pod\"}*1000",
  483. "format": "time_series",
  484. "intervalFactor": 2,
  485. "legendFormat": "",
  486. "metric": "",
  487. "refId": "A",
  488. "step": 14400
  489. }
  490. ],
  491. "thresholds": "",
  492. "title": "Start time",
  493. "transparent": false,
  494. "type": "singlestat",
  495. "valueFontSize": "70%",
  496. "valueMaps": [
  497. {
  498. "op": "=",
  499. "text": "N/A",
  500. "value": "null"
  501. }
  502. ],
  503. "valueName": "current"
  504. },
  505. {
  506. "aliasColors": {},
  507. "bars": false,
  508. "dashLength": 10,
  509. "dashes": false,
  510. "datasource": "${DS_PROMETHEUS}",
  511. "fill": 1,
  512. "gridPos": {
  513. "h": 7,
  514. "w": 12,
  515. "x": 0,
  516. "y": 7
  517. },
  518. "id": 95,
  519. "legend": {
  520. "alignAsTable": true,
  521. "avg": true,
  522. "current": true,
  523. "max": true,
  524. "min": true,
  525. "show": true,
  526. "total": false,
  527. "values": true
  528. },
  529. "lines": true,
  530. "linewidth": 1,
  531. "links": [],
  532. "nullPointMode": "null",
  533. "percentage": false,
  534. "pointradius": 5,
  535. "points": false,
  536. "renderer": "flot",
  537. "seriesOverrides": [],
  538. "spaceLength": 10,
  539. "stack": false,
  540. "steppedLine": false,
  541. "targets": [
  542. {
  543. "expr": "system_cpu_usage{pod=\"$pod\", namespace=\"$namespace\"}",
  544. "format": "time_series",
  545. "intervalFactor": 1,
  546. "legendFormat": "System CPU Usage",
  547. "refId": "A"
  548. },
  549. {
  550. "expr": "process_cpu_usage{pod=\"$pod\", namespace=\"$namespace\"}",
  551. "format": "time_series",
  552. "intervalFactor": 1,
  553. "legendFormat": "Process CPU Usage",
  554. "refId": "B"
  555. }
  556. ],
  557. "thresholds": [],
  558. "timeFrom": null,
  559. "timeShift": null,
  560. "title": "CPU Usage",
  561. "tooltip": {
  562. "shared": true,
  563. "sort": 0,
  564. "value_type": "individual"
  565. },
  566. "type": "graph",
  567. "xaxis": {
  568. "buckets": null,
  569. "mode": "time",
  570. "name": null,
  571. "show": true,
  572. "values": []
  573. },
  574. "yaxes": [
  575. {
  576. "format": "short",
  577. "label": null,
  578. "logBase": 1,
  579. "max": null,
  580. "min": null,
  581. "show": true
  582. },
  583. {
  584. "format": "short",
  585. "label": null,
  586. "logBase": 1,
  587. "max": null,
  588. "min": null,
  589. "show": true
  590. }
  591. ],
  592. "yaxis": {
  593. "align": false,
  594. "alignLevel": null
  595. }
  596. },
  597. {
  598. "aliasColors": {},
  599. "bars": false,
  600. "dashLength": 10,
  601. "dashes": false,
  602. "datasource": "${DS_PROMETHEUS}",
  603. "fill": 1,
  604. "gridPos": {
  605. "h": 7,
  606. "w": 12,
  607. "x": 12,
  608. "y": 7
  609. },
  610. "id": 96,
  611. "legend": {
  612. "alignAsTable": true,
  613. "avg": true,
  614. "current": true,
  615. "max": true,
  616. "min": true,
  617. "show": true,
  618. "total": false,
  619. "values": true
  620. },
  621. "lines": true,
  622. "linewidth": 1,
  623. "links": [],
  624. "nullPointMode": "null",
  625. "percentage": false,
  626. "pointradius": 5,
  627. "points": false,
  628. "renderer": "flot",
  629. "seriesOverrides": [],
  630. "spaceLength": 10,
  631. "stack": false,
  632. "steppedLine": false,
  633. "targets": [
  634. {
  635. "expr": "system_load_average_1m{pod=\"$pod\", namespace=\"$namespace\"}",
  636. "format": "time_series",
  637. "intervalFactor": 1,
  638. "legendFormat": "Load Average [1m]",
  639. "refId": "A"
  640. },
  641. {
  642. "expr": "system_cpu_count{pod=\"$pod\", namespace=\"$namespace\"}",
  643. "format": "time_series",
  644. "intervalFactor": 1,
  645. "legendFormat": "CPU Core Size",
  646. "refId": "B"
  647. }
  648. ],
  649. "thresholds": [],
  650. "timeFrom": null,
  651. "timeShift": null,
  652. "title": "Load Average",
  653. "tooltip": {
  654. "shared": true,
  655. "sort": 0,
  656. "value_type": "individual"
  657. },
  658. "type": "graph",
  659. "xaxis": {
  660. "buckets": null,
  661. "mode": "time",
  662. "name": null,
  663. "show": true,
  664. "values": []
  665. },
  666. "yaxes": [
  667. {
  668. "format": "short",
  669. "label": null,
  670. "logBase": 1,
  671. "max": null,
  672. "min": null,
  673. "show": true
  674. },
  675. {
  676. "format": "short",
  677. "label": null,
  678. "logBase": 1,
  679. "max": null,
  680. "min": null,
  681. "show": true
  682. }
  683. ],
  684. "yaxis": {
  685. "align": false,
  686. "alignLevel": null
  687. }
  688. },
  689. {
  690. "collapsed": false,
  691. "gridPos": {
  692. "h": 1,
  693. "w": 24,
  694. "x": 0,
  695. "y": 14
  696. },
  697. "id": 48,
  698. "panels": [],
  699. "title": "JVM Statistics - Memory",
  700. "type": "row"
  701. },
  702. {
  703. "aliasColors": {},
  704. "bars": false,
  705. "dashLength": 10,
  706. "dashes": false,
  707. "datasource": "${DS_PROMETHEUS}",
  708. "fill": 1,
  709. "gridPos": {
  710. "h": 8,
  711. "w": 8,
  712. "x": 0,
  713. "y": 15
  714. },
  715. "id": 85,
  716. "legend": {
  717. "alignAsTable": true,
  718. "avg": true,
  719. "current": true,
  720. "max": true,
  721. "min": true,
  722. "show": true,
  723. "total": false,
  724. "values": true
  725. },
  726. "lines": true,
  727. "linewidth": 1,
  728. "links": [],
  729. "minSpan": null,
  730. "nullPointMode": "null",
  731. "percentage": false,
  732. "pointradius": 5,
  733. "points": false,
  734. "renderer": "flot",
  735. "repeat": "memory_pool_heap",
  736. "repeatDirection": "h",
  737. "seriesOverrides": [],
  738. "spaceLength": 10,
  739. "stack": false,
  740. "steppedLine": false,
  741. "targets": [
  742. {
  743. "expr": "jvm_memory_used_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_heap\"}",
  744. "format": "time_series",
  745. "intervalFactor": 1,
  746. "legendFormat": "Used",
  747. "refId": "C"
  748. },
  749. {
  750. "expr": "jvm_memory_committed_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_heap\"}",
  751. "format": "time_series",
  752. "intervalFactor": 1,
  753. "legendFormat": "Commited",
  754. "refId": "A"
  755. },
  756. {
  757. "expr": "jvm_memory_max_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_heap\"}",
  758. "format": "time_series",
  759. "intervalFactor": 1,
  760. "legendFormat": "Max",
  761. "refId": "B"
  762. }
  763. ],
  764. "thresholds": [],
  765. "timeFrom": null,
  766. "timeShift": null,
  767. "title": "$memory_pool_heap (heap)",
  768. "tooltip": {
  769. "shared": true,
  770. "sort": 0,
  771. "value_type": "individual"
  772. },
  773. "type": "graph",
  774. "xaxis": {
  775. "buckets": null,
  776. "mode": "time",
  777. "name": null,
  778. "show": true,
  779. "values": []
  780. },
  781. "yaxes": [
  782. {
  783. "format": "bytes",
  784. "label": null,
  785. "logBase": 1,
  786. "max": null,
  787. "min": null,
  788. "show": true
  789. },
  790. {
  791. "format": "short",
  792. "label": null,
  793. "logBase": 1,
  794. "max": null,
  795. "min": null,
  796. "show": true
  797. }
  798. ],
  799. "yaxis": {
  800. "align": false,
  801. "alignLevel": null
  802. }
  803. },
  804. {
  805. "aliasColors": {},
  806. "bars": false,
  807. "dashLength": 10,
  808. "dashes": false,
  809. "datasource": "${DS_PROMETHEUS}",
  810. "fill": 1,
  811. "gridPos": {
  812. "h": 8,
  813. "w": 12,
  814. "x": 12,
  815. "y": 15
  816. },
  817. "id": 80,
  818. "legend": {
  819. "avg": false,
  820. "current": false,
  821. "max": false,
  822. "min": false,
  823. "show": true,
  824. "total": false,
  825. "values": false
  826. },
  827. "lines": true,
  828. "linewidth": 1,
  829. "links": [],
  830. "nullPointMode": "null",
  831. "percentage": false,
  832. "pointradius": 5,
  833. "points": false,
  834. "renderer": "flot",
  835. "seriesOverrides": [],
  836. "spaceLength": 10,
  837. "stack": false,
  838. "steppedLine": false,
  839. "targets": [
  840. {
  841. "expr": "irate(jvm_classes_unloaded_classes_total{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
  842. "format": "time_series",
  843. "intervalFactor": 1,
  844. "legendFormat": "Classes Unloaded",
  845. "refId": "A"
  846. }
  847. ],
  848. "thresholds": [],
  849. "timeFrom": null,
  850. "timeShift": null,
  851. "title": "Classes Unloaded",
  852. "tooltip": {
  853. "shared": true,
  854. "sort": 0,
  855. "value_type": "individual"
  856. },
  857. "type": "graph",
  858. "xaxis": {
  859. "buckets": null,
  860. "mode": "time",
  861. "name": null,
  862. "show": true,
  863. "values": []
  864. },
  865. "yaxes": [
  866. {
  867. "format": "short",
  868. "label": null,
  869. "logBase": 1,
  870. "max": null,
  871. "min": null,
  872. "show": true
  873. },
  874. {
  875. "format": "short",
  876. "label": null,
  877. "logBase": 1,
  878. "max": null,
  879. "min": null,
  880. "show": true
  881. }
  882. ],
  883. "yaxis": {
  884. "align": false,
  885. "alignLevel": null
  886. }
  887. },
  888. {
  889. "aliasColors": {},
  890. "bars": false,
  891. "dashLength": 10,
  892. "dashes": false,
  893. "datasource": "${DS_PROMETHEUS}",
  894. "fill": 1,
  895. "gridPos": {
  896. "h": 8,
  897. "w": 8,
  898. "x": 0,
  899. "y": 23
  900. },
  901. "id": 88,
  902. "legend": {
  903. "alignAsTable": true,
  904. "avg": true,
  905. "current": true,
  906. "max": true,
  907. "min": true,
  908. "show": true,
  909. "total": false,
  910. "values": true
  911. },
  912. "lines": true,
  913. "linewidth": 1,
  914. "links": [],
  915. "minSpan": null,
  916. "nullPointMode": "null",
  917. "percentage": false,
  918. "pointradius": 5,
  919. "points": false,
  920. "renderer": "flot",
  921. "repeat": "memory_pool_nonheap",
  922. "repeatDirection": "h",
  923. "seriesOverrides": [],
  924. "spaceLength": 10,
  925. "stack": false,
  926. "steppedLine": false,
  927. "targets": [
  928. {
  929. "expr": "jvm_memory_used_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_nonheap\"}",
  930. "format": "time_series",
  931. "intervalFactor": 1,
  932. "legendFormat": "Used",
  933. "refId": "C"
  934. },
  935. {
  936. "expr": "jvm_memory_committed_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_nonheap\"}",
  937. "format": "time_series",
  938. "intervalFactor": 1,
  939. "legendFormat": "Commited",
  940. "refId": "A"
  941. },
  942. {
  943. "expr": "jvm_memory_max_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_nonheap\"}",
  944. "format": "time_series",
  945. "intervalFactor": 1,
  946. "legendFormat": "Max",
  947. "refId": "B"
  948. }
  949. ],
  950. "thresholds": [],
  951. "timeFrom": null,
  952. "timeShift": null,
  953. "title": "$memory_pool_nonheap (non-heap)",
  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": "bytes",
  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. "aliasColors": {},
  992. "bars": false,
  993. "dashLength": 10,
  994. "dashes": false,
  995. "datasource": "${DS_PROMETHEUS}",
  996. "fill": 1,
  997. "gridPos": {
  998. "h": 7,
  999. "w": 12,
  1000. "x": 12,
  1001. "y": 23
  1002. },
  1003. "id": 83,
  1004. "legend": {
  1005. "avg": false,
  1006. "current": false,
  1007. "max": false,
  1008. "min": false,
  1009. "show": true,
  1010. "total": false,
  1011. "values": false
  1012. },
  1013. "lines": true,
  1014. "linewidth": 1,
  1015. "links": [],
  1016. "nullPointMode": "null",
  1017. "percentage": false,
  1018. "pointradius": 5,
  1019. "points": false,
  1020. "renderer": "flot",
  1021. "seriesOverrides": [],
  1022. "spaceLength": 10,
  1023. "stack": false,
  1024. "steppedLine": false,
  1025. "targets": [
  1026. {
  1027. "expr": "jvm_buffer_memory_used_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"mapped\"}",
  1028. "format": "time_series",
  1029. "intervalFactor": 1,
  1030. "legendFormat": "Used Bytes",
  1031. "refId": "A"
  1032. },
  1033. {
  1034. "expr": "jvm_buffer_total_capacity_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"mapped\"}",
  1035. "format": "time_series",
  1036. "intervalFactor": 1,
  1037. "legendFormat": "Capacity Bytes",
  1038. "refId": "B"
  1039. }
  1040. ],
  1041. "thresholds": [],
  1042. "timeFrom": null,
  1043. "timeShift": null,
  1044. "title": "Mapped Buffers",
  1045. "tooltip": {
  1046. "shared": true,
  1047. "sort": 0,
  1048. "value_type": "individual"
  1049. },
  1050. "type": "graph",
  1051. "xaxis": {
  1052. "buckets": null,
  1053. "mode": "time",
  1054. "name": null,
  1055. "show": true,
  1056. "values": []
  1057. },
  1058. "yaxes": [
  1059. {
  1060. "format": "short",
  1061. "label": null,
  1062. "logBase": 1,
  1063. "max": null,
  1064. "min": null,
  1065. "show": true
  1066. },
  1067. {
  1068. "format": "short",
  1069. "label": null,
  1070. "logBase": 1,
  1071. "max": null,
  1072. "min": null,
  1073. "show": true
  1074. }
  1075. ],
  1076. "yaxis": {
  1077. "align": false,
  1078. "alignLevel": null
  1079. }
  1080. },
  1081. {
  1082. "aliasColors": {},
  1083. "bars": false,
  1084. "dashLength": 10,
  1085. "dashes": false,
  1086. "datasource": "${DS_PROMETHEUS}",
  1087. "fill": 1,
  1088. "gridPos": {
  1089. "h": 8,
  1090. "w": 12,
  1091. "x": 12,
  1092. "y": 30
  1093. },
  1094. "id": 78,
  1095. "legend": {
  1096. "avg": false,
  1097. "current": false,
  1098. "max": false,
  1099. "min": false,
  1100. "show": true,
  1101. "total": false,
  1102. "values": false
  1103. },
  1104. "lines": true,
  1105. "linewidth": 1,
  1106. "links": [],
  1107. "nullPointMode": "null",
  1108. "percentage": false,
  1109. "pointradius": 5,
  1110. "points": false,
  1111. "renderer": "flot",
  1112. "seriesOverrides": [],
  1113. "spaceLength": 10,
  1114. "stack": false,
  1115. "steppedLine": false,
  1116. "targets": [
  1117. {
  1118. "expr": "irate(jvm_gc_memory_allocated_bytes_total{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
  1119. "format": "time_series",
  1120. "intervalFactor": 1,
  1121. "legendFormat": "allocated",
  1122. "refId": "A"
  1123. },
  1124. {
  1125. "expr": "irate(jvm_gc_memory_promoted_bytes_total{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
  1126. "format": "time_series",
  1127. "intervalFactor": 1,
  1128. "legendFormat": "promoted",
  1129. "refId": "B"
  1130. }
  1131. ],
  1132. "thresholds": [],
  1133. "timeFrom": null,
  1134. "timeShift": null,
  1135. "title": "Memory Allocate/Promote",
  1136. "tooltip": {
  1137. "shared": true,
  1138. "sort": 0,
  1139. "value_type": "individual"
  1140. },
  1141. "type": "graph",
  1142. "xaxis": {
  1143. "buckets": null,
  1144. "mode": "time",
  1145. "name": null,
  1146. "show": true,
  1147. "values": []
  1148. },
  1149. "yaxes": [
  1150. {
  1151. "format": "bytes",
  1152. "label": null,
  1153. "logBase": 1,
  1154. "max": null,
  1155. "min": null,
  1156. "show": true
  1157. },
  1158. {
  1159. "format": "short",
  1160. "label": null,
  1161. "logBase": 1,
  1162. "max": null,
  1163. "min": null,
  1164. "show": true
  1165. }
  1166. ],
  1167. "yaxis": {
  1168. "align": false,
  1169. "alignLevel": null
  1170. }
  1171. },
  1172. {
  1173. "aliasColors": {},
  1174. "bars": false,
  1175. "dashLength": 10,
  1176. "dashes": false,
  1177. "datasource": "${DS_PROMETHEUS}",
  1178. "decimals": 0,
  1179. "fill": 1,
  1180. "gridPos": {
  1181. "h": 8,
  1182. "w": 12,
  1183. "x": 0,
  1184. "y": 31
  1185. },
  1186. "id": 50,
  1187. "legend": {
  1188. "alignAsTable": true,
  1189. "avg": true,
  1190. "current": true,
  1191. "max": true,
  1192. "min": true,
  1193. "show": true,
  1194. "total": false,
  1195. "values": true
  1196. },
  1197. "lines": true,
  1198. "linewidth": 1,
  1199. "links": [],
  1200. "nullPointMode": "null",
  1201. "percentage": false,
  1202. "pointradius": 5,
  1203. "points": false,
  1204. "renderer": "flot",
  1205. "seriesOverrides": [],
  1206. "spaceLength": 10,
  1207. "stack": false,
  1208. "steppedLine": false,
  1209. "targets": [
  1210. {
  1211. "expr": "jvm_classes_loaded_classes{pod=\"$pod\", namespace=\"$namespace\"}",
  1212. "format": "time_series",
  1213. "intervalFactor": 1,
  1214. "legendFormat": "Classes Loaded",
  1215. "refId": "A"
  1216. }
  1217. ],
  1218. "thresholds": [],
  1219. "timeFrom": null,
  1220. "timeShift": null,
  1221. "title": "Classes Loaded",
  1222. "tooltip": {
  1223. "shared": true,
  1224. "sort": 0,
  1225. "value_type": "individual"
  1226. },
  1227. "type": "graph",
  1228. "xaxis": {
  1229. "buckets": null,
  1230. "mode": "time",
  1231. "name": null,
  1232. "show": true,
  1233. "values": []
  1234. },
  1235. "yaxes": [
  1236. {
  1237. "decimals": 0,
  1238. "format": "locale",
  1239. "label": "",
  1240. "logBase": 1,
  1241. "max": null,
  1242. "min": null,
  1243. "show": true
  1244. },
  1245. {
  1246. "format": "short",
  1247. "label": null,
  1248. "logBase": 1,
  1249. "max": null,
  1250. "min": null,
  1251. "show": true
  1252. }
  1253. ],
  1254. "yaxis": {
  1255. "align": false,
  1256. "alignLevel": null
  1257. }
  1258. },
  1259. {
  1260. "aliasColors": {},
  1261. "bars": false,
  1262. "dashLength": 10,
  1263. "dashes": false,
  1264. "datasource": "${DS_PROMETHEUS}",
  1265. "fill": 1,
  1266. "gridPos": {
  1267. "h": 7,
  1268. "w": 12,
  1269. "x": 0,
  1270. "y": 39
  1271. },
  1272. "id": 82,
  1273. "legend": {
  1274. "avg": false,
  1275. "current": false,
  1276. "max": false,
  1277. "min": false,
  1278. "show": true,
  1279. "total": false,
  1280. "values": false
  1281. },
  1282. "lines": true,
  1283. "linewidth": 1,
  1284. "links": [],
  1285. "nullPointMode": "null",
  1286. "percentage": false,
  1287. "pointradius": 5,
  1288. "points": false,
  1289. "renderer": "flot",
  1290. "seriesOverrides": [],
  1291. "spaceLength": 10,
  1292. "stack": false,
  1293. "steppedLine": false,
  1294. "targets": [
  1295. {
  1296. "expr": "jvm_buffer_memory_used_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"direct\"}",
  1297. "format": "time_series",
  1298. "intervalFactor": 1,
  1299. "legendFormat": "Used Bytes",
  1300. "refId": "A"
  1301. },
  1302. {
  1303. "expr": "jvm_buffer_total_capacity_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"direct\"}",
  1304. "format": "time_series",
  1305. "intervalFactor": 1,
  1306. "legendFormat": "Capacity Bytes",
  1307. "refId": "B"
  1308. }
  1309. ],
  1310. "thresholds": [],
  1311. "timeFrom": null,
  1312. "timeShift": null,
  1313. "title": "Direct Buffers",
  1314. "tooltip": {
  1315. "shared": true,
  1316. "sort": 0,
  1317. "value_type": "individual"
  1318. },
  1319. "type": "graph",
  1320. "xaxis": {
  1321. "buckets": null,
  1322. "mode": "time",
  1323. "name": null,
  1324. "show": true,
  1325. "values": []
  1326. },
  1327. "yaxes": [
  1328. {
  1329. "format": "short",
  1330. "label": null,
  1331. "logBase": 1,
  1332. "max": null,
  1333. "min": null,
  1334. "show": true
  1335. },
  1336. {
  1337. "format": "short",
  1338. "label": null,
  1339. "logBase": 1,
  1340. "max": null,
  1341. "min": null,
  1342. "show": true
  1343. }
  1344. ],
  1345. "yaxis": {
  1346. "align": false,
  1347. "alignLevel": null
  1348. }
  1349. },
  1350. {
  1351. "aliasColors": {},
  1352. "bars": false,
  1353. "dashLength": 10,
  1354. "dashes": false,
  1355. "datasource": "${DS_PROMETHEUS}",
  1356. "fill": 1,
  1357. "gridPos": {
  1358. "h": 8,
  1359. "w": 12,
  1360. "x": 0,
  1361. "y": 46
  1362. },
  1363. "id": 68,
  1364. "legend": {
  1365. "alignAsTable": true,
  1366. "avg": true,
  1367. "current": true,
  1368. "max": true,
  1369. "min": true,
  1370. "show": true,
  1371. "total": false,
  1372. "values": true
  1373. },
  1374. "lines": true,
  1375. "linewidth": 1,
  1376. "links": [],
  1377. "nullPointMode": "null",
  1378. "percentage": false,
  1379. "pointradius": 5,
  1380. "points": false,
  1381. "renderer": "flot",
  1382. "seriesOverrides": [],
  1383. "spaceLength": 10,
  1384. "stack": false,
  1385. "steppedLine": false,
  1386. "targets": [
  1387. {
  1388. "expr": "jvm_threads_daemon_threads{pod=\"$pod\", namespace=\"$namespace\"}",
  1389. "format": "time_series",
  1390. "intervalFactor": 1,
  1391. "legendFormat": "Daemon",
  1392. "refId": "A"
  1393. },
  1394. {
  1395. "expr": "jvm_threads_live_threads{pod=\"$pod\", namespace=\"$namespace\"}",
  1396. "format": "time_series",
  1397. "intervalFactor": 1,
  1398. "legendFormat": "Live",
  1399. "refId": "B"
  1400. },
  1401. {
  1402. "expr": "jvm_threads_peak_threads{pod=\"$pod\", namespace=\"$namespace\"}",
  1403. "format": "time_series",
  1404. "intervalFactor": 1,
  1405. "legendFormat": "Peak",
  1406. "refId": "C"
  1407. }
  1408. ],
  1409. "thresholds": [],
  1410. "timeFrom": null,
  1411. "timeShift": null,
  1412. "title": "Threads",
  1413. "tooltip": {
  1414. "shared": true,
  1415. "sort": 0,
  1416. "value_type": "individual"
  1417. },
  1418. "type": "graph",
  1419. "xaxis": {
  1420. "buckets": null,
  1421. "mode": "time",
  1422. "name": null,
  1423. "show": true,
  1424. "values": []
  1425. },
  1426. "yaxes": [
  1427. {
  1428. "format": "short",
  1429. "label": null,
  1430. "logBase": 1,
  1431. "max": null,
  1432. "min": null,
  1433. "show": true
  1434. },
  1435. {
  1436. "format": "short",
  1437. "label": null,
  1438. "logBase": 1,
  1439. "max": null,
  1440. "min": null,
  1441. "show": true
  1442. }
  1443. ],
  1444. "yaxis": {
  1445. "align": false,
  1446. "alignLevel": null
  1447. }
  1448. },
  1449. {
  1450. "collapsed": false,
  1451. "gridPos": {
  1452. "h": 1,
  1453. "w": 24,
  1454. "x": 0,
  1455. "y": 54
  1456. },
  1457. "id": 72,
  1458. "panels": [],
  1459. "title": "JVM Statistics - GC",
  1460. "type": "row"
  1461. },
  1462. {
  1463. "aliasColors": {},
  1464. "bars": false,
  1465. "dashLength": 10,
  1466. "dashes": false,
  1467. "datasource": "${DS_PROMETHEUS}",
  1468. "fill": 1,
  1469. "gridPos": {
  1470. "h": 10,
  1471. "w": 12,
  1472. "x": 0,
  1473. "y": 55
  1474. },
  1475. "id": 74,
  1476. "legend": {
  1477. "alignAsTable": true,
  1478. "avg": true,
  1479. "current": false,
  1480. "hideEmpty": true,
  1481. "hideZero": true,
  1482. "max": true,
  1483. "min": true,
  1484. "show": true,
  1485. "total": true,
  1486. "values": true
  1487. },
  1488. "lines": true,
  1489. "linewidth": 1,
  1490. "links": [],
  1491. "nullPointMode": "null",
  1492. "percentage": false,
  1493. "pointradius": 5,
  1494. "points": false,
  1495. "renderer": "flot",
  1496. "seriesOverrides": [],
  1497. "spaceLength": 10,
  1498. "stack": false,
  1499. "steppedLine": false,
  1500. "targets": [
  1501. {
  1502. "expr": "irate(jvm_gc_pause_seconds_count{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
  1503. "format": "time_series",
  1504. "intervalFactor": 1,
  1505. "legendFormat": "{{action}} [{{cause}}]",
  1506. "refId": "A"
  1507. }
  1508. ],
  1509. "thresholds": [],
  1510. "timeFrom": null,
  1511. "timeShift": null,
  1512. "title": "GC Count",
  1513. "tooltip": {
  1514. "shared": true,
  1515. "sort": 0,
  1516. "value_type": "individual"
  1517. },
  1518. "type": "graph",
  1519. "xaxis": {
  1520. "buckets": null,
  1521. "mode": "time",
  1522. "name": null,
  1523. "show": true,
  1524. "values": []
  1525. },
  1526. "yaxes": [
  1527. {
  1528. "format": "locale",
  1529. "label": null,
  1530. "logBase": 1,
  1531. "max": null,
  1532. "min": null,
  1533. "show": true
  1534. },
  1535. {
  1536. "format": "short",
  1537. "label": null,
  1538. "logBase": 1,
  1539. "max": null,
  1540. "min": null,
  1541. "show": true
  1542. }
  1543. ],
  1544. "yaxis": {
  1545. "align": false,
  1546. "alignLevel": null
  1547. }
  1548. },
  1549. {
  1550. "aliasColors": {},
  1551. "bars": false,
  1552. "dashLength": 10,
  1553. "dashes": false,
  1554. "datasource": "${DS_PROMETHEUS}",
  1555. "fill": 1,
  1556. "gridPos": {
  1557. "h": 10,
  1558. "w": 12,
  1559. "x": 12,
  1560. "y": 55
  1561. },
  1562. "id": 76,
  1563. "legend": {
  1564. "alignAsTable": true,
  1565. "avg": true,
  1566. "current": false,
  1567. "hideEmpty": true,
  1568. "hideZero": true,
  1569. "max": true,
  1570. "min": true,
  1571. "show": true,
  1572. "total": true,
  1573. "values": true
  1574. },
  1575. "lines": true,
  1576. "linewidth": 1,
  1577. "links": [],
  1578. "nullPointMode": "null",
  1579. "percentage": false,
  1580. "pointradius": 5,
  1581. "points": false,
  1582. "renderer": "flot",
  1583. "seriesOverrides": [],
  1584. "spaceLength": 10,
  1585. "stack": false,
  1586. "steppedLine": false,
  1587. "targets": [
  1588. {
  1589. "expr": "irate(jvm_gc_pause_seconds_sum{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
  1590. "format": "time_series",
  1591. "intervalFactor": 1,
  1592. "legendFormat": "{{action}} [{{cause}}]",
  1593. "refId": "A"
  1594. }
  1595. ],
  1596. "thresholds": [],
  1597. "timeFrom": null,
  1598. "timeShift": null,
  1599. "title": "GC Stop the World Duration",
  1600. "tooltip": {
  1601. "shared": true,
  1602. "sort": 0,
  1603. "value_type": "individual"
  1604. },
  1605. "type": "graph",
  1606. "xaxis": {
  1607. "buckets": null,
  1608. "mode": "time",
  1609. "name": null,
  1610. "show": true,
  1611. "values": []
  1612. },
  1613. "yaxes": [
  1614. {
  1615. "format": "s",
  1616. "label": null,
  1617. "logBase": 1,
  1618. "max": null,
  1619. "min": null,
  1620. "show": true
  1621. },
  1622. {
  1623. "format": "short",
  1624. "label": null,
  1625. "logBase": 1,
  1626. "max": null,
  1627. "min": null,
  1628. "show": true
  1629. }
  1630. ],
  1631. "yaxis": {
  1632. "align": false,
  1633. "alignLevel": null
  1634. }
  1635. },
  1636. {
  1637. "collapsed": false,
  1638. "gridPos": {
  1639. "h": 1,
  1640. "w": 24,
  1641. "x": 0,
  1642. "y": 80
  1643. },
  1644. "id": 18,
  1645. "panels": [],
  1646. "title": "HTTP Statistics",
  1647. "type": "row"
  1648. },
  1649. {
  1650. "aliasColors": {},
  1651. "bars": false,
  1652. "dashLength": 10,
  1653. "dashes": false,
  1654. "datasource": "${DS_PROMETHEUS}",
  1655. "fill": 1,
  1656. "gridPos": {
  1657. "h": 7,
  1658. "w": 24,
  1659. "x": 0,
  1660. "y": 81
  1661. },
  1662. "id": 4,
  1663. "legend": {
  1664. "alignAsTable": true,
  1665. "avg": false,
  1666. "current": false,
  1667. "max": false,
  1668. "min": false,
  1669. "rightSide": true,
  1670. "show": true,
  1671. "total": false,
  1672. "values": false
  1673. },
  1674. "lines": true,
  1675. "linewidth": 1,
  1676. "links": [],
  1677. "nullPointMode": "null",
  1678. "percentage": false,
  1679. "pointradius": 5,
  1680. "points": false,
  1681. "renderer": "flot",
  1682. "seriesOverrides": [],
  1683. "spaceLength": 10,
  1684. "stack": false,
  1685. "steppedLine": false,
  1686. "targets": [
  1687. {
  1688. "expr": "irate(http_server_requests_seconds_count{pod=\"$pod\", namespace=\"$namespace\", uri!~\".*actuator.*\"}[5m])",
  1689. "format": "time_series",
  1690. "intervalFactor": 1,
  1691. "legendFormat": "{{method}} [{{status}}] - {{uri}}",
  1692. "refId": "A"
  1693. }
  1694. ],
  1695. "thresholds": [],
  1696. "timeFrom": null,
  1697. "timeShift": null,
  1698. "title": "Request Count",
  1699. "tooltip": {
  1700. "shared": true,
  1701. "sort": 0,
  1702. "value_type": "individual"
  1703. },
  1704. "type": "graph",
  1705. "xaxis": {
  1706. "buckets": null,
  1707. "mode": "time",
  1708. "name": null,
  1709. "show": true,
  1710. "values": []
  1711. },
  1712. "yaxes": [
  1713. {
  1714. "decimals": null,
  1715. "format": "none",
  1716. "label": null,
  1717. "logBase": 1,
  1718. "max": null,
  1719. "min": null,
  1720. "show": true
  1721. },
  1722. {
  1723. "format": "short",
  1724. "label": null,
  1725. "logBase": 1,
  1726. "max": null,
  1727. "min": null,
  1728. "show": true
  1729. }
  1730. ],
  1731. "yaxis": {
  1732. "align": false,
  1733. "alignLevel": null
  1734. }
  1735. },
  1736. {
  1737. "aliasColors": {},
  1738. "bars": false,
  1739. "dashLength": 10,
  1740. "dashes": false,
  1741. "datasource": "${DS_PROMETHEUS}",
  1742. "fill": 1,
  1743. "gridPos": {
  1744. "h": 7,
  1745. "w": 24,
  1746. "x": 0,
  1747. "y": 88
  1748. },
  1749. "id": 2,
  1750. "legend": {
  1751. "alignAsTable": true,
  1752. "avg": true,
  1753. "current": false,
  1754. "max": true,
  1755. "min": true,
  1756. "rightSide": true,
  1757. "show": true,
  1758. "total": false,
  1759. "values": true
  1760. },
  1761. "lines": true,
  1762. "linewidth": 1,
  1763. "links": [],
  1764. "nullPointMode": "null",
  1765. "percentage": false,
  1766. "pointradius": 5,
  1767. "points": false,
  1768. "renderer": "flot",
  1769. "seriesOverrides": [],
  1770. "spaceLength": 10,
  1771. "stack": false,
  1772. "steppedLine": false,
  1773. "targets": [
  1774. {
  1775. "expr": "irate(http_server_requests_seconds_sum{pod=\"$pod\", namespace=\"$namespace\", exception=\"None\", uri!~\".*actuator.*\"}[5m]) / irate(http_server_requests_seconds_count{pod=\"$pod\", namespace=\"$namespace\", exception=\"None\", uri!~\".*actuator.*\"}[5m])",
  1776. "format": "time_series",
  1777. "intervalFactor": 1,
  1778. "legendFormat": "{{method}} [{{status}}] - {{uri}}",
  1779. "refId": "A"
  1780. }
  1781. ],
  1782. "thresholds": [],
  1783. "timeFrom": null,
  1784. "timeShift": null,
  1785. "title": "Response Time",
  1786. "tooltip": {
  1787. "shared": true,
  1788. "sort": 0,
  1789. "value_type": "individual"
  1790. },
  1791. "type": "graph",
  1792. "xaxis": {
  1793. "buckets": null,
  1794. "mode": "time",
  1795. "name": null,
  1796. "show": true,
  1797. "values": []
  1798. },
  1799. "yaxes": [
  1800. {
  1801. "format": "s",
  1802. "label": "",
  1803. "logBase": 1,
  1804. "max": null,
  1805. "min": null,
  1806. "show": true
  1807. },
  1808. {
  1809. "format": "short",
  1810. "label": null,
  1811. "logBase": 1,
  1812. "max": null,
  1813. "min": null,
  1814. "show": true
  1815. }
  1816. ],
  1817. "yaxis": {
  1818. "align": false,
  1819. "alignLevel": null
  1820. }
  1821. },
  1822. {
  1823. "collapsed": false,
  1824. "gridPos": {
  1825. "h": 1,
  1826. "w": 24,
  1827. "x": 0,
  1828. "y": 95
  1829. },
  1830. "id": 22,
  1831. "panels": [],
  1832. "title": "Tomcat Statistics",
  1833. "type": "row"
  1834. },
  1835. {
  1836. "cacheTimeout": null,
  1837. "colorBackground": false,
  1838. "colorValue": false,
  1839. "colors": [
  1840. "#299c46",
  1841. "rgba(237, 129, 40, 0.89)",
  1842. "#d44a3a"
  1843. ],
  1844. "datasource": "${DS_PROMETHEUS}",
  1845. "format": "locale",
  1846. "gauge": {
  1847. "maxValue": 100,
  1848. "minValue": 0,
  1849. "show": false,
  1850. "thresholdLabels": false,
  1851. "thresholdMarkers": true
  1852. },
  1853. "gridPos": {
  1854. "h": 4,
  1855. "w": 4,
  1856. "x": 0,
  1857. "y": 96
  1858. },
  1859. "id": 28,
  1860. "interval": null,
  1861. "links": [],
  1862. "mappingType": 1,
  1863. "mappingTypes": [
  1864. {
  1865. "name": "value to text",
  1866. "value": 1
  1867. },
  1868. {
  1869. "name": "range to text",
  1870. "value": 2
  1871. }
  1872. ],
  1873. "maxDataPoints": 100,
  1874. "nullPointMode": "connected",
  1875. "nullText": null,
  1876. "postfix": "",
  1877. "postfixFontSize": "50%",
  1878. "prefix": "",
  1879. "prefixFontSize": "50%",
  1880. "rangeMaps": [
  1881. {
  1882. "from": "null",
  1883. "text": "N/A",
  1884. "to": "null"
  1885. }
  1886. ],
  1887. "sparkline": {
  1888. "fillColor": "rgba(31, 118, 189, 0.18)",
  1889. "full": false,
  1890. "lineColor": "rgb(31, 120, 193)",
  1891. "show": false
  1892. },
  1893. "tableColumn": "",
  1894. "targets": [
  1895. {
  1896. "expr": "tomcat_global_error_total{pod=\"$pod\", namespace=\"$namespace\"}",
  1897. "format": "time_series",
  1898. "intervalFactor": 1,
  1899. "legendFormat": "",
  1900. "refId": "A"
  1901. }
  1902. ],
  1903. "thresholds": "",
  1904. "title": "Total Error Count",
  1905. "type": "singlestat",
  1906. "valueFontSize": "80%",
  1907. "valueMaps": [
  1908. {
  1909. "op": "=",
  1910. "text": "N/A",
  1911. "value": "null"
  1912. }
  1913. ],
  1914. "valueName": "current"
  1915. },
  1916. {
  1917. "aliasColors": {},
  1918. "bars": false,
  1919. "dashLength": 10,
  1920. "dashes": false,
  1921. "datasource": "${DS_PROMETHEUS}",
  1922. "decimals": 0,
  1923. "fill": 1,
  1924. "gridPos": {
  1925. "h": 7,
  1926. "w": 9,
  1927. "x": 4,
  1928. "y": 96
  1929. },
  1930. "id": 24,
  1931. "legend": {
  1932. "alignAsTable": true,
  1933. "avg": true,
  1934. "current": true,
  1935. "max": true,
  1936. "min": true,
  1937. "show": true,
  1938. "total": false,
  1939. "values": true
  1940. },
  1941. "lines": true,
  1942. "linewidth": 1,
  1943. "links": [],
  1944. "nullPointMode": "null",
  1945. "percentage": false,
  1946. "pointradius": 5,
  1947. "points": false,
  1948. "renderer": "flot",
  1949. "seriesOverrides": [],
  1950. "spaceLength": 10,
  1951. "stack": false,
  1952. "steppedLine": false,
  1953. "targets": [
  1954. {
  1955. "expr": "tomcat_sessions_active_current_sessions{pod=\"$pod\", namespace=\"$namespace\"}",
  1956. "format": "time_series",
  1957. "intervalFactor": 1,
  1958. "legendFormat": "active sessions",
  1959. "refId": "A"
  1960. }
  1961. ],
  1962. "thresholds": [],
  1963. "timeFrom": null,
  1964. "timeShift": null,
  1965. "title": "Active Sessions",
  1966. "tooltip": {
  1967. "shared": true,
  1968. "sort": 0,
  1969. "value_type": "individual"
  1970. },
  1971. "type": "graph",
  1972. "xaxis": {
  1973. "buckets": null,
  1974. "mode": "time",
  1975. "name": null,
  1976. "show": true,
  1977. "values": []
  1978. },
  1979. "yaxes": [
  1980. {
  1981. "decimals": null,
  1982. "format": "none",
  1983. "label": "",
  1984. "logBase": 1,
  1985. "max": null,
  1986. "min": null,
  1987. "show": true
  1988. },
  1989. {
  1990. "decimals": null,
  1991. "format": "short",
  1992. "label": null,
  1993. "logBase": 1,
  1994. "max": null,
  1995. "min": null,
  1996. "show": true
  1997. }
  1998. ],
  1999. "yaxis": {
  2000. "align": false,
  2001. "alignLevel": null
  2002. }
  2003. },
  2004. {
  2005. "aliasColors": {},
  2006. "bars": false,
  2007. "dashLength": 10,
  2008. "dashes": false,
  2009. "datasource": "${DS_PROMETHEUS}",
  2010. "fill": 1,
  2011. "gridPos": {
  2012. "h": 7,
  2013. "w": 11,
  2014. "x": 13,
  2015. "y": 96
  2016. },
  2017. "id": 26,
  2018. "legend": {
  2019. "alignAsTable": true,
  2020. "avg": true,
  2021. "current": true,
  2022. "max": true,
  2023. "min": true,
  2024. "show": true,
  2025. "total": false,
  2026. "values": true
  2027. },
  2028. "lines": true,
  2029. "linewidth": 1,
  2030. "links": [],
  2031. "nullPointMode": "null",
  2032. "percentage": false,
  2033. "pointradius": 5,
  2034. "points": false,
  2035. "renderer": "flot",
  2036. "seriesOverrides": [],
  2037. "spaceLength": 10,
  2038. "stack": false,
  2039. "steppedLine": false,
  2040. "targets": [
  2041. {
  2042. "expr": "irate(tomcat_global_sent_bytes_total{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
  2043. "format": "time_series",
  2044. "intervalFactor": 1,
  2045. "legendFormat": "Sent Bytes",
  2046. "refId": "A"
  2047. },
  2048. {
  2049. "expr": "irate(tomcat_global_received_bytes_total{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
  2050. "format": "time_series",
  2051. "intervalFactor": 1,
  2052. "legendFormat": "Recieved Bytes",
  2053. "refId": "B"
  2054. }
  2055. ],
  2056. "thresholds": [],
  2057. "timeFrom": null,
  2058. "timeShift": null,
  2059. "title": "Sent & Recieved Bytes",
  2060. "tooltip": {
  2061. "shared": true,
  2062. "sort": 0,
  2063. "value_type": "individual"
  2064. },
  2065. "type": "graph",
  2066. "xaxis": {
  2067. "buckets": null,
  2068. "mode": "time",
  2069. "name": null,
  2070. "show": true,
  2071. "values": []
  2072. },
  2073. "yaxes": [
  2074. {
  2075. "format": "bytes",
  2076. "label": null,
  2077. "logBase": 1,
  2078. "max": null,
  2079. "min": null,
  2080. "show": true
  2081. },
  2082. {
  2083. "format": "short",
  2084. "label": null,
  2085. "logBase": 1,
  2086. "max": null,
  2087. "min": null,
  2088. "show": true
  2089. }
  2090. ],
  2091. "yaxis": {
  2092. "align": false,
  2093. "alignLevel": null
  2094. }
  2095. },
  2096. {
  2097. "cacheTimeout": null,
  2098. "colorBackground": false,
  2099. "colorValue": false,
  2100. "colors": [
  2101. "#299c46",
  2102. "rgba(237, 129, 40, 0.89)",
  2103. "#d44a3a"
  2104. ],
  2105. "datasource": "${DS_PROMETHEUS}",
  2106. "format": "locale",
  2107. "gauge": {
  2108. "maxValue": 100,
  2109. "minValue": 0,
  2110. "show": false,
  2111. "thresholdLabels": false,
  2112. "thresholdMarkers": true
  2113. },
  2114. "gridPos": {
  2115. "h": 3,
  2116. "w": 4,
  2117. "x": 0,
  2118. "y": 100
  2119. },
  2120. "id": 32,
  2121. "interval": null,
  2122. "links": [],
  2123. "mappingType": 1,
  2124. "mappingTypes": [
  2125. {
  2126. "name": "value to text",
  2127. "value": 1
  2128. },
  2129. {
  2130. "name": "range to text",
  2131. "value": 2
  2132. }
  2133. ],
  2134. "maxDataPoints": 100,
  2135. "nullPointMode": "connected",
  2136. "nullText": null,
  2137. "postfix": "",
  2138. "postfixFontSize": "50%",
  2139. "prefix": "",
  2140. "prefixFontSize": "50%",
  2141. "rangeMaps": [
  2142. {
  2143. "from": "null",
  2144. "text": "N/A",
  2145. "to": "null"
  2146. }
  2147. ],
  2148. "sparkline": {
  2149. "fillColor": "rgba(31, 118, 189, 0.18)",
  2150. "full": false,
  2151. "lineColor": "rgb(31, 120, 193)",
  2152. "show": false
  2153. },
  2154. "tableColumn": "",
  2155. "targets": [
  2156. {
  2157. "expr": "tomcat_threads_config_max{pod=\"$pod\", namespace=\"$namespace\"}",
  2158. "format": "time_series",
  2159. "intervalFactor": 1,
  2160. "legendFormat": "",
  2161. "refId": "A"
  2162. }
  2163. ],
  2164. "thresholds": "",
  2165. "title": "Thread Config Max",
  2166. "type": "singlestat",
  2167. "valueFontSize": "80%",
  2168. "valueMaps": [
  2169. {
  2170. "op": "=",
  2171. "text": "N/A",
  2172. "value": "null"
  2173. }
  2174. ],
  2175. "valueName": "current"
  2176. },
  2177. {
  2178. "aliasColors": {},
  2179. "bars": false,
  2180. "dashLength": 10,
  2181. "dashes": false,
  2182. "datasource": "${DS_PROMETHEUS}",
  2183. "fill": 1,
  2184. "gridPos": {
  2185. "h": 7,
  2186. "w": 13,
  2187. "x": 0,
  2188. "y": 103
  2189. },
  2190. "id": 30,
  2191. "legend": {
  2192. "alignAsTable": true,
  2193. "avg": true,
  2194. "current": true,
  2195. "max": true,
  2196. "min": true,
  2197. "show": true,
  2198. "total": false,
  2199. "values": true
  2200. },
  2201. "lines": true,
  2202. "linewidth": 1,
  2203. "links": [],
  2204. "nullPointMode": "null",
  2205. "percentage": false,
  2206. "pointradius": 5,
  2207. "points": false,
  2208. "renderer": "flot",
  2209. "seriesOverrides": [],
  2210. "spaceLength": 10,
  2211. "stack": false,
  2212. "steppedLine": false,
  2213. "targets": [
  2214. {
  2215. "expr": "tomcat_threads_current_threads{pod=\"$pod\", namespace=\"$namespace\"}",
  2216. "format": "time_series",
  2217. "intervalFactor": 1,
  2218. "legendFormat": "Current thread",
  2219. "refId": "A"
  2220. },
  2221. {
  2222. "expr": "tomcat_threads_busy_threads{pod=\"$pod\", namespace=\"$namespace\"}",
  2223. "format": "time_series",
  2224. "intervalFactor": 1,
  2225. "legendFormat": "Current thread busy",
  2226. "refId": "B"
  2227. }
  2228. ],
  2229. "thresholds": [],
  2230. "timeFrom": null,
  2231. "timeShift": null,
  2232. "title": "Threads",
  2233. "tooltip": {
  2234. "shared": true,
  2235. "sort": 0,
  2236. "value_type": "individual"
  2237. },
  2238. "type": "graph",
  2239. "xaxis": {
  2240. "buckets": null,
  2241. "mode": "time",
  2242. "name": null,
  2243. "show": true,
  2244. "values": []
  2245. },
  2246. "yaxes": [
  2247. {
  2248. "format": "short",
  2249. "label": null,
  2250. "logBase": 1,
  2251. "max": null,
  2252. "min": null,
  2253. "show": true
  2254. },
  2255. {
  2256. "format": "short",
  2257. "label": null,
  2258. "logBase": 1,
  2259. "max": null,
  2260. "min": null,
  2261. "show": true
  2262. }
  2263. ],
  2264. "yaxis": {
  2265. "align": false,
  2266. "alignLevel": null
  2267. }
  2268. },
  2269. {
  2270. "collapsed": false,
  2271. "gridPos": {
  2272. "h": 1,
  2273. "w": 24,
  2274. "x": 0,
  2275. "y": 110
  2276. },
  2277. "id": 8,
  2278. "panels": [],
  2279. "title": "Logback Statistics",
  2280. "type": "row"
  2281. },
  2282. {
  2283. "aliasColors": {},
  2284. "bars": false,
  2285. "dashLength": 10,
  2286. "dashes": false,
  2287. "datasource": "${DS_PROMETHEUS}",
  2288. "fill": 1,
  2289. "gridPos": {
  2290. "h": 7,
  2291. "w": 12,
  2292. "x": 0,
  2293. "y": 111
  2294. },
  2295. "id": 6,
  2296. "legend": {
  2297. "alignAsTable": true,
  2298. "avg": true,
  2299. "current": true,
  2300. "max": true,
  2301. "min": true,
  2302. "show": true,
  2303. "total": true,
  2304. "values": true
  2305. },
  2306. "lines": true,
  2307. "linewidth": 1,
  2308. "links": [],
  2309. "nullPointMode": "null",
  2310. "percentage": false,
  2311. "pointradius": 5,
  2312. "points": false,
  2313. "renderer": "flot",
  2314. "seriesOverrides": [],
  2315. "spaceLength": 10,
  2316. "stack": false,
  2317. "steppedLine": false,
  2318. "targets": [
  2319. {
  2320. "alias": "",
  2321. "expr": "irate(logback_events_total{pod=\"$pod\", namespace=\"$namespace\", level=\"info\"}[5m])",
  2322. "format": "time_series",
  2323. "intervalFactor": 1,
  2324. "legendFormat": "info",
  2325. "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
  2326. "refId": "A"
  2327. }
  2328. ],
  2329. "thresholds": [],
  2330. "timeFrom": null,
  2331. "timeShift": null,
  2332. "title": "INFO logs",
  2333. "tooltip": {
  2334. "shared": true,
  2335. "sort": 0,
  2336. "value_type": "individual"
  2337. },
  2338. "type": "graph",
  2339. "xaxis": {
  2340. "buckets": null,
  2341. "mode": "time",
  2342. "name": null,
  2343. "show": true,
  2344. "values": []
  2345. },
  2346. "yaxes": [
  2347. {
  2348. "format": "none",
  2349. "label": null,
  2350. "logBase": 1,
  2351. "max": null,
  2352. "min": null,
  2353. "show": true
  2354. },
  2355. {
  2356. "format": "short",
  2357. "label": null,
  2358. "logBase": 1,
  2359. "max": null,
  2360. "min": null,
  2361. "show": true
  2362. }
  2363. ],
  2364. "yaxis": {
  2365. "align": false,
  2366. "alignLevel": null
  2367. }
  2368. },
  2369. {
  2370. "aliasColors": {},
  2371. "bars": false,
  2372. "dashLength": 10,
  2373. "dashes": false,
  2374. "datasource": "${DS_PROMETHEUS}",
  2375. "fill": 1,
  2376. "gridPos": {
  2377. "h": 7,
  2378. "w": 12,
  2379. "x": 12,
  2380. "y": 111
  2381. },
  2382. "id": 10,
  2383. "legend": {
  2384. "alignAsTable": true,
  2385. "avg": true,
  2386. "current": true,
  2387. "max": true,
  2388. "min": true,
  2389. "show": true,
  2390. "total": true,
  2391. "values": true
  2392. },
  2393. "lines": true,
  2394. "linewidth": 1,
  2395. "links": [],
  2396. "nullPointMode": "null",
  2397. "percentage": false,
  2398. "pointradius": 5,
  2399. "points": false,
  2400. "renderer": "flot",
  2401. "seriesOverrides": [],
  2402. "spaceLength": 10,
  2403. "stack": false,
  2404. "steppedLine": false,
  2405. "targets": [
  2406. {
  2407. "alias": "",
  2408. "expr": "irate(logback_events_total{pod=\"$pod\", namespace=\"$namespace\", level=\"error\"}[5m])",
  2409. "format": "time_series",
  2410. "intervalFactor": 1,
  2411. "legendFormat": "error",
  2412. "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
  2413. "refId": "A"
  2414. }
  2415. ],
  2416. "thresholds": [],
  2417. "timeFrom": null,
  2418. "timeShift": null,
  2419. "title": "ERROR logs",
  2420. "tooltip": {
  2421. "shared": true,
  2422. "sort": 0,
  2423. "value_type": "individual"
  2424. },
  2425. "type": "graph",
  2426. "xaxis": {
  2427. "buckets": null,
  2428. "mode": "time",
  2429. "name": null,
  2430. "show": true,
  2431. "values": []
  2432. },
  2433. "yaxes": [
  2434. {
  2435. "format": "none",
  2436. "label": null,
  2437. "logBase": 1,
  2438. "max": null,
  2439. "min": null,
  2440. "show": true
  2441. },
  2442. {
  2443. "format": "short",
  2444. "label": null,
  2445. "logBase": 1,
  2446. "max": null,
  2447. "min": null,
  2448. "show": true
  2449. }
  2450. ],
  2451. "yaxis": {
  2452. "align": false,
  2453. "alignLevel": null
  2454. }
  2455. },
  2456. {
  2457. "aliasColors": {},
  2458. "bars": false,
  2459. "dashLength": 10,
  2460. "dashes": false,
  2461. "datasource": "${DS_PROMETHEUS}",
  2462. "fill": 1,
  2463. "gridPos": {
  2464. "h": 7,
  2465. "w": 8,
  2466. "x": 0,
  2467. "y": 118
  2468. },
  2469. "id": 14,
  2470. "legend": {
  2471. "alignAsTable": true,
  2472. "avg": true,
  2473. "current": true,
  2474. "max": true,
  2475. "min": true,
  2476. "show": true,
  2477. "total": true,
  2478. "values": true
  2479. },
  2480. "lines": true,
  2481. "linewidth": 1,
  2482. "links": [],
  2483. "nullPointMode": "null",
  2484. "percentage": false,
  2485. "pointradius": 5,
  2486. "points": false,
  2487. "renderer": "flot",
  2488. "seriesOverrides": [],
  2489. "spaceLength": 10,
  2490. "stack": false,
  2491. "steppedLine": false,
  2492. "targets": [
  2493. {
  2494. "alias": "",
  2495. "expr": "irate(logback_events_total{pod=\"$pod\", namespace=\"$namespace\", level=\"warn\"}[5m])",
  2496. "format": "time_series",
  2497. "intervalFactor": 1,
  2498. "legendFormat": "warn",
  2499. "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
  2500. "refId": "A"
  2501. }
  2502. ],
  2503. "thresholds": [],
  2504. "timeFrom": null,
  2505. "timeShift": null,
  2506. "title": "WARN logs",
  2507. "tooltip": {
  2508. "shared": true,
  2509. "sort": 0,
  2510. "value_type": "individual"
  2511. },
  2512. "type": "graph",
  2513. "xaxis": {
  2514. "buckets": null,
  2515. "mode": "time",
  2516. "name": null,
  2517. "show": true,
  2518. "values": []
  2519. },
  2520. "yaxes": [
  2521. {
  2522. "format": "none",
  2523. "label": null,
  2524. "logBase": 1,
  2525. "max": null,
  2526. "min": null,
  2527. "show": true
  2528. },
  2529. {
  2530. "format": "short",
  2531. "label": null,
  2532. "logBase": 1,
  2533. "max": null,
  2534. "min": null,
  2535. "show": true
  2536. }
  2537. ],
  2538. "yaxis": {
  2539. "align": false,
  2540. "alignLevel": null
  2541. }
  2542. },
  2543. {
  2544. "aliasColors": {},
  2545. "bars": false,
  2546. "dashLength": 10,
  2547. "dashes": false,
  2548. "datasource": "${DS_PROMETHEUS}",
  2549. "fill": 1,
  2550. "gridPos": {
  2551. "h": 7,
  2552. "w": 8,
  2553. "x": 8,
  2554. "y": 118
  2555. },
  2556. "id": 16,
  2557. "legend": {
  2558. "alignAsTable": true,
  2559. "avg": true,
  2560. "current": true,
  2561. "max": true,
  2562. "min": true,
  2563. "show": true,
  2564. "total": true,
  2565. "values": true
  2566. },
  2567. "lines": true,
  2568. "linewidth": 1,
  2569. "links": [],
  2570. "nullPointMode": "null",
  2571. "percentage": false,
  2572. "pointradius": 5,
  2573. "points": false,
  2574. "renderer": "flot",
  2575. "seriesOverrides": [],
  2576. "spaceLength": 10,
  2577. "stack": false,
  2578. "steppedLine": false,
  2579. "targets": [
  2580. {
  2581. "alias": "",
  2582. "expr": "irate(logback_events_total{pod=\"$pod\", namespace=\"$namespace\", level=\"debug\"}[5m])",
  2583. "format": "time_series",
  2584. "intervalFactor": 1,
  2585. "legendFormat": "debug",
  2586. "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
  2587. "refId": "A"
  2588. }
  2589. ],
  2590. "thresholds": [],
  2591. "timeFrom": null,
  2592. "timeShift": null,
  2593. "title": "DEBUG logs",
  2594. "tooltip": {
  2595. "shared": true,
  2596. "sort": 0,
  2597. "value_type": "individual"
  2598. },
  2599. "type": "graph",
  2600. "xaxis": {
  2601. "buckets": null,
  2602. "mode": "time",
  2603. "name": null,
  2604. "show": true,
  2605. "values": []
  2606. },
  2607. "yaxes": [
  2608. {
  2609. "format": "none",
  2610. "label": null,
  2611. "logBase": 1,
  2612. "max": null,
  2613. "min": null,
  2614. "show": true
  2615. },
  2616. {
  2617. "format": "short",
  2618. "label": null,
  2619. "logBase": 1,
  2620. "max": null,
  2621. "min": null,
  2622. "show": true
  2623. }
  2624. ],
  2625. "yaxis": {
  2626. "align": false,
  2627. "alignLevel": null
  2628. }
  2629. },
  2630. {
  2631. "aliasColors": {},
  2632. "bars": false,
  2633. "dashLength": 10,
  2634. "dashes": false,
  2635. "datasource": "${DS_PROMETHEUS}",
  2636. "fill": 1,
  2637. "gridPos": {
  2638. "h": 7,
  2639. "w": 8,
  2640. "x": 16,
  2641. "y": 118
  2642. },
  2643. "id": 20,
  2644. "legend": {
  2645. "alignAsTable": true,
  2646. "avg": true,
  2647. "current": true,
  2648. "max": true,
  2649. "min": true,
  2650. "show": true,
  2651. "total": true,
  2652. "values": true
  2653. },
  2654. "lines": true,
  2655. "linewidth": 1,
  2656. "links": [],
  2657. "nullPointMode": "null",
  2658. "percentage": false,
  2659. "pointradius": 5,
  2660. "points": false,
  2661. "renderer": "flot",
  2662. "seriesOverrides": [],
  2663. "spaceLength": 10,
  2664. "stack": false,
  2665. "steppedLine": false,
  2666. "targets": [
  2667. {
  2668. "alias": "",
  2669. "expr": "irate(logback_events_total{pod=\"$pod\", namespace=\"$namespace\", level=\"trace\"}[5m])",
  2670. "format": "time_series",
  2671. "intervalFactor": 1,
  2672. "legendFormat": "trace",
  2673. "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
  2674. "refId": "A"
  2675. }
  2676. ],
  2677. "thresholds": [],
  2678. "timeFrom": null,
  2679. "timeShift": null,
  2680. "title": "TRACE logs",
  2681. "tooltip": {
  2682. "shared": true,
  2683. "sort": 0,
  2684. "value_type": "individual"
  2685. },
  2686. "type": "graph",
  2687. "xaxis": {
  2688. "buckets": null,
  2689. "mode": "time",
  2690. "name": null,
  2691. "show": true,
  2692. "values": []
  2693. },
  2694. "yaxes": [
  2695. {
  2696. "format": "none",
  2697. "label": null,
  2698. "logBase": 1,
  2699. "max": null,
  2700. "min": null,
  2701. "show": true
  2702. },
  2703. {
  2704. "format": "short",
  2705. "label": null,
  2706. "logBase": 1,
  2707. "max": null,
  2708. "min": null,
  2709. "show": true
  2710. }
  2711. ],
  2712. "yaxis": {
  2713. "align": false,
  2714. "alignLevel": null
  2715. }
  2716. }
  2717. ],
  2718. "refresh": false,
  2719. "schemaVersion": 16,
  2720. "style": "dark",
  2721. "tags": [],
  2722. "templating": {
  2723. "list": [
  2724. {
  2725. "allValue": null,
  2726. "current": {},
  2727. "datasource": "${DS_PROMETHEUS}",
  2728. "hide": 0,
  2729. "includeAll": false,
  2730. "label": "Namespace",
  2731. "multi": false,
  2732. "name": "namespace",
  2733. "options": [],
  2734. "query": "label_values(jvm_classes_loaded_classes, namespace)",
  2735. "refresh": 1,
  2736. "regex": "",
  2737. "sort": 1,
  2738. "tagValuesQuery": "",
  2739. "tags": [],
  2740. "tagsQuery": "",
  2741. "type": "query",
  2742. "useTags": false
  2743. },
  2744. {
  2745. "allValue": null,
  2746. "current": {},
  2747. "datasource": "${DS_PROMETHEUS}",
  2748. "hide": 0,
  2749. "includeAll": false,
  2750. "label": "Pod",
  2751. "multi": false,
  2752. "name": "pod",
  2753. "options": [],
  2754. "query": "label_values(jvm_classes_loaded_classes{namespace=\"$namespace\"}, pod)",
  2755. "refresh": 1,
  2756. "regex": "",
  2757. "sort": 1,
  2758. "tagValuesQuery": "",
  2759. "tags": [],
  2760. "tagsQuery": "",
  2761. "type": "query",
  2762. "useTags": false
  2763. },
  2764. {
  2765. "allValue": null,
  2766. "current": {},
  2767. "datasource": "${DS_PROMETHEUS}",
  2768. "hide": 0,
  2769. "includeAll": true,
  2770. "label": "Memory Pool (heap)",
  2771. "multi": false,
  2772. "name": "memory_pool_heap",
  2773. "options": [],
  2774. "query": "label_values(jvm_memory_used_bytes{namespace=\"$namespace\", pod=\"$pod\", area=\"heap\"},id)",
  2775. "refresh": 1,
  2776. "regex": "",
  2777. "sort": 1,
  2778. "tagValuesQuery": "",
  2779. "tags": [],
  2780. "tagsQuery": "",
  2781. "type": "query",
  2782. "useTags": false
  2783. },
  2784. {
  2785. "allValue": null,
  2786. "current": {},
  2787. "datasource": "${DS_PROMETHEUS}",
  2788. "hide": 0,
  2789. "includeAll": true,
  2790. "label": "Memory Pool (nonheap)",
  2791. "multi": false,
  2792. "name": "memory_pool_nonheap",
  2793. "options": [],
  2794. "query": "label_values(jvm_memory_used_bytes{namespace=\"$namespace\", pod=\"$pod\", area=\"nonheap\"},id)",
  2795. "refresh": 1,
  2796. "regex": "",
  2797. "sort": 1,
  2798. "tagValuesQuery": "",
  2799. "tags": [],
  2800. "tagsQuery": "",
  2801. "type": "query",
  2802. "useTags": false
  2803. }
  2804. ]
  2805. },
  2806. "time": {
  2807. "from": "now-1h",
  2808. "to": "now"
  2809. },
  2810. "timepicker": {
  2811. "refresh_intervals": [
  2812. "5s",
  2813. "10s",
  2814. "30s",
  2815. "1m",
  2816. "5m",
  2817. "15m",
  2818. "30m",
  2819. "1h",
  2820. "2h",
  2821. "1d"
  2822. ],
  2823. "time_options": [
  2824. "5m",
  2825. "15m",
  2826. "1h",
  2827. "6h",
  2828. "12h",
  2829. "24h",
  2830. "2d",
  2831. "7d",
  2832. "30d"
  2833. ]
  2834. },
  2835. "timezone": "",
  2836. "title": "Spring Boot 2.x Statistics",
  2837. "version": 15,
  2838. "description": "Dashboard for Spring Boot2 Statistics(by micrometer-prometheus)."
  2839. }

Spring Boot Statistics

{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.1.3"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": "5.0.0"
    }
  ],
  "editable": true,
  "gnetId": 6756,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1530521539038,
  "links": [],
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 54,
      "panels": [],
      "title": "Basic Statistics",
      "type": "row"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(245, 54, 54, 0.9)",
        "#5195ce",
        "rgba(50, 172, 45, 0.97)"
      ],
      "datasource": "${DS_PROMETHEUS}",
      "decimals": 1,
      "editable": true,
      "error": false,
      "format": "s",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 3,
        "w": 6,
        "x": 0,
        "y": 1
      },
      "height": "",
      "id": 52,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "70%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "expr": "process_uptime_seconds{namespace=\"$namespace\", pod=\"$pod\"}",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "",
          "metric": "",
          "refId": "A",
          "step": 14400
        }
      ],
      "thresholds": "",
      "title": "Uptime",
      "transparent": false,
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "${DS_PROMETHEUS}",
      "decimals": 1,
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": true,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 6,
        "w": 5,
        "x": 6,
        "y": 1
      },
      "id": 58,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "70%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "expr": "sum(jvm_memory_used_bytes{namespace=\"$namespace\", pod=\"$pod\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{namespace=\"$namespace\",pod=\"$pod\", area=\"heap\"})",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "",
          "refId": "A",
          "step": 14400
        }
      ],
      "thresholds": "70,90",
      "title": "Heap Used",
      "type": "singlestat",
      "valueFontSize": "70%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "${DS_PROMETHEUS}",
      "decimals": 1,
      "editable": true,
      "error": false,
      "format": "percent",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": true,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 6,
        "w": 5,
        "x": 11,
        "y": 1
      },
      "id": 60,
      "interval": null,
      "links": [],
      "mappingType": 2,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "70%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        },
        {
          "from": "-99999999999999999999999999999999",
          "text": "N/A",
          "to": "0"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "expr": "sum(jvm_memory_used_bytes{namespace=\"$namespace\", pod=\"$pod\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{namespace=\"$namespace\",pod=\"$pod\", area=\"nonheap\"})",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "",
          "refId": "A",
          "step": 14400
        }
      ],
      "thresholds": "70,90",
      "title": "Non-Heap Used",
      "type": "singlestat",
      "valueFontSize": "70%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        },
        {
          "op": "=",
          "text": "x",
          "value": ""
        }
      ],
      "valueName": "current"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 16,
        "y": 1
      },
      "id": 66,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "process_files_open{namespace=\"$namespace\", pod=\"$pod\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Open Files",
          "refId": "A"
        },
        {
          "expr": "process_files_max{namespace=\"$namespace\", pod=\"$pod\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Max Files",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Process Open Files",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "locale",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": true,
      "colors": [
        "rgba(245, 54, 54, 0.9)",
        "#5195ce",
        "rgba(50, 172, 45, 0.97)"
      ],
      "datasource": "${DS_PROMETHEUS}",
      "decimals": null,
      "editable": true,
      "error": false,
      "format": "dateTimeAsIso",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 3,
        "w": 6,
        "x": 0,
        "y": 4
      },
      "height": "",
      "id": 56,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "70%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "expr": "process_start_time_seconds{namespace=\"$namespace\", pod=\"$pod\"}*1000",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "",
          "metric": "",
          "refId": "A",
          "step": 14400
        }
      ],
      "thresholds": "",
      "title": "Start time",
      "transparent": false,
      "type": "singlestat",
      "valueFontSize": "70%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 7
      },
      "id": 95,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "system_cpu_usage{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "System CPU Usage",
          "refId": "A"
        },
        {
          "expr": "process_cpu_usage{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Process CPU Usage",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "CPU Usage",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 7
      },
      "id": 96,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "system_load_average_1m{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Load Average [1m]",
          "refId": "A"
        },
        {
          "expr": "system_cpu_count{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "CPU Core Size",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Load Average",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 14
      },
      "id": 48,
      "panels": [],
      "title": "JVM Statistics - Memory",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 0,
        "y": 15
      },
      "id": 85,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "minSpan": null,
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "memory_pool_heap",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "jvm_memory_used_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_heap\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Used",
          "refId": "C"
        },
        {
          "expr": "jvm_memory_committed_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_heap\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Commited",
          "refId": "A"
        },
        {
          "expr": "jvm_memory_max_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_heap\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Max",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "$memory_pool_heap (heap)",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 15
      },
      "id": 80,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "irate(jvm_classes_unloaded_total{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Classes Unloaded",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Classes Unloaded",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 0,
        "y": 23
      },
      "id": 88,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "minSpan": null,
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "memory_pool_nonheap",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "jvm_memory_used_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_nonheap\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Used",
          "refId": "C"
        },
        {
          "expr": "jvm_memory_committed_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_nonheap\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Commited",
          "refId": "A"
        },
        {
          "expr": "jvm_memory_max_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"$memory_pool_nonheap\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Max",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "$memory_pool_nonheap (non-heap)",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 23
      },
      "id": 83,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "jvm_buffer_memory_used_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"mapped\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Used Bytes",
          "refId": "A"
        },
        {
          "expr": "jvm_buffer_total_capacity_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"mapped\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Capacity Bytes",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Mapped Buffers",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 30
      },
      "id": 78,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "irate(jvm_gc_memory_allocated_bytes_total{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "allocated",
          "refId": "A"
        },
        {
          "expr": "irate(jvm_gc_memory_promoted_bytes_total{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "promoted",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Memory Allocate/Promote",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "decimals": 0,
      "fill": 1,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 31
      },
      "id": 50,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "jvm_classes_loaded{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Classes Loaded",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Classes Loaded",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": 0,
          "format": "locale",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 39
      },
      "id": 82,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "jvm_buffer_memory_used_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"direct\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Used Bytes",
          "refId": "A"
        },
        {
          "expr": "jvm_buffer_total_capacity_bytes{pod=\"$pod\", namespace=\"$namespace\", id=\"direct\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Capacity Bytes",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Direct Buffers",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 46
      },
      "id": 68,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "jvm_threads_daemon{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Daemon",
          "refId": "A"
        },
        {
          "expr": "jvm_threads_live{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Live",
          "refId": "B"
        },
        {
          "expr": "jvm_threads_peak{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Peak",
          "refId": "C"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Threads",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 54
      },
      "id": 72,
      "panels": [],
      "title": "JVM Statistics - GC",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 0,
        "y": 55
      },
      "id": 74,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": true,
        "show": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "irate(jvm_gc_pause_seconds_count{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "{{action}} [{{cause}}]",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "GC Count",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "locale",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 12,
        "y": 55
      },
      "id": 76,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": true,
        "show": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "irate(jvm_gc_pause_seconds_sum{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "{{action}} [{{cause}}]",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "GC Stop the World Duration",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "s",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },

    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 80
      },
      "id": 18,
      "panels": [],
      "title": "HTTP Statistics",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 81
      },
      "id": 4,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": true,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "irate(http_server_requests_seconds_count{pod=\"$pod\", namespace=\"$namespace\", uri!~\".*actuator.*\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "{{method}} [{{status}}] - {{uri}}",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Request Count",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": null,
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 88
      },
      "id": 2,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "rightSide": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "irate(http_server_requests_seconds_sum{pod=\"$pod\", namespace=\"$namespace\", exception=\"None\", uri!~\".*actuator.*\"}[5m]) / irate(http_server_requests_seconds_count{pod=\"$pod\", namespace=\"$namespace\", exception=\"None\", uri!~\".*actuator.*\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "{{method}} [{{status}}] - {{uri}}",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Response Time",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "s",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 95
      },
      "id": 22,
      "panels": [],
      "title": "Tomcat Statistics",
      "type": "row"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": false,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "${DS_PROMETHEUS}",
      "format": "locale",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 0,
        "y": 96
      },
      "id": 28,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "expr": "tomcat_global_error_total{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "thresholds": "",
      "title": "Total Error Count",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "decimals": 0,
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 9,
        "x": 4,
        "y": 96
      },
      "id": 24,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "tomcat_sessions_active_current{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "active sessions",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Active Sessions",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": null,
          "format": "none",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "decimals": null,
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 11,
        "x": 13,
        "y": 96
      },
      "id": 26,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "irate(tomcat_global_sent_bytes_total{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Sent Bytes",
          "refId": "A"
        },
        {
          "expr": "irate(tomcat_global_received_bytes_total{pod=\"$pod\", namespace=\"$namespace\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Recieved Bytes",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Sent & Recieved Bytes",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "bytes",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": false,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "${DS_PROMETHEUS}",
      "format": "locale",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 0,
        "y": 100
      },
      "id": 32,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "",
      "targets": [
        {
          "expr": "tomcat_threads_config_max{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "thresholds": "",
      "title": "Thread Config Max",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "current"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 13,
        "x": 0,
        "y": 103
      },
      "id": 30,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "tomcat_threads_current{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Current thread",
          "refId": "A"
        },
        {
          "expr": "tomcat_threads_busy{pod=\"$pod\", namespace=\"$namespace\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Current thread busy",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Threads",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 110
      },
      "id": 8,
      "panels": [],
      "title": "Logback Statistics",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 111
      },
      "id": 6,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "expr": "irate(logback_events_total{pod=\"$pod\", namespace=\"$namespace\", level=\"info\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "info",
          "rawSql": "SELECT\n  $__time(time_column),\n  value1\nFROM\n  metric_table\nWHERE\n  $__timeFilter(time_column)\n",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "INFO logs",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 111
      },
      "id": 10,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "expr": "irate(logback_events_total{pod=\"$pod\", namespace=\"$namespace\", level=\"error\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "error",
          "rawSql": "SELECT\n  $__time(time_column),\n  value1\nFROM\n  metric_table\nWHERE\n  $__timeFilter(time_column)\n",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "ERROR logs",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 118
      },
      "id": 14,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "expr": "irate(logback_events_total{pod=\"$pod\", namespace=\"$namespace\", level=\"warn\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "warn",
          "rawSql": "SELECT\n  $__time(time_column),\n  value1\nFROM\n  metric_table\nWHERE\n  $__timeFilter(time_column)\n",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "WARN logs",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 118
      },
      "id": 16,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "expr": "irate(logback_events_total{pod=\"$pod\", namespace=\"$namespace\", level=\"debug\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "debug",
          "rawSql": "SELECT\n  $__time(time_column),\n  value1\nFROM\n  metric_table\nWHERE\n  $__timeFilter(time_column)\n",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "DEBUG logs",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 118
      },
      "id": 20,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "expr": "irate(logback_events_total{pod=\"$pod\", namespace=\"$namespace\", level=\"trace\"}[5m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "trace",
          "rawSql": "SELECT\n  $__time(time_column),\n  value1\nFROM\n  metric_table\nWHERE\n  $__timeFilter(time_column)\n",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "TRACE logs",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": false,
  "schemaVersion": 16,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "hide": 0,
        "includeAll": false,
        "label": "Namespace",
        "multi": false,
        "name": "namespace",
        "options": [],
        "query": "label_values(jvm_classes_loaded, namespace)",
        "refresh": 1,
        "regex": "",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "hide": 0,
        "includeAll": false,
        "label": "Pod",
        "multi": false,
        "name": "pod",
        "options": [],
        "query": "label_values(jvm_classes_loaded{namespace=\"$namespace\"}, pod)",
        "refresh": 1,
        "regex": "",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "hide": 0,
        "includeAll": true,
        "label": "Memory Pool (heap)",
        "multi": false,
        "name": "memory_pool_heap",
        "options": [],
        "query": "label_values(jvm_memory_used_bytes{namespace=\"$namespace\", pod=\"$pod\", area=\"heap\"},id)",
        "refresh": 1,
        "regex": "",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "hide": 0,
        "includeAll": true,
        "label": "Memory Pool (nonheap)",
        "multi": false,
        "name": "memory_pool_nonheap",
        "options": [],
        "query": "label_values(jvm_memory_used_bytes{namespace=\"$namespace\", pod=\"$pod\", area=\"nonheap\"},id)",
        "refresh": 1,
        "regex": "",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-1h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "Spring Boot Statistics",
  "version": 15,
  "description": "Dashboard for Spring Boot2 Statistics(by micrometer-prometheus)."
}