Guest User

Untitled

a guest
Dec 17th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.45 KB | None | 0 0
  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.2.4"
  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. "annotations": {
  39. "list": [
  40. {
  41. "builtIn": 1,
  42. "datasource": "-- Grafana --",
  43. "enable": true,
  44. "hide": true,
  45. "iconColor": "rgba(0, 211, 255, 1)",
  46. "name": "Annotations & Alerts",
  47. "type": "dashboard"
  48. }
  49. ]
  50. },
  51. "description": "Complete dashboard using metrics from prometheus JMX exporter, with drill down per NiFi release > pod",
  52. "editable": true,
  53. "gnetId": 7727,
  54. "graphTooltip": 0,
  55. "id": null,
  56. "iteration": 1545041408174,
  57. "links": [],
  58. "panels": [
  59. {
  60. "cacheTimeout": null,
  61. "colorBackground": false,
  62. "colorValue": true,
  63. "colors": [
  64. "#299c46",
  65. "rgba(237, 129, 40, 0.89)",
  66. "#d44a3a"
  67. ],
  68. "datasource": "${DS_PROMETHEUS}",
  69. "format": "percent",
  70. "gauge": {
  71. "maxValue": 100,
  72. "minValue": 0,
  73. "show": false,
  74. "thresholdLabels": false,
  75. "thresholdMarkers": true
  76. },
  77. "gridPos": {
  78. "h": 4,
  79. "w": 6,
  80. "x": 0,
  81. "y": 0
  82. },
  83. "id": 13,
  84. "interval": null,
  85. "links": [],
  86. "mappingType": 1,
  87. "mappingTypes": [
  88. {
  89. "name": "value to text",
  90. "value": 1
  91. },
  92. {
  93. "name": "range to text",
  94. "value": 2
  95. }
  96. ],
  97. "maxDataPoints": 100,
  98. "nullPointMode": "connected",
  99. "nullText": null,
  100. "postfix": "",
  101. "postfixFontSize": "50%",
  102. "prefix": "",
  103. "prefixFontSize": "50%",
  104. "rangeMaps": [
  105. {
  106. "from": "null",
  107. "text": "N/A",
  108. "to": "null"
  109. }
  110. ],
  111. "sparkline": {
  112. "fillColor": "rgba(31, 118, 189, 0.18)",
  113. "full": true,
  114. "lineColor": "rgb(31, 120, 193)",
  115. "show": true
  116. },
  117. "tableColumn": "",
  118. "targets": [
  119. {
  120. "expr": "(sum(jvm_memory_bytes_used{area=\"heap\",release=\"$release\",kubernetes_pod_name=~\"$pod\"})*100) / sum(jvm_memory_bytes_max{area=\"heap\",release=\"$release\",kubernetes_pod_name=~\"$pod\"})",
  121. "format": "time_series",
  122. "intervalFactor": 1,
  123. "refId": "A"
  124. }
  125. ],
  126. "thresholds": "50,75",
  127. "title": "Heap used",
  128. "type": "singlestat",
  129. "valueFontSize": "80%",
  130. "valueMaps": [
  131. {
  132. "op": "=",
  133. "text": "N/A",
  134. "value": "null"
  135. }
  136. ],
  137. "valueName": "avg"
  138. },
  139. {
  140. "cacheTimeout": null,
  141. "colorBackground": false,
  142. "colorValue": false,
  143. "colors": [
  144. "#299c46",
  145. "rgba(237, 129, 40, 0.89)",
  146. "#d44a3a"
  147. ],
  148. "datasource": "${DS_PROMETHEUS}",
  149. "decimals": null,
  150. "format": "dateTimeAsUS",
  151. "gauge": {
  152. "maxValue": 100,
  153. "minValue": 0,
  154. "show": false,
  155. "thresholdLabels": false,
  156. "thresholdMarkers": true
  157. },
  158. "gridPos": {
  159. "h": 4,
  160. "w": 6,
  161. "x": 6,
  162. "y": 0
  163. },
  164. "id": 15,
  165. "interval": null,
  166. "links": [],
  167. "mappingType": 1,
  168. "mappingTypes": [
  169. {
  170. "name": "value to text",
  171. "value": 1
  172. },
  173. {
  174. "name": "range to text",
  175. "value": 2
  176. }
  177. ],
  178. "maxDataPoints": 100,
  179. "nullPointMode": "connected",
  180. "nullText": null,
  181. "postfix": "",
  182. "postfixFontSize": "50%",
  183. "prefix": "",
  184. "prefixFontSize": "50%",
  185. "rangeMaps": [
  186. {
  187. "from": "null",
  188. "text": "N/A",
  189. "to": "null"
  190. }
  191. ],
  192. "sparkline": {
  193. "fillColor": "rgba(31, 118, 189, 0.18)",
  194. "full": true,
  195. "lineColor": "rgb(31, 120, 193)",
  196. "show": false
  197. },
  198. "tableColumn": "",
  199. "targets": [
  200. {
  201. "expr": "avg(process_start_time_seconds{release=\"$release\",kubernetes_pod_name=~\"$pod\"})*1000",
  202. "format": "time_series",
  203. "intervalFactor": 1,
  204. "refId": "A"
  205. }
  206. ],
  207. "thresholds": "35,50",
  208. "title": "Start time",
  209. "type": "singlestat",
  210. "valueFontSize": "80%",
  211. "valueMaps": [
  212. {
  213. "op": "=",
  214. "text": "N/A",
  215. "value": "null"
  216. }
  217. ],
  218. "valueName": "current"
  219. },
  220. {
  221. "cacheTimeout": null,
  222. "colorBackground": false,
  223. "colorValue": false,
  224. "colors": [
  225. "#299c46",
  226. "rgba(237, 129, 40, 0.89)",
  227. "#d44a3a"
  228. ],
  229. "datasource": "${DS_PROMETHEUS}",
  230. "decimals": 0,
  231. "format": "s",
  232. "gauge": {
  233. "maxValue": 100,
  234. "minValue": 0,
  235. "show": false,
  236. "thresholdLabels": false,
  237. "thresholdMarkers": true
  238. },
  239. "gridPos": {
  240. "h": 4,
  241. "w": 6,
  242. "x": 12,
  243. "y": 0
  244. },
  245. "id": 14,
  246. "interval": null,
  247. "links": [],
  248. "mappingType": 1,
  249. "mappingTypes": [
  250. {
  251. "name": "value to text",
  252. "value": 1
  253. },
  254. {
  255. "name": "range to text",
  256. "value": 2
  257. }
  258. ],
  259. "maxDataPoints": 100,
  260. "nullPointMode": "connected",
  261. "nullText": null,
  262. "postfix": "",
  263. "postfixFontSize": "50%",
  264. "prefix": "",
  265. "prefixFontSize": "50%",
  266. "rangeMaps": [
  267. {
  268. "from": "null",
  269. "text": "N/A",
  270. "to": "null"
  271. }
  272. ],
  273. "sparkline": {
  274. "fillColor": "rgba(31, 118, 189, 0.18)",
  275. "full": true,
  276. "lineColor": "rgb(31, 120, 193)",
  277. "show": false
  278. },
  279. "tableColumn": "",
  280. "targets": [
  281. {
  282. "expr": "time() - max(process_start_time_seconds{release=\"$release\",kubernetes_pod_name=~\"$pod\"})",
  283. "format": "time_series",
  284. "intervalFactor": 1,
  285. "refId": "A"
  286. }
  287. ],
  288. "thresholds": "35,50",
  289. "title": "Uptime",
  290. "type": "singlestat",
  291. "valueFontSize": "80%",
  292. "valueMaps": [
  293. {
  294. "op": "=",
  295. "text": "N/A",
  296. "value": "null"
  297. }
  298. ],
  299. "valueName": "current"
  300. },
  301. {
  302. "cacheTimeout": null,
  303. "colorBackground": false,
  304. "colorValue": false,
  305. "colors": [
  306. "#299c46",
  307. "rgba(237, 129, 40, 0.89)",
  308. "#d44a3a"
  309. ],
  310. "datasource": "${DS_PROMETHEUS}",
  311. "decimals": 0,
  312. "format": "none",
  313. "gauge": {
  314. "maxValue": 100,
  315. "minValue": 0,
  316. "show": false,
  317. "thresholdLabels": false,
  318. "thresholdMarkers": true
  319. },
  320. "gridPos": {
  321. "h": 4,
  322. "w": 6,
  323. "x": 18,
  324. "y": 0
  325. },
  326. "id": 19,
  327. "interval": null,
  328. "links": [],
  329. "mappingType": 1,
  330. "mappingTypes": [
  331. {
  332. "name": "value to text",
  333. "value": 1
  334. },
  335. {
  336. "name": "range to text",
  337. "value": 2
  338. }
  339. ],
  340. "maxDataPoints": 100,
  341. "nullPointMode": "connected",
  342. "nullText": null,
  343. "postfix": "",
  344. "postfixFontSize": "50%",
  345. "prefix": "",
  346. "prefixFontSize": "50%",
  347. "rangeMaps": [
  348. {
  349. "from": "null",
  350. "text": "N/A",
  351. "to": "null"
  352. }
  353. ],
  354. "sparkline": {
  355. "fillColor": "rgba(31, 118, 189, 0.18)",
  356. "full": true,
  357. "lineColor": "rgb(31, 120, 193)",
  358. "show": false
  359. },
  360. "tableColumn": "version",
  361. "targets": [
  362. {
  363. "expr": "jvm_info{}",
  364. "format": "table",
  365. "instant": true,
  366. "intervalFactor": 1,
  367. "legendFormat": "",
  368. "refId": "A"
  369. }
  370. ],
  371. "thresholds": "35,50",
  372. "title": "JVM Version",
  373. "type": "singlestat",
  374. "valueFontSize": "50%",
  375. "valueMaps": [
  376. {
  377. "op": "=",
  378. "text": "N/A",
  379. "value": "null"
  380. }
  381. ],
  382. "valueName": "current"
  383. },
  384. {
  385. "aliasColors": {},
  386. "bars": false,
  387. "dashLength": 10,
  388. "dashes": false,
  389. "datasource": "${DS_PROMETHEUS}",
  390. "fill": 1,
  391. "gridPos": {
  392. "h": 10,
  393. "w": 12,
  394. "x": 0,
  395. "y": 4
  396. },
  397. "id": 8,
  398. "legend": {
  399. "alignAsTable": true,
  400. "avg": true,
  401. "current": true,
  402. "max": true,
  403. "min": true,
  404. "rightSide": false,
  405. "show": true,
  406. "sort": "current",
  407. "sortDesc": true,
  408. "total": false,
  409. "values": true
  410. },
  411. "lines": true,
  412. "linewidth": 1,
  413. "links": [],
  414. "nullPointMode": "null",
  415. "percentage": false,
  416. "pointradius": 5,
  417. "points": false,
  418. "renderer": "flot",
  419. "seriesOverrides": [],
  420. "spaceLength": 10,
  421. "stack": false,
  422. "steppedLine": false,
  423. "targets": [
  424. {
  425. "expr": "jvm_memory_bytes_used{area=\"heap\",release=\"$release\",kubernetes_pod_name=~\"$pod\"}",
  426. "format": "time_series",
  427. "intervalFactor": 1,
  428. "legendFormat": "Used {{kubernetes_pod_name}}",
  429. "refId": "A"
  430. },
  431. {
  432. "expr": " jvm_memory_bytes_max{area=\"heap\",release=\"$release\",kubernetes_pod_name=~\"$pod\"}",
  433. "format": "time_series",
  434. "intervalFactor": 1,
  435. "legendFormat": "Max {{kubernetes_pod_name}}",
  436. "refId": "B"
  437. }
  438. ],
  439. "thresholds": [],
  440. "timeFrom": null,
  441. "timeShift": null,
  442. "title": "Heap",
  443. "tooltip": {
  444. "shared": true,
  445. "sort": 0,
  446. "value_type": "individual"
  447. },
  448. "type": "graph",
  449. "xaxis": {
  450. "buckets": null,
  451. "mode": "time",
  452. "name": null,
  453. "show": true,
  454. "values": []
  455. },
  456. "yaxes": [
  457. {
  458. "format": "bytes",
  459. "label": null,
  460. "logBase": 1,
  461. "max": null,
  462. "min": null,
  463. "show": true
  464. },
  465. {
  466. "format": "short",
  467. "label": null,
  468. "logBase": 1,
  469. "max": null,
  470. "min": null,
  471. "show": true
  472. }
  473. ],
  474. "yaxis": {
  475. "align": false,
  476. "alignLevel": null
  477. }
  478. },
  479. {
  480. "aliasColors": {},
  481. "bars": false,
  482. "dashLength": 10,
  483. "dashes": false,
  484. "datasource": "${DS_PROMETHEUS}",
  485. "fill": 1,
  486. "gridPos": {
  487. "h": 10,
  488. "w": 12,
  489. "x": 12,
  490. "y": 4
  491. },
  492. "id": 18,
  493. "legend": {
  494. "alignAsTable": true,
  495. "avg": true,
  496. "current": true,
  497. "max": true,
  498. "min": true,
  499. "rightSide": false,
  500. "show": true,
  501. "sort": "current",
  502. "sortDesc": true,
  503. "total": false,
  504. "values": true
  505. },
  506. "lines": true,
  507. "linewidth": 1,
  508. "links": [],
  509. "nullPointMode": "null",
  510. "percentage": false,
  511. "pointradius": 5,
  512. "points": false,
  513. "renderer": "flot",
  514. "seriesOverrides": [],
  515. "spaceLength": 10,
  516. "stack": false,
  517. "steppedLine": false,
  518. "targets": [
  519. {
  520. "expr": "jvm_memory_bytes_used{area=\"nonheap\",release=\"$release\",kubernetes_pod_name=~\"$pod\"}",
  521. "format": "time_series",
  522. "intervalFactor": 1,
  523. "legendFormat": "Used {{kubernetes_pod_name}}",
  524. "refId": "A"
  525. }
  526. ],
  527. "thresholds": [],
  528. "timeFrom": null,
  529. "timeShift": null,
  530. "title": "Non Heap",
  531. "tooltip": {
  532. "shared": true,
  533. "sort": 0,
  534. "value_type": "individual"
  535. },
  536. "type": "graph",
  537. "xaxis": {
  538. "buckets": null,
  539. "mode": "time",
  540. "name": null,
  541. "show": true,
  542. "values": []
  543. },
  544. "yaxes": [
  545. {
  546. "format": "bytes",
  547. "label": null,
  548. "logBase": 1,
  549. "max": null,
  550. "min": null,
  551. "show": true
  552. },
  553. {
  554. "format": "short",
  555. "label": null,
  556. "logBase": 1,
  557. "max": null,
  558. "min": null,
  559. "show": true
  560. }
  561. ],
  562. "yaxis": {
  563. "align": false,
  564. "alignLevel": null
  565. }
  566. },
  567. {
  568. "aliasColors": {},
  569. "bars": false,
  570. "dashLength": 10,
  571. "dashes": false,
  572. "datasource": "${DS_PROMETHEUS}",
  573. "fill": 1,
  574. "gridPos": {
  575. "h": 8,
  576. "w": 8,
  577. "x": 0,
  578. "y": 14
  579. },
  580. "id": 2,
  581. "legend": {
  582. "alignAsTable": true,
  583. "avg": true,
  584. "current": true,
  585. "max": true,
  586. "min": true,
  587. "rightSide": false,
  588. "show": true,
  589. "sort": null,
  590. "sortDesc": null,
  591. "total": false,
  592. "values": true
  593. },
  594. "lines": true,
  595. "linewidth": 1,
  596. "links": [],
  597. "nullPointMode": "null",
  598. "percentage": false,
  599. "pointradius": 5,
  600. "points": false,
  601. "renderer": "flot",
  602. "repeat": null,
  603. "seriesOverrides": [],
  604. "spaceLength": 10,
  605. "stack": false,
  606. "steppedLine": false,
  607. "targets": [
  608. {
  609. "expr": "jvm_memory_pool_bytes_max{release=\"$release\", pool=\"PS Eden Space\",kubernetes_pod_name=~\"$pod\"}",
  610. "format": "time_series",
  611. "interval": "",
  612. "intervalFactor": 5,
  613. "legendFormat": "Max {{kubernetes_pod_name}}",
  614. "metric": "jvm_memory_bytes_used",
  615. "refId": "B",
  616. "step": 5
  617. },
  618. {
  619. "expr": "jvm_memory_pool_bytes_used{release=\"$release\", pool=\"PS Eden Space\",kubernetes_pod_name=~\"$pod\"}",
  620. "format": "time_series",
  621. "interval": "",
  622. "intervalFactor": 5,
  623. "legendFormat": "Used {{kubernetes_pod_name}}",
  624. "metric": "jvm_memory_bytes_used",
  625. "refId": "A",
  626. "step": 5
  627. },
  628. {
  629. "expr": "jvm_memory_pool_bytes_committed{release=\"$release\", pool=\"PS Eden Space\",kubernetes_pod_name=~\"$pod\"}",
  630. "format": "time_series",
  631. "interval": "",
  632. "intervalFactor": 5,
  633. "legendFormat": "Committed {{kubernetes_pod_name}}",
  634. "metric": "jvm_memory_bytes_used",
  635. "refId": "C",
  636. "step": 5
  637. }
  638. ],
  639. "thresholds": [],
  640. "timeFrom": null,
  641. "timeShift": null,
  642. "title": "PS Eden Space",
  643. "tooltip": {
  644. "shared": true,
  645. "sort": 0,
  646. "value_type": "individual"
  647. },
  648. "type": "graph",
  649. "xaxis": {
  650. "buckets": null,
  651. "mode": "time",
  652. "name": null,
  653. "show": true,
  654. "values": []
  655. },
  656. "yaxes": [
  657. {
  658. "format": "bytes",
  659. "label": null,
  660. "logBase": 1,
  661. "max": null,
  662. "min": null,
  663. "show": true
  664. },
  665. {
  666. "format": "short",
  667. "label": null,
  668. "logBase": 1,
  669. "max": null,
  670. "min": null,
  671. "show": true
  672. }
  673. ],
  674. "yaxis": {
  675. "align": false,
  676. "alignLevel": null
  677. }
  678. },
  679. {
  680. "aliasColors": {},
  681. "bars": false,
  682. "dashLength": 10,
  683. "dashes": false,
  684. "datasource": "${DS_PROMETHEUS}",
  685. "fill": 1,
  686. "gridPos": {
  687. "h": 8,
  688. "w": 8,
  689. "x": 8,
  690. "y": 14
  691. },
  692. "id": 16,
  693. "legend": {
  694. "alignAsTable": true,
  695. "avg": true,
  696. "current": true,
  697. "max": true,
  698. "min": true,
  699. "rightSide": false,
  700. "show": true,
  701. "sort": "current",
  702. "sortDesc": true,
  703. "total": false,
  704. "values": true
  705. },
  706. "lines": true,
  707. "linewidth": 1,
  708. "links": [],
  709. "nullPointMode": "null",
  710. "percentage": false,
  711. "pointradius": 5,
  712. "points": false,
  713. "renderer": "flot",
  714. "seriesOverrides": [],
  715. "spaceLength": 10,
  716. "stack": false,
  717. "steppedLine": false,
  718. "targets": [
  719. {
  720. "expr": "jvm_memory_pool_bytes_max{release=\"$release\", pool=\"PS Old Gen\",kubernetes_pod_name=~\"$pod\"}",
  721. "format": "time_series",
  722. "interval": "",
  723. "intervalFactor": 5,
  724. "legendFormat": "Max {{kubernetes_pod_name}}",
  725. "metric": "jvm_memory_bytes_used",
  726. "refId": "B",
  727. "step": 5
  728. },
  729. {
  730. "expr": "jvm_memory_pool_bytes_used{release=\"$release\", pool=\"PS Old Gen\",kubernetes_pod_name=~\"$pod\"}",
  731. "format": "time_series",
  732. "interval": "",
  733. "intervalFactor": 5,
  734. "legendFormat": "Used {{kubernetes_pod_name}}",
  735. "metric": "jvm_memory_bytes_used",
  736. "refId": "A",
  737. "step": 5
  738. },
  739. {
  740. "expr": "jvm_memory_pool_bytes_committed{release=\"$release\", pool=\"PS Old Gen\",kubernetes_pod_name=~\"$pod\"}",
  741. "format": "time_series",
  742. "interval": "",
  743. "intervalFactor": 5,
  744. "legendFormat": "Committed {{kubernetes_pod_name}}",
  745. "metric": "jvm_memory_bytes_used",
  746. "refId": "C",
  747. "step": 5
  748. }
  749. ],
  750. "thresholds": [],
  751. "timeFrom": null,
  752. "timeShift": null,
  753. "title": "PS Old Gen",
  754. "tooltip": {
  755. "shared": true,
  756. "sort": 0,
  757. "value_type": "individual"
  758. },
  759. "type": "graph",
  760. "xaxis": {
  761. "buckets": null,
  762. "mode": "time",
  763. "name": null,
  764. "show": true,
  765. "values": []
  766. },
  767. "yaxes": [
  768. {
  769. "format": "bytes",
  770. "label": null,
  771. "logBase": 1,
  772. "max": null,
  773. "min": null,
  774. "show": true
  775. },
  776. {
  777. "format": "short",
  778. "label": null,
  779. "logBase": 1,
  780. "max": null,
  781. "min": null,
  782. "show": true
  783. }
  784. ],
  785. "yaxis": {
  786. "align": false,
  787. "alignLevel": null
  788. }
  789. },
  790. {
  791. "aliasColors": {},
  792. "bars": false,
  793. "dashLength": 10,
  794. "dashes": false,
  795. "datasource": "${DS_PROMETHEUS}",
  796. "fill": 1,
  797. "gridPos": {
  798. "h": 8,
  799. "w": 8,
  800. "x": 16,
  801. "y": 14
  802. },
  803. "id": 7,
  804. "legend": {
  805. "alignAsTable": true,
  806. "avg": true,
  807. "current": true,
  808. "max": true,
  809. "min": true,
  810. "rightSide": false,
  811. "show": true,
  812. "sort": "current",
  813. "sortDesc": true,
  814. "total": false,
  815. "values": true
  816. },
  817. "lines": true,
  818. "linewidth": 1,
  819. "links": [],
  820. "nullPointMode": "null",
  821. "percentage": false,
  822. "pointradius": 5,
  823. "points": false,
  824. "renderer": "flot",
  825. "seriesOverrides": [],
  826. "spaceLength": 10,
  827. "stack": false,
  828. "steppedLine": false,
  829. "targets": [
  830. {
  831. "expr": "jvm_memory_pool_bytes_max{release=\"$release\", pool=\"PS Survivor Space\",kubernetes_pod_name=~\"$pod\"}",
  832. "format": "time_series",
  833. "interval": "",
  834. "intervalFactor": 5,
  835. "legendFormat": "Max {{kubernetes_pod_name}}",
  836. "metric": "jvm_memory_bytes_used",
  837. "refId": "B",
  838. "step": 5
  839. },
  840. {
  841. "expr": "jvm_memory_pool_bytes_used{release=\"$release\", pool=\"PS Survivor Space\",kubernetes_pod_name=~\"$pod\"}",
  842. "format": "time_series",
  843. "interval": "",
  844. "intervalFactor": 5,
  845. "legendFormat": "Used {{kubernetes_pod_name}}",
  846. "metric": "jvm_memory_bytes_used",
  847. "refId": "A",
  848. "step": 5
  849. },
  850. {
  851. "expr": "jvm_memory_pool_bytes_committed{release=\"$release\", pool=\"PS Survivor Space\",kubernetes_pod_name=~\"$pod\"}",
  852. "format": "time_series",
  853. "interval": "",
  854. "intervalFactor": 5,
  855. "legendFormat": "Committed {{kubernetes_pod_name}}",
  856. "metric": "jvm_memory_bytes_used",
  857. "refId": "C",
  858. "step": 5
  859. }
  860. ],
  861. "thresholds": [],
  862. "timeFrom": null,
  863. "timeShift": null,
  864. "title": "PS Survivor Space",
  865. "tooltip": {
  866. "shared": true,
  867. "sort": 0,
  868. "value_type": "individual"
  869. },
  870. "type": "graph",
  871. "xaxis": {
  872. "buckets": null,
  873. "mode": "time",
  874. "name": null,
  875. "show": true,
  876. "values": []
  877. },
  878. "yaxes": [
  879. {
  880. "format": "bytes",
  881. "label": null,
  882. "logBase": 1,
  883. "max": null,
  884. "min": null,
  885. "show": true
  886. },
  887. {
  888. "format": "short",
  889. "label": null,
  890. "logBase": 1,
  891. "max": null,
  892. "min": null,
  893. "show": true
  894. }
  895. ],
  896. "yaxis": {
  897. "align": false,
  898. "alignLevel": null
  899. }
  900. },
  901. {
  902. "aliasColors": {},
  903. "bars": false,
  904. "dashLength": 10,
  905. "dashes": false,
  906. "datasource": "${DS_PROMETHEUS}",
  907. "fill": 1,
  908. "gridPos": {
  909. "h": 8,
  910. "w": 8,
  911. "x": 0,
  912. "y": 22
  913. },
  914. "id": 9,
  915. "legend": {
  916. "alignAsTable": true,
  917. "avg": true,
  918. "current": true,
  919. "max": true,
  920. "min": true,
  921. "rightSide": false,
  922. "show": true,
  923. "sort": "current",
  924. "sortDesc": true,
  925. "total": false,
  926. "values": true
  927. },
  928. "lines": true,
  929. "linewidth": 1,
  930. "links": [],
  931. "nullPointMode": "null",
  932. "percentage": false,
  933. "pointradius": 5,
  934. "points": false,
  935. "renderer": "flot",
  936. "seriesOverrides": [],
  937. "spaceLength": 10,
  938. "stack": false,
  939. "steppedLine": false,
  940. "targets": [
  941. {
  942. "expr": "jvm_memory_pool_bytes_max{release=\"$release\", pool=\"Metaspace\",kubernetes_pod_name=~\"$pod\"}",
  943. "format": "time_series",
  944. "interval": "",
  945. "intervalFactor": 5,
  946. "legendFormat": "Max {{kubernetes_pod_name}}",
  947. "metric": "jvm_memory_bytes_used",
  948. "refId": "B",
  949. "step": 5
  950. },
  951. {
  952. "expr": "jvm_memory_pool_bytes_used{release=\"$release\", pool=\"Metaspace\",kubernetes_pod_name=~\"$pod\"}",
  953. "format": "time_series",
  954. "interval": "",
  955. "intervalFactor": 5,
  956. "legendFormat": "Used {{kubernetes_pod_name}}",
  957. "metric": "jvm_memory_bytes_used",
  958. "refId": "A",
  959. "step": 5
  960. },
  961. {
  962. "expr": "jvm_memory_pool_bytes_committed{release=\"$release\", pool=\"Metaspace\",kubernetes_pod_name=~\"$pod\"}",
  963. "format": "time_series",
  964. "interval": "",
  965. "intervalFactor": 5,
  966. "legendFormat": "Committed {{kubernetes_pod_name}}",
  967. "metric": "jvm_memory_bytes_used",
  968. "refId": "C",
  969. "step": 5
  970. }
  971. ],
  972. "thresholds": [],
  973. "timeFrom": null,
  974. "timeShift": null,
  975. "title": "Metaspace",
  976. "tooltip": {
  977. "shared": true,
  978. "sort": 0,
  979. "value_type": "individual"
  980. },
  981. "type": "graph",
  982. "xaxis": {
  983. "buckets": null,
  984. "mode": "time",
  985. "name": null,
  986. "show": true,
  987. "values": []
  988. },
  989. "yaxes": [
  990. {
  991. "format": "bytes",
  992. "label": null,
  993. "logBase": 1,
  994. "max": null,
  995. "min": null,
  996. "show": true
  997. },
  998. {
  999. "format": "short",
  1000. "label": null,
  1001. "logBase": 1,
  1002. "max": null,
  1003. "min": null,
  1004. "show": true
  1005. }
  1006. ],
  1007. "yaxis": {
  1008. "align": false,
  1009. "alignLevel": null
  1010. }
  1011. },
  1012. {
  1013. "aliasColors": {},
  1014. "bars": false,
  1015. "dashLength": 10,
  1016. "dashes": false,
  1017. "datasource": "${DS_PROMETHEUS}",
  1018. "fill": 1,
  1019. "gridPos": {
  1020. "h": 8,
  1021. "w": 8,
  1022. "x": 8,
  1023. "y": 22
  1024. },
  1025. "id": 11,
  1026. "legend": {
  1027. "alignAsTable": true,
  1028. "avg": true,
  1029. "current": true,
  1030. "max": true,
  1031. "min": true,
  1032. "rightSide": false,
  1033. "show": true,
  1034. "sort": "current",
  1035. "sortDesc": true,
  1036. "total": false,
  1037. "values": true
  1038. },
  1039. "lines": true,
  1040. "linewidth": 1,
  1041. "links": [],
  1042. "nullPointMode": "null",
  1043. "percentage": false,
  1044. "pointradius": 5,
  1045. "points": false,
  1046. "renderer": "flot",
  1047. "seriesOverrides": [],
  1048. "spaceLength": 10,
  1049. "stack": false,
  1050. "steppedLine": false,
  1051. "targets": [
  1052. {
  1053. "expr": "jvm_memory_pool_bytes_max{release=\"$release\", pool=\"Compressed Class Space\",kubernetes_pod_name=~\"$pod\"}",
  1054. "format": "time_series",
  1055. "interval": "",
  1056. "intervalFactor": 5,
  1057. "legendFormat": "Max {{kubernetes_pod_name}}",
  1058. "metric": "jvm_memory_bytes_used",
  1059. "refId": "B",
  1060. "step": 5
  1061. },
  1062. {
  1063. "expr": "jvm_memory_pool_bytes_used{release=\"$release\", pool=\"Compressed Class Space\",kubernetes_pod_name=~\"$pod\"}",
  1064. "format": "time_series",
  1065. "interval": "",
  1066. "intervalFactor": 5,
  1067. "legendFormat": "Used {{kubernetes_pod_name}}",
  1068. "metric": "jvm_memory_bytes_used",
  1069. "refId": "A",
  1070. "step": 5
  1071. },
  1072. {
  1073. "expr": "jvm_memory_pool_bytes_committed{release=\"$release\", pool=\"Compressed Class Space\",kubernetes_pod_name=~\"$pod\"}",
  1074. "format": "time_series",
  1075. "interval": "",
  1076. "intervalFactor": 5,
  1077. "legendFormat": "Committed {{kubernetes_pod_name}}",
  1078. "metric": "jvm_memory_bytes_used",
  1079. "refId": "C",
  1080. "step": 5
  1081. }
  1082. ],
  1083. "thresholds": [],
  1084. "timeFrom": null,
  1085. "timeShift": null,
  1086. "title": "Compressed Class Space",
  1087. "tooltip": {
  1088. "shared": true,
  1089. "sort": 0,
  1090. "value_type": "individual"
  1091. },
  1092. "type": "graph",
  1093. "xaxis": {
  1094. "buckets": null,
  1095. "mode": "time",
  1096. "name": null,
  1097. "show": true,
  1098. "values": []
  1099. },
  1100. "yaxes": [
  1101. {
  1102. "format": "bytes",
  1103. "label": null,
  1104. "logBase": 1,
  1105. "max": null,
  1106. "min": null,
  1107. "show": true
  1108. },
  1109. {
  1110. "format": "short",
  1111. "label": null,
  1112. "logBase": 1,
  1113. "max": null,
  1114. "min": null,
  1115. "show": true
  1116. }
  1117. ],
  1118. "yaxis": {
  1119. "align": false,
  1120. "alignLevel": null
  1121. }
  1122. },
  1123. {
  1124. "aliasColors": {},
  1125. "bars": false,
  1126. "dashLength": 10,
  1127. "dashes": false,
  1128. "datasource": "${DS_PROMETHEUS}",
  1129. "fill": 1,
  1130. "gridPos": {
  1131. "h": 8,
  1132. "w": 8,
  1133. "x": 16,
  1134. "y": 22
  1135. },
  1136. "id": 10,
  1137. "legend": {
  1138. "alignAsTable": true,
  1139. "avg": true,
  1140. "current": true,
  1141. "max": true,
  1142. "min": true,
  1143. "rightSide": false,
  1144. "show": true,
  1145. "sort": "current",
  1146. "sortDesc": true,
  1147. "total": false,
  1148. "values": true
  1149. },
  1150. "lines": true,
  1151. "linewidth": 1,
  1152. "links": [],
  1153. "nullPointMode": "null",
  1154. "percentage": false,
  1155. "pointradius": 5,
  1156. "points": false,
  1157. "renderer": "flot",
  1158. "seriesOverrides": [],
  1159. "spaceLength": 10,
  1160. "stack": false,
  1161. "steppedLine": false,
  1162. "targets": [
  1163. {
  1164. "expr": "jvm_memory_pool_bytes_max{release=\"$release\", pool=\"Code Cache\",kubernetes_pod_name=~\"$pod\"}",
  1165. "format": "time_series",
  1166. "interval": "",
  1167. "intervalFactor": 5,
  1168. "legendFormat": "Max {{kubernetes_pod_name}}",
  1169. "metric": "jvm_memory_bytes_used",
  1170. "refId": "B",
  1171. "step": 5
  1172. },
  1173. {
  1174. "expr": "jvm_memory_pool_bytes_used{release=\"$release\", pool=\"Code Cache\",kubernetes_pod_name=~\"$pod\"}",
  1175. "format": "time_series",
  1176. "interval": "",
  1177. "intervalFactor": 5,
  1178. "legendFormat": "Used {{kubernetes_pod_name}}",
  1179. "metric": "jvm_memory_bytes_used",
  1180. "refId": "A",
  1181. "step": 5
  1182. },
  1183. {
  1184. "expr": "jvm_memory_pool_bytes_committed{release=\"$release\", pool=\"Code Cache\",kubernetes_pod_name=~\"$pod\"}",
  1185. "format": "time_series",
  1186. "interval": "",
  1187. "intervalFactor": 5,
  1188. "legendFormat": "Committed {{kubernetes_pod_name}}",
  1189. "metric": "jvm_memory_bytes_used",
  1190. "refId": "C",
  1191. "step": 5
  1192. }
  1193. ],
  1194. "thresholds": [],
  1195. "timeFrom": null,
  1196. "timeShift": null,
  1197. "title": "Code Cache",
  1198. "tooltip": {
  1199. "shared": true,
  1200. "sort": 0,
  1201. "value_type": "individual"
  1202. },
  1203. "type": "graph",
  1204. "xaxis": {
  1205. "buckets": null,
  1206. "mode": "time",
  1207. "name": null,
  1208. "show": true,
  1209. "values": []
  1210. },
  1211. "yaxes": [
  1212. {
  1213. "format": "bytes",
  1214. "label": null,
  1215. "logBase": 1,
  1216. "max": null,
  1217. "min": null,
  1218. "show": true
  1219. },
  1220. {
  1221. "format": "short",
  1222. "label": null,
  1223. "logBase": 1,
  1224. "max": null,
  1225. "min": null,
  1226. "show": true
  1227. }
  1228. ],
  1229. "yaxis": {
  1230. "align": false,
  1231. "alignLevel": null
  1232. }
  1233. },
  1234. {
  1235. "aliasColors": {},
  1236. "bars": false,
  1237. "dashLength": 10,
  1238. "dashes": false,
  1239. "datasource": "${DS_PROMETHEUS}",
  1240. "fill": 1,
  1241. "gridPos": {
  1242. "h": 8,
  1243. "w": 12,
  1244. "x": 0,
  1245. "y": 30
  1246. },
  1247. "id": 3,
  1248. "legend": {
  1249. "alignAsTable": true,
  1250. "avg": false,
  1251. "current": true,
  1252. "max": true,
  1253. "min": false,
  1254. "rightSide": false,
  1255. "show": true,
  1256. "total": false,
  1257. "values": true
  1258. },
  1259. "lines": true,
  1260. "linewidth": 1,
  1261. "links": [],
  1262. "nullPointMode": "null",
  1263. "percentage": false,
  1264. "pointradius": 5,
  1265. "points": false,
  1266. "renderer": "flot",
  1267. "seriesOverrides": [],
  1268. "spaceLength": 10,
  1269. "stack": false,
  1270. "steppedLine": false,
  1271. "targets": [
  1272. {
  1273. "expr": "jvm_threads_current{release=~\"$release\",kubernetes_pod_name=~\"$pod\"}",
  1274. "format": "time_series",
  1275. "intervalFactor": 5,
  1276. "legendFormat": "JVM current threads {{kubernetes_pod_name}}",
  1277. "metric": "jvm_threads_current",
  1278. "refId": "A",
  1279. "step": 10
  1280. },
  1281. {
  1282. "expr": "jvm_threads_daemon{release=~\"$release\",kubernetes_pod_name=~\"$pod\"}",
  1283. "format": "time_series",
  1284. "intervalFactor": 5,
  1285. "legendFormat": "JVM daemon threads {{kubernetes_pod_name}}",
  1286. "metric": "jvm_threads_daemon",
  1287. "refId": "B",
  1288. "step": 10
  1289. },
  1290. {
  1291. "expr": "jvm_threads_deadlocked{release=~\"$release\",kubernetes_pod_name=~\"$pod\"}",
  1292. "format": "time_series",
  1293. "intervalFactor": 1,
  1294. "legendFormat": "JVM deadlocked threads {{kubernetes_pod_name}}",
  1295. "refId": "C"
  1296. }
  1297. ],
  1298. "thresholds": [],
  1299. "timeFrom": null,
  1300. "timeShift": null,
  1301. "title": "Threads used",
  1302. "tooltip": {
  1303. "shared": true,
  1304. "sort": 0,
  1305. "value_type": "individual"
  1306. },
  1307. "type": "graph",
  1308. "xaxis": {
  1309. "buckets": null,
  1310. "mode": "time",
  1311. "name": null,
  1312. "show": true,
  1313. "values": []
  1314. },
  1315. "yaxes": [
  1316. {
  1317. "decimals": 0,
  1318. "format": "short",
  1319. "label": null,
  1320. "logBase": 1,
  1321. "max": null,
  1322. "min": null,
  1323. "show": true
  1324. },
  1325. {
  1326. "format": "short",
  1327. "label": null,
  1328. "logBase": 1,
  1329. "max": null,
  1330. "min": null,
  1331. "show": true
  1332. }
  1333. ],
  1334. "yaxis": {
  1335. "align": false,
  1336. "alignLevel": null
  1337. }
  1338. },
  1339. {
  1340. "aliasColors": {},
  1341. "bars": false,
  1342. "dashLength": 10,
  1343. "dashes": false,
  1344. "datasource": "${DS_PROMETHEUS}",
  1345. "fill": 1,
  1346. "gridPos": {
  1347. "h": 8,
  1348. "w": 12,
  1349. "x": 12,
  1350. "y": 30
  1351. },
  1352. "id": 6,
  1353. "legend": {
  1354. "alignAsTable": true,
  1355. "avg": false,
  1356. "current": true,
  1357. "max": true,
  1358. "min": true,
  1359. "show": true,
  1360. "total": false,
  1361. "values": true
  1362. },
  1363. "lines": true,
  1364. "linewidth": 1,
  1365. "links": [],
  1366. "nullPointMode": "null",
  1367. "percentage": false,
  1368. "pointradius": 5,
  1369. "points": false,
  1370. "renderer": "flot",
  1371. "seriesOverrides": [],
  1372. "spaceLength": 10,
  1373. "stack": false,
  1374. "steppedLine": false,
  1375. "targets": [
  1376. {
  1377. "expr": "jvm_gc_collection_seconds_count{release=~\"$release\",kubernetes_pod_name=~\"$pod\"}",
  1378. "format": "time_series",
  1379. "interval": "",
  1380. "intervalFactor": 5,
  1381. "legendFormat": "{{gc}} {{kubernetes_pod_name}}",
  1382. "metric": "",
  1383. "refId": "A",
  1384. "step": 10
  1385. }
  1386. ],
  1387. "thresholds": [],
  1388. "timeFrom": null,
  1389. "timeShift": null,
  1390. "title": "GC count",
  1391. "tooltip": {
  1392. "shared": true,
  1393. "sort": 0,
  1394. "value_type": "individual"
  1395. },
  1396. "type": "graph",
  1397. "xaxis": {
  1398. "buckets": null,
  1399. "mode": "time",
  1400. "name": null,
  1401. "show": true,
  1402. "values": []
  1403. },
  1404. "yaxes": [
  1405. {
  1406. "decimals": 0,
  1407. "format": "short",
  1408. "label": null,
  1409. "logBase": 1,
  1410. "max": null,
  1411. "min": null,
  1412. "show": true
  1413. },
  1414. {
  1415. "format": "short",
  1416. "label": null,
  1417. "logBase": 1,
  1418. "max": null,
  1419. "min": null,
  1420. "show": true
  1421. }
  1422. ],
  1423. "yaxis": {
  1424. "align": false,
  1425. "alignLevel": null
  1426. }
  1427. },
  1428. {
  1429. "aliasColors": {},
  1430. "bars": false,
  1431. "dashLength": 10,
  1432. "dashes": false,
  1433. "datasource": "${DS_PROMETHEUS}",
  1434. "fill": 1,
  1435. "gridPos": {
  1436. "h": 8,
  1437. "w": 12,
  1438. "x": 0,
  1439. "y": 38
  1440. },
  1441. "id": 5,
  1442. "legend": {
  1443. "alignAsTable": true,
  1444. "avg": false,
  1445. "current": true,
  1446. "max": true,
  1447. "min": true,
  1448. "rightSide": false,
  1449. "show": true,
  1450. "total": false,
  1451. "values": true
  1452. },
  1453. "lines": true,
  1454. "linewidth": 1,
  1455. "links": [],
  1456. "nullPointMode": "null",
  1457. "percentage": false,
  1458. "pointradius": 5,
  1459. "points": false,
  1460. "renderer": "flot",
  1461. "seriesOverrides": [],
  1462. "spaceLength": 10,
  1463. "stack": false,
  1464. "steppedLine": false,
  1465. "targets": [
  1466. {
  1467. "expr": "rate(jvm_gc_collection_seconds_sum{release=~\"$release\",kubernetes_pod_name=~\"$pod\"}[5m])",
  1468. "format": "time_series",
  1469. "interval": "",
  1470. "intervalFactor": 5,
  1471. "legendFormat": "{{gc}} {{kubernetes_pod_name}}",
  1472. "metric": "jvm_gc_collection_seconds_sum",
  1473. "refId": "A",
  1474. "step": 10
  1475. }
  1476. ],
  1477. "thresholds": [],
  1478. "timeFrom": null,
  1479. "timeShift": null,
  1480. "title": "GC time / 1 min. rate",
  1481. "tooltip": {
  1482. "shared": true,
  1483. "sort": 0,
  1484. "value_type": "individual"
  1485. },
  1486. "type": "graph",
  1487. "xaxis": {
  1488. "buckets": null,
  1489. "mode": "time",
  1490. "name": null,
  1491. "show": true,
  1492. "values": []
  1493. },
  1494. "yaxes": [
  1495. {
  1496. "format": "s",
  1497. "label": null,
  1498. "logBase": 1,
  1499. "max": null,
  1500. "min": null,
  1501. "show": true
  1502. },
  1503. {
  1504. "format": "short",
  1505. "label": null,
  1506. "logBase": 1,
  1507. "max": null,
  1508. "min": null,
  1509. "show": true
  1510. }
  1511. ],
  1512. "yaxis": {
  1513. "align": false,
  1514. "alignLevel": null
  1515. }
  1516. },
  1517. {
  1518. "aliasColors": {},
  1519. "bars": false,
  1520. "dashLength": 10,
  1521. "dashes": false,
  1522. "datasource": "${DS_PROMETHEUS}",
  1523. "fill": 1,
  1524. "gridPos": {
  1525. "h": 8,
  1526. "w": 12,
  1527. "x": 12,
  1528. "y": 38
  1529. },
  1530. "id": 4,
  1531. "legend": {
  1532. "alignAsTable": true,
  1533. "avg": false,
  1534. "current": true,
  1535. "max": true,
  1536. "min": true,
  1537. "show": true,
  1538. "total": false,
  1539. "values": true
  1540. },
  1541. "lines": true,
  1542. "linewidth": 1,
  1543. "links": [],
  1544. "nullPointMode": "null",
  1545. "percentage": false,
  1546. "pointradius": 5,
  1547. "points": false,
  1548. "renderer": "flot",
  1549. "seriesOverrides": [],
  1550. "spaceLength": 10,
  1551. "stack": false,
  1552. "steppedLine": false,
  1553. "targets": [
  1554. {
  1555. "expr": "jvm_classes_loaded{release=~\"$release\",kubernetes_pod_name=~\"$pod\"}",
  1556. "format": "time_series",
  1557. "interval": "",
  1558. "intervalFactor": 5,
  1559. "legendFormat": "loaded {{kubernetes_pod_name}}",
  1560. "metric": "jvm_classes_loaded",
  1561. "refId": "A",
  1562. "step": 10
  1563. }
  1564. ],
  1565. "thresholds": [],
  1566. "timeFrom": null,
  1567. "timeShift": null,
  1568. "title": "Class loading",
  1569. "tooltip": {
  1570. "shared": true,
  1571. "sort": 0,
  1572. "value_type": "individual"
  1573. },
  1574. "type": "graph",
  1575. "xaxis": {
  1576. "buckets": null,
  1577. "mode": "time",
  1578. "name": null,
  1579. "show": true,
  1580. "values": []
  1581. },
  1582. "yaxes": [
  1583. {
  1584. "decimals": 0,
  1585. "format": "short",
  1586. "label": "",
  1587. "logBase": 1,
  1588. "max": null,
  1589. "min": null,
  1590. "show": true
  1591. },
  1592. {
  1593. "format": "short",
  1594. "label": null,
  1595. "logBase": 1,
  1596. "max": null,
  1597. "min": null,
  1598. "show": true
  1599. }
  1600. ],
  1601. "yaxis": {
  1602. "align": false,
  1603. "alignLevel": null
  1604. }
  1605. }
  1606. ],
  1607. "refresh": "30s",
  1608. "schemaVersion": 16,
  1609. "style": "dark",
  1610. "tags": [
  1611. "JVM",
  1612. "nifi"
  1613. ],
  1614. "templating": {
  1615. "list": [
  1616. {
  1617. "allValue": "",
  1618. "current": {},
  1619. "datasource": "${DS_PROMETHEUS}",
  1620. "hide": 0,
  1621. "includeAll": false,
  1622. "label": "release",
  1623. "multi": false,
  1624. "name": "release",
  1625. "options": [],
  1626. "query": "label_values(jvm_info{app=\"nifi\"},release)",
  1627. "refresh": 1,
  1628. "regex": "",
  1629. "sort": 0,
  1630. "tagValuesQuery": "",
  1631. "tags": [],
  1632. "tagsQuery": "",
  1633. "type": "query",
  1634. "useTags": false
  1635. },
  1636. {
  1637. "allValue": ".*",
  1638. "current": {},
  1639. "datasource": "${DS_PROMETHEUS}",
  1640. "hide": 0,
  1641. "includeAll": false,
  1642. "label": "pod",
  1643. "multi": false,
  1644. "name": "pod",
  1645. "options": [],
  1646. "query": "label_values(jvm_info{release=\"$release\"},kubernetes_pod_name)",
  1647. "refresh": 1,
  1648. "regex": "/.*(?!-).*/",
  1649. "sort": 5,
  1650. "tagValuesQuery": "label_values(release)",
  1651. "tags": [],
  1652. "tagsQuery": "label_values(release)",
  1653. "type": "query",
  1654. "useTags": false
  1655. }
  1656. ]
  1657. },
  1658. "time": {
  1659. "from": "now-1h",
  1660. "to": "now"
  1661. },
  1662. "timepicker": {
  1663. "refresh_intervals": [
  1664. "5s",
  1665. "10s",
  1666. "30s",
  1667. "1m",
  1668. "5m",
  1669. "15m",
  1670. "30m",
  1671. "1h",
  1672. "2h",
  1673. "1d"
  1674. ],
  1675. "time_options": [
  1676. "5m",
  1677. "15m",
  1678. "1h",
  1679. "6h",
  1680. "12h",
  1681. "24h",
  1682. "2d",
  1683. "7d",
  1684. "30d"
  1685. ]
  1686. },
  1687. "timezone": "",
  1688. "title": "NiFi JMX exporter",
  1689. "uid": "nshAi8pmz",
  1690. "version": 11
  1691. }
Add Comment
Please, Sign In to add comment