bladex-docker.json 39 KB

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