bladex-jvm.json 87 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825
  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. "limit": 100,
  11. "name": "Annotations & Alerts",
  12. "showIn": 0,
  13. "type": "dashboard"
  14. },
  15. {
  16. "datasource": "Prometheus",
  17. "enable": true,
  18. "expr": "resets(process_uptime_seconds{application=\"$application\", instance=\"$instance\"}[1m]) > 0",
  19. "iconColor": "rgba(255, 96, 96, 1)",
  20. "limit": 100,
  21. "name": "进程重启打标",
  22. "showIn": 0,
  23. "step": "1m",
  24. "tagKeys": "restart-tag",
  25. "tags": [],
  26. "textFormat": "uptime reset",
  27. "titleFormat": "Restart",
  28. "type": "tags"
  29. }
  30. ]
  31. },
  32. "description": "SpringCloud微服务JVM监控",
  33. "editable": true,
  34. "gnetId": 12856,
  35. "graphTooltip": 1,
  36. "id": 16,
  37. "iteration": 1612272472672,
  38. "links": [
  39. {
  40. "icon": "cloud",
  41. "tags": [],
  42. "title": "BladeX",
  43. "type": "link",
  44. "url": "https://bladex.vip"
  45. }
  46. ],
  47. "panels": [
  48. {
  49. "collapsed": false,
  50. "datasource": "${DS_SPRING-DEMOT}",
  51. "gridPos": {
  52. "h": 1,
  53. "w": 24,
  54. "x": 0,
  55. "y": 0
  56. },
  57. "id": 125,
  58. "panels": [],
  59. "repeat": null,
  60. "title": "概览",
  61. "type": "row"
  62. },
  63. {
  64. "cacheTimeout": null,
  65. "colorBackground": false,
  66. "colorValue": true,
  67. "colors": [
  68. "rgba(245, 54, 54, 0.9)",
  69. "rgba(237, 129, 40, 0.89)",
  70. "rgba(50, 172, 45, 0.97)"
  71. ],
  72. "datasource": "Prometheus",
  73. "decimals": 1,
  74. "editable": true,
  75. "error": false,
  76. "fieldConfig": {
  77. "defaults": {
  78. "custom": {}
  79. },
  80. "overrides": []
  81. },
  82. "format": "s",
  83. "gauge": {
  84. "maxValue": 100,
  85. "minValue": 0,
  86. "show": false,
  87. "thresholdLabels": false,
  88. "thresholdMarkers": true
  89. },
  90. "gridPos": {
  91. "h": 3,
  92. "w": 6,
  93. "x": 0,
  94. "y": 1
  95. },
  96. "height": "",
  97. "id": 63,
  98. "interval": null,
  99. "links": [],
  100. "mappingType": 1,
  101. "mappingTypes": [
  102. {
  103. "name": "value to text",
  104. "value": 1
  105. },
  106. {
  107. "name": "range to text",
  108. "value": 2
  109. }
  110. ],
  111. "maxDataPoints": 100,
  112. "nullPointMode": "connected",
  113. "nullText": null,
  114. "postfix": "",
  115. "postfixFontSize": "50%",
  116. "prefix": "",
  117. "prefixFontSize": "70%",
  118. "rangeMaps": [
  119. {
  120. "from": "null",
  121. "text": "N/A",
  122. "to": "null"
  123. }
  124. ],
  125. "sparkline": {
  126. "fillColor": "rgba(31, 118, 189, 0.18)",
  127. "full": false,
  128. "lineColor": "rgb(31, 120, 193)",
  129. "show": false
  130. },
  131. "tableColumn": "",
  132. "targets": [
  133. {
  134. "expr": "process_uptime_seconds{application=\"$application\", instance=\"$instance\"}",
  135. "format": "time_series",
  136. "intervalFactor": 2,
  137. "legendFormat": "",
  138. "metric": "",
  139. "refId": "A",
  140. "step": 14400
  141. }
  142. ],
  143. "thresholds": "",
  144. "title": "进程启动时长",
  145. "type": "singlestat",
  146. "valueFontSize": "80%",
  147. "valueMaps": [
  148. {
  149. "op": "=",
  150. "text": "N/A",
  151. "value": "null"
  152. }
  153. ],
  154. "valueName": "current"
  155. },
  156. {
  157. "cacheTimeout": null,
  158. "colorBackground": false,
  159. "colorValue": true,
  160. "colors": [
  161. "rgba(245, 54, 54, 0.9)",
  162. "rgba(237, 129, 40, 0.89)",
  163. "rgba(50, 172, 45, 0.97)"
  164. ],
  165. "datasource": "Prometheus",
  166. "decimals": null,
  167. "editable": true,
  168. "error": false,
  169. "fieldConfig": {
  170. "defaults": {
  171. "custom": {}
  172. },
  173. "overrides": []
  174. },
  175. "format": "dateTimeAsIso",
  176. "gauge": {
  177. "maxValue": 100,
  178. "minValue": 0,
  179. "show": false,
  180. "thresholdLabels": false,
  181. "thresholdMarkers": true
  182. },
  183. "gridPos": {
  184. "h": 3,
  185. "w": 6,
  186. "x": 6,
  187. "y": 1
  188. },
  189. "height": "",
  190. "id": 92,
  191. "interval": null,
  192. "links": [],
  193. "mappingType": 1,
  194. "mappingTypes": [
  195. {
  196. "name": "value to text",
  197. "value": 1
  198. },
  199. {
  200. "name": "range to text",
  201. "value": 2
  202. }
  203. ],
  204. "maxDataPoints": 100,
  205. "nullPointMode": "connected",
  206. "nullText": null,
  207. "postfix": "",
  208. "postfixFontSize": "50%",
  209. "prefix": "",
  210. "prefixFontSize": "70%",
  211. "rangeMaps": [
  212. {
  213. "from": "null",
  214. "text": "N/A",
  215. "to": "null"
  216. }
  217. ],
  218. "sparkline": {
  219. "fillColor": "rgba(31, 118, 189, 0.18)",
  220. "full": false,
  221. "lineColor": "rgb(31, 120, 193)",
  222. "show": false
  223. },
  224. "tableColumn": "",
  225. "targets": [
  226. {
  227. "expr": "process_start_time_seconds{application=\"$application\", instance=\"$instance\"}*1000",
  228. "format": "time_series",
  229. "intervalFactor": 2,
  230. "legendFormat": "",
  231. "metric": "",
  232. "refId": "A",
  233. "step": 14400
  234. }
  235. ],
  236. "thresholds": "",
  237. "title": "进程启动时间",
  238. "type": "singlestat",
  239. "valueFontSize": "70%",
  240. "valueMaps": [
  241. {
  242. "op": "=",
  243. "text": "N/A",
  244. "value": "null"
  245. }
  246. ],
  247. "valueName": "current"
  248. },
  249. {
  250. "cacheTimeout": null,
  251. "colorBackground": false,
  252. "colorValue": true,
  253. "colors": [
  254. "rgba(50, 172, 45, 0.97)",
  255. "rgba(237, 129, 40, 0.89)",
  256. "rgba(245, 54, 54, 0.9)"
  257. ],
  258. "datasource": "Prometheus",
  259. "decimals": 2,
  260. "editable": true,
  261. "error": false,
  262. "fieldConfig": {
  263. "defaults": {
  264. "custom": {}
  265. },
  266. "overrides": []
  267. },
  268. "format": "percent",
  269. "gauge": {
  270. "maxValue": 100,
  271. "minValue": 0,
  272. "show": false,
  273. "thresholdLabels": false,
  274. "thresholdMarkers": true
  275. },
  276. "gridPos": {
  277. "h": 3,
  278. "w": 6,
  279. "x": 12,
  280. "y": 1
  281. },
  282. "id": 65,
  283. "interval": null,
  284. "links": [],
  285. "mappingType": 1,
  286. "mappingTypes": [
  287. {
  288. "name": "value to text",
  289. "value": 1
  290. },
  291. {
  292. "name": "range to text",
  293. "value": 2
  294. }
  295. ],
  296. "maxDataPoints": 100,
  297. "nullPointMode": "connected",
  298. "nullText": null,
  299. "postfix": "",
  300. "postfixFontSize": "50%",
  301. "prefix": "",
  302. "prefixFontSize": "70%",
  303. "rangeMaps": [
  304. {
  305. "from": "null",
  306. "text": "N/A",
  307. "to": "null"
  308. }
  309. ],
  310. "sparkline": {
  311. "fillColor": "rgba(31, 118, 189, 0.18)",
  312. "full": false,
  313. "lineColor": "rgb(31, 120, 193)",
  314. "show": false
  315. },
  316. "tableColumn": "",
  317. "targets": [
  318. {
  319. "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"heap\"})",
  320. "format": "time_series",
  321. "intervalFactor": 2,
  322. "legendFormat": "",
  323. "refId": "A",
  324. "step": 14400
  325. }
  326. ],
  327. "thresholds": "70,90",
  328. "title": "堆内存使用率",
  329. "type": "singlestat",
  330. "valueFontSize": "80%",
  331. "valueMaps": [
  332. {
  333. "op": "=",
  334. "text": "N/A",
  335. "value": "null"
  336. }
  337. ],
  338. "valueName": "current"
  339. },
  340. {
  341. "cacheTimeout": null,
  342. "colorBackground": false,
  343. "colorValue": true,
  344. "colors": [
  345. "rgba(50, 172, 45, 0.97)",
  346. "rgba(237, 129, 40, 0.89)",
  347. "rgba(245, 54, 54, 0.9)"
  348. ],
  349. "datasource": "Prometheus",
  350. "decimals": 2,
  351. "editable": true,
  352. "error": false,
  353. "fieldConfig": {
  354. "defaults": {
  355. "custom": {}
  356. },
  357. "overrides": []
  358. },
  359. "format": "percent",
  360. "gauge": {
  361. "maxValue": 100,
  362. "minValue": 0,
  363. "show": false,
  364. "thresholdLabels": false,
  365. "thresholdMarkers": true
  366. },
  367. "gridPos": {
  368. "h": 3,
  369. "w": 6,
  370. "x": 18,
  371. "y": 1
  372. },
  373. "id": 75,
  374. "interval": null,
  375. "links": [],
  376. "mappingType": 2,
  377. "mappingTypes": [
  378. {
  379. "name": "value to text",
  380. "value": 1
  381. },
  382. {
  383. "name": "range to text",
  384. "value": 2
  385. }
  386. ],
  387. "maxDataPoints": 100,
  388. "nullPointMode": "connected",
  389. "nullText": null,
  390. "postfix": "",
  391. "postfixFontSize": "50%",
  392. "prefix": "",
  393. "prefixFontSize": "70%",
  394. "rangeMaps": [
  395. {
  396. "from": "null",
  397. "text": "N/A",
  398. "to": "null"
  399. },
  400. {
  401. "from": "-99999999999999999999999999999999",
  402. "text": "N/A",
  403. "to": "0"
  404. }
  405. ],
  406. "sparkline": {
  407. "fillColor": "rgba(31, 118, 189, 0.18)",
  408. "full": false,
  409. "lineColor": "rgb(31, 120, 193)",
  410. "show": false
  411. },
  412. "tableColumn": "",
  413. "targets": [
  414. {
  415. "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"nonheap\"})",
  416. "format": "time_series",
  417. "intervalFactor": 2,
  418. "legendFormat": "",
  419. "refId": "A",
  420. "step": 14400
  421. }
  422. ],
  423. "thresholds": "70,90",
  424. "title": "非堆内存使用率",
  425. "type": "singlestat",
  426. "valueFontSize": "80%",
  427. "valueMaps": [
  428. {
  429. "op": "=",
  430. "text": "N/A",
  431. "value": "null"
  432. },
  433. {
  434. "op": "=",
  435. "text": "x",
  436. "value": ""
  437. }
  438. ],
  439. "valueName": "current"
  440. },
  441. {
  442. "collapsed": false,
  443. "datasource": "${DS_SPRING-DEMOT}",
  444. "gridPos": {
  445. "h": 1,
  446. "w": 24,
  447. "x": 0,
  448. "y": 4
  449. },
  450. "id": 126,
  451. "panels": [],
  452. "repeat": null,
  453. "title": "服务黄金指标",
  454. "type": "row"
  455. },
  456. {
  457. "aliasColors": {},
  458. "bars": false,
  459. "dashLength": 10,
  460. "dashes": false,
  461. "datasource": "Prometheus",
  462. "description": "平均每秒处理的请求数",
  463. "fieldConfig": {
  464. "defaults": {
  465. "custom": {},
  466. "links": []
  467. },
  468. "overrides": []
  469. },
  470. "fill": 1,
  471. "fillGradient": 0,
  472. "gridPos": {
  473. "h": 7,
  474. "w": 6,
  475. "x": 0,
  476. "y": 5
  477. },
  478. "hiddenSeries": false,
  479. "id": 111,
  480. "legend": {
  481. "avg": false,
  482. "current": true,
  483. "max": false,
  484. "min": false,
  485. "show": true,
  486. "total": false,
  487. "values": true
  488. },
  489. "lines": true,
  490. "linewidth": 1,
  491. "links": [],
  492. "nullPointMode": "null",
  493. "options": {
  494. "alertThreshold": true
  495. },
  496. "percentage": false,
  497. "pluginVersion": "7.3.7",
  498. "pointradius": 5,
  499. "points": false,
  500. "renderer": "flot",
  501. "seriesOverrides": [],
  502. "spaceLength": 10,
  503. "stack": false,
  504. "steppedLine": false,
  505. "targets": [
  506. {
  507. "expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\"}[1m]))",
  508. "format": "time_series",
  509. "intervalFactor": 1,
  510. "legendFormat": "HTTP",
  511. "refId": "A"
  512. }
  513. ],
  514. "thresholds": [],
  515. "timeFrom": null,
  516. "timeRegions": [],
  517. "timeShift": null,
  518. "title": "QPS(1分钟平均)",
  519. "tooltip": {
  520. "shared": true,
  521. "sort": 0,
  522. "value_type": "individual"
  523. },
  524. "type": "graph",
  525. "xaxis": {
  526. "buckets": null,
  527. "mode": "time",
  528. "name": null,
  529. "show": true,
  530. "values": []
  531. },
  532. "yaxes": [
  533. {
  534. "decimals": null,
  535. "format": "ops",
  536. "label": null,
  537. "logBase": 1,
  538. "max": null,
  539. "min": "0",
  540. "show": true
  541. },
  542. {
  543. "format": "short",
  544. "label": null,
  545. "logBase": 1,
  546. "max": null,
  547. "min": null,
  548. "show": true
  549. }
  550. ],
  551. "yaxis": {
  552. "align": false,
  553. "alignLevel": null
  554. }
  555. },
  556. {
  557. "aliasColors": {
  558. "HTTP": "#890f02",
  559. "HTTP - 5xx": "#bf1b00"
  560. },
  561. "bars": false,
  562. "dashLength": 10,
  563. "dashes": false,
  564. "datasource": "Prometheus",
  565. "fieldConfig": {
  566. "defaults": {
  567. "custom": {},
  568. "links": []
  569. },
  570. "overrides": []
  571. },
  572. "fill": 1,
  573. "fillGradient": 0,
  574. "gridPos": {
  575. "h": 7,
  576. "w": 6,
  577. "x": 6,
  578. "y": 5
  579. },
  580. "hiddenSeries": false,
  581. "id": 112,
  582. "legend": {
  583. "avg": false,
  584. "current": true,
  585. "max": false,
  586. "min": false,
  587. "show": true,
  588. "total": false,
  589. "values": true
  590. },
  591. "lines": true,
  592. "linewidth": 1,
  593. "links": [],
  594. "nullPointMode": "null",
  595. "options": {
  596. "alertThreshold": true
  597. },
  598. "percentage": false,
  599. "pluginVersion": "7.3.7",
  600. "pointradius": 5,
  601. "points": false,
  602. "renderer": "flot",
  603. "seriesOverrides": [],
  604. "spaceLength": 10,
  605. "stack": false,
  606. "steppedLine": false,
  607. "targets": [
  608. {
  609. "expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\", status=~\"5..\"}[1m]))",
  610. "format": "time_series",
  611. "intervalFactor": 1,
  612. "legendFormat": "HTTP - 5xx",
  613. "refId": "A"
  614. }
  615. ],
  616. "thresholds": [],
  617. "timeFrom": null,
  618. "timeRegions": [],
  619. "timeShift": null,
  620. "title": "错误数(1分钟平均)",
  621. "tooltip": {
  622. "shared": true,
  623. "sort": 0,
  624. "value_type": "individual"
  625. },
  626. "type": "graph",
  627. "xaxis": {
  628. "buckets": null,
  629. "mode": "time",
  630. "name": null,
  631. "show": true,
  632. "values": []
  633. },
  634. "yaxes": [
  635. {
  636. "decimals": null,
  637. "format": "ops",
  638. "label": null,
  639. "logBase": 1,
  640. "max": null,
  641. "min": "0",
  642. "show": true
  643. },
  644. {
  645. "format": "short",
  646. "label": null,
  647. "logBase": 1,
  648. "max": null,
  649. "min": null,
  650. "show": true
  651. }
  652. ],
  653. "yaxis": {
  654. "align": false,
  655. "alignLevel": null
  656. }
  657. },
  658. {
  659. "aliasColors": {},
  660. "bars": false,
  661. "dashLength": 10,
  662. "dashes": false,
  663. "datasource": "Prometheus",
  664. "fieldConfig": {
  665. "defaults": {
  666. "custom": {},
  667. "links": []
  668. },
  669. "overrides": []
  670. },
  671. "fill": 1,
  672. "fillGradient": 0,
  673. "gridPos": {
  674. "h": 7,
  675. "w": 6,
  676. "x": 12,
  677. "y": 5
  678. },
  679. "hiddenSeries": false,
  680. "id": 113,
  681. "legend": {
  682. "avg": false,
  683. "current": true,
  684. "max": false,
  685. "min": false,
  686. "show": true,
  687. "total": false,
  688. "values": true
  689. },
  690. "lines": true,
  691. "linewidth": 1,
  692. "links": [],
  693. "nullPointMode": "null",
  694. "options": {
  695. "alertThreshold": true
  696. },
  697. "percentage": false,
  698. "pluginVersion": "7.3.7",
  699. "pointradius": 5,
  700. "points": false,
  701. "renderer": "flot",
  702. "seriesOverrides": [],
  703. "spaceLength": 10,
  704. "stack": false,
  705. "steppedLine": false,
  706. "targets": [
  707. {
  708. "expr": "sum(rate(http_server_requests_seconds_sum{application=\"$application\", instance=\"$instance\", status!~\"5..\"}[1m]))/sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\", status!~\"5..\"}[1m]))",
  709. "format": "time_series",
  710. "hide": false,
  711. "intervalFactor": 1,
  712. "legendFormat": "HTTP - AVG",
  713. "refId": "A"
  714. },
  715. {
  716. "expr": "max(http_server_requests_seconds_max{application=\"$application\", instance=\"$instance\", status!~\"5..\"})",
  717. "format": "time_series",
  718. "hide": false,
  719. "intervalFactor": 1,
  720. "legendFormat": "HTTP - MAX",
  721. "refId": "B"
  722. }
  723. ],
  724. "thresholds": [],
  725. "timeFrom": null,
  726. "timeRegions": [],
  727. "timeShift": null,
  728. "title": "请求耗时(1分钟平均)",
  729. "tooltip": {
  730. "shared": true,
  731. "sort": 0,
  732. "value_type": "individual"
  733. },
  734. "type": "graph",
  735. "xaxis": {
  736. "buckets": null,
  737. "mode": "time",
  738. "name": null,
  739. "show": true,
  740. "values": []
  741. },
  742. "yaxes": [
  743. {
  744. "format": "s",
  745. "label": null,
  746. "logBase": 1,
  747. "max": null,
  748. "min": "0",
  749. "show": true
  750. },
  751. {
  752. "format": "short",
  753. "label": null,
  754. "logBase": 1,
  755. "max": null,
  756. "min": null,
  757. "show": true
  758. }
  759. ],
  760. "yaxis": {
  761. "align": false,
  762. "alignLevel": null
  763. }
  764. },
  765. {
  766. "aliasColors": {},
  767. "bars": false,
  768. "dashLength": 10,
  769. "dashes": false,
  770. "datasource": "Prometheus",
  771. "description": "饱和度指标来自于Google SRE的的黄金指标, 指服务的过载程度, 当系统过载时, 往往意味着请求需要排队处理",
  772. "fieldConfig": {
  773. "defaults": {
  774. "custom": {},
  775. "links": []
  776. },
  777. "overrides": []
  778. },
  779. "fill": 1,
  780. "fillGradient": 0,
  781. "gridPos": {
  782. "h": 7,
  783. "w": 6,
  784. "x": 18,
  785. "y": 5
  786. },
  787. "hiddenSeries": false,
  788. "id": 119,
  789. "legend": {
  790. "alignAsTable": false,
  791. "avg": false,
  792. "current": true,
  793. "max": false,
  794. "min": false,
  795. "show": true,
  796. "total": false,
  797. "values": true
  798. },
  799. "lines": true,
  800. "linewidth": 1,
  801. "links": [],
  802. "nullPointMode": "null",
  803. "options": {
  804. "alertThreshold": true
  805. },
  806. "percentage": false,
  807. "pluginVersion": "7.3.7",
  808. "pointradius": 5,
  809. "points": false,
  810. "renderer": "flot",
  811. "seriesOverrides": [],
  812. "spaceLength": 10,
  813. "stack": false,
  814. "steppedLine": false,
  815. "targets": [
  816. {
  817. "expr": "tomcat_threads_busy_threads{application=\"$application\", instance=\"$instance\"}",
  818. "format": "time_series",
  819. "hide": false,
  820. "intervalFactor": 2,
  821. "legendFormat": "TOMCAT - BSY",
  822. "refId": "A"
  823. },
  824. {
  825. "expr": "tomcat_threads_current_threads{application=\"$application\", instance=\"$instance\"}",
  826. "format": "time_series",
  827. "hide": false,
  828. "intervalFactor": 2,
  829. "legendFormat": "TOMCAT - CUR",
  830. "refId": "B"
  831. },
  832. {
  833. "expr": "tomcat_threads_config_max_threads{application=\"$application\", instance=\"$instance\"}",
  834. "format": "time_series",
  835. "hide": false,
  836. "intervalFactor": 2,
  837. "legendFormat": "TOMCAT - MAX",
  838. "refId": "C"
  839. },
  840. {
  841. "expr": "jetty_threads_busy{application=\"$application\", instance=\"$instance\"}",
  842. "format": "time_series",
  843. "hide": false,
  844. "intervalFactor": 2,
  845. "legendFormat": "JETTY - BSY",
  846. "refId": "D"
  847. },
  848. {
  849. "expr": "jetty_threads_current{application=\"$application\", instance=\"$instance\"}",
  850. "format": "time_series",
  851. "hide": false,
  852. "intervalFactor": 2,
  853. "legendFormat": "JETTY - CUR",
  854. "refId": "E"
  855. },
  856. {
  857. "expr": "jetty_threads_config_max{application=\"$application\", instance=\"$instance\"}",
  858. "format": "time_series",
  859. "hide": false,
  860. "intervalFactor": 2,
  861. "legendFormat": "JETTY - MAX",
  862. "refId": "F"
  863. }
  864. ],
  865. "thresholds": [],
  866. "timeFrom": null,
  867. "timeRegions": [],
  868. "timeShift": null,
  869. "title": "饱和度",
  870. "tooltip": {
  871. "shared": true,
  872. "sort": 0,
  873. "value_type": "individual"
  874. },
  875. "type": "graph",
  876. "xaxis": {
  877. "buckets": null,
  878. "mode": "time",
  879. "name": null,
  880. "show": true,
  881. "values": []
  882. },
  883. "yaxes": [
  884. {
  885. "format": "short",
  886. "label": null,
  887. "logBase": 1,
  888. "max": null,
  889. "min": "0",
  890. "show": true
  891. },
  892. {
  893. "format": "short",
  894. "label": null,
  895. "logBase": 1,
  896. "max": null,
  897. "min": null,
  898. "show": true
  899. }
  900. ],
  901. "yaxis": {
  902. "align": false,
  903. "alignLevel": null
  904. }
  905. },
  906. {
  907. "collapsed": false,
  908. "datasource": "${DS_SPRING-DEMOT}",
  909. "gridPos": {
  910. "h": 1,
  911. "w": 24,
  912. "x": 0,
  913. "y": 12
  914. },
  915. "id": 127,
  916. "panels": [],
  917. "repeat": null,
  918. "title": "JVM 内存",
  919. "type": "row"
  920. },
  921. {
  922. "aliasColors": {},
  923. "bars": false,
  924. "dashLength": 10,
  925. "dashes": false,
  926. "datasource": "Prometheus",
  927. "editable": true,
  928. "error": false,
  929. "fieldConfig": {
  930. "defaults": {
  931. "custom": {},
  932. "links": []
  933. },
  934. "overrides": []
  935. },
  936. "fill": 1,
  937. "fillGradient": 0,
  938. "grid": {
  939. "leftLogBase": 1,
  940. "leftMax": null,
  941. "leftMin": null,
  942. "rightLogBase": 1,
  943. "rightMax": null,
  944. "rightMin": null
  945. },
  946. "gridPos": {
  947. "h": 7,
  948. "w": 6,
  949. "x": 0,
  950. "y": 13
  951. },
  952. "hiddenSeries": false,
  953. "id": 24,
  954. "legend": {
  955. "avg": false,
  956. "current": true,
  957. "max": true,
  958. "min": false,
  959. "show": true,
  960. "total": false,
  961. "values": true
  962. },
  963. "lines": true,
  964. "linewidth": 1,
  965. "links": [],
  966. "nullPointMode": "null",
  967. "options": {
  968. "alertThreshold": true
  969. },
  970. "percentage": false,
  971. "pluginVersion": "7.3.7",
  972. "pointradius": 5,
  973. "points": false,
  974. "renderer": "flot",
  975. "seriesOverrides": [],
  976. "spaceLength": 10,
  977. "stack": false,
  978. "steppedLine": false,
  979. "targets": [
  980. {
  981. "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})",
  982. "format": "time_series",
  983. "intervalFactor": 2,
  984. "legendFormat": "used",
  985. "metric": "",
  986. "refId": "A",
  987. "step": 2400
  988. },
  989. {
  990. "expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})",
  991. "format": "time_series",
  992. "intervalFactor": 2,
  993. "legendFormat": "committed",
  994. "refId": "B",
  995. "step": 2400
  996. },
  997. {
  998. "expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})",
  999. "format": "time_series",
  1000. "intervalFactor": 2,
  1001. "legendFormat": "max",
  1002. "refId": "C",
  1003. "step": 2400
  1004. }
  1005. ],
  1006. "thresholds": [],
  1007. "timeFrom": null,
  1008. "timeRegions": [],
  1009. "timeShift": null,
  1010. "title": "堆内存",
  1011. "tooltip": {
  1012. "msResolution": false,
  1013. "shared": true,
  1014. "sort": 0,
  1015. "value_type": "cumulative"
  1016. },
  1017. "type": "graph",
  1018. "x-axis": true,
  1019. "xaxis": {
  1020. "buckets": null,
  1021. "mode": "time",
  1022. "name": null,
  1023. "show": true,
  1024. "values": []
  1025. },
  1026. "y-axis": true,
  1027. "y_formats": [
  1028. "mbytes",
  1029. "short"
  1030. ],
  1031. "yaxes": [
  1032. {
  1033. "format": "bytes",
  1034. "label": null,
  1035. "logBase": 1,
  1036. "max": null,
  1037. "min": 0,
  1038. "show": true
  1039. },
  1040. {
  1041. "format": "short",
  1042. "label": null,
  1043. "logBase": 1,
  1044. "max": null,
  1045. "min": null,
  1046. "show": true
  1047. }
  1048. ],
  1049. "yaxis": {
  1050. "align": false,
  1051. "alignLevel": null
  1052. }
  1053. },
  1054. {
  1055. "aliasColors": {},
  1056. "bars": false,
  1057. "dashLength": 10,
  1058. "dashes": false,
  1059. "datasource": "Prometheus",
  1060. "editable": true,
  1061. "error": false,
  1062. "fieldConfig": {
  1063. "defaults": {
  1064. "custom": {},
  1065. "links": []
  1066. },
  1067. "overrides": []
  1068. },
  1069. "fill": 1,
  1070. "fillGradient": 0,
  1071. "grid": {
  1072. "leftLogBase": 1,
  1073. "leftMax": null,
  1074. "leftMin": null,
  1075. "rightLogBase": 1,
  1076. "rightMax": null,
  1077. "rightMin": null
  1078. },
  1079. "gridPos": {
  1080. "h": 7,
  1081. "w": 6,
  1082. "x": 6,
  1083. "y": 13
  1084. },
  1085. "hiddenSeries": false,
  1086. "id": 25,
  1087. "legend": {
  1088. "avg": false,
  1089. "current": true,
  1090. "max": true,
  1091. "min": false,
  1092. "show": true,
  1093. "total": false,
  1094. "values": true
  1095. },
  1096. "lines": true,
  1097. "linewidth": 1,
  1098. "links": [],
  1099. "nullPointMode": "null",
  1100. "options": {
  1101. "alertThreshold": true
  1102. },
  1103. "percentage": false,
  1104. "pluginVersion": "7.3.7",
  1105. "pointradius": 5,
  1106. "points": false,
  1107. "renderer": "flot",
  1108. "seriesOverrides": [],
  1109. "spaceLength": 10,
  1110. "stack": false,
  1111. "steppedLine": false,
  1112. "targets": [
  1113. {
  1114. "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})",
  1115. "format": "time_series",
  1116. "interval": "",
  1117. "intervalFactor": 2,
  1118. "legendFormat": "used",
  1119. "metric": "",
  1120. "refId": "A",
  1121. "step": 2400
  1122. },
  1123. {
  1124. "expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})",
  1125. "format": "time_series",
  1126. "intervalFactor": 2,
  1127. "legendFormat": "committed",
  1128. "refId": "B",
  1129. "step": 2400
  1130. },
  1131. {
  1132. "expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})",
  1133. "format": "time_series",
  1134. "intervalFactor": 2,
  1135. "legendFormat": "max",
  1136. "refId": "C",
  1137. "step": 2400
  1138. }
  1139. ],
  1140. "thresholds": [],
  1141. "timeFrom": null,
  1142. "timeRegions": [],
  1143. "timeShift": null,
  1144. "title": "非堆内存",
  1145. "tooltip": {
  1146. "msResolution": false,
  1147. "shared": true,
  1148. "sort": 0,
  1149. "value_type": "cumulative"
  1150. },
  1151. "type": "graph",
  1152. "x-axis": true,
  1153. "xaxis": {
  1154. "buckets": null,
  1155. "mode": "time",
  1156. "name": null,
  1157. "show": true,
  1158. "values": []
  1159. },
  1160. "y-axis": true,
  1161. "y_formats": [
  1162. "mbytes",
  1163. "short"
  1164. ],
  1165. "yaxes": [
  1166. {
  1167. "format": "bytes",
  1168. "label": null,
  1169. "logBase": 1,
  1170. "max": null,
  1171. "min": 0,
  1172. "show": true
  1173. },
  1174. {
  1175. "format": "short",
  1176. "label": null,
  1177. "logBase": 1,
  1178. "max": null,
  1179. "min": null,
  1180. "show": true
  1181. }
  1182. ],
  1183. "yaxis": {
  1184. "align": false,
  1185. "alignLevel": null
  1186. }
  1187. },
  1188. {
  1189. "aliasColors": {},
  1190. "bars": false,
  1191. "dashLength": 10,
  1192. "dashes": false,
  1193. "datasource": "Prometheus",
  1194. "editable": true,
  1195. "error": false,
  1196. "fieldConfig": {
  1197. "defaults": {
  1198. "custom": {},
  1199. "links": []
  1200. },
  1201. "overrides": []
  1202. },
  1203. "fill": 1,
  1204. "fillGradient": 0,
  1205. "grid": {
  1206. "leftLogBase": 1,
  1207. "leftMax": null,
  1208. "leftMin": null,
  1209. "rightLogBase": 1,
  1210. "rightMax": null,
  1211. "rightMin": null
  1212. },
  1213. "gridPos": {
  1214. "h": 7,
  1215. "w": 6,
  1216. "x": 12,
  1217. "y": 13
  1218. },
  1219. "hiddenSeries": false,
  1220. "id": 26,
  1221. "legend": {
  1222. "alignAsTable": false,
  1223. "avg": false,
  1224. "current": true,
  1225. "max": true,
  1226. "min": false,
  1227. "show": true,
  1228. "total": false,
  1229. "values": true
  1230. },
  1231. "lines": true,
  1232. "linewidth": 1,
  1233. "links": [],
  1234. "nullPointMode": "null",
  1235. "options": {
  1236. "alertThreshold": true
  1237. },
  1238. "percentage": false,
  1239. "pluginVersion": "7.3.7",
  1240. "pointradius": 5,
  1241. "points": false,
  1242. "renderer": "flot",
  1243. "seriesOverrides": [],
  1244. "spaceLength": 10,
  1245. "stack": false,
  1246. "steppedLine": false,
  1247. "targets": [
  1248. {
  1249. "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\"})",
  1250. "format": "time_series",
  1251. "intervalFactor": 2,
  1252. "legendFormat": "used",
  1253. "metric": "",
  1254. "refId": "A",
  1255. "step": 2400
  1256. },
  1257. {
  1258. "expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\"})",
  1259. "format": "time_series",
  1260. "intervalFactor": 2,
  1261. "legendFormat": "committed",
  1262. "refId": "B",
  1263. "step": 2400
  1264. },
  1265. {
  1266. "expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\"})",
  1267. "format": "time_series",
  1268. "intervalFactor": 2,
  1269. "legendFormat": "max",
  1270. "refId": "C",
  1271. "step": 2400
  1272. }
  1273. ],
  1274. "thresholds": [],
  1275. "timeFrom": null,
  1276. "timeRegions": [],
  1277. "timeShift": null,
  1278. "title": "总内存",
  1279. "tooltip": {
  1280. "msResolution": false,
  1281. "shared": true,
  1282. "sort": 0,
  1283. "value_type": "cumulative"
  1284. },
  1285. "type": "graph",
  1286. "x-axis": true,
  1287. "xaxis": {
  1288. "buckets": null,
  1289. "mode": "time",
  1290. "name": null,
  1291. "show": true,
  1292. "values": []
  1293. },
  1294. "y-axis": true,
  1295. "y_formats": [
  1296. "mbytes",
  1297. "short"
  1298. ],
  1299. "yaxes": [
  1300. {
  1301. "format": "bytes",
  1302. "label": "",
  1303. "logBase": 1,
  1304. "max": null,
  1305. "min": 0,
  1306. "show": true
  1307. },
  1308. {
  1309. "format": "short",
  1310. "label": null,
  1311. "logBase": 1,
  1312. "max": null,
  1313. "min": null,
  1314. "show": true
  1315. }
  1316. ],
  1317. "yaxis": {
  1318. "align": false,
  1319. "alignLevel": null
  1320. }
  1321. },
  1322. {
  1323. "aliasColors": {},
  1324. "bars": false,
  1325. "dashLength": 10,
  1326. "dashes": false,
  1327. "datasource": "Prometheus",
  1328. "description": "从操作系统层面看JVM进程的内存使用, 因为JVM并不是直接按照配置的内存参数申请全部内存",
  1329. "editable": true,
  1330. "error": false,
  1331. "fieldConfig": {
  1332. "defaults": {
  1333. "custom": {},
  1334. "links": []
  1335. },
  1336. "overrides": []
  1337. },
  1338. "fill": 1,
  1339. "fillGradient": 0,
  1340. "grid": {
  1341. "leftLogBase": 1,
  1342. "leftMax": null,
  1343. "leftMin": null,
  1344. "rightLogBase": 1,
  1345. "rightMax": null,
  1346. "rightMin": null
  1347. },
  1348. "gridPos": {
  1349. "h": 7,
  1350. "w": 6,
  1351. "x": 18,
  1352. "y": 13
  1353. },
  1354. "hiddenSeries": false,
  1355. "id": 86,
  1356. "legend": {
  1357. "avg": false,
  1358. "current": true,
  1359. "max": true,
  1360. "min": false,
  1361. "show": true,
  1362. "total": false,
  1363. "values": true
  1364. },
  1365. "lines": true,
  1366. "linewidth": 1,
  1367. "links": [],
  1368. "nullPointMode": "null",
  1369. "options": {
  1370. "alertThreshold": true
  1371. },
  1372. "percentage": false,
  1373. "pluginVersion": "7.3.7",
  1374. "pointradius": 5,
  1375. "points": false,
  1376. "renderer": "flot",
  1377. "seriesOverrides": [],
  1378. "spaceLength": 10,
  1379. "stack": false,
  1380. "steppedLine": false,
  1381. "targets": [
  1382. {
  1383. "expr": "process_memory_vss_bytes{application=\"$application\", instance=\"$instance\"}",
  1384. "format": "time_series",
  1385. "hide": true,
  1386. "intervalFactor": 2,
  1387. "legendFormat": "vss",
  1388. "metric": "",
  1389. "refId": "A",
  1390. "step": 2400
  1391. },
  1392. {
  1393. "expr": "process_memory_rss_bytes{application=\"$application\", instance=\"$instance\"}",
  1394. "format": "time_series",
  1395. "intervalFactor": 2,
  1396. "legendFormat": "rss",
  1397. "refId": "B"
  1398. },
  1399. {
  1400. "expr": "process_memory_swap_bytes{application=\"$application\", instance=\"$instance\"}",
  1401. "format": "time_series",
  1402. "intervalFactor": 2,
  1403. "legendFormat": "swap",
  1404. "refId": "C"
  1405. },
  1406. {
  1407. "expr": "process_memory_rss_bytes{application=\"$application\", instance=\"$instance\"} + process_memory_swap_bytes{application=\"$application\", instance=\"$instance\"}",
  1408. "format": "time_series",
  1409. "intervalFactor": 2,
  1410. "legendFormat": "total",
  1411. "refId": "D"
  1412. }
  1413. ],
  1414. "thresholds": [],
  1415. "timeFrom": null,
  1416. "timeRegions": [],
  1417. "timeShift": null,
  1418. "title": "JVM 进程内存",
  1419. "tooltip": {
  1420. "msResolution": false,
  1421. "shared": true,
  1422. "sort": 0,
  1423. "value_type": "cumulative"
  1424. },
  1425. "type": "graph",
  1426. "x-axis": true,
  1427. "xaxis": {
  1428. "buckets": null,
  1429. "mode": "time",
  1430. "name": null,
  1431. "show": true,
  1432. "values": []
  1433. },
  1434. "y-axis": true,
  1435. "y_formats": [
  1436. "mbytes",
  1437. "short"
  1438. ],
  1439. "yaxes": [
  1440. {
  1441. "format": "bytes",
  1442. "label": "",
  1443. "logBase": 1,
  1444. "max": null,
  1445. "min": "0",
  1446. "show": true
  1447. },
  1448. {
  1449. "format": "short",
  1450. "label": null,
  1451. "logBase": 1,
  1452. "max": null,
  1453. "min": null,
  1454. "show": true
  1455. }
  1456. ],
  1457. "yaxis": {
  1458. "align": false,
  1459. "alignLevel": null
  1460. }
  1461. },
  1462. {
  1463. "collapsed": false,
  1464. "datasource": "Prometheus",
  1465. "gridPos": {
  1466. "h": 1,
  1467. "w": 24,
  1468. "x": 0,
  1469. "y": 20
  1470. },
  1471. "id": 128,
  1472. "panels": [],
  1473. "repeat": null,
  1474. "title": "JVM 负载",
  1475. "type": "row"
  1476. },
  1477. {
  1478. "aliasColors": {},
  1479. "bars": false,
  1480. "dashLength": 10,
  1481. "dashes": false,
  1482. "datasource": "Prometheus",
  1483. "editable": true,
  1484. "error": false,
  1485. "fieldConfig": {
  1486. "defaults": {
  1487. "custom": {},
  1488. "links": []
  1489. },
  1490. "overrides": []
  1491. },
  1492. "fill": 1,
  1493. "fillGradient": 0,
  1494. "grid": {
  1495. "leftLogBase": 1,
  1496. "leftMax": null,
  1497. "leftMin": null,
  1498. "rightLogBase": 1,
  1499. "rightMax": null,
  1500. "rightMin": null
  1501. },
  1502. "gridPos": {
  1503. "h": 7,
  1504. "w": 6,
  1505. "x": 0,
  1506. "y": 21
  1507. },
  1508. "hiddenSeries": false,
  1509. "id": 106,
  1510. "legend": {
  1511. "avg": false,
  1512. "current": true,
  1513. "max": true,
  1514. "min": false,
  1515. "show": true,
  1516. "total": false,
  1517. "values": true
  1518. },
  1519. "lines": true,
  1520. "linewidth": 1,
  1521. "links": [],
  1522. "nullPointMode": "null",
  1523. "options": {
  1524. "alertThreshold": true
  1525. },
  1526. "percentage": false,
  1527. "pluginVersion": "7.3.7",
  1528. "pointradius": 5,
  1529. "points": false,
  1530. "renderer": "flot",
  1531. "seriesOverrides": [],
  1532. "spaceLength": 10,
  1533. "stack": false,
  1534. "steppedLine": false,
  1535. "targets": [
  1536. {
  1537. "expr": "system_cpu_usage{application=\"$application\", instance=\"$instance\"}",
  1538. "format": "time_series",
  1539. "hide": false,
  1540. "intervalFactor": 1,
  1541. "legendFormat": "system",
  1542. "metric": "",
  1543. "refId": "A",
  1544. "step": 2400
  1545. },
  1546. {
  1547. "expr": "process_cpu_usage{application=\"$application\", instance=\"$instance\"}",
  1548. "format": "time_series",
  1549. "hide": false,
  1550. "intervalFactor": 1,
  1551. "legendFormat": "process",
  1552. "refId": "B"
  1553. },
  1554. {
  1555. "expr": "avg_over_time(process_cpu_usage{application=\"$application\", instance=\"$instance\"}[1h])",
  1556. "format": "time_series",
  1557. "hide": false,
  1558. "intervalFactor": 1,
  1559. "legendFormat": "process-1h",
  1560. "refId": "C"
  1561. }
  1562. ],
  1563. "thresholds": [],
  1564. "timeFrom": null,
  1565. "timeRegions": [],
  1566. "timeShift": null,
  1567. "title": "CPU 使用率",
  1568. "tooltip": {
  1569. "msResolution": false,
  1570. "shared": true,
  1571. "sort": 0,
  1572. "value_type": "cumulative"
  1573. },
  1574. "type": "graph",
  1575. "x-axis": true,
  1576. "xaxis": {
  1577. "buckets": null,
  1578. "mode": "time",
  1579. "name": null,
  1580. "show": true,
  1581. "values": []
  1582. },
  1583. "y-axis": true,
  1584. "y_formats": [
  1585. "short",
  1586. "short"
  1587. ],
  1588. "yaxes": [
  1589. {
  1590. "decimals": 1,
  1591. "format": "percentunit",
  1592. "label": "",
  1593. "logBase": 1,
  1594. "max": "1",
  1595. "min": 0,
  1596. "show": true
  1597. },
  1598. {
  1599. "format": "short",
  1600. "label": null,
  1601. "logBase": 1,
  1602. "max": null,
  1603. "min": null,
  1604. "show": true
  1605. }
  1606. ],
  1607. "yaxis": {
  1608. "align": false,
  1609. "alignLevel": null
  1610. }
  1611. },
  1612. {
  1613. "aliasColors": {},
  1614. "bars": false,
  1615. "dashLength": 10,
  1616. "dashes": false,
  1617. "datasource": "Prometheus",
  1618. "editable": true,
  1619. "error": false,
  1620. "fieldConfig": {
  1621. "defaults": {
  1622. "custom": {},
  1623. "links": []
  1624. },
  1625. "overrides": []
  1626. },
  1627. "fill": 1,
  1628. "fillGradient": 0,
  1629. "grid": {
  1630. "leftLogBase": 1,
  1631. "leftMax": null,
  1632. "leftMin": null,
  1633. "rightLogBase": 1,
  1634. "rightMax": null,
  1635. "rightMin": null
  1636. },
  1637. "gridPos": {
  1638. "h": 7,
  1639. "w": 6,
  1640. "x": 6,
  1641. "y": 21
  1642. },
  1643. "hiddenSeries": false,
  1644. "id": 93,
  1645. "legend": {
  1646. "avg": false,
  1647. "current": true,
  1648. "max": true,
  1649. "min": false,
  1650. "show": true,
  1651. "total": false,
  1652. "values": true
  1653. },
  1654. "lines": true,
  1655. "linewidth": 1,
  1656. "links": [],
  1657. "nullPointMode": "null",
  1658. "options": {
  1659. "alertThreshold": true
  1660. },
  1661. "percentage": false,
  1662. "pluginVersion": "7.3.7",
  1663. "pointradius": 5,
  1664. "points": false,
  1665. "renderer": "flot",
  1666. "seriesOverrides": [],
  1667. "spaceLength": 10,
  1668. "stack": false,
  1669. "steppedLine": false,
  1670. "targets": [
  1671. {
  1672. "expr": "system_load_average_1m{application=\"$application\", instance=\"$instance\"}",
  1673. "format": "time_series",
  1674. "intervalFactor": 2,
  1675. "legendFormat": "load1",
  1676. "metric": "",
  1677. "refId": "A",
  1678. "step": 2400
  1679. },
  1680. {
  1681. "expr": "system_cpu_count{application=\"$application\", instance=\"$instance\"}",
  1682. "format": "time_series",
  1683. "intervalFactor": 2,
  1684. "legendFormat": "cpu核数",
  1685. "refId": "B"
  1686. }
  1687. ],
  1688. "thresholds": [],
  1689. "timeFrom": null,
  1690. "timeRegions": [],
  1691. "timeShift": null,
  1692. "title": "Load",
  1693. "tooltip": {
  1694. "msResolution": false,
  1695. "shared": true,
  1696. "sort": 0,
  1697. "value_type": "cumulative"
  1698. },
  1699. "type": "graph",
  1700. "x-axis": true,
  1701. "xaxis": {
  1702. "buckets": null,
  1703. "mode": "time",
  1704. "name": null,
  1705. "show": true,
  1706. "values": []
  1707. },
  1708. "y-axis": true,
  1709. "y_formats": [
  1710. "short",
  1711. "short"
  1712. ],
  1713. "yaxes": [
  1714. {
  1715. "decimals": 1,
  1716. "format": "short",
  1717. "label": "",
  1718. "logBase": 1,
  1719. "max": null,
  1720. "min": 0,
  1721. "show": true
  1722. },
  1723. {
  1724. "format": "short",
  1725. "label": null,
  1726. "logBase": 1,
  1727. "max": null,
  1728. "min": null,
  1729. "show": true
  1730. }
  1731. ],
  1732. "yaxis": {
  1733. "align": false,
  1734. "alignLevel": null
  1735. }
  1736. },
  1737. {
  1738. "aliasColors": {},
  1739. "bars": false,
  1740. "dashLength": 10,
  1741. "dashes": false,
  1742. "datasource": "Prometheus",
  1743. "editable": true,
  1744. "error": false,
  1745. "fieldConfig": {
  1746. "defaults": {
  1747. "custom": {},
  1748. "links": []
  1749. },
  1750. "overrides": []
  1751. },
  1752. "fill": 1,
  1753. "fillGradient": 0,
  1754. "grid": {
  1755. "leftLogBase": 1,
  1756. "leftMax": null,
  1757. "leftMin": null,
  1758. "rightLogBase": 1,
  1759. "rightMax": null,
  1760. "rightMin": null
  1761. },
  1762. "gridPos": {
  1763. "h": 7,
  1764. "w": 6,
  1765. "x": 12,
  1766. "y": 21
  1767. },
  1768. "hiddenSeries": false,
  1769. "id": 32,
  1770. "legend": {
  1771. "avg": false,
  1772. "current": true,
  1773. "max": true,
  1774. "min": false,
  1775. "show": true,
  1776. "total": false,
  1777. "values": true
  1778. },
  1779. "lines": true,
  1780. "linewidth": 1,
  1781. "links": [],
  1782. "nullPointMode": "null",
  1783. "options": {
  1784. "alertThreshold": true
  1785. },
  1786. "percentage": false,
  1787. "pluginVersion": "7.3.7",
  1788. "pointradius": 5,
  1789. "points": false,
  1790. "renderer": "flot",
  1791. "seriesOverrides": [],
  1792. "spaceLength": 10,
  1793. "stack": false,
  1794. "steppedLine": false,
  1795. "targets": [
  1796. {
  1797. "expr": "jvm_threads_live_threads{application=\"$application\", instance=\"$instance\"}",
  1798. "format": "time_series",
  1799. "intervalFactor": 2,
  1800. "legendFormat": "live",
  1801. "metric": "",
  1802. "refId": "A",
  1803. "step": 2400
  1804. },
  1805. {
  1806. "expr": "jvm_threads_daemon_threads{application=\"$application\", instance=\"$instance\"}",
  1807. "format": "time_series",
  1808. "intervalFactor": 2,
  1809. "legendFormat": "daemon",
  1810. "metric": "",
  1811. "refId": "B",
  1812. "step": 2400
  1813. },
  1814. {
  1815. "expr": "jvm_threads_peak_threads{application=\"$application\", instance=\"$instance\"}",
  1816. "format": "time_series",
  1817. "intervalFactor": 2,
  1818. "legendFormat": "peak",
  1819. "refId": "C",
  1820. "step": 2400
  1821. },
  1822. {
  1823. "expr": "process_threads{application=\"$application\", instance=\"$instance\"}",
  1824. "format": "time_series",
  1825. "interval": "",
  1826. "intervalFactor": 2,
  1827. "legendFormat": "process",
  1828. "refId": "D",
  1829. "step": 2400
  1830. }
  1831. ],
  1832. "thresholds": [],
  1833. "timeFrom": null,
  1834. "timeRegions": [],
  1835. "timeShift": null,
  1836. "title": "线程数",
  1837. "tooltip": {
  1838. "msResolution": false,
  1839. "shared": true,
  1840. "sort": 0,
  1841. "value_type": "cumulative"
  1842. },
  1843. "type": "graph",
  1844. "x-axis": true,
  1845. "xaxis": {
  1846. "buckets": null,
  1847. "mode": "time",
  1848. "name": null,
  1849. "show": true,
  1850. "values": []
  1851. },
  1852. "y-axis": true,
  1853. "y_formats": [
  1854. "short",
  1855. "short"
  1856. ],
  1857. "yaxes": [
  1858. {
  1859. "decimals": 0,
  1860. "format": "short",
  1861. "label": null,
  1862. "logBase": 1,
  1863. "max": null,
  1864. "min": 0,
  1865. "show": true
  1866. },
  1867. {
  1868. "format": "short",
  1869. "label": null,
  1870. "logBase": 1,
  1871. "max": null,
  1872. "min": null,
  1873. "show": true
  1874. }
  1875. ],
  1876. "yaxis": {
  1877. "align": false,
  1878. "alignLevel": null
  1879. }
  1880. },
  1881. {
  1882. "aliasColors": {
  1883. "blocked": "#bf1b00",
  1884. "new": "#fce2de",
  1885. "runnable": "#7eb26d",
  1886. "terminated": "#511749",
  1887. "timed-waiting": "#c15c17",
  1888. "waiting": "#eab839"
  1889. },
  1890. "bars": false,
  1891. "dashLength": 10,
  1892. "dashes": false,
  1893. "datasource": "Prometheus",
  1894. "description": "需特别关注blocked的线程数, 这意味着线程被阻塞了, 如果线程全部是blocked状态, 则系统无法处理新请求",
  1895. "fieldConfig": {
  1896. "defaults": {
  1897. "custom": {},
  1898. "links": []
  1899. },
  1900. "overrides": []
  1901. },
  1902. "fill": 1,
  1903. "fillGradient": 0,
  1904. "gridPos": {
  1905. "h": 7,
  1906. "w": 6,
  1907. "x": 18,
  1908. "y": 21
  1909. },
  1910. "hiddenSeries": false,
  1911. "id": 124,
  1912. "legend": {
  1913. "alignAsTable": false,
  1914. "avg": false,
  1915. "current": true,
  1916. "max": true,
  1917. "min": false,
  1918. "rightSide": false,
  1919. "show": true,
  1920. "total": false,
  1921. "values": true
  1922. },
  1923. "lines": true,
  1924. "linewidth": 1,
  1925. "links": [],
  1926. "nullPointMode": "null",
  1927. "options": {
  1928. "alertThreshold": true
  1929. },
  1930. "percentage": false,
  1931. "pluginVersion": "7.3.7",
  1932. "pointradius": 5,
  1933. "points": false,
  1934. "renderer": "flot",
  1935. "seriesOverrides": [],
  1936. "spaceLength": 10,
  1937. "stack": false,
  1938. "steppedLine": false,
  1939. "targets": [
  1940. {
  1941. "expr": "jvm_threads_states_threads{application=\"$application\", instance=\"$instance\"}",
  1942. "format": "time_series",
  1943. "intervalFactor": 2,
  1944. "legendFormat": "{{state}}",
  1945. "refId": "A"
  1946. }
  1947. ],
  1948. "thresholds": [],
  1949. "timeFrom": null,
  1950. "timeRegions": [],
  1951. "timeShift": null,
  1952. "title": "各状态线程数",
  1953. "tooltip": {
  1954. "shared": true,
  1955. "sort": 0,
  1956. "value_type": "individual"
  1957. },
  1958. "type": "graph",
  1959. "xaxis": {
  1960. "buckets": null,
  1961. "mode": "time",
  1962. "name": null,
  1963. "show": true,
  1964. "values": []
  1965. },
  1966. "yaxes": [
  1967. {
  1968. "format": "short",
  1969. "label": null,
  1970. "logBase": 1,
  1971. "max": null,
  1972. "min": null,
  1973. "show": true
  1974. },
  1975. {
  1976. "format": "short",
  1977. "label": null,
  1978. "logBase": 1,
  1979. "max": null,
  1980. "min": null,
  1981. "show": true
  1982. }
  1983. ],
  1984. "yaxis": {
  1985. "align": false,
  1986. "alignLevel": null
  1987. }
  1988. },
  1989. {
  1990. "aliasColors": {
  1991. "debug": "#1F78C1",
  1992. "error": "#BF1B00",
  1993. "info": "#508642",
  1994. "trace": "#6ED0E0",
  1995. "warn": "#EAB839"
  1996. },
  1997. "bars": false,
  1998. "dashLength": 10,
  1999. "dashes": false,
  2000. "datasource": "Prometheus",
  2001. "editable": true,
  2002. "error": false,
  2003. "fieldConfig": {
  2004. "defaults": {
  2005. "custom": {},
  2006. "links": []
  2007. },
  2008. "overrides": []
  2009. },
  2010. "fill": 1,
  2011. "fillGradient": 0,
  2012. "grid": {
  2013. "leftLogBase": 1,
  2014. "leftMax": null,
  2015. "leftMin": null,
  2016. "rightLogBase": 1,
  2017. "rightMax": null,
  2018. "rightMin": null
  2019. },
  2020. "gridPos": {
  2021. "h": 7,
  2022. "w": 18,
  2023. "x": 0,
  2024. "y": 28
  2025. },
  2026. "height": "",
  2027. "hiddenSeries": false,
  2028. "id": 91,
  2029. "legend": {
  2030. "alignAsTable": false,
  2031. "avg": false,
  2032. "current": true,
  2033. "hideEmpty": false,
  2034. "hideZero": false,
  2035. "max": true,
  2036. "min": false,
  2037. "rightSide": false,
  2038. "show": true,
  2039. "total": false,
  2040. "values": true
  2041. },
  2042. "lines": true,
  2043. "linewidth": 1,
  2044. "links": [],
  2045. "nullPointMode": "null",
  2046. "options": {
  2047. "alertThreshold": true
  2048. },
  2049. "percentage": true,
  2050. "pluginVersion": "7.3.7",
  2051. "pointradius": 5,
  2052. "points": false,
  2053. "renderer": "flot",
  2054. "seriesOverrides": [
  2055. {
  2056. "alias": "error",
  2057. "yaxis": 1
  2058. },
  2059. {
  2060. "alias": "warn",
  2061. "yaxis": 1
  2062. }
  2063. ],
  2064. "spaceLength": 10,
  2065. "stack": false,
  2066. "steppedLine": false,
  2067. "targets": [
  2068. {
  2069. "expr": "increase(logback_events_total{application=\"$application\", instance=\"$instance\"}[1m])",
  2070. "format": "time_series",
  2071. "interval": "",
  2072. "intervalFactor": 2,
  2073. "legendFormat": "{{level}}",
  2074. "metric": "",
  2075. "refId": "A",
  2076. "step": 1200
  2077. }
  2078. ],
  2079. "thresholds": [],
  2080. "timeFrom": null,
  2081. "timeRegions": [],
  2082. "timeShift": null,
  2083. "title": "Logback日志数",
  2084. "tooltip": {
  2085. "msResolution": false,
  2086. "shared": true,
  2087. "sort": 0,
  2088. "value_type": "individual"
  2089. },
  2090. "type": "graph",
  2091. "x-axis": true,
  2092. "xaxis": {
  2093. "buckets": null,
  2094. "mode": "time",
  2095. "name": null,
  2096. "show": true,
  2097. "values": []
  2098. },
  2099. "y-axis": true,
  2100. "y_formats": [
  2101. "short",
  2102. "short"
  2103. ],
  2104. "yaxes": [
  2105. {
  2106. "decimals": 0,
  2107. "format": "opm",
  2108. "label": null,
  2109. "logBase": 1,
  2110. "max": null,
  2111. "min": "0",
  2112. "show": true
  2113. },
  2114. {
  2115. "format": "short",
  2116. "label": null,
  2117. "logBase": 1,
  2118. "max": null,
  2119. "min": null,
  2120. "show": true
  2121. }
  2122. ],
  2123. "yaxis": {
  2124. "align": false,
  2125. "alignLevel": null
  2126. }
  2127. },
  2128. {
  2129. "aliasColors": {},
  2130. "bars": false,
  2131. "dashLength": 10,
  2132. "dashes": false,
  2133. "datasource": "Prometheus",
  2134. "editable": true,
  2135. "error": false,
  2136. "fieldConfig": {
  2137. "defaults": {
  2138. "custom": {},
  2139. "links": []
  2140. },
  2141. "overrides": []
  2142. },
  2143. "fill": 1,
  2144. "fillGradient": 0,
  2145. "grid": {
  2146. "leftLogBase": 1,
  2147. "leftMax": null,
  2148. "leftMin": null,
  2149. "rightLogBase": 1,
  2150. "rightMax": null,
  2151. "rightMin": null
  2152. },
  2153. "gridPos": {
  2154. "h": 7,
  2155. "w": 6,
  2156. "x": 18,
  2157. "y": 28
  2158. },
  2159. "hiddenSeries": false,
  2160. "id": 61,
  2161. "legend": {
  2162. "avg": false,
  2163. "current": true,
  2164. "max": true,
  2165. "min": false,
  2166. "show": true,
  2167. "total": false,
  2168. "values": true
  2169. },
  2170. "lines": true,
  2171. "linewidth": 1,
  2172. "links": [],
  2173. "nullPointMode": "null",
  2174. "options": {
  2175. "alertThreshold": true
  2176. },
  2177. "percentage": false,
  2178. "pluginVersion": "7.3.7",
  2179. "pointradius": 5,
  2180. "points": false,
  2181. "renderer": "flot",
  2182. "seriesOverrides": [],
  2183. "spaceLength": 10,
  2184. "stack": false,
  2185. "steppedLine": false,
  2186. "targets": [
  2187. {
  2188. "expr": "process_files_open_files{application=\"$application\", instance=\"$instance\"}",
  2189. "format": "time_series",
  2190. "hide": false,
  2191. "intervalFactor": 2,
  2192. "legendFormat": "open",
  2193. "metric": "",
  2194. "refId": "A",
  2195. "step": 2400
  2196. },
  2197. {
  2198. "expr": "process_files_max_files{application=\"$application\", instance=\"$instance\"}",
  2199. "format": "time_series",
  2200. "hide": false,
  2201. "intervalFactor": 2,
  2202. "legendFormat": "max",
  2203. "metric": "",
  2204. "refId": "B",
  2205. "step": 2400
  2206. }
  2207. ],
  2208. "thresholds": [],
  2209. "timeFrom": null,
  2210. "timeRegions": [],
  2211. "timeShift": null,
  2212. "title": "文件描述符",
  2213. "tooltip": {
  2214. "msResolution": false,
  2215. "shared": true,
  2216. "sort": 0,
  2217. "value_type": "cumulative"
  2218. },
  2219. "type": "graph",
  2220. "x-axis": true,
  2221. "xaxis": {
  2222. "buckets": null,
  2223. "mode": "time",
  2224. "name": null,
  2225. "show": true,
  2226. "values": []
  2227. },
  2228. "y-axis": true,
  2229. "y_formats": [
  2230. "short",
  2231. "short"
  2232. ],
  2233. "yaxes": [
  2234. {
  2235. "decimals": 0,
  2236. "format": "short",
  2237. "label": null,
  2238. "logBase": 10,
  2239. "max": null,
  2240. "min": 0,
  2241. "show": true
  2242. },
  2243. {
  2244. "format": "short",
  2245. "label": null,
  2246. "logBase": 1,
  2247. "max": null,
  2248. "min": null,
  2249. "show": true
  2250. }
  2251. ],
  2252. "yaxis": {
  2253. "align": false,
  2254. "alignLevel": null
  2255. }
  2256. },
  2257. {
  2258. "collapsed": false,
  2259. "datasource": "Prometheus",
  2260. "gridPos": {
  2261. "h": 1,
  2262. "w": 24,
  2263. "x": 0,
  2264. "y": 35
  2265. },
  2266. "id": 129,
  2267. "panels": [],
  2268. "repeat": "persistence_counts",
  2269. "title": "JVM 堆内存详细",
  2270. "type": "row"
  2271. },
  2272. {
  2273. "aliasColors": {},
  2274. "bars": false,
  2275. "dashLength": 10,
  2276. "dashes": false,
  2277. "datasource": "Prometheus",
  2278. "editable": true,
  2279. "error": false,
  2280. "fieldConfig": {
  2281. "defaults": {
  2282. "custom": {},
  2283. "links": []
  2284. },
  2285. "overrides": []
  2286. },
  2287. "fill": 1,
  2288. "fillGradient": 0,
  2289. "grid": {
  2290. "leftLogBase": 1,
  2291. "leftMax": null,
  2292. "leftMin": null,
  2293. "rightLogBase": 1,
  2294. "rightMax": null,
  2295. "rightMin": null
  2296. },
  2297. "gridPos": {
  2298. "h": 7,
  2299. "w": 24,
  2300. "x": 0,
  2301. "y": 36
  2302. },
  2303. "hiddenSeries": false,
  2304. "id": 3,
  2305. "legend": {
  2306. "alignAsTable": false,
  2307. "avg": false,
  2308. "current": true,
  2309. "max": true,
  2310. "min": false,
  2311. "rightSide": false,
  2312. "show": true,
  2313. "total": false,
  2314. "values": true
  2315. },
  2316. "lines": true,
  2317. "linewidth": 1,
  2318. "links": [],
  2319. "maxPerRow": 3,
  2320. "nullPointMode": "null",
  2321. "options": {
  2322. "alertThreshold": true
  2323. },
  2324. "percentage": false,
  2325. "pluginVersion": "7.3.7",
  2326. "pointradius": 5,
  2327. "points": false,
  2328. "renderer": "flot",
  2329. "repeat": "jvm_memory_pool_heap",
  2330. "seriesOverrides": [],
  2331. "spaceLength": 10,
  2332. "stack": false,
  2333. "steppedLine": false,
  2334. "targets": [
  2335. {
  2336. "expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}",
  2337. "format": "time_series",
  2338. "hide": false,
  2339. "interval": "",
  2340. "intervalFactor": 2,
  2341. "legendFormat": "used",
  2342. "metric": "",
  2343. "refId": "A",
  2344. "step": 1800
  2345. },
  2346. {
  2347. "expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}",
  2348. "format": "time_series",
  2349. "hide": false,
  2350. "interval": "",
  2351. "intervalFactor": 2,
  2352. "legendFormat": "commited",
  2353. "metric": "",
  2354. "refId": "B",
  2355. "step": 1800
  2356. },
  2357. {
  2358. "expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}",
  2359. "format": "time_series",
  2360. "hide": false,
  2361. "interval": "",
  2362. "intervalFactor": 2,
  2363. "legendFormat": "max",
  2364. "metric": "",
  2365. "refId": "C",
  2366. "step": 1800
  2367. }
  2368. ],
  2369. "thresholds": [],
  2370. "timeFrom": null,
  2371. "timeRegions": [],
  2372. "timeShift": null,
  2373. "title": "$jvm_memory_pool_heap",
  2374. "tooltip": {
  2375. "msResolution": false,
  2376. "shared": true,
  2377. "sort": 0,
  2378. "value_type": "cumulative"
  2379. },
  2380. "type": "graph",
  2381. "x-axis": true,
  2382. "xaxis": {
  2383. "buckets": null,
  2384. "mode": "time",
  2385. "name": null,
  2386. "show": true,
  2387. "values": []
  2388. },
  2389. "y-axis": true,
  2390. "y_formats": [
  2391. "mbytes",
  2392. "short"
  2393. ],
  2394. "yaxes": [
  2395. {
  2396. "format": "bytes",
  2397. "label": null,
  2398. "logBase": 1,
  2399. "max": null,
  2400. "min": 0,
  2401. "show": true
  2402. },
  2403. {
  2404. "format": "short",
  2405. "label": null,
  2406. "logBase": 1,
  2407. "max": null,
  2408. "min": null,
  2409. "show": true
  2410. }
  2411. ],
  2412. "yaxis": {
  2413. "align": false,
  2414. "alignLevel": null
  2415. }
  2416. },
  2417. {
  2418. "collapsed": false,
  2419. "datasource": "Prometheus",
  2420. "gridPos": {
  2421. "h": 1,
  2422. "w": 24,
  2423. "x": 0,
  2424. "y": 43
  2425. },
  2426. "id": 130,
  2427. "panels": [],
  2428. "repeat": null,
  2429. "title": "JVM 非堆内存详细",
  2430. "type": "row"
  2431. },
  2432. {
  2433. "aliasColors": {},
  2434. "bars": false,
  2435. "dashLength": 10,
  2436. "dashes": false,
  2437. "datasource": "Prometheus",
  2438. "editable": true,
  2439. "error": false,
  2440. "fieldConfig": {
  2441. "defaults": {
  2442. "custom": {},
  2443. "links": []
  2444. },
  2445. "overrides": []
  2446. },
  2447. "fill": 1,
  2448. "fillGradient": 0,
  2449. "grid": {
  2450. "leftLogBase": 1,
  2451. "leftMax": null,
  2452. "leftMin": null,
  2453. "rightLogBase": 1,
  2454. "rightMax": null,
  2455. "rightMin": null
  2456. },
  2457. "gridPos": {
  2458. "h": 7,
  2459. "w": 24,
  2460. "x": 0,
  2461. "y": 44
  2462. },
  2463. "hiddenSeries": false,
  2464. "id": 78,
  2465. "legend": {
  2466. "alignAsTable": false,
  2467. "avg": false,
  2468. "current": true,
  2469. "max": true,
  2470. "min": false,
  2471. "rightSide": false,
  2472. "show": true,
  2473. "total": false,
  2474. "values": true
  2475. },
  2476. "lines": true,
  2477. "linewidth": 1,
  2478. "links": [],
  2479. "maxPerRow": 3,
  2480. "nullPointMode": "null",
  2481. "options": {
  2482. "alertThreshold": true
  2483. },
  2484. "percentage": false,
  2485. "pluginVersion": "7.3.7",
  2486. "pointradius": 5,
  2487. "points": false,
  2488. "renderer": "flot",
  2489. "repeat": "jvm_memory_pool_nonheap",
  2490. "seriesOverrides": [],
  2491. "spaceLength": 10,
  2492. "stack": false,
  2493. "steppedLine": false,
  2494. "targets": [
  2495. {
  2496. "expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}",
  2497. "format": "time_series",
  2498. "hide": false,
  2499. "interval": "",
  2500. "intervalFactor": 2,
  2501. "legendFormat": "used",
  2502. "metric": "",
  2503. "refId": "A",
  2504. "step": 1800
  2505. },
  2506. {
  2507. "expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}",
  2508. "format": "time_series",
  2509. "hide": false,
  2510. "interval": "",
  2511. "intervalFactor": 2,
  2512. "legendFormat": "commited",
  2513. "metric": "",
  2514. "refId": "B",
  2515. "step": 1800
  2516. },
  2517. {
  2518. "expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}",
  2519. "format": "time_series",
  2520. "hide": false,
  2521. "interval": "",
  2522. "intervalFactor": 2,
  2523. "legendFormat": "max",
  2524. "metric": "",
  2525. "refId": "C",
  2526. "step": 1800
  2527. }
  2528. ],
  2529. "thresholds": [],
  2530. "timeFrom": null,
  2531. "timeRegions": [],
  2532. "timeShift": null,
  2533. "title": "$jvm_memory_pool_nonheap",
  2534. "tooltip": {
  2535. "msResolution": false,
  2536. "shared": true,
  2537. "sort": 0,
  2538. "value_type": "cumulative"
  2539. },
  2540. "type": "graph",
  2541. "x-axis": true,
  2542. "xaxis": {
  2543. "buckets": null,
  2544. "mode": "time",
  2545. "name": null,
  2546. "show": true,
  2547. "values": []
  2548. },
  2549. "y-axis": true,
  2550. "y_formats": [
  2551. "mbytes",
  2552. "short"
  2553. ],
  2554. "yaxes": [
  2555. {
  2556. "format": "bytes",
  2557. "label": null,
  2558. "logBase": 1,
  2559. "max": null,
  2560. "min": 0,
  2561. "show": true
  2562. },
  2563. {
  2564. "format": "short",
  2565. "label": null,
  2566. "logBase": 1,
  2567. "max": null,
  2568. "min": null,
  2569. "show": true
  2570. }
  2571. ],
  2572. "yaxis": {
  2573. "align": false,
  2574. "alignLevel": null
  2575. }
  2576. },
  2577. {
  2578. "collapsed": false,
  2579. "datasource": "Prometheus",
  2580. "gridPos": {
  2581. "h": 1,
  2582. "w": 24,
  2583. "x": 0,
  2584. "y": 51
  2585. },
  2586. "id": 131,
  2587. "panels": [],
  2588. "repeat": null,
  2589. "title": "垃圾回收(GC)",
  2590. "type": "row"
  2591. },
  2592. {
  2593. "aliasColors": {},
  2594. "bars": false,
  2595. "dashLength": 10,
  2596. "dashes": false,
  2597. "datasource": "Prometheus",
  2598. "fieldConfig": {
  2599. "defaults": {
  2600. "custom": {},
  2601. "links": []
  2602. },
  2603. "overrides": []
  2604. },
  2605. "fill": 1,
  2606. "fillGradient": 0,
  2607. "gridPos": {
  2608. "h": 7,
  2609. "w": 8,
  2610. "x": 0,
  2611. "y": 52
  2612. },
  2613. "hiddenSeries": false,
  2614. "id": 98,
  2615. "legend": {
  2616. "avg": false,
  2617. "current": false,
  2618. "max": false,
  2619. "min": false,
  2620. "show": true,
  2621. "total": false,
  2622. "values": false
  2623. },
  2624. "lines": true,
  2625. "linewidth": 1,
  2626. "links": [],
  2627. "nullPointMode": "null",
  2628. "options": {
  2629. "alertThreshold": true
  2630. },
  2631. "percentage": false,
  2632. "pluginVersion": "7.3.7",
  2633. "pointradius": 5,
  2634. "points": false,
  2635. "renderer": "flot",
  2636. "seriesOverrides": [],
  2637. "spaceLength": 10,
  2638. "stack": false,
  2639. "steppedLine": false,
  2640. "targets": [
  2641. {
  2642. "expr": "rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\"}[1m])",
  2643. "format": "time_series",
  2644. "hide": false,
  2645. "intervalFactor": 1,
  2646. "legendFormat": "{{action}} ({{cause}})",
  2647. "refId": "A"
  2648. }
  2649. ],
  2650. "thresholds": [],
  2651. "timeFrom": null,
  2652. "timeRegions": [],
  2653. "timeShift": null,
  2654. "title": "GC 次数",
  2655. "tooltip": {
  2656. "shared": true,
  2657. "sort": 0,
  2658. "value_type": "individual"
  2659. },
  2660. "type": "graph",
  2661. "xaxis": {
  2662. "buckets": null,
  2663. "mode": "time",
  2664. "name": null,
  2665. "show": true,
  2666. "values": []
  2667. },
  2668. "yaxes": [
  2669. {
  2670. "format": "ops",
  2671. "label": null,
  2672. "logBase": 1,
  2673. "max": null,
  2674. "min": "0",
  2675. "show": true
  2676. },
  2677. {
  2678. "format": "short",
  2679. "label": "",
  2680. "logBase": 1,
  2681. "max": null,
  2682. "min": null,
  2683. "show": true
  2684. }
  2685. ],
  2686. "yaxis": {
  2687. "align": false,
  2688. "alignLevel": null
  2689. }
  2690. },
  2691. {
  2692. "aliasColors": {},
  2693. "bars": false,
  2694. "dashLength": 10,
  2695. "dashes": false,
  2696. "datasource": "Prometheus",
  2697. "fieldConfig": {
  2698. "defaults": {
  2699. "custom": {},
  2700. "links": []
  2701. },
  2702. "overrides": []
  2703. },
  2704. "fill": 1,
  2705. "fillGradient": 0,
  2706. "gridPos": {
  2707. "h": 7,
  2708. "w": 8,
  2709. "x": 8,
  2710. "y": 52
  2711. },
  2712. "hiddenSeries": false,
  2713. "id": 101,
  2714. "legend": {
  2715. "avg": false,
  2716. "current": false,
  2717. "max": false,
  2718. "min": false,
  2719. "show": true,
  2720. "total": false,
  2721. "values": false
  2722. },
  2723. "lines": true,
  2724. "linewidth": 1,
  2725. "links": [],
  2726. "nullPointMode": "null",
  2727. "options": {
  2728. "alertThreshold": true
  2729. },
  2730. "percentage": false,
  2731. "pluginVersion": "7.3.7",
  2732. "pointradius": 5,
  2733. "points": false,
  2734. "renderer": "flot",
  2735. "seriesOverrides": [],
  2736. "spaceLength": 10,
  2737. "stack": false,
  2738. "steppedLine": false,
  2739. "targets": [
  2740. {
  2741. "expr": "rate(jvm_gc_pause_seconds_sum{application=\"$application\", instance=\"$instance\"}[1m])/rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\"}[1m])",
  2742. "format": "time_series",
  2743. "hide": false,
  2744. "instant": false,
  2745. "intervalFactor": 1,
  2746. "legendFormat": "avg {{action}} ({{cause}})",
  2747. "refId": "A"
  2748. },
  2749. {
  2750. "expr": "jvm_gc_pause_seconds_max{application=\"$application\", instance=\"$instance\"}",
  2751. "format": "time_series",
  2752. "hide": false,
  2753. "instant": false,
  2754. "intervalFactor": 1,
  2755. "legendFormat": "max {{action}} ({{cause}})",
  2756. "refId": "B"
  2757. }
  2758. ],
  2759. "thresholds": [],
  2760. "timeFrom": null,
  2761. "timeRegions": [],
  2762. "timeShift": null,
  2763. "title": "GC暂停时间",
  2764. "tooltip": {
  2765. "shared": true,
  2766. "sort": 0,
  2767. "value_type": "individual"
  2768. },
  2769. "type": "graph",
  2770. "xaxis": {
  2771. "buckets": null,
  2772. "mode": "time",
  2773. "name": null,
  2774. "show": true,
  2775. "values": []
  2776. },
  2777. "yaxes": [
  2778. {
  2779. "format": "s",
  2780. "label": null,
  2781. "logBase": 1,
  2782. "max": null,
  2783. "min": "0",
  2784. "show": true
  2785. },
  2786. {
  2787. "format": "short",
  2788. "label": "",
  2789. "logBase": 1,
  2790. "max": null,
  2791. "min": null,
  2792. "show": true
  2793. }
  2794. ],
  2795. "yaxis": {
  2796. "align": false,
  2797. "alignLevel": null
  2798. }
  2799. },
  2800. {
  2801. "aliasColors": {},
  2802. "bars": false,
  2803. "dashLength": 10,
  2804. "dashes": false,
  2805. "datasource": "Prometheus",
  2806. "description": "内存分配的大小, 以及从新生代晋升到老年代的内存大小",
  2807. "fieldConfig": {
  2808. "defaults": {
  2809. "custom": {},
  2810. "links": []
  2811. },
  2812. "overrides": []
  2813. },
  2814. "fill": 1,
  2815. "fillGradient": 0,
  2816. "gridPos": {
  2817. "h": 7,
  2818. "w": 8,
  2819. "x": 16,
  2820. "y": 52
  2821. },
  2822. "hiddenSeries": false,
  2823. "id": 99,
  2824. "legend": {
  2825. "avg": false,
  2826. "current": false,
  2827. "max": false,
  2828. "min": false,
  2829. "show": true,
  2830. "total": false,
  2831. "values": false
  2832. },
  2833. "lines": true,
  2834. "linewidth": 1,
  2835. "links": [],
  2836. "nullPointMode": "null",
  2837. "options": {
  2838. "alertThreshold": true
  2839. },
  2840. "percentage": false,
  2841. "pluginVersion": "7.3.7",
  2842. "pointradius": 5,
  2843. "points": false,
  2844. "renderer": "flot",
  2845. "seriesOverrides": [],
  2846. "spaceLength": 10,
  2847. "stack": false,
  2848. "steppedLine": false,
  2849. "targets": [
  2850. {
  2851. "expr": "rate(jvm_gc_memory_allocated_bytes_total{application=\"$application\", instance=\"$instance\"}[1m])",
  2852. "format": "time_series",
  2853. "interval": "",
  2854. "intervalFactor": 1,
  2855. "legendFormat": "allocated",
  2856. "refId": "A"
  2857. },
  2858. {
  2859. "expr": "rate(jvm_gc_memory_promoted_bytes_total{application=\"$application\", instance=\"$instance\"}[1m])",
  2860. "format": "time_series",
  2861. "interval": "",
  2862. "intervalFactor": 1,
  2863. "legendFormat": "promoted",
  2864. "refId": "B"
  2865. }
  2866. ],
  2867. "thresholds": [],
  2868. "timeFrom": null,
  2869. "timeRegions": [],
  2870. "timeShift": null,
  2871. "title": "内存分配/晋升",
  2872. "tooltip": {
  2873. "shared": true,
  2874. "sort": 0,
  2875. "value_type": "individual"
  2876. },
  2877. "type": "graph",
  2878. "xaxis": {
  2879. "buckets": null,
  2880. "mode": "time",
  2881. "name": null,
  2882. "show": true,
  2883. "values": []
  2884. },
  2885. "yaxes": [
  2886. {
  2887. "format": "Bps",
  2888. "label": null,
  2889. "logBase": 1,
  2890. "max": null,
  2891. "min": "0",
  2892. "show": true
  2893. },
  2894. {
  2895. "format": "short",
  2896. "label": null,
  2897. "logBase": 1,
  2898. "max": null,
  2899. "min": null,
  2900. "show": true
  2901. }
  2902. ],
  2903. "yaxis": {
  2904. "align": false,
  2905. "alignLevel": null
  2906. }
  2907. },
  2908. {
  2909. "collapsed": false,
  2910. "datasource": "Prometheus",
  2911. "gridPos": {
  2912. "h": 1,
  2913. "w": 24,
  2914. "x": 0,
  2915. "y": 59
  2916. },
  2917. "id": 132,
  2918. "panels": [],
  2919. "repeat": null,
  2920. "title": "类加载",
  2921. "type": "row"
  2922. },
  2923. {
  2924. "aliasColors": {},
  2925. "bars": false,
  2926. "dashLength": 10,
  2927. "dashes": false,
  2928. "datasource": "Prometheus",
  2929. "editable": true,
  2930. "error": false,
  2931. "fieldConfig": {
  2932. "defaults": {
  2933. "custom": {},
  2934. "links": []
  2935. },
  2936. "overrides": []
  2937. },
  2938. "fill": 1,
  2939. "fillGradient": 0,
  2940. "grid": {
  2941. "leftLogBase": 1,
  2942. "leftMax": null,
  2943. "leftMin": null,
  2944. "rightLogBase": 1,
  2945. "rightMax": null,
  2946. "rightMin": null
  2947. },
  2948. "gridPos": {
  2949. "h": 7,
  2950. "w": 12,
  2951. "x": 0,
  2952. "y": 60
  2953. },
  2954. "hiddenSeries": false,
  2955. "id": 37,
  2956. "legend": {
  2957. "avg": false,
  2958. "current": false,
  2959. "max": false,
  2960. "min": false,
  2961. "show": true,
  2962. "total": false,
  2963. "values": false
  2964. },
  2965. "lines": true,
  2966. "linewidth": 1,
  2967. "links": [],
  2968. "nullPointMode": "null",
  2969. "options": {
  2970. "alertThreshold": true
  2971. },
  2972. "percentage": false,
  2973. "pluginVersion": "7.3.7",
  2974. "pointradius": 5,
  2975. "points": false,
  2976. "renderer": "flot",
  2977. "seriesOverrides": [],
  2978. "spaceLength": 10,
  2979. "stack": false,
  2980. "steppedLine": false,
  2981. "targets": [
  2982. {
  2983. "expr": "jvm_classes_loaded_classes{application=\"$application\", instance=\"$instance\"}",
  2984. "format": "time_series",
  2985. "intervalFactor": 2,
  2986. "legendFormat": "loaded",
  2987. "metric": "",
  2988. "refId": "A",
  2989. "step": 1200
  2990. }
  2991. ],
  2992. "thresholds": [],
  2993. "timeFrom": null,
  2994. "timeRegions": [],
  2995. "timeShift": null,
  2996. "title": "已加载的类的数量",
  2997. "tooltip": {
  2998. "msResolution": false,
  2999. "shared": true,
  3000. "sort": 0,
  3001. "value_type": "cumulative"
  3002. },
  3003. "type": "graph",
  3004. "x-axis": true,
  3005. "xaxis": {
  3006. "buckets": null,
  3007. "mode": "time",
  3008. "name": null,
  3009. "show": true,
  3010. "values": []
  3011. },
  3012. "y-axis": true,
  3013. "y_formats": [
  3014. "short",
  3015. "short"
  3016. ],
  3017. "yaxes": [
  3018. {
  3019. "format": "short",
  3020. "label": null,
  3021. "logBase": 1,
  3022. "max": null,
  3023. "min": 0,
  3024. "show": true
  3025. },
  3026. {
  3027. "format": "short",
  3028. "label": null,
  3029. "logBase": 1,
  3030. "max": null,
  3031. "min": null,
  3032. "show": true
  3033. }
  3034. ],
  3035. "yaxis": {
  3036. "align": false,
  3037. "alignLevel": null
  3038. }
  3039. },
  3040. {
  3041. "aliasColors": {},
  3042. "bars": false,
  3043. "dashLength": 10,
  3044. "dashes": false,
  3045. "datasource": "Prometheus",
  3046. "description": "可能增加或减少, 在Java中使用一些脚本语言例如groovy时, 需要关注, 防止因为逻辑异常产生大量的类, 进而导致metaspace满, 而metaspace满会触发full gc, 如无法释放则会导致JVM hang住",
  3047. "editable": true,
  3048. "error": false,
  3049. "fieldConfig": {
  3050. "defaults": {
  3051. "custom": {},
  3052. "links": []
  3053. },
  3054. "overrides": []
  3055. },
  3056. "fill": 1,
  3057. "fillGradient": 0,
  3058. "grid": {
  3059. "leftLogBase": 1,
  3060. "leftMax": null,
  3061. "leftMin": null,
  3062. "rightLogBase": 1,
  3063. "rightMax": null,
  3064. "rightMin": null
  3065. },
  3066. "gridPos": {
  3067. "h": 7,
  3068. "w": 12,
  3069. "x": 12,
  3070. "y": 60
  3071. },
  3072. "hiddenSeries": false,
  3073. "id": 38,
  3074. "legend": {
  3075. "avg": false,
  3076. "current": false,
  3077. "max": false,
  3078. "min": false,
  3079. "show": true,
  3080. "total": false,
  3081. "values": false
  3082. },
  3083. "lines": true,
  3084. "linewidth": 1,
  3085. "links": [],
  3086. "nullPointMode": "null",
  3087. "options": {
  3088. "alertThreshold": true
  3089. },
  3090. "percentage": false,
  3091. "pluginVersion": "7.3.7",
  3092. "pointradius": 5,
  3093. "points": false,
  3094. "renderer": "flot",
  3095. "seriesOverrides": [],
  3096. "spaceLength": 10,
  3097. "stack": false,
  3098. "steppedLine": false,
  3099. "targets": [
  3100. {
  3101. "expr": "delta(jvm_classes_loaded_classes{application=\"$application\",instance=\"$instance\"}[1m])",
  3102. "format": "time_series",
  3103. "hide": false,
  3104. "interval": "",
  3105. "intervalFactor": 1,
  3106. "legendFormat": "delta-1m",
  3107. "metric": "",
  3108. "refId": "A",
  3109. "step": 1200
  3110. }
  3111. ],
  3112. "thresholds": [],
  3113. "timeFrom": null,
  3114. "timeRegions": [],
  3115. "timeShift": null,
  3116. "title": "加载类数量变化",
  3117. "tooltip": {
  3118. "msResolution": false,
  3119. "shared": true,
  3120. "sort": 0,
  3121. "value_type": "cumulative"
  3122. },
  3123. "type": "graph",
  3124. "x-axis": true,
  3125. "xaxis": {
  3126. "buckets": null,
  3127. "mode": "time",
  3128. "name": null,
  3129. "show": true,
  3130. "values": []
  3131. },
  3132. "y-axis": true,
  3133. "y_formats": [
  3134. "ops",
  3135. "short"
  3136. ],
  3137. "yaxes": [
  3138. {
  3139. "decimals": null,
  3140. "format": "short",
  3141. "label": "",
  3142. "logBase": 1,
  3143. "max": null,
  3144. "min": null,
  3145. "show": true
  3146. },
  3147. {
  3148. "format": "short",
  3149. "label": null,
  3150. "logBase": 1,
  3151. "max": null,
  3152. "min": null,
  3153. "show": true
  3154. }
  3155. ],
  3156. "yaxis": {
  3157. "align": false,
  3158. "alignLevel": null
  3159. }
  3160. },
  3161. {
  3162. "collapsed": false,
  3163. "datasource": "Prometheus",
  3164. "gridPos": {
  3165. "h": 1,
  3166. "w": 24,
  3167. "x": 0,
  3168. "y": 67
  3169. },
  3170. "id": 133,
  3171. "panels": [],
  3172. "repeat": null,
  3173. "title": "Buffer Pools",
  3174. "type": "row"
  3175. },
  3176. {
  3177. "aliasColors": {},
  3178. "bars": false,
  3179. "dashLength": 10,
  3180. "dashes": false,
  3181. "datasource": "Prometheus",
  3182. "editable": true,
  3183. "error": false,
  3184. "fieldConfig": {
  3185. "defaults": {
  3186. "custom": {},
  3187. "links": []
  3188. },
  3189. "overrides": []
  3190. },
  3191. "fill": 1,
  3192. "fillGradient": 0,
  3193. "grid": {
  3194. "leftLogBase": 1,
  3195. "leftMax": null,
  3196. "leftMin": null,
  3197. "rightLogBase": 1,
  3198. "rightMax": null,
  3199. "rightMin": null
  3200. },
  3201. "gridPos": {
  3202. "h": 7,
  3203. "w": 6,
  3204. "x": 0,
  3205. "y": 68
  3206. },
  3207. "hiddenSeries": false,
  3208. "id": 33,
  3209. "legend": {
  3210. "avg": false,
  3211. "current": false,
  3212. "max": false,
  3213. "min": false,
  3214. "show": true,
  3215. "total": false,
  3216. "values": false
  3217. },
  3218. "lines": true,
  3219. "linewidth": 1,
  3220. "links": [],
  3221. "nullPointMode": "null",
  3222. "options": {
  3223. "alertThreshold": true
  3224. },
  3225. "percentage": false,
  3226. "pluginVersion": "7.3.7",
  3227. "pointradius": 5,
  3228. "points": false,
  3229. "renderer": "flot",
  3230. "seriesOverrides": [],
  3231. "spaceLength": 10,
  3232. "stack": false,
  3233. "steppedLine": false,
  3234. "targets": [
  3235. {
  3236. "expr": "jvm_buffer_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=\"direct\"}",
  3237. "format": "time_series",
  3238. "intervalFactor": 2,
  3239. "legendFormat": "used",
  3240. "metric": "",
  3241. "refId": "A",
  3242. "step": 2400
  3243. },
  3244. {
  3245. "expr": "jvm_buffer_total_capacity_bytes{application=\"$application\", instance=\"$instance\", id=\"direct\"}",
  3246. "format": "time_series",
  3247. "intervalFactor": 2,
  3248. "legendFormat": "capacity",
  3249. "metric": "",
  3250. "refId": "B",
  3251. "step": 2400
  3252. }
  3253. ],
  3254. "thresholds": [],
  3255. "timeFrom": null,
  3256. "timeRegions": [],
  3257. "timeShift": null,
  3258. "title": "Direct Buffers",
  3259. "tooltip": {
  3260. "msResolution": false,
  3261. "shared": true,
  3262. "sort": 0,
  3263. "value_type": "cumulative"
  3264. },
  3265. "type": "graph",
  3266. "x-axis": true,
  3267. "xaxis": {
  3268. "buckets": null,
  3269. "mode": "time",
  3270. "name": null,
  3271. "show": true,
  3272. "values": []
  3273. },
  3274. "y-axis": true,
  3275. "y_formats": [
  3276. "short",
  3277. "short"
  3278. ],
  3279. "yaxes": [
  3280. {
  3281. "format": "bytes",
  3282. "label": null,
  3283. "logBase": 1,
  3284. "max": null,
  3285. "min": 0,
  3286. "show": true
  3287. },
  3288. {
  3289. "format": "short",
  3290. "label": null,
  3291. "logBase": 1,
  3292. "max": null,
  3293. "min": null,
  3294. "show": true
  3295. }
  3296. ],
  3297. "yaxis": {
  3298. "align": false,
  3299. "alignLevel": null
  3300. }
  3301. },
  3302. {
  3303. "aliasColors": {},
  3304. "bars": false,
  3305. "dashLength": 10,
  3306. "dashes": false,
  3307. "datasource": "Prometheus",
  3308. "editable": true,
  3309. "error": false,
  3310. "fieldConfig": {
  3311. "defaults": {
  3312. "custom": {},
  3313. "links": []
  3314. },
  3315. "overrides": []
  3316. },
  3317. "fill": 1,
  3318. "fillGradient": 0,
  3319. "grid": {
  3320. "leftLogBase": 1,
  3321. "leftMax": null,
  3322. "leftMin": null,
  3323. "rightLogBase": 1,
  3324. "rightMax": null,
  3325. "rightMin": null
  3326. },
  3327. "gridPos": {
  3328. "h": 7,
  3329. "w": 6,
  3330. "x": 6,
  3331. "y": 68
  3332. },
  3333. "hiddenSeries": false,
  3334. "id": 83,
  3335. "legend": {
  3336. "avg": false,
  3337. "current": false,
  3338. "max": false,
  3339. "min": false,
  3340. "show": true,
  3341. "total": false,
  3342. "values": false
  3343. },
  3344. "lines": true,
  3345. "linewidth": 1,
  3346. "links": [],
  3347. "nullPointMode": "null",
  3348. "options": {
  3349. "alertThreshold": true
  3350. },
  3351. "percentage": false,
  3352. "pluginVersion": "7.3.7",
  3353. "pointradius": 5,
  3354. "points": false,
  3355. "renderer": "flot",
  3356. "seriesOverrides": [],
  3357. "spaceLength": 10,
  3358. "stack": false,
  3359. "steppedLine": false,
  3360. "targets": [
  3361. {
  3362. "expr": "jvm_buffer_count_buffers{application=\"$application\", instance=\"$instance\", id=\"direct\"}",
  3363. "format": "time_series",
  3364. "intervalFactor": 2,
  3365. "legendFormat": "count",
  3366. "metric": "",
  3367. "refId": "A",
  3368. "step": 2400
  3369. }
  3370. ],
  3371. "thresholds": [],
  3372. "timeFrom": null,
  3373. "timeRegions": [],
  3374. "timeShift": null,
  3375. "title": "Direct Buffers",
  3376. "tooltip": {
  3377. "msResolution": false,
  3378. "shared": true,
  3379. "sort": 0,
  3380. "value_type": "cumulative"
  3381. },
  3382. "type": "graph",
  3383. "x-axis": true,
  3384. "xaxis": {
  3385. "buckets": null,
  3386. "mode": "time",
  3387. "name": null,
  3388. "show": true,
  3389. "values": []
  3390. },
  3391. "y-axis": true,
  3392. "y_formats": [
  3393. "short",
  3394. "short"
  3395. ],
  3396. "yaxes": [
  3397. {
  3398. "decimals": 0,
  3399. "format": "short",
  3400. "label": null,
  3401. "logBase": 1,
  3402. "max": null,
  3403. "min": 0,
  3404. "show": true
  3405. },
  3406. {
  3407. "format": "short",
  3408. "label": null,
  3409. "logBase": 1,
  3410. "max": null,
  3411. "min": null,
  3412. "show": true
  3413. }
  3414. ],
  3415. "yaxis": {
  3416. "align": false,
  3417. "alignLevel": null
  3418. }
  3419. },
  3420. {
  3421. "aliasColors": {},
  3422. "bars": false,
  3423. "dashLength": 10,
  3424. "dashes": false,
  3425. "datasource": "Prometheus",
  3426. "editable": true,
  3427. "error": false,
  3428. "fieldConfig": {
  3429. "defaults": {
  3430. "custom": {},
  3431. "links": []
  3432. },
  3433. "overrides": []
  3434. },
  3435. "fill": 1,
  3436. "fillGradient": 0,
  3437. "grid": {
  3438. "leftLogBase": 1,
  3439. "leftMax": null,
  3440. "leftMin": null,
  3441. "rightLogBase": 1,
  3442. "rightMax": null,
  3443. "rightMin": null
  3444. },
  3445. "gridPos": {
  3446. "h": 7,
  3447. "w": 6,
  3448. "x": 12,
  3449. "y": 68
  3450. },
  3451. "hiddenSeries": false,
  3452. "id": 85,
  3453. "legend": {
  3454. "avg": false,
  3455. "current": false,
  3456. "max": false,
  3457. "min": false,
  3458. "show": true,
  3459. "total": false,
  3460. "values": false
  3461. },
  3462. "lines": true,
  3463. "linewidth": 1,
  3464. "links": [],
  3465. "nullPointMode": "null",
  3466. "options": {
  3467. "alertThreshold": true
  3468. },
  3469. "percentage": false,
  3470. "pluginVersion": "7.3.7",
  3471. "pointradius": 5,
  3472. "points": false,
  3473. "renderer": "flot",
  3474. "seriesOverrides": [],
  3475. "spaceLength": 10,
  3476. "stack": false,
  3477. "steppedLine": false,
  3478. "targets": [
  3479. {
  3480. "expr": "jvm_buffer_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=\"mapped\"}",
  3481. "format": "time_series",
  3482. "intervalFactor": 2,
  3483. "legendFormat": "used",
  3484. "metric": "",
  3485. "refId": "A",
  3486. "step": 2400
  3487. },
  3488. {
  3489. "expr": "jvm_buffer_total_capacity_bytes{application=\"$application\", instance=\"$instance\", id=\"mapped\"}",
  3490. "format": "time_series",
  3491. "intervalFactor": 2,
  3492. "legendFormat": "capacity",
  3493. "metric": "",
  3494. "refId": "B",
  3495. "step": 2400
  3496. }
  3497. ],
  3498. "thresholds": [],
  3499. "timeFrom": null,
  3500. "timeRegions": [],
  3501. "timeShift": null,
  3502. "title": "Mapped Buffers",
  3503. "tooltip": {
  3504. "msResolution": false,
  3505. "shared": true,
  3506. "sort": 0,
  3507. "value_type": "cumulative"
  3508. },
  3509. "type": "graph",
  3510. "x-axis": true,
  3511. "xaxis": {
  3512. "buckets": null,
  3513. "mode": "time",
  3514. "name": null,
  3515. "show": true,
  3516. "values": []
  3517. },
  3518. "y-axis": true,
  3519. "y_formats": [
  3520. "short",
  3521. "short"
  3522. ],
  3523. "yaxes": [
  3524. {
  3525. "format": "bytes",
  3526. "label": null,
  3527. "logBase": 1,
  3528. "max": null,
  3529. "min": 0,
  3530. "show": true
  3531. },
  3532. {
  3533. "format": "short",
  3534. "label": null,
  3535. "logBase": 1,
  3536. "max": null,
  3537. "min": null,
  3538. "show": true
  3539. }
  3540. ],
  3541. "yaxis": {
  3542. "align": false,
  3543. "alignLevel": null
  3544. }
  3545. },
  3546. {
  3547. "aliasColors": {},
  3548. "bars": false,
  3549. "dashLength": 10,
  3550. "dashes": false,
  3551. "datasource": "Prometheus",
  3552. "editable": true,
  3553. "error": false,
  3554. "fieldConfig": {
  3555. "defaults": {
  3556. "custom": {},
  3557. "links": []
  3558. },
  3559. "overrides": []
  3560. },
  3561. "fill": 1,
  3562. "fillGradient": 0,
  3563. "grid": {
  3564. "leftLogBase": 1,
  3565. "leftMax": null,
  3566. "leftMin": null,
  3567. "rightLogBase": 1,
  3568. "rightMax": null,
  3569. "rightMin": null
  3570. },
  3571. "gridPos": {
  3572. "h": 7,
  3573. "w": 6,
  3574. "x": 18,
  3575. "y": 68
  3576. },
  3577. "hiddenSeries": false,
  3578. "id": 84,
  3579. "legend": {
  3580. "avg": false,
  3581. "current": false,
  3582. "max": false,
  3583. "min": false,
  3584. "show": true,
  3585. "total": false,
  3586. "values": false
  3587. },
  3588. "lines": true,
  3589. "linewidth": 1,
  3590. "links": [],
  3591. "nullPointMode": "null",
  3592. "options": {
  3593. "alertThreshold": true
  3594. },
  3595. "percentage": false,
  3596. "pluginVersion": "7.3.7",
  3597. "pointradius": 5,
  3598. "points": false,
  3599. "renderer": "flot",
  3600. "seriesOverrides": [],
  3601. "spaceLength": 10,
  3602. "stack": false,
  3603. "steppedLine": false,
  3604. "targets": [
  3605. {
  3606. "expr": "jvm_buffer_count_buffers{application=\"$application\", instance=\"$instance\", id=\"mapped\"}",
  3607. "format": "time_series",
  3608. "intervalFactor": 2,
  3609. "legendFormat": "count",
  3610. "metric": "",
  3611. "refId": "A",
  3612. "step": 2400
  3613. }
  3614. ],
  3615. "thresholds": [],
  3616. "timeFrom": null,
  3617. "timeRegions": [],
  3618. "timeShift": null,
  3619. "title": "Mapped Buffers",
  3620. "tooltip": {
  3621. "msResolution": false,
  3622. "shared": true,
  3623. "sort": 0,
  3624. "value_type": "cumulative"
  3625. },
  3626. "type": "graph",
  3627. "x-axis": true,
  3628. "xaxis": {
  3629. "buckets": null,
  3630. "mode": "time",
  3631. "name": null,
  3632. "show": true,
  3633. "values": []
  3634. },
  3635. "y-axis": true,
  3636. "y_formats": [
  3637. "short",
  3638. "short"
  3639. ],
  3640. "yaxes": [
  3641. {
  3642. "decimals": 0,
  3643. "format": "short",
  3644. "label": null,
  3645. "logBase": 1,
  3646. "max": null,
  3647. "min": 0,
  3648. "show": true
  3649. },
  3650. {
  3651. "format": "short",
  3652. "label": null,
  3653. "logBase": 1,
  3654. "max": null,
  3655. "min": null,
  3656. "show": true
  3657. }
  3658. ],
  3659. "yaxis": {
  3660. "align": false,
  3661. "alignLevel": null
  3662. }
  3663. }
  3664. ],
  3665. "refresh": "10s",
  3666. "schemaVersion": 26,
  3667. "style": "dark",
  3668. "tags": [
  3669. "jvm"
  3670. ],
  3671. "templating": {
  3672. "list": [
  3673. {
  3674. "allValue": null,
  3675. "current": {
  3676. "isNone": true,
  3677. "selected": false,
  3678. "text": "None",
  3679. "value": ""
  3680. },
  3681. "datasource": "Prometheus",
  3682. "definition": "",
  3683. "error": null,
  3684. "hide": 0,
  3685. "includeAll": false,
  3686. "label": "服务名",
  3687. "multi": false,
  3688. "name": "application",
  3689. "options": [],
  3690. "query": "label_values(application)",
  3691. "refresh": 2,
  3692. "regex": "",
  3693. "skipUrlSync": false,
  3694. "sort": 0,
  3695. "tagValuesQuery": "",
  3696. "tags": [],
  3697. "tagsQuery": "",
  3698. "type": "query",
  3699. "useTags": false
  3700. },
  3701. {
  3702. "allFormat": "glob",
  3703. "allValue": null,
  3704. "current": {
  3705. "isNone": true,
  3706. "selected": false,
  3707. "text": "None",
  3708. "value": ""
  3709. },
  3710. "datasource": "Prometheus",
  3711. "definition": "",
  3712. "error": null,
  3713. "hide": 0,
  3714. "includeAll": false,
  3715. "label": "实例地址",
  3716. "multi": false,
  3717. "multiFormat": "glob",
  3718. "name": "instance",
  3719. "options": [],
  3720. "query": "label_values(jvm_memory_used_bytes{application=\"$application\"}, instance)",
  3721. "refresh": 2,
  3722. "regex": "",
  3723. "skipUrlSync": false,
  3724. "sort": 0,
  3725. "tagValuesQuery": "",
  3726. "tags": [],
  3727. "tagsQuery": "",
  3728. "type": "query",
  3729. "useTags": false
  3730. },
  3731. {
  3732. "allFormat": "glob",
  3733. "allValue": null,
  3734. "current": {
  3735. "selected": false,
  3736. "text": "All",
  3737. "value": "$__all"
  3738. },
  3739. "datasource": "Prometheus",
  3740. "definition": "",
  3741. "error": null,
  3742. "hide": 0,
  3743. "includeAll": true,
  3744. "label": "JVM堆内存",
  3745. "multi": false,
  3746. "multiFormat": "glob",
  3747. "name": "jvm_memory_pool_heap",
  3748. "options": [],
  3749. "query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"},id)",
  3750. "refresh": 1,
  3751. "regex": "",
  3752. "skipUrlSync": false,
  3753. "sort": 1,
  3754. "tagValuesQuery": "",
  3755. "tags": [],
  3756. "tagsQuery": "",
  3757. "type": "query",
  3758. "useTags": false
  3759. },
  3760. {
  3761. "allFormat": "glob",
  3762. "allValue": null,
  3763. "current": {
  3764. "selected": false,
  3765. "text": "All",
  3766. "value": "$__all"
  3767. },
  3768. "datasource": "Prometheus",
  3769. "definition": "",
  3770. "error": null,
  3771. "hide": 0,
  3772. "includeAll": true,
  3773. "label": "JVM非堆内存",
  3774. "multi": false,
  3775. "multiFormat": "glob",
  3776. "name": "jvm_memory_pool_nonheap",
  3777. "options": [],
  3778. "query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"},id)",
  3779. "refresh": 1,
  3780. "regex": "",
  3781. "skipUrlSync": false,
  3782. "sort": 2,
  3783. "tagValuesQuery": "",
  3784. "tags": [],
  3785. "tagsQuery": "",
  3786. "type": "query",
  3787. "useTags": false
  3788. }
  3789. ]
  3790. },
  3791. "time": {
  3792. "from": "now-1h",
  3793. "to": "now"
  3794. },
  3795. "timepicker": {
  3796. "now": true,
  3797. "refresh_intervals": [
  3798. "5s",
  3799. "10s",
  3800. "30s",
  3801. "1m",
  3802. "5m",
  3803. "15m",
  3804. "30m",
  3805. "1h",
  3806. "2h",
  3807. "1d"
  3808. ],
  3809. "time_options": [
  3810. "5m",
  3811. "15m",
  3812. "1h",
  3813. "6h",
  3814. "12h",
  3815. "24h",
  3816. "2d",
  3817. "7d",
  3818. "30d"
  3819. ]
  3820. },
  3821. "timezone": "browser",
  3822. "title": "BladeX监控大屏--JVM",
  3823. "uid": "bladex-jvm",
  3824. "version": 1
  3825. }