SLS JVM监控大盘.json 87 KB

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