Advertisement
Guest User

Untitled

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