imixs-cloud.json 36 KB

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