overview.json 130 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": "-- Grafana --",
  7. "enable": false,
  8. "hide": true,
  9. "iconColor": "#e0752d",
  10. "limit": 100,
  11. "name": "PMM Annotations",
  12. "showIn": 0,
  13. "tags": [
  14. "pmm_annotation"
  15. ],
  16. "type": "tags"
  17. },
  18. {
  19. "builtIn": 1,
  20. "datasource": "-- Grafana --",
  21. "enable": false,
  22. "hide": true,
  23. "iconColor": "#6ed0e0",
  24. "limit": 100,
  25. "name": "Annotations & Alerts",
  26. "showIn": 0,
  27. "tags": [
  28. ],
  29. "type": "dashboard"
  30. }
  31. ]
  32. },
  33. "editable": true,
  34. "gnetId": null,
  35. "graphTooltip": 1,
  36. "id": null,
  37. "iteration": 1540971751770,
  38. "links": [
  39. {
  40. "icon": "dashboard",
  41. "includeVars": true,
  42. "keepTime": true,
  43. "tags": [
  44. "QAN"
  45. ],
  46. "targetBlank": false,
  47. "title": "Query Analytics",
  48. "type": "link",
  49. "url": "/graph/dashboard/db/_pmm-query-analytics"
  50. },
  51. {
  52. "asDropdown": true,
  53. "includeVars": true,
  54. "keepTime": true,
  55. "tags": [
  56. "OS"
  57. ],
  58. "targetBlank": false,
  59. "title": "OS",
  60. "type": "dashboards"
  61. },
  62. {
  63. "asDropdown": true,
  64. "includeVars": true,
  65. "keepTime": true,
  66. "tags": [
  67. "MySQL"
  68. ],
  69. "targetBlank": false,
  70. "title": "MySQL",
  71. "type": "dashboards"
  72. },
  73. {
  74. "asDropdown": true,
  75. "includeVars": true,
  76. "keepTime": true,
  77. "tags": [
  78. "MongoDB"
  79. ],
  80. "targetBlank": false,
  81. "title": "MongoDB",
  82. "type": "dashboards"
  83. },
  84. {
  85. "asDropdown": true,
  86. "includeVars": true,
  87. "keepTime": true,
  88. "tags": [
  89. "PostgreSQL"
  90. ],
  91. "targetBlank": false,
  92. "title": "PostgreSQL",
  93. "type": "dashboards"
  94. },
  95. {
  96. "asDropdown": true,
  97. "includeVars": true,
  98. "keepTime": true,
  99. "tags": [
  100. "HA"
  101. ],
  102. "targetBlank": false,
  103. "title": "HA",
  104. "type": "dashboards"
  105. },
  106. {
  107. "asDropdown": true,
  108. "includeVars": true,
  109. "keepTime": true,
  110. "tags": [
  111. "Cloud"
  112. ],
  113. "targetBlank": false,
  114. "title": "Cloud",
  115. "type": "dashboards"
  116. },
  117. {
  118. "asDropdown": true,
  119. "includeVars": true,
  120. "keepTime": true,
  121. "tags": [
  122. "Insight"
  123. ],
  124. "targetBlank": false,
  125. "title": "Insight",
  126. "type": "dashboards"
  127. },
  128. {
  129. "asDropdown": true,
  130. "includeVars": true,
  131. "keepTime": true,
  132. "tags": [
  133. "PMM"
  134. ],
  135. "targetBlank": false,
  136. "title": "PMM",
  137. "type": "dashboards"
  138. }
  139. ],
  140. "panels": [
  141. {
  142. "collapsed": false,
  143. "gridPos": {
  144. "h": 1,
  145. "w": 24,
  146. "x": 0,
  147. "y": 0
  148. },
  149. "id": 382,
  150. "panels": [
  151. ],
  152. "repeat": null,
  153. "title": "",
  154. "type": "row"
  155. },
  156. {
  157. "cacheTimeout": null,
  158. "colorBackground": false,
  159. "colorValue": true,
  160. "colors": [
  161. "rgba(245, 54, 54, 0.9)",
  162. "rgba(237, 129, 40, 0.89)",
  163. "rgba(50, 172, 45, 0.97)"
  164. ],
  165. "datasource": "Prometheus",
  166. "decimals": 1,
  167. "description": "**MySQL Uptime**\n\nThe amount of time since the last restart of the MySQL server process.",
  168. "editable": true,
  169. "error": false,
  170. "format": "s",
  171. "gauge": {
  172. "maxValue": 100,
  173. "minValue": 0,
  174. "show": false,
  175. "thresholdLabels": false,
  176. "thresholdMarkers": true
  177. },
  178. "gridPos": {
  179. "h": 2,
  180. "w": 6,
  181. "x": 0,
  182. "y": 1
  183. },
  184. "height": "125px",
  185. "id": 12,
  186. "interval": "$interval",
  187. "links": [
  188. ],
  189. "mappingType": 1,
  190. "mappingTypes": [
  191. {
  192. "name": "value to text",
  193. "value": 1
  194. },
  195. {
  196. "name": "range to text",
  197. "value": 2
  198. }
  199. ],
  200. "maxDataPoints": 100,
  201. "nullPointMode": "connected",
  202. "nullText": null,
  203. "postfix": "s",
  204. "postfixFontSize": "80%",
  205. "prefix": "",
  206. "prefixFontSize": "80%",
  207. "rangeMaps": [
  208. {
  209. "from": "null",
  210. "text": "N/A",
  211. "to": "null"
  212. }
  213. ],
  214. "sparkline": {
  215. "fillColor": "rgba(31, 118, 189, 0.18)",
  216. "full": false,
  217. "lineColor": "rgb(31, 120, 193)",
  218. "show": false
  219. },
  220. "tableColumn": "",
  221. "targets": [
  222. {
  223. "calculatedInterval": "10m",
  224. "datasourceErrors": {
  225. },
  226. "errors": {
  227. },
  228. "expr": "mysql_global_status_uptime{instance=\"$host\"}",
  229. "format": "time_series",
  230. "interval": "5m",
  231. "intervalFactor": 1,
  232. "legendFormat": "",
  233. "metric": "",
  234. "refId": "A",
  235. "step": 300
  236. }
  237. ],
  238. "thresholds": "300,3600",
  239. "title": "MySQL Uptime",
  240. "transparent": false,
  241. "type": "singlestat",
  242. "valueFontSize": "80%",
  243. "valueMaps": [
  244. ],
  245. "valueName": "current"
  246. },
  247. {
  248. "cacheTimeout": null,
  249. "colorBackground": false,
  250. "colorValue": false,
  251. "colors": [
  252. "rgba(245, 54, 54, 0.9)",
  253. "rgba(237, 129, 40, 0.89)",
  254. "rgba(50, 172, 45, 0.97)"
  255. ],
  256. "datasource": "Prometheus",
  257. "decimals": 2,
  258. "description": "**Current QPS**\n\nBased on the queries reported by MySQL's ``SHOW STATUS`` command, it is the number of statements executed by the server within the last second. This variable includes statements executed within stored programs, unlike the Questions variable. It does not count \n``COM_PING`` or ``COM_STATISTICS`` commands.",
  259. "editable": true,
  260. "error": false,
  261. "format": "short",
  262. "gauge": {
  263. "maxValue": 100,
  264. "minValue": 0,
  265. "show": false,
  266. "thresholdLabels": false,
  267. "thresholdMarkers": true
  268. },
  269. "gridPos": {
  270. "h": 2,
  271. "w": 6,
  272. "x": 6,
  273. "y": 1
  274. },
  275. "height": "125px",
  276. "id": 13,
  277. "interval": "$interval",
  278. "links": [
  279. {
  280. "targetBlank": true,
  281. "title": "MySQL Server Status Variables",
  282. "type": "absolute",
  283. "url": "https://dev.mysql.com/doc/refman/5.7/en/server-status-variables.html#statvar_Queries"
  284. }
  285. ],
  286. "mappingType": 1,
  287. "mappingTypes": [
  288. {
  289. "name": "value to text",
  290. "value": 1
  291. },
  292. {
  293. "name": "range to text",
  294. "value": 2
  295. }
  296. ],
  297. "maxDataPoints": 100,
  298. "nullPointMode": "connected",
  299. "nullText": null,
  300. "postfix": "",
  301. "postfixFontSize": "50%",
  302. "prefix": "",
  303. "prefixFontSize": "80%",
  304. "rangeMaps": [
  305. {
  306. "from": "null",
  307. "text": "N/A",
  308. "to": "null"
  309. }
  310. ],
  311. "sparkline": {
  312. "fillColor": "rgba(31, 118, 189, 0.18)",
  313. "full": false,
  314. "lineColor": "rgb(31, 120, 193)",
  315. "show": true
  316. },
  317. "tableColumn": "",
  318. "targets": [
  319. {
  320. "calculatedInterval": "10m",
  321. "datasourceErrors": {
  322. },
  323. "errors": {
  324. },
  325. "expr": "rate(mysql_global_status_queries{instance=\"$host\"}[$interval]) or irate(mysql_global_status_queries{instance=\"$host\"}[5m])",
  326. "format": "time_series",
  327. "interval": "$interval",
  328. "intervalFactor": 1,
  329. "legendFormat": "",
  330. "metric": "",
  331. "refId": "A",
  332. "step": 20
  333. }
  334. ],
  335. "thresholds": "35,75",
  336. "title": "Current QPS",
  337. "transparent": false,
  338. "type": "singlestat",
  339. "valueFontSize": "80%",
  340. "valueMaps": [
  341. ],
  342. "valueName": "current"
  343. },
  344. {
  345. "cacheTimeout": null,
  346. "colorBackground": false,
  347. "colorValue": false,
  348. "colors": [
  349. "rgba(50, 172, 45, 0.97)",
  350. "rgba(237, 129, 40, 0.89)",
  351. "rgba(245, 54, 54, 0.9)"
  352. ],
  353. "datasource": "Prometheus",
  354. "decimals": 0,
  355. "description": "**InnoDB Buffer Pool Size**\n\nInnoDB maintains a storage area called the buffer pool for caching data and indexes in memory. Knowing how the InnoDB buffer pool works, and taking advantage of it to keep frequently accessed data in memory, is one of the most important aspects of MySQL tuning. The goal is to keep the working set in memory. In most cases, this should be between 60%-90% of available memory on a dedicated database host, but depends on many factors.",
  356. "editable": true,
  357. "error": false,
  358. "format": "bytes",
  359. "gauge": {
  360. "maxValue": 100,
  361. "minValue": 0,
  362. "show": false,
  363. "thresholdLabels": false,
  364. "thresholdMarkers": true
  365. },
  366. "gridPos": {
  367. "h": 2,
  368. "w": 6,
  369. "x": 12,
  370. "y": 1
  371. },
  372. "height": "125px",
  373. "id": 51,
  374. "interval": "$interval",
  375. "links": [
  376. {
  377. "targetBlank": true,
  378. "title": "Tuning the InnoDB Buffer Pool Size",
  379. "type": "absolute",
  380. "url": "https://www.percona.com/blog/2015/06/02/80-ram-tune-innodb_buffer_pool_size/"
  381. }
  382. ],
  383. "mappingType": 1,
  384. "mappingTypes": [
  385. {
  386. "name": "value to text",
  387. "value": 1
  388. },
  389. {
  390. "name": "range to text",
  391. "value": 2
  392. }
  393. ],
  394. "maxDataPoints": 100,
  395. "nullPointMode": "connected",
  396. "nullText": null,
  397. "postfix": "",
  398. "postfixFontSize": "50%",
  399. "prefix": "",
  400. "prefixFontSize": "80%",
  401. "rangeMaps": [
  402. {
  403. "from": "null",
  404. "text": "N/A",
  405. "to": "null"
  406. }
  407. ],
  408. "sparkline": {
  409. "fillColor": "rgba(31, 118, 189, 0.18)",
  410. "full": false,
  411. "lineColor": "rgb(31, 120, 193)",
  412. "show": false
  413. },
  414. "tableColumn": "",
  415. "targets": [
  416. {
  417. "calculatedInterval": "10m",
  418. "datasourceErrors": {
  419. },
  420. "errors": {
  421. },
  422. "expr": "mysql_global_variables_innodb_buffer_pool_size{instance=\"$host\"}",
  423. "format": "time_series",
  424. "interval": "5m",
  425. "intervalFactor": 1,
  426. "legendFormat": "",
  427. "metric": "",
  428. "refId": "A",
  429. "step": 300
  430. }
  431. ],
  432. "thresholds": "90,95",
  433. "title": "InnoDB Buffer Pool Size",
  434. "transparent": false,
  435. "type": "singlestat",
  436. "valueFontSize": "80%",
  437. "valueMaps": [
  438. ],
  439. "valueName": "current"
  440. },
  441. {
  442. "cacheTimeout": null,
  443. "colorBackground": false,
  444. "colorValue": true,
  445. "colors": [
  446. "rgba(245, 54, 54, 0.9)",
  447. "rgba(237, 129, 40, 0.89)",
  448. "rgba(50, 172, 45, 0.97)"
  449. ],
  450. "datasource": "Prometheus",
  451. "decimals": 0,
  452. "description": "**InnoDB Buffer Pool Size % of Total RAM**\n\nInnoDB maintains a storage area called the buffer pool for caching data and indexes in memory. Knowing how the InnoDB buffer pool works, and taking advantage of it to keep frequently accessed data in memory, is one of the most important aspects of MySQL tuning. The goal is to keep the working set in memory. In most cases, this should be between 60%-90% of available memory on a dedicated database host, but depends on many factors.",
  453. "editable": true,
  454. "error": false,
  455. "format": "percent",
  456. "gauge": {
  457. "maxValue": 100,
  458. "minValue": 0,
  459. "show": false,
  460. "thresholdLabels": false,
  461. "thresholdMarkers": true
  462. },
  463. "gridPos": {
  464. "h": 2,
  465. "w": 6,
  466. "x": 18,
  467. "y": 1
  468. },
  469. "height": "125px",
  470. "id": 52,
  471. "interval": "$interval",
  472. "links": [
  473. {
  474. "targetBlank": true,
  475. "title": "Tuning the InnoDB Buffer Pool Size",
  476. "type": "absolute",
  477. "url": "https://www.percona.com/blog/2015/06/02/80-ram-tune-innodb_buffer_pool_size/"
  478. }
  479. ],
  480. "mappingType": 1,
  481. "mappingTypes": [
  482. {
  483. "name": "value to text",
  484. "value": 1
  485. },
  486. {
  487. "name": "range to text",
  488. "value": 2
  489. }
  490. ],
  491. "maxDataPoints": 100,
  492. "nullPointMode": "connected",
  493. "nullText": null,
  494. "postfix": "",
  495. "postfixFontSize": "50%",
  496. "prefix": "",
  497. "prefixFontSize": "80%",
  498. "rangeMaps": [
  499. {
  500. "from": "null",
  501. "text": "N/A",
  502. "to": "null"
  503. }
  504. ],
  505. "repeat": null,
  506. "sparkline": {
  507. "fillColor": "rgba(31, 118, 189, 0.18)",
  508. "full": false,
  509. "lineColor": "rgb(31, 120, 193)",
  510. "maxValue": 100,
  511. "minValue": 0,
  512. "show": true
  513. },
  514. "tableColumn": "",
  515. "targets": [
  516. {
  517. "calculatedInterval": "10m",
  518. "datasourceErrors": {
  519. },
  520. "errors": {
  521. },
  522. "expr": "(mysql_global_variables_innodb_buffer_pool_size{instance=\"$host\"} * 100) / on (instance) node_memory_MemTotal{instance=\"$host\"}",
  523. "format": "time_series",
  524. "interval": "5m",
  525. "intervalFactor": 1,
  526. "legendFormat": "",
  527. "metric": "",
  528. "refId": "A",
  529. "step": 300
  530. }
  531. ],
  532. "thresholds": "40,80",
  533. "title": "Buffer Pool Size of Total RAM",
  534. "transparent": false,
  535. "type": "singlestat",
  536. "valueFontSize": "80%",
  537. "valueMaps": [
  538. ],
  539. "valueName": "current"
  540. },
  541. {
  542. "collapsed": false,
  543. "gridPos": {
  544. "h": 1,
  545. "w": 24,
  546. "x": 0,
  547. "y": 3
  548. },
  549. "id": 383,
  550. "panels": [
  551. ],
  552. "repeat": null,
  553. "title": "Connections",
  554. "type": "row"
  555. },
  556. {
  557. "aliasColors": {
  558. },
  559. "bars": false,
  560. "dashLength": 10,
  561. "dashes": false,
  562. "datasource": "Prometheus",
  563. "decimals": 0,
  564. "description": "**Max Connections** \n\nMax Connections is the maximum permitted number of simultaneous client connections. By default, this is 151. Increasing this value increases the number of file descriptors that mysqld requires. If the required number of descriptors are not available, the server reduces the value of Max Connections.\n\nmysqld actually permits Max Connections + 1 clients to connect. The extra connection is reserved for use by accounts that have the SUPER privilege, such as root.\n\nMax Used Connections is the maximum number of connections that have been in use simultaneously since the server started.\n\nConnections is the number of connection attempts (successful or not) to the MySQL server.",
  565. "editable": true,
  566. "error": false,
  567. "fill": 2,
  568. "grid": {
  569. },
  570. "gridPos": {
  571. "h": 7,
  572. "w": 12,
  573. "x": 0,
  574. "y": 4
  575. },
  576. "height": "250px",
  577. "id": 92,
  578. "legend": {
  579. "alignAsTable": true,
  580. "avg": true,
  581. "current": false,
  582. "max": true,
  583. "min": true,
  584. "show": true,
  585. "sort": "avg",
  586. "sortDesc": true,
  587. "total": false,
  588. "values": true
  589. },
  590. "lines": true,
  591. "linewidth": 2,
  592. "links": [
  593. {
  594. "targetBlank": true,
  595. "title": "MySQL Server System Variables",
  596. "type": "absolute",
  597. "url": "https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_max_connections"
  598. }
  599. ],
  600. "nullPointMode": "null",
  601. "percentage": false,
  602. "pointradius": 5,
  603. "points": false,
  604. "renderer": "flot",
  605. "seriesOverrides": [
  606. {
  607. "alias": "Max Connections",
  608. "fill": 0
  609. }
  610. ],
  611. "spaceLength": 10,
  612. "stack": false,
  613. "steppedLine": false,
  614. "targets": [
  615. {
  616. "calculatedInterval": "2m",
  617. "datasourceErrors": {
  618. },
  619. "errors": {
  620. },
  621. "expr": "max(max_over_time(mysql_global_status_threads_connected{instance=\"$host\"}[$interval]) or mysql_global_status_threads_connected{instance=\"$host\"} )",
  622. "format": "time_series",
  623. "interval": "$interval",
  624. "intervalFactor": 1,
  625. "legendFormat": "Connections",
  626. "metric": "",
  627. "refId": "A",
  628. "step": 20
  629. },
  630. {
  631. "calculatedInterval": "2m",
  632. "datasourceErrors": {
  633. },
  634. "errors": {
  635. },
  636. "expr": "mysql_global_status_max_used_connections{instance=\"$host\"}",
  637. "format": "time_series",
  638. "interval": "$interval",
  639. "intervalFactor": 1,
  640. "legendFormat": "Max Used Connections",
  641. "metric": "",
  642. "refId": "C",
  643. "step": 20,
  644. "target": ""
  645. },
  646. {
  647. "calculatedInterval": "2m",
  648. "datasourceErrors": {
  649. },
  650. "errors": {
  651. },
  652. "expr": "mysql_global_variables_max_connections{instance=\"$host\"}",
  653. "format": "time_series",
  654. "interval": "$interval",
  655. "intervalFactor": 1,
  656. "legendFormat": "Max Connections",
  657. "metric": "",
  658. "refId": "B",
  659. "step": 20,
  660. "target": ""
  661. }
  662. ],
  663. "thresholds": [
  664. ],
  665. "timeFrom": null,
  666. "timeShift": null,
  667. "title": "MySQL Connections",
  668. "tooltip": {
  669. "msResolution": false,
  670. "shared": true,
  671. "sort": 0,
  672. "value_type": "cumulative"
  673. },
  674. "type": "graph",
  675. "xaxis": {
  676. "buckets": null,
  677. "mode": "time",
  678. "name": null,
  679. "show": true,
  680. "values": [
  681. ]
  682. },
  683. "yaxes": [
  684. {
  685. "format": "short",
  686. "label": "",
  687. "logBase": 1,
  688. "max": null,
  689. "min": 0,
  690. "show": true
  691. },
  692. {
  693. "format": "short",
  694. "label": "",
  695. "logBase": 1,
  696. "max": null,
  697. "min": 0,
  698. "show": true
  699. }
  700. ],
  701. "yaxis": {
  702. "align": false,
  703. "alignLevel": null
  704. }
  705. },
  706. {
  707. "aliasColors": {
  708. },
  709. "bars": false,
  710. "dashLength": 10,
  711. "dashes": false,
  712. "datasource": "Prometheus",
  713. "decimals": 2,
  714. "description": "**MySQL Active Threads**\n\nThreads Connected is the number of open connections, while Threads Running is the number of threads not sleeping.",
  715. "editable": true,
  716. "error": false,
  717. "fill": 2,
  718. "grid": {
  719. },
  720. "gridPos": {
  721. "h": 7,
  722. "w": 12,
  723. "x": 12,
  724. "y": 4
  725. },
  726. "id": 10,
  727. "legend": {
  728. "alignAsTable": true,
  729. "avg": true,
  730. "current": false,
  731. "max": true,
  732. "min": true,
  733. "rightSide": false,
  734. "show": true,
  735. "sort": "avg",
  736. "sortDesc": true,
  737. "total": false,
  738. "values": true
  739. },
  740. "lines": true,
  741. "linewidth": 2,
  742. "links": [
  743. ],
  744. "nullPointMode": "null",
  745. "percentage": false,
  746. "pointradius": 5,
  747. "points": false,
  748. "renderer": "flot",
  749. "seriesOverrides": [
  750. {
  751. "alias": "Peak Threads Running",
  752. "color": "#E24D42",
  753. "lines": false,
  754. "pointradius": 1,
  755. "points": true
  756. },
  757. {
  758. "alias": "Peak Threads Connected",
  759. "color": "#1F78C1"
  760. },
  761. {
  762. "alias": "Avg Threads Running",
  763. "color": "#EAB839"
  764. }
  765. ],
  766. "spaceLength": 10,
  767. "stack": false,
  768. "steppedLine": false,
  769. "targets": [
  770. {
  771. "calculatedInterval": "2m",
  772. "datasourceErrors": {
  773. },
  774. "errors": {
  775. },
  776. "expr": "max_over_time(mysql_global_status_threads_connected{instance=\"$host\"}[$interval]) or\nmax_over_time(mysql_global_status_threads_connected{instance=\"$host\"}[5m])",
  777. "format": "time_series",
  778. "hide": false,
  779. "interval": "$interval",
  780. "intervalFactor": 1,
  781. "legendFormat": "Peak Threads Connected",
  782. "metric": "",
  783. "refId": "A",
  784. "step": 20
  785. },
  786. {
  787. "calculatedInterval": "2m",
  788. "datasourceErrors": {
  789. },
  790. "errors": {
  791. },
  792. "expr": "max_over_time(mysql_global_status_threads_running{instance=\"$host\"}[$interval]) or\nmax_over_time(mysql_global_status_threads_running{instance=\"$host\"}[5m])",
  793. "format": "time_series",
  794. "interval": "$interval",
  795. "intervalFactor": 1,
  796. "legendFormat": "Peak Threads Running",
  797. "metric": "",
  798. "refId": "B",
  799. "step": 20
  800. },
  801. {
  802. "expr": "avg_over_time(mysql_global_status_threads_running{instance=\"$host\"}[$interval]) or \navg_over_time(mysql_global_status_threads_running{instance=\"$host\"}[5m])",
  803. "format": "time_series",
  804. "interval": "$interval",
  805. "intervalFactor": 1,
  806. "legendFormat": "Avg Threads Running",
  807. "refId": "C",
  808. "step": 20
  809. }
  810. ],
  811. "thresholds": [
  812. ],
  813. "timeFrom": null,
  814. "timeShift": null,
  815. "title": "MySQL Client Thread Activity",
  816. "tooltip": {
  817. "msResolution": false,
  818. "shared": true,
  819. "sort": 0,
  820. "value_type": "individual"
  821. },
  822. "type": "graph",
  823. "xaxis": {
  824. "buckets": null,
  825. "mode": "time",
  826. "name": null,
  827. "show": true,
  828. "values": [
  829. "total"
  830. ]
  831. },
  832. "yaxes": [
  833. {
  834. "format": "short",
  835. "label": "Threads",
  836. "logBase": 1,
  837. "max": null,
  838. "min": 0,
  839. "show": true
  840. },
  841. {
  842. "format": "short",
  843. "label": "",
  844. "logBase": 1,
  845. "max": null,
  846. "min": 0,
  847. "show": false
  848. }
  849. ],
  850. "yaxis": {
  851. "align": false,
  852. "alignLevel": null
  853. }
  854. },
  855. {
  856. "collapsed": false,
  857. "gridPos": {
  858. "h": 1,
  859. "w": 24,
  860. "x": 0,
  861. "y": 11
  862. },
  863. "id": 384,
  864. "panels": [
  865. ],
  866. "repeat": null,
  867. "title": "Table Locks",
  868. "type": "row"
  869. },
  870. {
  871. "aliasColors": {
  872. },
  873. "bars": false,
  874. "dashLength": 10,
  875. "dashes": false,
  876. "datasource": "Prometheus",
  877. "decimals": 2,
  878. "description": "**MySQL Questions**\n\nThe number of statements executed by the server. This includes only statements sent to the server by clients and not statements executed within stored programs, unlike the Queries used in the QPS calculation. \n\nThis variable does not count the following commands:\n* ``COM_PING``\n* ``COM_STATISTICS``\n* ``COM_STMT_PREPARE``\n* ``COM_STMT_CLOSE``\n* ``COM_STMT_RESET``",
  879. "editable": true,
  880. "error": false,
  881. "fill": 2,
  882. "grid": {
  883. },
  884. "gridPos": {
  885. "h": 7,
  886. "w": 12,
  887. "x": 0,
  888. "y": 12
  889. },
  890. "id": 53,
  891. "legend": {
  892. "alignAsTable": true,
  893. "avg": true,
  894. "current": false,
  895. "max": true,
  896. "min": true,
  897. "rightSide": false,
  898. "show": true,
  899. "sort": "avg",
  900. "sortDesc": true,
  901. "total": false,
  902. "values": true
  903. },
  904. "lines": true,
  905. "linewidth": 2,
  906. "links": [
  907. {
  908. "targetBlank": true,
  909. "title": "MySQL Queries and Questions",
  910. "type": "absolute",
  911. "url": "https://www.percona.com/blog/2014/05/29/how-mysql-queries-and-questions-are-measured/"
  912. }
  913. ],
  914. "nullPointMode": "null",
  915. "percentage": false,
  916. "pointradius": 5,
  917. "points": false,
  918. "renderer": "flot",
  919. "seriesOverrides": [
  920. ],
  921. "spaceLength": 10,
  922. "stack": false,
  923. "steppedLine": false,
  924. "targets": [
  925. {
  926. "calculatedInterval": "2m",
  927. "datasourceErrors": {
  928. },
  929. "errors": {
  930. },
  931. "expr": "rate(mysql_global_status_questions{instance=\"$host\"}[$interval]) or irate(mysql_global_status_questions{instance=\"$host\"}[5m])",
  932. "format": "time_series",
  933. "interval": "$interval",
  934. "intervalFactor": 1,
  935. "legendFormat": "Questions",
  936. "metric": "",
  937. "refId": "A",
  938. "step": 20
  939. }
  940. ],
  941. "thresholds": [
  942. ],
  943. "timeFrom": null,
  944. "timeShift": null,
  945. "title": "MySQL Questions",
  946. "tooltip": {
  947. "msResolution": false,
  948. "shared": true,
  949. "sort": 0,
  950. "value_type": "individual"
  951. },
  952. "type": "graph",
  953. "xaxis": {
  954. "buckets": null,
  955. "mode": "time",
  956. "name": null,
  957. "show": true,
  958. "values": [
  959. ]
  960. },
  961. "yaxes": [
  962. {
  963. "format": "short",
  964. "logBase": 1,
  965. "max": null,
  966. "min": 0,
  967. "show": true
  968. },
  969. {
  970. "format": "short",
  971. "logBase": 1,
  972. "max": null,
  973. "min": 0,
  974. "show": true
  975. }
  976. ],
  977. "yaxis": {
  978. "align": false,
  979. "alignLevel": null
  980. }
  981. },
  982. {
  983. "aliasColors": {
  984. },
  985. "bars": false,
  986. "dashLength": 10,
  987. "dashes": false,
  988. "datasource": "Prometheus",
  989. "decimals": 2,
  990. "description": "**MySQL Thread Cache**\n\nThe thread_cache_size variable sets how many threads the server should cache to reuse. When a client disconnects, the client's threads are put in the cache if the cache is not full. It is autosized in MySQL 5.6.8 and above (capped to 100). Requests for threads are satisfied by reusing threads taken from the cache if possible, and only when the cache is empty is a new thread created.\n\n* *Threads_created*: The number of threads created to handle connections.\n* *Threads_cached*: The number of threads in the thread cache.",
  991. "editable": true,
  992. "error": false,
  993. "fill": 2,
  994. "grid": {
  995. },
  996. "gridPos": {
  997. "h": 7,
  998. "w": 12,
  999. "x": 12,
  1000. "y": 12
  1001. },
  1002. "id": 11,
  1003. "legend": {
  1004. "alignAsTable": true,
  1005. "avg": true,
  1006. "current": false,
  1007. "max": true,
  1008. "min": true,
  1009. "rightSide": false,
  1010. "show": true,
  1011. "sort": "avg",
  1012. "sortDesc": true,
  1013. "total": false,
  1014. "values": true
  1015. },
  1016. "lines": true,
  1017. "linewidth": 2,
  1018. "links": [
  1019. {
  1020. "title": "Tuning information",
  1021. "type": "absolute",
  1022. "url": "https://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_thread_cache_size"
  1023. }
  1024. ],
  1025. "nullPointMode": "null",
  1026. "percentage": false,
  1027. "pointradius": 5,
  1028. "points": false,
  1029. "renderer": "flot",
  1030. "seriesOverrides": [
  1031. {
  1032. "alias": "Threads Created",
  1033. "fill": 0
  1034. }
  1035. ],
  1036. "spaceLength": 10,
  1037. "stack": false,
  1038. "steppedLine": false,
  1039. "targets": [
  1040. {
  1041. "calculatedInterval": "2m",
  1042. "datasourceErrors": {
  1043. },
  1044. "errors": {
  1045. },
  1046. "expr": "mysql_global_variables_thread_cache_size{instance=\"$host\"}",
  1047. "format": "time_series",
  1048. "interval": "$interval",
  1049. "intervalFactor": 1,
  1050. "legendFormat": "Thread Cache Size",
  1051. "metric": "",
  1052. "refId": "B",
  1053. "step": 20
  1054. },
  1055. {
  1056. "calculatedInterval": "2m",
  1057. "datasourceErrors": {
  1058. },
  1059. "errors": {
  1060. },
  1061. "expr": "mysql_global_status_threads_cached{instance=\"$host\"}",
  1062. "format": "time_series",
  1063. "interval": "$interval",
  1064. "intervalFactor": 1,
  1065. "legendFormat": "Threads Cached",
  1066. "metric": "",
  1067. "refId": "C",
  1068. "step": 20
  1069. },
  1070. {
  1071. "calculatedInterval": "2m",
  1072. "datasourceErrors": {
  1073. },
  1074. "errors": {
  1075. },
  1076. "expr": "rate(mysql_global_status_threads_created{instance=\"$host\"}[$interval]) or irate(mysql_global_status_threads_created{instance=\"$host\"}[5m])",
  1077. "format": "time_series",
  1078. "interval": "$interval",
  1079. "intervalFactor": 1,
  1080. "legendFormat": "Threads Created",
  1081. "metric": "",
  1082. "refId": "A",
  1083. "step": 20
  1084. }
  1085. ],
  1086. "thresholds": [
  1087. ],
  1088. "timeFrom": null,
  1089. "timeShift": null,
  1090. "title": "MySQL Thread Cache",
  1091. "tooltip": {
  1092. "msResolution": false,
  1093. "shared": true,
  1094. "sort": 0,
  1095. "value_type": "individual"
  1096. },
  1097. "transparent": false,
  1098. "type": "graph",
  1099. "xaxis": {
  1100. "buckets": null,
  1101. "mode": "time",
  1102. "name": null,
  1103. "show": true,
  1104. "values": [
  1105. ]
  1106. },
  1107. "yaxes": [
  1108. {
  1109. "format": "short",
  1110. "logBase": 1,
  1111. "max": null,
  1112. "min": 0,
  1113. "show": true
  1114. },
  1115. {
  1116. "format": "short",
  1117. "logBase": 1,
  1118. "max": null,
  1119. "min": 0,
  1120. "show": true
  1121. }
  1122. ],
  1123. "yaxis": {
  1124. "align": false,
  1125. "alignLevel": null
  1126. }
  1127. },
  1128. {
  1129. "collapsed": false,
  1130. "gridPos": {
  1131. "h": 1,
  1132. "w": 24,
  1133. "x": 0,
  1134. "y": 19
  1135. },
  1136. "id": 385,
  1137. "panels": [
  1138. ],
  1139. "repeat": null,
  1140. "title": "Temporary Objects",
  1141. "type": "row"
  1142. },
  1143. {
  1144. "aliasColors": {
  1145. },
  1146. "bars": false,
  1147. "dashLength": 10,
  1148. "dashes": false,
  1149. "datasource": "Prometheus",
  1150. "decimals": 2,
  1151. "editable": true,
  1152. "error": false,
  1153. "fill": 2,
  1154. "grid": {
  1155. },
  1156. "gridPos": {
  1157. "h": 7,
  1158. "w": 12,
  1159. "x": 0,
  1160. "y": 20
  1161. },
  1162. "id": 22,
  1163. "legend": {
  1164. "alignAsTable": true,
  1165. "avg": true,
  1166. "current": false,
  1167. "max": true,
  1168. "min": true,
  1169. "rightSide": false,
  1170. "show": true,
  1171. "sort": "avg",
  1172. "sortDesc": true,
  1173. "total": false,
  1174. "values": true
  1175. },
  1176. "lines": true,
  1177. "linewidth": 2,
  1178. "links": [
  1179. ],
  1180. "nullPointMode": "null",
  1181. "percentage": false,
  1182. "pointradius": 5,
  1183. "points": false,
  1184. "renderer": "flot",
  1185. "seriesOverrides": [
  1186. ],
  1187. "spaceLength": 10,
  1188. "stack": false,
  1189. "steppedLine": false,
  1190. "targets": [
  1191. {
  1192. "calculatedInterval": "2m",
  1193. "datasourceErrors": {
  1194. },
  1195. "errors": {
  1196. },
  1197. "expr": "rate(mysql_global_status_created_tmp_tables{instance=\"$host\"}[$interval]) or irate(mysql_global_status_created_tmp_tables{instance=\"$host\"}[5m])",
  1198. "interval": "$interval",
  1199. "intervalFactor": 1,
  1200. "legendFormat": "Created Tmp Tables",
  1201. "metric": "",
  1202. "refId": "A",
  1203. "step": 20
  1204. },
  1205. {
  1206. "calculatedInterval": "2m",
  1207. "datasourceErrors": {
  1208. },
  1209. "errors": {
  1210. },
  1211. "expr": "rate(mysql_global_status_created_tmp_disk_tables{instance=\"$host\"}[$interval]) or irate(mysql_global_status_created_tmp_disk_tables{instance=\"$host\"}[5m])",
  1212. "interval": "$interval",
  1213. "intervalFactor": 1,
  1214. "legendFormat": "Created Tmp Disk Tables",
  1215. "metric": "",
  1216. "refId": "B",
  1217. "step": 20
  1218. },
  1219. {
  1220. "calculatedInterval": "2m",
  1221. "datasourceErrors": {
  1222. },
  1223. "errors": {
  1224. },
  1225. "expr": "rate(mysql_global_status_created_tmp_files{instance=\"$host\"}[$interval]) or irate(mysql_global_status_created_tmp_files{instance=\"$host\"}[5m])",
  1226. "interval": "$interval",
  1227. "intervalFactor": 1,
  1228. "legendFormat": "Created Tmp Files",
  1229. "metric": "",
  1230. "refId": "C",
  1231. "step": 20
  1232. }
  1233. ],
  1234. "thresholds": [
  1235. ],
  1236. "timeFrom": null,
  1237. "timeShift": null,
  1238. "title": "MySQL Temporary Objects",
  1239. "tooltip": {
  1240. "msResolution": false,
  1241. "shared": true,
  1242. "sort": 0,
  1243. "value_type": "individual"
  1244. },
  1245. "type": "graph",
  1246. "xaxis": {
  1247. "buckets": null,
  1248. "mode": "time",
  1249. "name": null,
  1250. "show": true,
  1251. "values": [
  1252. ]
  1253. },
  1254. "yaxes": [
  1255. {
  1256. "format": "short",
  1257. "logBase": 1,
  1258. "max": null,
  1259. "min": 0,
  1260. "show": true
  1261. },
  1262. {
  1263. "format": "short",
  1264. "logBase": 1,
  1265. "max": null,
  1266. "min": 0,
  1267. "show": true
  1268. }
  1269. ],
  1270. "yaxis": {
  1271. "align": false,
  1272. "alignLevel": null
  1273. }
  1274. },
  1275. {
  1276. "aliasColors": {
  1277. },
  1278. "bars": false,
  1279. "dashLength": 10,
  1280. "dashes": false,
  1281. "datasource": "Prometheus",
  1282. "decimals": 2,
  1283. "description": "**MySQL Select Types**\n\nAs with most relational databases, selecting based on indexes is more efficient than scanning an entire table's data. Here we see the counters for selects not done with indexes.\n\n* ***Select Scan*** is how many queries caused full table scans, in which all the data in the table had to be read and either discarded or returned.\n* ***Select Range*** is how many queries used a range scan, which means MySQL scanned all rows in a given range.\n* ***Select Full Join*** is the number of joins that are not joined on an index, this is usually a huge performance hit.",
  1284. "editable": true,
  1285. "error": false,
  1286. "fill": 2,
  1287. "grid": {
  1288. },
  1289. "gridPos": {
  1290. "h": 7,
  1291. "w": 12,
  1292. "x": 12,
  1293. "y": 20
  1294. },
  1295. "height": "250px",
  1296. "id": 311,
  1297. "legend": {
  1298. "alignAsTable": true,
  1299. "avg": true,
  1300. "current": false,
  1301. "hideZero": true,
  1302. "max": true,
  1303. "min": true,
  1304. "rightSide": false,
  1305. "show": true,
  1306. "sort": "avg",
  1307. "sortDesc": true,
  1308. "total": false,
  1309. "values": true
  1310. },
  1311. "lines": true,
  1312. "linewidth": 2,
  1313. "links": [
  1314. ],
  1315. "nullPointMode": "null",
  1316. "percentage": false,
  1317. "pointradius": 5,
  1318. "points": false,
  1319. "renderer": "flot",
  1320. "seriesOverrides": [
  1321. ],
  1322. "spaceLength": 10,
  1323. "stack": false,
  1324. "steppedLine": false,
  1325. "targets": [
  1326. {
  1327. "calculatedInterval": "2m",
  1328. "datasourceErrors": {
  1329. },
  1330. "errors": {
  1331. },
  1332. "expr": "rate(mysql_global_status_select_full_join{instance=\"$host\"}[$interval]) or irate(mysql_global_status_select_full_join{instance=\"$host\"}[5m])",
  1333. "format": "time_series",
  1334. "interval": "$interval",
  1335. "intervalFactor": 1,
  1336. "legendFormat": "Select Full Join",
  1337. "metric": "",
  1338. "refId": "A",
  1339. "step": 20
  1340. },
  1341. {
  1342. "calculatedInterval": "2m",
  1343. "datasourceErrors": {
  1344. },
  1345. "errors": {
  1346. },
  1347. "expr": "rate(mysql_global_status_select_full_range_join{instance=\"$host\"}[$interval]) or irate(mysql_global_status_select_full_range_join{instance=\"$host\"}[5m])",
  1348. "format": "time_series",
  1349. "interval": "$interval",
  1350. "intervalFactor": 1,
  1351. "legendFormat": "Select Full Range Join",
  1352. "metric": "",
  1353. "refId": "B",
  1354. "step": 20
  1355. },
  1356. {
  1357. "calculatedInterval": "2m",
  1358. "datasourceErrors": {
  1359. },
  1360. "errors": {
  1361. },
  1362. "expr": "rate(mysql_global_status_select_range{instance=\"$host\"}[$interval]) or irate(mysql_global_status_select_range{instance=\"$host\"}[5m])",
  1363. "format": "time_series",
  1364. "interval": "$interval",
  1365. "intervalFactor": 1,
  1366. "legendFormat": "Select Range",
  1367. "metric": "",
  1368. "refId": "C",
  1369. "step": 20
  1370. },
  1371. {
  1372. "calculatedInterval": "2m",
  1373. "datasourceErrors": {
  1374. },
  1375. "errors": {
  1376. },
  1377. "expr": "rate(mysql_global_status_select_range_check{instance=\"$host\"}[$interval]) or irate(mysql_global_status_select_range_check{instance=\"$host\"}[5m])",
  1378. "format": "time_series",
  1379. "interval": "$interval",
  1380. "intervalFactor": 1,
  1381. "legendFormat": "Select Range Check",
  1382. "metric": "",
  1383. "refId": "D",
  1384. "step": 20
  1385. },
  1386. {
  1387. "calculatedInterval": "2m",
  1388. "datasourceErrors": {
  1389. },
  1390. "errors": {
  1391. },
  1392. "expr": "rate(mysql_global_status_select_scan{instance=\"$host\"}[$interval]) or irate(mysql_global_status_select_scan{instance=\"$host\"}[5m])",
  1393. "format": "time_series",
  1394. "interval": "$interval",
  1395. "intervalFactor": 1,
  1396. "legendFormat": "Select Scan",
  1397. "metric": "",
  1398. "refId": "E",
  1399. "step": 20
  1400. }
  1401. ],
  1402. "thresholds": [
  1403. ],
  1404. "timeFrom": null,
  1405. "timeShift": null,
  1406. "title": "MySQL Select Types",
  1407. "tooltip": {
  1408. "msResolution": false,
  1409. "shared": true,
  1410. "sort": 0,
  1411. "value_type": "individual"
  1412. },
  1413. "type": "graph",
  1414. "xaxis": {
  1415. "buckets": null,
  1416. "mode": "time",
  1417. "name": null,
  1418. "show": true,
  1419. "values": [
  1420. ]
  1421. },
  1422. "yaxes": [
  1423. {
  1424. "format": "short",
  1425. "logBase": 1,
  1426. "max": null,
  1427. "min": 0,
  1428. "show": true
  1429. },
  1430. {
  1431. "format": "short",
  1432. "logBase": 1,
  1433. "max": null,
  1434. "min": 0,
  1435. "show": true
  1436. }
  1437. ],
  1438. "yaxis": {
  1439. "align": false,
  1440. "alignLevel": null
  1441. }
  1442. },
  1443. {
  1444. "collapsed": false,
  1445. "gridPos": {
  1446. "h": 1,
  1447. "w": 24,
  1448. "x": 0,
  1449. "y": 27
  1450. },
  1451. "id": 386,
  1452. "panels": [
  1453. ],
  1454. "repeat": null,
  1455. "title": "Sorts",
  1456. "type": "row"
  1457. },
  1458. {
  1459. "aliasColors": {
  1460. },
  1461. "bars": false,
  1462. "dashLength": 10,
  1463. "dashes": false,
  1464. "datasource": "Prometheus",
  1465. "decimals": 2,
  1466. "description": "**MySQL Sorts**\n\nDue to a query's structure, order, or other requirements, MySQL sorts the rows before returning them. For example, if a table is ordered 1 to 10 but you want the results reversed, MySQL then has to sort the rows to return 10 to 1.\n\nThis graph also shows when sorts had to scan a whole table or a given range of a table in order to return the results and which could not have been sorted via an index.",
  1467. "editable": true,
  1468. "error": false,
  1469. "fill": 2,
  1470. "grid": {
  1471. },
  1472. "gridPos": {
  1473. "h": 7,
  1474. "w": 12,
  1475. "x": 0,
  1476. "y": 28
  1477. },
  1478. "id": 30,
  1479. "legend": {
  1480. "alignAsTable": true,
  1481. "avg": true,
  1482. "current": false,
  1483. "hideZero": true,
  1484. "max": true,
  1485. "min": true,
  1486. "rightSide": false,
  1487. "show": true,
  1488. "sort": "avg",
  1489. "sortDesc": true,
  1490. "total": false,
  1491. "values": true
  1492. },
  1493. "lines": true,
  1494. "linewidth": 2,
  1495. "links": [
  1496. ],
  1497. "nullPointMode": "null",
  1498. "percentage": false,
  1499. "pointradius": 5,
  1500. "points": false,
  1501. "renderer": "flot",
  1502. "seriesOverrides": [
  1503. ],
  1504. "spaceLength": 10,
  1505. "stack": false,
  1506. "steppedLine": false,
  1507. "targets": [
  1508. {
  1509. "calculatedInterval": "2m",
  1510. "datasourceErrors": {
  1511. },
  1512. "errors": {
  1513. },
  1514. "expr": "rate(mysql_global_status_sort_rows{instance=\"$host\"}[$interval]) or irate(mysql_global_status_sort_rows{instance=\"$host\"}[5m])",
  1515. "format": "time_series",
  1516. "interval": "$interval",
  1517. "intervalFactor": 1,
  1518. "legendFormat": "Sort Rows",
  1519. "metric": "",
  1520. "refId": "A",
  1521. "step": 20
  1522. },
  1523. {
  1524. "calculatedInterval": "2m",
  1525. "datasourceErrors": {
  1526. },
  1527. "errors": {
  1528. },
  1529. "expr": "rate(mysql_global_status_sort_range{instance=\"$host\"}[$interval]) or irate(mysql_global_status_sort_range{instance=\"$host\"}[5m])",
  1530. "format": "time_series",
  1531. "interval": "$interval",
  1532. "intervalFactor": 1,
  1533. "legendFormat": "Sort Range",
  1534. "metric": "",
  1535. "refId": "B",
  1536. "step": 20
  1537. },
  1538. {
  1539. "calculatedInterval": "2m",
  1540. "datasourceErrors": {
  1541. },
  1542. "errors": {
  1543. },
  1544. "expr": "rate(mysql_global_status_sort_merge_passes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_sort_merge_passes{instance=\"$host\"}[5m])",
  1545. "format": "time_series",
  1546. "interval": "$interval",
  1547. "intervalFactor": 1,
  1548. "legendFormat": "Sort Merge Passes",
  1549. "metric": "",
  1550. "refId": "C",
  1551. "step": 20
  1552. },
  1553. {
  1554. "calculatedInterval": "2m",
  1555. "datasourceErrors": {
  1556. },
  1557. "errors": {
  1558. },
  1559. "expr": "rate(mysql_global_status_sort_scan{instance=\"$host\"}[$interval]) or irate(mysql_global_status_sort_scan{instance=\"$host\"}[5m])",
  1560. "format": "time_series",
  1561. "interval": "$interval",
  1562. "intervalFactor": 1,
  1563. "legendFormat": "Sort Scan",
  1564. "metric": "",
  1565. "refId": "D",
  1566. "step": 20
  1567. }
  1568. ],
  1569. "thresholds": [
  1570. ],
  1571. "timeFrom": null,
  1572. "timeShift": null,
  1573. "title": "MySQL Sorts",
  1574. "tooltip": {
  1575. "msResolution": false,
  1576. "shared": true,
  1577. "sort": 0,
  1578. "value_type": "individual"
  1579. },
  1580. "type": "graph",
  1581. "xaxis": {
  1582. "buckets": null,
  1583. "mode": "time",
  1584. "name": null,
  1585. "show": true,
  1586. "values": [
  1587. ]
  1588. },
  1589. "yaxes": [
  1590. {
  1591. "format": "short",
  1592. "logBase": 1,
  1593. "max": null,
  1594. "min": 0,
  1595. "show": true
  1596. },
  1597. {
  1598. "format": "short",
  1599. "logBase": 1,
  1600. "max": null,
  1601. "min": 0,
  1602. "show": true
  1603. }
  1604. ],
  1605. "yaxis": {
  1606. "align": false,
  1607. "alignLevel": null
  1608. }
  1609. },
  1610. {
  1611. "aliasColors": {
  1612. },
  1613. "bars": false,
  1614. "dashLength": 10,
  1615. "dashes": false,
  1616. "datasource": "Prometheus",
  1617. "decimals": 2,
  1618. "description": "**MySQL Slow Queries**\n\nSlow queries are defined as queries being slower than the long_query_time setting. For example, if you have long_query_time set to 3, all queries that take longer than 3 seconds to complete will show on this graph.",
  1619. "editable": true,
  1620. "error": false,
  1621. "fill": 2,
  1622. "grid": {
  1623. },
  1624. "gridPos": {
  1625. "h": 7,
  1626. "w": 12,
  1627. "x": 12,
  1628. "y": 28
  1629. },
  1630. "id": 48,
  1631. "legend": {
  1632. "alignAsTable": true,
  1633. "avg": true,
  1634. "current": false,
  1635. "max": true,
  1636. "min": true,
  1637. "show": true,
  1638. "sort": "avg",
  1639. "sortDesc": true,
  1640. "total": false,
  1641. "values": true
  1642. },
  1643. "lines": true,
  1644. "linewidth": 2,
  1645. "links": [
  1646. ],
  1647. "nullPointMode": "null",
  1648. "percentage": false,
  1649. "pointradius": 5,
  1650. "points": false,
  1651. "renderer": "flot",
  1652. "seriesOverrides": [
  1653. ],
  1654. "spaceLength": 10,
  1655. "stack": false,
  1656. "steppedLine": false,
  1657. "targets": [
  1658. {
  1659. "calculatedInterval": "2m",
  1660. "datasourceErrors": {
  1661. },
  1662. "errors": {
  1663. },
  1664. "expr": "rate(mysql_global_status_slow_queries{instance=\"$host\"}[$interval]) or irate(mysql_global_status_slow_queries{instance=\"$host\"}[5m])",
  1665. "format": "time_series",
  1666. "interval": "$interval",
  1667. "intervalFactor": 1,
  1668. "legendFormat": "Slow Queries",
  1669. "metric": "",
  1670. "refId": "A",
  1671. "step": 20
  1672. }
  1673. ],
  1674. "thresholds": [
  1675. ],
  1676. "timeFrom": null,
  1677. "timeShift": null,
  1678. "title": "MySQL Slow Queries",
  1679. "tooltip": {
  1680. "msResolution": false,
  1681. "shared": true,
  1682. "sort": 0,
  1683. "value_type": "cumulative"
  1684. },
  1685. "type": "graph",
  1686. "xaxis": {
  1687. "buckets": null,
  1688. "mode": "time",
  1689. "name": null,
  1690. "show": true,
  1691. "values": [
  1692. ]
  1693. },
  1694. "yaxes": [
  1695. {
  1696. "format": "short",
  1697. "label": "",
  1698. "logBase": 1,
  1699. "max": null,
  1700. "min": 0,
  1701. "show": true
  1702. },
  1703. {
  1704. "format": "short",
  1705. "label": "",
  1706. "logBase": 1,
  1707. "max": null,
  1708. "min": 0,
  1709. "show": true
  1710. }
  1711. ],
  1712. "yaxis": {
  1713. "align": false,
  1714. "alignLevel": null
  1715. }
  1716. },
  1717. {
  1718. "collapsed": false,
  1719. "gridPos": {
  1720. "h": 1,
  1721. "w": 24,
  1722. "x": 0,
  1723. "y": 35
  1724. },
  1725. "id": 387,
  1726. "panels": [
  1727. ],
  1728. "repeat": null,
  1729. "title": "Aborted",
  1730. "type": "row"
  1731. },
  1732. {
  1733. "aliasColors": {
  1734. },
  1735. "bars": false,
  1736. "dashLength": 10,
  1737. "dashes": false,
  1738. "datasource": "Prometheus",
  1739. "decimals": 2,
  1740. "description": "**Aborted Connections**\n\nWhen a given host connects to MySQL and the connection is interrupted in the middle (for example due to bad credentials), MySQL keeps that info in a system table (since 5.6 this table is exposed in performance_schema).\n\nIf the amount of failed requests without a successful connection reaches the value of max_connect_errors, mysqld assumes that something is wrong and blocks the host from further connection.\n\nTo allow connections from that host again, you need to issue the ``FLUSH HOSTS`` statement.",
  1741. "editable": true,
  1742. "error": false,
  1743. "fill": 2,
  1744. "grid": {
  1745. },
  1746. "gridPos": {
  1747. "h": 7,
  1748. "w": 12,
  1749. "x": 0,
  1750. "y": 36
  1751. },
  1752. "id": 47,
  1753. "legend": {
  1754. "alignAsTable": true,
  1755. "avg": true,
  1756. "current": false,
  1757. "max": true,
  1758. "min": true,
  1759. "show": true,
  1760. "sort": "avg",
  1761. "sortDesc": true,
  1762. "total": false,
  1763. "values": true
  1764. },
  1765. "lines": true,
  1766. "linewidth": 2,
  1767. "links": [
  1768. ],
  1769. "nullPointMode": "null",
  1770. "percentage": false,
  1771. "pointradius": 5,
  1772. "points": false,
  1773. "renderer": "flot",
  1774. "seriesOverrides": [
  1775. ],
  1776. "spaceLength": 10,
  1777. "stack": false,
  1778. "steppedLine": false,
  1779. "targets": [
  1780. {
  1781. "calculatedInterval": "2m",
  1782. "datasourceErrors": {
  1783. },
  1784. "errors": {
  1785. },
  1786. "expr": "rate(mysql_global_status_aborted_connects{instance=\"$host\"}[$interval]) or irate(mysql_global_status_aborted_connects{instance=\"$host\"}[5m])",
  1787. "format": "time_series",
  1788. "interval": "$interval",
  1789. "intervalFactor": 1,
  1790. "legendFormat": "Aborted Connects (attempts)",
  1791. "metric": "",
  1792. "refId": "A",
  1793. "step": 20
  1794. },
  1795. {
  1796. "calculatedInterval": "2m",
  1797. "datasourceErrors": {
  1798. },
  1799. "errors": {
  1800. },
  1801. "expr": "rate(mysql_global_status_aborted_clients{instance=\"$host\"}[$interval]) or irate(mysql_global_status_aborted_clients{instance=\"$host\"}[5m])",
  1802. "format": "time_series",
  1803. "interval": "$interval",
  1804. "intervalFactor": 1,
  1805. "legendFormat": "Aborted Clients (timeout)",
  1806. "metric": "",
  1807. "refId": "B",
  1808. "step": 20,
  1809. "target": ""
  1810. }
  1811. ],
  1812. "thresholds": [
  1813. ],
  1814. "timeFrom": null,
  1815. "timeShift": null,
  1816. "title": "MySQL Aborted Connections",
  1817. "tooltip": {
  1818. "msResolution": false,
  1819. "shared": true,
  1820. "sort": 0,
  1821. "value_type": "cumulative"
  1822. },
  1823. "type": "graph",
  1824. "xaxis": {
  1825. "buckets": null,
  1826. "mode": "time",
  1827. "name": null,
  1828. "show": true,
  1829. "values": [
  1830. ]
  1831. },
  1832. "yaxes": [
  1833. {
  1834. "format": "short",
  1835. "label": "",
  1836. "logBase": 1,
  1837. "max": null,
  1838. "min": 0,
  1839. "show": true
  1840. },
  1841. {
  1842. "format": "short",
  1843. "label": "",
  1844. "logBase": 1,
  1845. "max": null,
  1846. "min": 0,
  1847. "show": true
  1848. }
  1849. ],
  1850. "yaxis": {
  1851. "align": false,
  1852. "alignLevel": null
  1853. }
  1854. },
  1855. {
  1856. "aliasColors": {
  1857. },
  1858. "bars": false,
  1859. "dashLength": 10,
  1860. "dashes": false,
  1861. "datasource": "Prometheus",
  1862. "decimals": 2,
  1863. "description": "**Table Locks**\n\nMySQL takes a number of different locks for varying reasons. In this graph we see how many Table level locks MySQL has requested from the storage engine. In the case of InnoDB, many times the locks could actually be row locks as it only takes table level locks in a few specific cases.\n\nIt is most useful to compare Locks Immediate and Locks Waited. If Locks waited is rising, it means you have lock contention. Otherwise, Locks Immediate rising and falling is normal activity.",
  1864. "editable": true,
  1865. "error": false,
  1866. "fill": 2,
  1867. "grid": {
  1868. },
  1869. "gridPos": {
  1870. "h": 7,
  1871. "w": 12,
  1872. "x": 12,
  1873. "y": 36
  1874. },
  1875. "id": 32,
  1876. "legend": {
  1877. "alignAsTable": true,
  1878. "avg": true,
  1879. "current": false,
  1880. "max": true,
  1881. "min": true,
  1882. "rightSide": false,
  1883. "show": true,
  1884. "sort": "avg",
  1885. "sortDesc": true,
  1886. "total": false,
  1887. "values": true
  1888. },
  1889. "lines": true,
  1890. "linewidth": 2,
  1891. "links": [
  1892. ],
  1893. "nullPointMode": "null",
  1894. "percentage": false,
  1895. "pointradius": 5,
  1896. "points": false,
  1897. "renderer": "flot",
  1898. "seriesOverrides": [
  1899. ],
  1900. "spaceLength": 10,
  1901. "stack": false,
  1902. "steppedLine": false,
  1903. "targets": [
  1904. {
  1905. "calculatedInterval": "2m",
  1906. "datasourceErrors": {
  1907. },
  1908. "errors": {
  1909. },
  1910. "expr": "rate(mysql_global_status_table_locks_immediate{instance=\"$host\"}[$interval]) or irate(mysql_global_status_table_locks_immediate{instance=\"$host\"}[5m])",
  1911. "format": "time_series",
  1912. "interval": "$interval",
  1913. "intervalFactor": 1,
  1914. "legendFormat": "Table Locks Immediate",
  1915. "metric": "",
  1916. "refId": "A",
  1917. "step": 20
  1918. },
  1919. {
  1920. "calculatedInterval": "2m",
  1921. "datasourceErrors": {
  1922. },
  1923. "errors": {
  1924. },
  1925. "expr": "rate(mysql_global_status_table_locks_waited{instance=\"$host\"}[$interval]) or irate(mysql_global_status_table_locks_waited{instance=\"$host\"}[5m])",
  1926. "format": "time_series",
  1927. "interval": "$interval",
  1928. "intervalFactor": 1,
  1929. "legendFormat": "Table Locks Waited",
  1930. "metric": "",
  1931. "refId": "B",
  1932. "step": 20
  1933. }
  1934. ],
  1935. "thresholds": [
  1936. ],
  1937. "timeFrom": null,
  1938. "timeShift": null,
  1939. "title": "MySQL Table Locks",
  1940. "tooltip": {
  1941. "msResolution": false,
  1942. "shared": true,
  1943. "sort": 0,
  1944. "value_type": "individual"
  1945. },
  1946. "type": "graph",
  1947. "xaxis": {
  1948. "buckets": null,
  1949. "mode": "time",
  1950. "name": null,
  1951. "show": true,
  1952. "values": [
  1953. ]
  1954. },
  1955. "yaxes": [
  1956. {
  1957. "format": "short",
  1958. "logBase": 1,
  1959. "max": null,
  1960. "min": 0,
  1961. "show": true
  1962. },
  1963. {
  1964. "format": "short",
  1965. "logBase": 1,
  1966. "max": null,
  1967. "min": 0,
  1968. "show": true
  1969. }
  1970. ],
  1971. "yaxis": {
  1972. "align": false,
  1973. "alignLevel": null
  1974. }
  1975. },
  1976. {
  1977. "collapsed": false,
  1978. "gridPos": {
  1979. "h": 1,
  1980. "w": 24,
  1981. "x": 0,
  1982. "y": 43
  1983. },
  1984. "id": 388,
  1985. "panels": [
  1986. ],
  1987. "repeat": null,
  1988. "title": "Network",
  1989. "type": "row"
  1990. },
  1991. {
  1992. "aliasColors": {
  1993. },
  1994. "bars": false,
  1995. "dashLength": 10,
  1996. "dashes": false,
  1997. "datasource": "Prometheus",
  1998. "decimals": 2,
  1999. "description": "**MySQL Network Traffic**\n\nHere we can see how much network traffic is generated by MySQL. Outbound is network traffic sent from MySQL and Inbound is network traffic MySQL has received.",
  2000. "editable": true,
  2001. "error": false,
  2002. "fill": 6,
  2003. "grid": {
  2004. },
  2005. "gridPos": {
  2006. "h": 7,
  2007. "w": 12,
  2008. "x": 0,
  2009. "y": 44
  2010. },
  2011. "id": 9,
  2012. "legend": {
  2013. "alignAsTable": true,
  2014. "avg": true,
  2015. "current": false,
  2016. "max": true,
  2017. "min": true,
  2018. "rightSide": false,
  2019. "show": true,
  2020. "sort": "avg",
  2021. "sortDesc": true,
  2022. "total": false,
  2023. "values": true
  2024. },
  2025. "lines": true,
  2026. "linewidth": 2,
  2027. "links": [
  2028. ],
  2029. "nullPointMode": "null",
  2030. "percentage": false,
  2031. "pointradius": 5,
  2032. "points": false,
  2033. "renderer": "flot",
  2034. "seriesOverrides": [
  2035. ],
  2036. "spaceLength": 10,
  2037. "stack": true,
  2038. "steppedLine": false,
  2039. "targets": [
  2040. {
  2041. "calculatedInterval": "2m",
  2042. "datasourceErrors": {
  2043. },
  2044. "errors": {
  2045. },
  2046. "expr": "rate(mysql_global_status_bytes_received{instance=\"$host\"}[$interval]) or irate(mysql_global_status_bytes_received{instance=\"$host\"}[5m])",
  2047. "format": "time_series",
  2048. "interval": "$interval",
  2049. "intervalFactor": 1,
  2050. "legendFormat": "Inbound",
  2051. "metric": "",
  2052. "refId": "A",
  2053. "step": 20
  2054. },
  2055. {
  2056. "calculatedInterval": "2m",
  2057. "datasourceErrors": {
  2058. },
  2059. "errors": {
  2060. },
  2061. "expr": "rate(mysql_global_status_bytes_sent{instance=\"$host\"}[$interval]) or irate(mysql_global_status_bytes_sent{instance=\"$host\"}[5m])",
  2062. "format": "time_series",
  2063. "interval": "$interval",
  2064. "intervalFactor": 1,
  2065. "legendFormat": "Outbound",
  2066. "metric": "",
  2067. "refId": "B",
  2068. "step": 20
  2069. }
  2070. ],
  2071. "thresholds": [
  2072. ],
  2073. "timeFrom": null,
  2074. "timeShift": null,
  2075. "title": "MySQL Network Traffic",
  2076. "tooltip": {
  2077. "msResolution": false,
  2078. "shared": true,
  2079. "sort": 0,
  2080. "value_type": "individual"
  2081. },
  2082. "type": "graph",
  2083. "xaxis": {
  2084. "buckets": null,
  2085. "mode": "time",
  2086. "name": null,
  2087. "show": true,
  2088. "values": [
  2089. ]
  2090. },
  2091. "yaxes": [
  2092. {
  2093. "format": "Bps",
  2094. "logBase": 1,
  2095. "max": null,
  2096. "min": 0,
  2097. "show": true
  2098. },
  2099. {
  2100. "format": "none",
  2101. "logBase": 1,
  2102. "max": null,
  2103. "min": 0,
  2104. "show": true
  2105. }
  2106. ],
  2107. "yaxis": {
  2108. "align": false,
  2109. "alignLevel": null
  2110. }
  2111. },
  2112. {
  2113. "aliasColors": {
  2114. },
  2115. "bars": true,
  2116. "dashLength": 10,
  2117. "dashes": false,
  2118. "datasource": "Prometheus",
  2119. "decimals": 2,
  2120. "description": "**MySQL Network Usage Hourly**\n\nHere we can see how much network traffic is generated by MySQL per hour. You can use the bar graph to compare data sent by MySQL and data received by MySQL.",
  2121. "editable": true,
  2122. "error": false,
  2123. "fill": 6,
  2124. "grid": {
  2125. },
  2126. "gridPos": {
  2127. "h": 7,
  2128. "w": 12,
  2129. "x": 12,
  2130. "y": 44
  2131. },
  2132. "height": "250px",
  2133. "id": 381,
  2134. "legend": {
  2135. "alignAsTable": true,
  2136. "avg": true,
  2137. "current": false,
  2138. "max": true,
  2139. "min": true,
  2140. "rightSide": false,
  2141. "show": true,
  2142. "sort": "avg",
  2143. "sortDesc": true,
  2144. "total": false,
  2145. "values": true
  2146. },
  2147. "lines": false,
  2148. "linewidth": 2,
  2149. "links": [
  2150. ],
  2151. "nullPointMode": "null",
  2152. "percentage": false,
  2153. "pointradius": 5,
  2154. "points": false,
  2155. "renderer": "flot",
  2156. "seriesOverrides": [
  2157. ],
  2158. "spaceLength": 10,
  2159. "stack": true,
  2160. "steppedLine": false,
  2161. "targets": [
  2162. {
  2163. "calculatedInterval": "2m",
  2164. "datasourceErrors": {
  2165. },
  2166. "errors": {
  2167. },
  2168. "expr": "increase(mysql_global_status_bytes_received{instance=\"$host\"}[1h])",
  2169. "format": "time_series",
  2170. "interval": "1h",
  2171. "intervalFactor": 1,
  2172. "legendFormat": "Received",
  2173. "metric": "",
  2174. "refId": "A",
  2175. "step": 3600
  2176. },
  2177. {
  2178. "calculatedInterval": "2m",
  2179. "datasourceErrors": {
  2180. },
  2181. "errors": {
  2182. },
  2183. "expr": "increase(mysql_global_status_bytes_sent{instance=\"$host\"}[1h])",
  2184. "format": "time_series",
  2185. "interval": "1h",
  2186. "intervalFactor": 1,
  2187. "legendFormat": "Sent",
  2188. "metric": "",
  2189. "refId": "B",
  2190. "step": 3600
  2191. }
  2192. ],
  2193. "thresholds": [
  2194. ],
  2195. "timeFrom": "24h",
  2196. "timeShift": null,
  2197. "title": "MySQL Network Usage Hourly",
  2198. "tooltip": {
  2199. "msResolution": false,
  2200. "shared": true,
  2201. "sort": 0,
  2202. "value_type": "individual"
  2203. },
  2204. "type": "graph",
  2205. "xaxis": {
  2206. "buckets": null,
  2207. "mode": "time",
  2208. "name": null,
  2209. "show": true,
  2210. "values": [
  2211. ]
  2212. },
  2213. "yaxes": [
  2214. {
  2215. "format": "bytes",
  2216. "logBase": 1,
  2217. "max": null,
  2218. "min": 0,
  2219. "show": true
  2220. },
  2221. {
  2222. "format": "none",
  2223. "logBase": 1,
  2224. "max": null,
  2225. "min": 0,
  2226. "show": true
  2227. }
  2228. ],
  2229. "yaxis": {
  2230. "align": false,
  2231. "alignLevel": null
  2232. }
  2233. },
  2234. {
  2235. "collapsed": false,
  2236. "gridPos": {
  2237. "h": 1,
  2238. "w": 24,
  2239. "x": 0,
  2240. "y": 51
  2241. },
  2242. "id": 389,
  2243. "panels": [
  2244. ],
  2245. "repeat": null,
  2246. "title": "Memory",
  2247. "type": "row"
  2248. },
  2249. {
  2250. "aliasColors": {
  2251. },
  2252. "bars": false,
  2253. "dashLength": 10,
  2254. "dashes": false,
  2255. "datasource": "Prometheus",
  2256. "decimals": 0,
  2257. "description": "***System Memory***: Total Memory for the system.\\\n***InnoDB Buffer Pool Data***: InnoDB maintains a storage area called the buffer pool for caching data and indexes in memory.\\\n***TokuDB Cache Size***: Similar in function to the InnoDB Buffer Pool, TokuDB will allocate 50% of the installed RAM for its own cache.\\\n***Key Buffer Size***: Index blocks for MYISAM tables are buffered and are shared by all threads. key_buffer_size is the size of the buffer used for index blocks.\\\n***Adaptive Hash Index Size***: When InnoDB notices that some index values are being accessed very frequently, it builds a hash index for them in memory on top of B-Tree indexes.\\\n ***Query Cache Size***: The query cache stores the text of a SELECT statement together with the corresponding result that was sent to the client. The query cache has huge scalability problems in that only one thread can do an operation in the query cache at the same time.\\\n***InnoDB Dictionary Size***: The data dictionary is InnoDB ‘s internal catalog of tables. InnoDB stores the data dictionary on disk, and loads entries into memory while the server is running.\\\n***InnoDB Log Buffer Size***: The MySQL InnoDB log buffer allows transactions to run without having to write the log to disk before the transactions commit.",
  2258. "editable": true,
  2259. "error": false,
  2260. "fill": 6,
  2261. "grid": {
  2262. },
  2263. "gridPos": {
  2264. "h": 7,
  2265. "w": 24,
  2266. "x": 0,
  2267. "y": 52
  2268. },
  2269. "id": 50,
  2270. "legend": {
  2271. "alignAsTable": true,
  2272. "avg": true,
  2273. "current": false,
  2274. "hideEmpty": true,
  2275. "hideZero": true,
  2276. "max": true,
  2277. "min": true,
  2278. "rightSide": true,
  2279. "show": true,
  2280. "sort": "avg",
  2281. "sortDesc": true,
  2282. "total": false,
  2283. "values": true
  2284. },
  2285. "lines": true,
  2286. "linewidth": 2,
  2287. "links": [
  2288. {
  2289. "title": "Detailed descriptions about metrics",
  2290. "type": "absolute",
  2291. "url": "https://www.percona.com/doc/percona-monitoring-and-management/dashboard.mysql-overview.html#mysql-internal-memory-overview"
  2292. }
  2293. ],
  2294. "nullPointMode": "null",
  2295. "percentage": false,
  2296. "pointradius": 5,
  2297. "points": false,
  2298. "renderer": "flot",
  2299. "seriesOverrides": [
  2300. {
  2301. "alias": "System Memory",
  2302. "fill": 0,
  2303. "stack": false
  2304. }
  2305. ],
  2306. "spaceLength": 10,
  2307. "stack": true,
  2308. "steppedLine": false,
  2309. "targets": [
  2310. {
  2311. "expr": "node_memory_MemTotal{instance=\"$host\"}",
  2312. "format": "time_series",
  2313. "intervalFactor": 2,
  2314. "legendFormat": "System Memory",
  2315. "refId": "G",
  2316. "step": 4
  2317. },
  2318. {
  2319. "expr": "mysql_global_status_innodb_page_size{instance=\"$host\"} * on (instance) mysql_global_status_buffer_pool_pages{instance=\"$host\",state=\"data\"}",
  2320. "format": "time_series",
  2321. "hide": false,
  2322. "interval": "$interval",
  2323. "intervalFactor": 1,
  2324. "legendFormat": "InnoDB Buffer Pool Data",
  2325. "refId": "A",
  2326. "step": 20
  2327. },
  2328. {
  2329. "expr": "mysql_global_variables_innodb_log_buffer_size{instance=\"$host\"}",
  2330. "format": "time_series",
  2331. "interval": "$interval",
  2332. "intervalFactor": 1,
  2333. "legendFormat": "InnoDB Log Buffer Size",
  2334. "refId": "D",
  2335. "step": 20
  2336. },
  2337. {
  2338. "expr": "mysql_global_variables_innodb_additional_mem_pool_size{instance=\"$host\"}",
  2339. "format": "time_series",
  2340. "interval": "$interval",
  2341. "intervalFactor": 2,
  2342. "legendFormat": "InnoDB Additional Memory Pool Size",
  2343. "refId": "H",
  2344. "step": 40
  2345. },
  2346. {
  2347. "expr": "mysql_global_status_innodb_mem_dictionary{instance=\"$host\"}",
  2348. "format": "time_series",
  2349. "interval": "$interval",
  2350. "intervalFactor": 1,
  2351. "legendFormat": "InnoDB Dictionary Size",
  2352. "refId": "F",
  2353. "step": 20
  2354. },
  2355. {
  2356. "expr": "mysql_global_variables_key_buffer_size{instance=\"$host\"}",
  2357. "format": "time_series",
  2358. "interval": "$interval",
  2359. "intervalFactor": 1,
  2360. "legendFormat": "Key Buffer Size",
  2361. "refId": "B",
  2362. "step": 20
  2363. },
  2364. {
  2365. "expr": "mysql_global_variables_query_cache_size{instance=\"$host\"}",
  2366. "format": "time_series",
  2367. "interval": "$interval",
  2368. "intervalFactor": 1,
  2369. "legendFormat": "Query Cache Size",
  2370. "refId": "C",
  2371. "step": 20
  2372. },
  2373. {
  2374. "expr": "mysql_global_status_innodb_mem_adaptive_hash{instance=\"$host\"}",
  2375. "format": "time_series",
  2376. "interval": "$interval",
  2377. "intervalFactor": 1,
  2378. "legendFormat": "Adaptive Hash Index Size",
  2379. "refId": "E",
  2380. "step": 20
  2381. },
  2382. {
  2383. "expr": "mysql_global_variables_tokudb_cache_size{instance=\"$host\"}",
  2384. "format": "time_series",
  2385. "interval": "$interval",
  2386. "intervalFactor": 1,
  2387. "legendFormat": "TokuDB Cache Size",
  2388. "refId": "I",
  2389. "step": 20
  2390. }
  2391. ],
  2392. "thresholds": [
  2393. ],
  2394. "timeFrom": null,
  2395. "timeShift": null,
  2396. "title": "MySQL Internal Memory Overview",
  2397. "tooltip": {
  2398. "msResolution": false,
  2399. "shared": true,
  2400. "sort": 0,
  2401. "value_type": "individual"
  2402. },
  2403. "type": "graph",
  2404. "xaxis": {
  2405. "buckets": null,
  2406. "mode": "time",
  2407. "name": null,
  2408. "show": true,
  2409. "values": [
  2410. ]
  2411. },
  2412. "yaxes": [
  2413. {
  2414. "format": "bytes",
  2415. "label": "",
  2416. "logBase": 1,
  2417. "max": null,
  2418. "min": 0,
  2419. "show": true
  2420. },
  2421. {
  2422. "format": "short",
  2423. "label": null,
  2424. "logBase": 1,
  2425. "max": null,
  2426. "min": null,
  2427. "show": true
  2428. }
  2429. ],
  2430. "yaxis": {
  2431. "align": false,
  2432. "alignLevel": null
  2433. }
  2434. },
  2435. {
  2436. "collapsed": false,
  2437. "gridPos": {
  2438. "h": 1,
  2439. "w": 24,
  2440. "x": 0,
  2441. "y": 59
  2442. },
  2443. "id": 390,
  2444. "panels": [
  2445. ],
  2446. "repeat": null,
  2447. "title": "Command, Handlers, Processes",
  2448. "type": "row"
  2449. },
  2450. {
  2451. "aliasColors": {
  2452. },
  2453. "bars": false,
  2454. "dashLength": 10,
  2455. "dashes": false,
  2456. "datasource": "Prometheus",
  2457. "decimals": 2,
  2458. "description": "**Top Command Counters**\n\nThe Com_{{xxx}} statement counter variables indicate the number of times each xxx statement has been executed. There is one status variable for each type of statement. For example, Com_delete and Com_update count [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements, respectively. Com_delete_multi and Com_update_multi are similar but apply to [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements that use multiple-table syntax.",
  2459. "editable": true,
  2460. "error": false,
  2461. "fill": 2,
  2462. "grid": {
  2463. },
  2464. "gridPos": {
  2465. "h": 7,
  2466. "w": 24,
  2467. "x": 0,
  2468. "y": 60
  2469. },
  2470. "id": 14,
  2471. "legend": {
  2472. "alignAsTable": true,
  2473. "avg": true,
  2474. "current": false,
  2475. "hideEmpty": false,
  2476. "hideZero": false,
  2477. "max": true,
  2478. "min": true,
  2479. "rightSide": true,
  2480. "show": true,
  2481. "sort": "avg",
  2482. "sortDesc": true,
  2483. "total": false,
  2484. "values": true
  2485. },
  2486. "lines": true,
  2487. "linewidth": 2,
  2488. "links": [
  2489. {
  2490. "title": "Server Status Variables (Com_xxx)",
  2491. "type": "absolute",
  2492. "url": "https://dev.mysql.com/doc/refman/5.7/en/server-status-variables.html#statvar_Com_xxx"
  2493. }
  2494. ],
  2495. "nullPointMode": "null",
  2496. "percentage": false,
  2497. "pointradius": 5,
  2498. "points": false,
  2499. "renderer": "flot",
  2500. "seriesOverrides": [
  2501. ],
  2502. "spaceLength": 10,
  2503. "stack": false,
  2504. "steppedLine": false,
  2505. "targets": [
  2506. {
  2507. "calculatedInterval": "2m",
  2508. "datasourceErrors": {
  2509. },
  2510. "errors": {
  2511. },
  2512. "expr": "topk(5, rate(mysql_global_status_commands_total{instance=\"$host\"}[$interval])>0) or topk(5, irate(mysql_global_status_commands_total{instance=\"$host\"}[5m])>0)",
  2513. "format": "time_series",
  2514. "hide": false,
  2515. "interval": "$interval",
  2516. "intervalFactor": 1,
  2517. "legendFormat": "Com_{{ command }}",
  2518. "metric": "",
  2519. "refId": "B",
  2520. "step": 20
  2521. }
  2522. ],
  2523. "thresholds": [
  2524. ],
  2525. "timeFrom": null,
  2526. "timeShift": null,
  2527. "title": "Top Command Counters",
  2528. "tooltip": {
  2529. "msResolution": false,
  2530. "shared": true,
  2531. "sort": 0,
  2532. "value_type": "individual"
  2533. },
  2534. "type": "graph",
  2535. "xaxis": {
  2536. "buckets": null,
  2537. "mode": "time",
  2538. "name": null,
  2539. "show": true,
  2540. "values": [
  2541. ]
  2542. },
  2543. "yaxes": [
  2544. {
  2545. "format": "short",
  2546. "logBase": 1,
  2547. "max": null,
  2548. "min": 0,
  2549. "show": true
  2550. },
  2551. {
  2552. "format": "short",
  2553. "logBase": 1,
  2554. "max": null,
  2555. "min": 0,
  2556. "show": true
  2557. }
  2558. ],
  2559. "yaxis": {
  2560. "align": false,
  2561. "alignLevel": null
  2562. }
  2563. },
  2564. {
  2565. "aliasColors": {
  2566. },
  2567. "bars": true,
  2568. "dashLength": 10,
  2569. "dashes": false,
  2570. "datasource": "Prometheus",
  2571. "decimals": 2,
  2572. "description": "**Top Command Counters Hourly**\n\nThe Com_{{xxx}} statement counter variables indicate the number of times each xxx statement has been executed. There is one status variable for each type of statement. For example, Com_delete and Com_update count [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements, respectively. Com_delete_multi and Com_update_multi are similar but apply to [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements that use multiple-table syntax.",
  2573. "editable": true,
  2574. "error": false,
  2575. "fill": 6,
  2576. "grid": {
  2577. },
  2578. "gridPos": {
  2579. "h": 7,
  2580. "w": 24,
  2581. "x": 0,
  2582. "y": 67
  2583. },
  2584. "id": 39,
  2585. "legend": {
  2586. "alignAsTable": true,
  2587. "avg": true,
  2588. "current": false,
  2589. "max": true,
  2590. "min": true,
  2591. "rightSide": true,
  2592. "show": true,
  2593. "sort": "avg",
  2594. "sortDesc": true,
  2595. "total": false,
  2596. "values": true
  2597. },
  2598. "lines": false,
  2599. "linewidth": 2,
  2600. "links": [
  2601. {
  2602. "dashboard": "https://dev.mysql.com/doc/refman/5.7/en/server-status-variables.html#statvar_Com_xxx",
  2603. "title": "Server Status Variables (Com_xxx)",
  2604. "type": "absolute",
  2605. "url": "https://dev.mysql.com/doc/refman/5.7/en/server-status-variables.html#statvar_Com_xxx"
  2606. }
  2607. ],
  2608. "nullPointMode": "null",
  2609. "percentage": false,
  2610. "pointradius": 5,
  2611. "points": false,
  2612. "renderer": "flot",
  2613. "seriesOverrides": [
  2614. ],
  2615. "spaceLength": 10,
  2616. "stack": true,
  2617. "steppedLine": false,
  2618. "targets": [
  2619. {
  2620. "calculatedInterval": "2m",
  2621. "datasourceErrors": {
  2622. },
  2623. "errors": {
  2624. },
  2625. "expr": "topk(5, increase(mysql_global_status_commands_total{instance=\"$host\"}[1h])>0)",
  2626. "format": "time_series",
  2627. "interval": "1h",
  2628. "intervalFactor": 1,
  2629. "legendFormat": "Com_{{ command }}",
  2630. "metric": "",
  2631. "refId": "A",
  2632. "step": 3600
  2633. }
  2634. ],
  2635. "thresholds": [
  2636. ],
  2637. "timeFrom": "24h",
  2638. "timeShift": null,
  2639. "title": "Top Command Counters Hourly",
  2640. "tooltip": {
  2641. "msResolution": false,
  2642. "shared": true,
  2643. "sort": 0,
  2644. "value_type": "individual"
  2645. },
  2646. "type": "graph",
  2647. "xaxis": {
  2648. "buckets": null,
  2649. "mode": "time",
  2650. "name": null,
  2651. "show": true,
  2652. "values": [
  2653. ]
  2654. },
  2655. "yaxes": [
  2656. {
  2657. "format": "short",
  2658. "logBase": 1,
  2659. "max": null,
  2660. "min": 0,
  2661. "show": true
  2662. },
  2663. {
  2664. "format": "short",
  2665. "logBase": 1,
  2666. "max": null,
  2667. "min": 0,
  2668. "show": true
  2669. }
  2670. ],
  2671. "yaxis": {
  2672. "align": false,
  2673. "alignLevel": null
  2674. }
  2675. },
  2676. {
  2677. "aliasColors": {
  2678. },
  2679. "bars": false,
  2680. "dashLength": 10,
  2681. "dashes": false,
  2682. "datasource": "Prometheus",
  2683. "decimals": 2,
  2684. "description": "**MySQL Handlers**\n\nHandler statistics are internal statistics on how MySQL is selecting, updating, inserting, and modifying rows, tables, and indexes.\n\nThis is in fact the layer between the Storage Engine and MySQL.\n\n* `read_rnd_next` is incremented when the server performs a full table scan and this is a counter you don't really want to see with a high value.\n* `read_key` is incremented when a read is done with an index.\n* `read_next` is incremented when the storage engine is asked to 'read the next index entry'. A high value means a lot of index scans are being done.",
  2685. "editable": true,
  2686. "error": false,
  2687. "fill": 2,
  2688. "grid": {
  2689. },
  2690. "gridPos": {
  2691. "h": 7,
  2692. "w": 24,
  2693. "x": 0,
  2694. "y": 74
  2695. },
  2696. "id": 8,
  2697. "legend": {
  2698. "alignAsTable": true,
  2699. "avg": true,
  2700. "current": false,
  2701. "hideZero": true,
  2702. "max": true,
  2703. "min": true,
  2704. "rightSide": true,
  2705. "show": true,
  2706. "sort": "avg",
  2707. "sortDesc": true,
  2708. "total": false,
  2709. "values": true
  2710. },
  2711. "lines": true,
  2712. "linewidth": 2,
  2713. "links": [
  2714. ],
  2715. "nullPointMode": "null",
  2716. "percentage": false,
  2717. "pointradius": 5,
  2718. "points": false,
  2719. "renderer": "flot",
  2720. "seriesOverrides": [
  2721. ],
  2722. "spaceLength": 10,
  2723. "stack": false,
  2724. "steppedLine": false,
  2725. "targets": [
  2726. {
  2727. "calculatedInterval": "2m",
  2728. "datasourceErrors": {
  2729. },
  2730. "errors": {
  2731. },
  2732. "expr": "rate(mysql_global_status_handlers_total{instance=\"$host\", handler!~\"commit|rollback|savepoint.*|prepare\"}[$interval]) or irate(mysql_global_status_handlers_total{instance=\"$host\", handler!~\"commit|rollback|savepoint.*|prepare\"}[5m])",
  2733. "format": "time_series",
  2734. "interval": "$interval",
  2735. "intervalFactor": 1,
  2736. "legendFormat": "{{ handler }}",
  2737. "metric": "",
  2738. "refId": "J",
  2739. "step": 20
  2740. }
  2741. ],
  2742. "thresholds": [
  2743. ],
  2744. "timeFrom": null,
  2745. "timeShift": null,
  2746. "title": "MySQL Handlers",
  2747. "tooltip": {
  2748. "msResolution": false,
  2749. "shared": true,
  2750. "sort": 0,
  2751. "value_type": "individual"
  2752. },
  2753. "type": "graph",
  2754. "xaxis": {
  2755. "buckets": null,
  2756. "mode": "time",
  2757. "name": null,
  2758. "show": true,
  2759. "values": [
  2760. ]
  2761. },
  2762. "yaxes": [
  2763. {
  2764. "format": "short",
  2765. "logBase": 1,
  2766. "max": null,
  2767. "min": 0,
  2768. "show": true
  2769. },
  2770. {
  2771. "format": "short",
  2772. "logBase": 1,
  2773. "max": null,
  2774. "min": 0,
  2775. "show": true
  2776. }
  2777. ],
  2778. "yaxis": {
  2779. "align": false,
  2780. "alignLevel": null
  2781. }
  2782. },
  2783. {
  2784. "aliasColors": {
  2785. },
  2786. "bars": false,
  2787. "dashLength": 10,
  2788. "dashes": false,
  2789. "datasource": "Prometheus",
  2790. "decimals": 2,
  2791. "editable": true,
  2792. "error": false,
  2793. "fill": 2,
  2794. "grid": {
  2795. },
  2796. "gridPos": {
  2797. "h": 7,
  2798. "w": 24,
  2799. "x": 0,
  2800. "y": 81
  2801. },
  2802. "id": 28,
  2803. "legend": {
  2804. "alignAsTable": true,
  2805. "avg": true,
  2806. "current": false,
  2807. "hideZero": true,
  2808. "max": true,
  2809. "min": true,
  2810. "rightSide": true,
  2811. "show": true,
  2812. "sort": "avg",
  2813. "sortDesc": true,
  2814. "total": false,
  2815. "values": true
  2816. },
  2817. "lines": true,
  2818. "linewidth": 2,
  2819. "links": [
  2820. ],
  2821. "nullPointMode": "null",
  2822. "percentage": false,
  2823. "pointradius": 5,
  2824. "points": false,
  2825. "renderer": "flot",
  2826. "seriesOverrides": [
  2827. ],
  2828. "spaceLength": 10,
  2829. "stack": false,
  2830. "steppedLine": false,
  2831. "targets": [
  2832. {
  2833. "calculatedInterval": "2m",
  2834. "datasourceErrors": {
  2835. },
  2836. "errors": {
  2837. },
  2838. "expr": "rate(mysql_global_status_handlers_total{instance=\"$host\", handler=~\"commit|rollback|savepoint.*|prepare\"}[$interval]) or irate(mysql_global_status_handlers_total{instance=\"$host\", handler=~\"commit|rollback|savepoint.*|prepare\"}[5m])",
  2839. "interval": "$interval",
  2840. "intervalFactor": 1,
  2841. "legendFormat": "{{ handler }}",
  2842. "metric": "",
  2843. "refId": "A",
  2844. "step": 20
  2845. }
  2846. ],
  2847. "thresholds": [
  2848. ],
  2849. "timeFrom": null,
  2850. "timeShift": null,
  2851. "title": "MySQL Transaction Handlers",
  2852. "tooltip": {
  2853. "msResolution": false,
  2854. "shared": true,
  2855. "sort": 0,
  2856. "value_type": "individual"
  2857. },
  2858. "type": "graph",
  2859. "xaxis": {
  2860. "buckets": null,
  2861. "mode": "time",
  2862. "name": null,
  2863. "show": true,
  2864. "values": [
  2865. ]
  2866. },
  2867. "yaxes": [
  2868. {
  2869. "format": "short",
  2870. "logBase": 1,
  2871. "max": null,
  2872. "min": 0,
  2873. "show": true
  2874. },
  2875. {
  2876. "format": "short",
  2877. "logBase": 1,
  2878. "max": null,
  2879. "min": 0,
  2880. "show": true
  2881. }
  2882. ],
  2883. "yaxis": {
  2884. "align": false,
  2885. "alignLevel": null
  2886. }
  2887. },
  2888. {
  2889. "aliasColors": {
  2890. },
  2891. "bars": false,
  2892. "dashLength": 10,
  2893. "dashes": false,
  2894. "datasource": "Prometheus",
  2895. "decimals": 2,
  2896. "editable": true,
  2897. "error": false,
  2898. "fill": 0,
  2899. "grid": {
  2900. },
  2901. "gridPos": {
  2902. "h": 7,
  2903. "w": 24,
  2904. "x": 0,
  2905. "y": 88
  2906. },
  2907. "id": 40,
  2908. "legend": {
  2909. "alignAsTable": true,
  2910. "avg": true,
  2911. "current": false,
  2912. "hideZero": true,
  2913. "max": true,
  2914. "min": false,
  2915. "rightSide": true,
  2916. "show": true,
  2917. "sort": "avg",
  2918. "sortDesc": true,
  2919. "total": false,
  2920. "values": true
  2921. },
  2922. "lines": true,
  2923. "linewidth": 2,
  2924. "links": [
  2925. ],
  2926. "nullPointMode": "null",
  2927. "percentage": false,
  2928. "pointradius": 5,
  2929. "points": false,
  2930. "renderer": "flot",
  2931. "seriesOverrides": [
  2932. ],
  2933. "spaceLength": 10,
  2934. "stack": false,
  2935. "steppedLine": false,
  2936. "targets": [
  2937. {
  2938. "calculatedInterval": "2m",
  2939. "datasourceErrors": {
  2940. },
  2941. "errors": {
  2942. },
  2943. "expr": "mysql_info_schema_threads{instance=\"$host\"}",
  2944. "format": "time_series",
  2945. "interval": "$interval",
  2946. "intervalFactor": 1,
  2947. "legendFormat": "{{ state }}",
  2948. "metric": "",
  2949. "refId": "A",
  2950. "step": 20
  2951. }
  2952. ],
  2953. "thresholds": [
  2954. ],
  2955. "timeFrom": null,
  2956. "timeShift": null,
  2957. "title": "Process States",
  2958. "tooltip": {
  2959. "msResolution": false,
  2960. "shared": true,
  2961. "sort": 0,
  2962. "value_type": "individual"
  2963. },
  2964. "type": "graph",
  2965. "xaxis": {
  2966. "buckets": null,
  2967. "mode": "time",
  2968. "name": null,
  2969. "show": true,
  2970. "values": [
  2971. ]
  2972. },
  2973. "yaxes": [
  2974. {
  2975. "format": "short",
  2976. "logBase": 1,
  2977. "max": null,
  2978. "min": 0,
  2979. "show": true
  2980. },
  2981. {
  2982. "format": "short",
  2983. "logBase": 1,
  2984. "max": null,
  2985. "min": 0,
  2986. "show": true
  2987. }
  2988. ],
  2989. "yaxis": {
  2990. "align": false,
  2991. "alignLevel": null
  2992. }
  2993. },
  2994. {
  2995. "aliasColors": {
  2996. },
  2997. "bars": true,
  2998. "dashLength": 10,
  2999. "dashes": false,
  3000. "datasource": "Prometheus",
  3001. "decimals": 2,
  3002. "editable": true,
  3003. "error": false,
  3004. "fill": 6,
  3005. "grid": {
  3006. },
  3007. "gridPos": {
  3008. "h": 7,
  3009. "w": 24,
  3010. "x": 0,
  3011. "y": 95
  3012. },
  3013. "id": 49,
  3014. "legend": {
  3015. "alignAsTable": true,
  3016. "avg": true,
  3017. "current": false,
  3018. "hideZero": true,
  3019. "max": true,
  3020. "min": false,
  3021. "rightSide": true,
  3022. "show": true,
  3023. "sort": "avg",
  3024. "sortDesc": true,
  3025. "total": false,
  3026. "values": true
  3027. },
  3028. "lines": false,
  3029. "linewidth": 2,
  3030. "links": [
  3031. ],
  3032. "nullPointMode": "null",
  3033. "percentage": false,
  3034. "pointradius": 5,
  3035. "points": false,
  3036. "renderer": "flot",
  3037. "seriesOverrides": [
  3038. ],
  3039. "spaceLength": 10,
  3040. "stack": true,
  3041. "steppedLine": false,
  3042. "targets": [
  3043. {
  3044. "calculatedInterval": "2m",
  3045. "datasourceErrors": {
  3046. },
  3047. "errors": {
  3048. },
  3049. "expr": "topk(5, avg_over_time(mysql_info_schema_threads{instance=\"$host\"}[1h]))",
  3050. "interval": "1h",
  3051. "intervalFactor": 1,
  3052. "legendFormat": "{{ state }}",
  3053. "metric": "",
  3054. "refId": "A",
  3055. "step": 3600
  3056. }
  3057. ],
  3058. "thresholds": [
  3059. ],
  3060. "timeFrom": "24h",
  3061. "timeShift": null,
  3062. "title": "Top Process States Hourly",
  3063. "tooltip": {
  3064. "msResolution": false,
  3065. "shared": true,
  3066. "sort": 0,
  3067. "value_type": "individual"
  3068. },
  3069. "type": "graph",
  3070. "xaxis": {
  3071. "buckets": null,
  3072. "mode": "time",
  3073. "name": null,
  3074. "show": true,
  3075. "values": [
  3076. ]
  3077. },
  3078. "yaxes": [
  3079. {
  3080. "format": "short",
  3081. "logBase": 1,
  3082. "max": null,
  3083. "min": 0,
  3084. "show": true
  3085. },
  3086. {
  3087. "format": "short",
  3088. "logBase": 1,
  3089. "max": null,
  3090. "min": 0,
  3091. "show": true
  3092. }
  3093. ],
  3094. "yaxis": {
  3095. "align": false,
  3096. "alignLevel": null
  3097. }
  3098. },
  3099. {
  3100. "collapsed": false,
  3101. "gridPos": {
  3102. "h": 1,
  3103. "w": 24,
  3104. "x": 0,
  3105. "y": 102
  3106. },
  3107. "id": 391,
  3108. "panels": [
  3109. ],
  3110. "repeat": null,
  3111. "title": "Query Cache",
  3112. "type": "row"
  3113. },
  3114. {
  3115. "aliasColors": {
  3116. },
  3117. "bars": false,
  3118. "dashLength": 10,
  3119. "dashes": false,
  3120. "datasource": "Prometheus",
  3121. "decimals": 2,
  3122. "description": "**MySQL Query Cache Memory**\n\nThe query cache has huge scalability problems in that only one thread can do an operation in the query cache at the same time. This serialization is true not only for SELECTs, but also for INSERT/UPDATE/DELETE.\n\nThis also means that the larger the `query_cache_size` is set to, the slower those operations become. In concurrent environments, the MySQL Query Cache quickly becomes a contention point, decreasing performance. MariaDB and AWS Aurora have done work to try and eliminate the query cache contention in their flavors of MySQL, while MySQL 8.0 has eliminated the query cache feature.\n\nThe recommended settings for most environments is to set:\n ``query_cache_type=0``\n ``query_cache_size=0``\n\nNote that while you can dynamically change these values, to completely remove the contention point you have to restart the database.",
  3123. "editable": true,
  3124. "error": false,
  3125. "fill": 2,
  3126. "grid": {
  3127. },
  3128. "gridPos": {
  3129. "h": 7,
  3130. "w": 12,
  3131. "x": 0,
  3132. "y": 103
  3133. },
  3134. "id": 46,
  3135. "legend": {
  3136. "alignAsTable": true,
  3137. "avg": true,
  3138. "current": false,
  3139. "max": true,
  3140. "min": true,
  3141. "rightSide": false,
  3142. "show": true,
  3143. "sort": "avg",
  3144. "sortDesc": true,
  3145. "total": false,
  3146. "values": true
  3147. },
  3148. "lines": true,
  3149. "linewidth": 2,
  3150. "links": [
  3151. ],
  3152. "nullPointMode": "null",
  3153. "percentage": false,
  3154. "pointradius": 5,
  3155. "points": false,
  3156. "renderer": "flot",
  3157. "seriesOverrides": [
  3158. ],
  3159. "spaceLength": 10,
  3160. "stack": false,
  3161. "steppedLine": false,
  3162. "targets": [
  3163. {
  3164. "calculatedInterval": "2m",
  3165. "datasourceErrors": {
  3166. },
  3167. "errors": {
  3168. },
  3169. "expr": "mysql_global_status_qcache_free_memory{instance=\"$host\"}",
  3170. "format": "time_series",
  3171. "interval": "$interval",
  3172. "intervalFactor": 1,
  3173. "legendFormat": "Free Memory",
  3174. "metric": "",
  3175. "refId": "F",
  3176. "step": 20
  3177. },
  3178. {
  3179. "calculatedInterval": "2m",
  3180. "datasourceErrors": {
  3181. },
  3182. "errors": {
  3183. },
  3184. "expr": "mysql_global_variables_query_cache_size{instance=\"$host\"}",
  3185. "format": "time_series",
  3186. "interval": "$interval",
  3187. "intervalFactor": 1,
  3188. "legendFormat": "Query Cache Size",
  3189. "metric": "",
  3190. "refId": "E",
  3191. "step": 20
  3192. }
  3193. ],
  3194. "thresholds": [
  3195. ],
  3196. "timeFrom": null,
  3197. "timeShift": null,
  3198. "title": "MySQL Query Cache Memory",
  3199. "tooltip": {
  3200. "msResolution": false,
  3201. "shared": true,
  3202. "sort": 0,
  3203. "value_type": "individual"
  3204. },
  3205. "type": "graph",
  3206. "xaxis": {
  3207. "buckets": null,
  3208. "mode": "time",
  3209. "name": null,
  3210. "show": true,
  3211. "values": [
  3212. ]
  3213. },
  3214. "yaxes": [
  3215. {
  3216. "format": "bytes",
  3217. "logBase": 1,
  3218. "max": null,
  3219. "min": 0,
  3220. "show": true
  3221. },
  3222. {
  3223. "format": "short",
  3224. "logBase": 1,
  3225. "max": null,
  3226. "min": 0,
  3227. "show": true
  3228. }
  3229. ],
  3230. "yaxis": {
  3231. "align": false,
  3232. "alignLevel": null
  3233. }
  3234. },
  3235. {
  3236. "aliasColors": {
  3237. },
  3238. "bars": false,
  3239. "dashLength": 10,
  3240. "dashes": false,
  3241. "datasource": "Prometheus",
  3242. "decimals": 2,
  3243. "description": "**MySQL Query Cache Activity**\n\nThe query cache has huge scalability problems in that only one thread can do an operation in the query cache at the same time. This serialization is true not only for SELECTs, but also for INSERT/UPDATE/DELETE.\n\nThis also means that the larger the `query_cache_size` is set to, the slower those operations become. In concurrent environments, the MySQL Query Cache quickly becomes a contention point, decreasing performance. MariaDB and AWS Aurora have done work to try and eliminate the query cache contention in their flavors of MySQL, while MySQL 8.0 has eliminated the query cache feature.\n\nThe recommended settings for most environments is to set:\n``query_cache_type=0``\n``query_cache_size=0``\n\nNote that while you can dynamically change these values, to completely remove the contention point you have to restart the database.",
  3244. "editable": true,
  3245. "error": false,
  3246. "fill": 2,
  3247. "grid": {
  3248. },
  3249. "gridPos": {
  3250. "h": 7,
  3251. "w": 12,
  3252. "x": 12,
  3253. "y": 103
  3254. },
  3255. "height": "",
  3256. "id": 45,
  3257. "legend": {
  3258. "alignAsTable": true,
  3259. "avg": true,
  3260. "current": false,
  3261. "max": true,
  3262. "min": true,
  3263. "rightSide": false,
  3264. "show": true,
  3265. "sort": "avg",
  3266. "sortDesc": true,
  3267. "total": false,
  3268. "values": true
  3269. },
  3270. "lines": true,
  3271. "linewidth": 2,
  3272. "links": [
  3273. ],
  3274. "nullPointMode": "null",
  3275. "percentage": false,
  3276. "pointradius": 5,
  3277. "points": false,
  3278. "renderer": "flot",
  3279. "seriesOverrides": [
  3280. ],
  3281. "spaceLength": 10,
  3282. "stack": false,
  3283. "steppedLine": false,
  3284. "targets": [
  3285. {
  3286. "calculatedInterval": "2m",
  3287. "datasourceErrors": {
  3288. },
  3289. "errors": {
  3290. },
  3291. "expr": "rate(mysql_global_status_qcache_hits{instance=\"$host\"}[$interval]) or irate(mysql_global_status_qcache_hits{instance=\"$host\"}[5m])",
  3292. "format": "time_series",
  3293. "interval": "$interval",
  3294. "intervalFactor": 1,
  3295. "legendFormat": "Hits",
  3296. "metric": "",
  3297. "refId": "B",
  3298. "step": 20
  3299. },
  3300. {
  3301. "calculatedInterval": "2m",
  3302. "datasourceErrors": {
  3303. },
  3304. "errors": {
  3305. },
  3306. "expr": "rate(mysql_global_status_qcache_inserts{instance=\"$host\"}[$interval]) or irate(mysql_global_status_qcache_inserts{instance=\"$host\"}[5m])",
  3307. "format": "time_series",
  3308. "interval": "$interval",
  3309. "intervalFactor": 1,
  3310. "legendFormat": "Inserts",
  3311. "metric": "",
  3312. "refId": "C",
  3313. "step": 20
  3314. },
  3315. {
  3316. "calculatedInterval": "2m",
  3317. "datasourceErrors": {
  3318. },
  3319. "errors": {
  3320. },
  3321. "expr": "rate(mysql_global_status_qcache_not_cached{instance=\"$host\"}[$interval]) or irate(mysql_global_status_qcache_not_cached{instance=\"$host\"}[5m])",
  3322. "format": "time_series",
  3323. "interval": "$interval",
  3324. "intervalFactor": 1,
  3325. "legendFormat": "Not Cached",
  3326. "metric": "",
  3327. "refId": "D",
  3328. "step": 20
  3329. },
  3330. {
  3331. "calculatedInterval": "2m",
  3332. "datasourceErrors": {
  3333. },
  3334. "errors": {
  3335. },
  3336. "expr": "rate(mysql_global_status_qcache_lowmem_prunes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_qcache_lowmem_prunes{instance=\"$host\"}[5m])",
  3337. "format": "time_series",
  3338. "interval": "$interval",
  3339. "intervalFactor": 1,
  3340. "legendFormat": "Prunes",
  3341. "metric": "",
  3342. "refId": "F",
  3343. "step": 20
  3344. },
  3345. {
  3346. "calculatedInterval": "2m",
  3347. "datasourceErrors": {
  3348. },
  3349. "errors": {
  3350. },
  3351. "expr": "mysql_global_status_qcache_queries_in_cache{instance=\"$host\"}",
  3352. "format": "time_series",
  3353. "interval": "$interval",
  3354. "intervalFactor": 1,
  3355. "legendFormat": "Queries in Cache",
  3356. "metric": "",
  3357. "refId": "E",
  3358. "step": 20
  3359. }
  3360. ],
  3361. "thresholds": [
  3362. ],
  3363. "timeFrom": null,
  3364. "timeShift": null,
  3365. "title": "MySQL Query Cache Activity",
  3366. "tooltip": {
  3367. "msResolution": false,
  3368. "shared": true,
  3369. "sort": 0,
  3370. "value_type": "individual"
  3371. },
  3372. "type": "graph",
  3373. "xaxis": {
  3374. "buckets": null,
  3375. "mode": "time",
  3376. "name": null,
  3377. "show": true,
  3378. "values": [
  3379. ]
  3380. },
  3381. "yaxes": [
  3382. {
  3383. "format": "short",
  3384. "logBase": 1,
  3385. "max": null,
  3386. "min": 0,
  3387. "show": true
  3388. },
  3389. {
  3390. "format": "short",
  3391. "logBase": 1,
  3392. "max": null,
  3393. "min": 0,
  3394. "show": true
  3395. }
  3396. ],
  3397. "yaxis": {
  3398. "align": false,
  3399. "alignLevel": null
  3400. }
  3401. },
  3402. {
  3403. "collapsed": false,
  3404. "gridPos": {
  3405. "h": 1,
  3406. "w": 24,
  3407. "x": 0,
  3408. "y": 110
  3409. },
  3410. "id": 392,
  3411. "panels": [
  3412. ],
  3413. "repeat": null,
  3414. "title": "Files and Tables",
  3415. "type": "row"
  3416. },
  3417. {
  3418. "aliasColors": {
  3419. },
  3420. "bars": false,
  3421. "dashLength": 10,
  3422. "dashes": false,
  3423. "datasource": "Prometheus",
  3424. "decimals": 2,
  3425. "editable": true,
  3426. "error": false,
  3427. "fill": 2,
  3428. "grid": {
  3429. },
  3430. "gridPos": {
  3431. "h": 7,
  3432. "w": 12,
  3433. "x": 0,
  3434. "y": 111
  3435. },
  3436. "id": 43,
  3437. "legend": {
  3438. "alignAsTable": true,
  3439. "avg": true,
  3440. "current": false,
  3441. "max": true,
  3442. "min": true,
  3443. "rightSide": false,
  3444. "show": true,
  3445. "sort": "avg",
  3446. "sortDesc": true,
  3447. "total": false,
  3448. "values": true
  3449. },
  3450. "lines": true,
  3451. "linewidth": 2,
  3452. "links": [
  3453. ],
  3454. "nullPointMode": "null",
  3455. "percentage": false,
  3456. "pointradius": 5,
  3457. "points": false,
  3458. "renderer": "flot",
  3459. "seriesOverrides": [
  3460. ],
  3461. "spaceLength": 10,
  3462. "stack": false,
  3463. "steppedLine": false,
  3464. "targets": [
  3465. {
  3466. "calculatedInterval": "2m",
  3467. "datasourceErrors": {
  3468. },
  3469. "errors": {
  3470. },
  3471. "expr": "rate(mysql_global_status_opened_files{instance=\"$host\"}[$interval]) or irate(mysql_global_status_opened_files{instance=\"$host\"}[5m])",
  3472. "interval": "$interval",
  3473. "intervalFactor": 1,
  3474. "legendFormat": "Openings",
  3475. "metric": "",
  3476. "refId": "A",
  3477. "step": 20
  3478. }
  3479. ],
  3480. "thresholds": [
  3481. ],
  3482. "timeFrom": null,
  3483. "timeShift": null,
  3484. "title": "MySQL File Openings",
  3485. "tooltip": {
  3486. "msResolution": false,
  3487. "shared": true,
  3488. "sort": 0,
  3489. "value_type": "individual"
  3490. },
  3491. "type": "graph",
  3492. "xaxis": {
  3493. "buckets": null,
  3494. "mode": "time",
  3495. "name": null,
  3496. "show": true,
  3497. "values": [
  3498. ]
  3499. },
  3500. "yaxes": [
  3501. {
  3502. "format": "short",
  3503. "logBase": 1,
  3504. "max": null,
  3505. "min": 0,
  3506. "show": true
  3507. },
  3508. {
  3509. "format": "short",
  3510. "logBase": 1,
  3511. "max": null,
  3512. "min": 0,
  3513. "show": true
  3514. }
  3515. ],
  3516. "yaxis": {
  3517. "align": false,
  3518. "alignLevel": null
  3519. }
  3520. },
  3521. {
  3522. "aliasColors": {
  3523. },
  3524. "bars": false,
  3525. "dashLength": 10,
  3526. "dashes": false,
  3527. "datasource": "Prometheus",
  3528. "decimals": 2,
  3529. "editable": true,
  3530. "error": false,
  3531. "fill": 2,
  3532. "grid": {
  3533. },
  3534. "gridPos": {
  3535. "h": 7,
  3536. "w": 12,
  3537. "x": 12,
  3538. "y": 111
  3539. },
  3540. "id": 41,
  3541. "legend": {
  3542. "alignAsTable": true,
  3543. "avg": true,
  3544. "current": false,
  3545. "max": true,
  3546. "min": true,
  3547. "rightSide": false,
  3548. "show": true,
  3549. "sort": "avg",
  3550. "sortDesc": true,
  3551. "total": false,
  3552. "values": true
  3553. },
  3554. "lines": true,
  3555. "linewidth": 2,
  3556. "links": [
  3557. ],
  3558. "nullPointMode": "null",
  3559. "percentage": false,
  3560. "pointradius": 5,
  3561. "points": false,
  3562. "renderer": "flot",
  3563. "seriesOverrides": [
  3564. ],
  3565. "spaceLength": 10,
  3566. "stack": false,
  3567. "steppedLine": false,
  3568. "targets": [
  3569. {
  3570. "calculatedInterval": "2m",
  3571. "datasourceErrors": {
  3572. },
  3573. "errors": {
  3574. },
  3575. "expr": "mysql_global_status_open_files{instance=\"$host\"}",
  3576. "interval": "$interval",
  3577. "intervalFactor": 1,
  3578. "legendFormat": "Open Files",
  3579. "metric": "",
  3580. "refId": "A",
  3581. "step": 20
  3582. },
  3583. {
  3584. "calculatedInterval": "2m",
  3585. "datasourceErrors": {
  3586. },
  3587. "errors": {
  3588. },
  3589. "expr": "mysql_global_variables_open_files_limit{instance=\"$host\"}",
  3590. "interval": "$interval",
  3591. "intervalFactor": 1,
  3592. "legendFormat": "Open Files Limit",
  3593. "metric": "",
  3594. "refId": "D",
  3595. "step": 20
  3596. },
  3597. {
  3598. "expr": "mysql_global_status_innodb_num_open_files{instance=\"$host\"}",
  3599. "interval": "$interval",
  3600. "intervalFactor": 1,
  3601. "legendFormat": "InnoDB Open Files",
  3602. "refId": "B",
  3603. "step": 20
  3604. }
  3605. ],
  3606. "thresholds": [
  3607. ],
  3608. "timeFrom": null,
  3609. "timeShift": null,
  3610. "title": "MySQL Open Files",
  3611. "tooltip": {
  3612. "msResolution": false,
  3613. "shared": true,
  3614. "sort": 0,
  3615. "value_type": "individual"
  3616. },
  3617. "type": "graph",
  3618. "xaxis": {
  3619. "buckets": null,
  3620. "mode": "time",
  3621. "name": null,
  3622. "show": true,
  3623. "values": [
  3624. ]
  3625. },
  3626. "yaxes": [
  3627. {
  3628. "format": "short",
  3629. "logBase": 1,
  3630. "max": null,
  3631. "min": 0,
  3632. "show": true
  3633. },
  3634. {
  3635. "format": "short",
  3636. "logBase": 1,
  3637. "max": null,
  3638. "min": 0,
  3639. "show": true
  3640. }
  3641. ],
  3642. "yaxis": {
  3643. "align": false,
  3644. "alignLevel": null
  3645. }
  3646. },
  3647. {
  3648. "collapsed": false,
  3649. "gridPos": {
  3650. "h": 1,
  3651. "w": 24,
  3652. "x": 0,
  3653. "y": 118
  3654. },
  3655. "id": 393,
  3656. "panels": [
  3657. ],
  3658. "repeat": null,
  3659. "title": "Table Openings",
  3660. "type": "row"
  3661. },
  3662. {
  3663. "aliasColors": {
  3664. },
  3665. "bars": false,
  3666. "dashLength": 10,
  3667. "dashes": false,
  3668. "datasource": "Prometheus",
  3669. "decimals": 2,
  3670. "description": "**MySQL Table Open Cache Status**\n\nThe recommendation is to set the `table_open_cache_instances` to a loose correlation to virtual CPUs, keeping in mind that more instances means the cache is split more times. If you have a cache set to 500 but it has 10 instances, each cache will only have 50 cached.\n\nThe `table_definition_cache` and `table_open_cache` can be left as default as they are auto-sized MySQL 5.6 and above (ie: do not set them to any value).",
  3671. "editable": true,
  3672. "error": false,
  3673. "fill": 2,
  3674. "grid": {
  3675. },
  3676. "gridPos": {
  3677. "h": 7,
  3678. "w": 12,
  3679. "x": 0,
  3680. "y": 119
  3681. },
  3682. "id": 44,
  3683. "legend": {
  3684. "alignAsTable": true,
  3685. "avg": true,
  3686. "current": false,
  3687. "max": true,
  3688. "min": true,
  3689. "rightSide": false,
  3690. "show": true,
  3691. "sort": "avg",
  3692. "sortDesc": true,
  3693. "total": false,
  3694. "values": true
  3695. },
  3696. "lines": true,
  3697. "linewidth": 2,
  3698. "links": [
  3699. {
  3700. "title": "Server Status Variables (table_open_cache)",
  3701. "type": "absolute",
  3702. "url": "http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_table_open_cache"
  3703. }
  3704. ],
  3705. "nullPointMode": "null",
  3706. "percentage": false,
  3707. "pointradius": 5,
  3708. "points": false,
  3709. "renderer": "flot",
  3710. "seriesOverrides": [
  3711. {
  3712. "alias": "Table Open Cache Hit Ratio",
  3713. "yaxis": 2
  3714. }
  3715. ],
  3716. "spaceLength": 10,
  3717. "stack": false,
  3718. "steppedLine": false,
  3719. "targets": [
  3720. {
  3721. "calculatedInterval": "2m",
  3722. "datasourceErrors": {
  3723. },
  3724. "errors": {
  3725. },
  3726. "expr": "rate(mysql_global_status_opened_tables{instance=\"$host\"}[$interval]) or irate(mysql_global_status_opened_tables{instance=\"$host\"}[5m])",
  3727. "format": "time_series",
  3728. "interval": "$interval",
  3729. "intervalFactor": 1,
  3730. "legendFormat": "Openings",
  3731. "metric": "",
  3732. "refId": "A",
  3733. "step": 20
  3734. },
  3735. {
  3736. "expr": "rate(mysql_global_status_table_open_cache_hits{instance=\"$host\"}[$interval]) or irate(mysql_global_status_table_open_cache_hits{instance=\"$host\"}[5m])",
  3737. "format": "time_series",
  3738. "interval": "$interval",
  3739. "intervalFactor": 1,
  3740. "legendFormat": "Hits",
  3741. "refId": "B",
  3742. "step": 20
  3743. },
  3744. {
  3745. "expr": "rate(mysql_global_status_table_open_cache_misses{instance=\"$host\"}[$interval]) or irate(mysql_global_status_table_open_cache_misses{instance=\"$host\"}[5m])",
  3746. "format": "time_series",
  3747. "interval": "$interval",
  3748. "intervalFactor": 1,
  3749. "legendFormat": "Misses",
  3750. "refId": "C",
  3751. "step": 20
  3752. },
  3753. {
  3754. "expr": "rate(mysql_global_status_table_open_cache_overflows{instance=\"$host\"}[$interval]) or irate(mysql_global_status_table_open_cache_overflows{instance=\"$host\"}[5m])",
  3755. "format": "time_series",
  3756. "interval": "$interval",
  3757. "intervalFactor": 1,
  3758. "legendFormat": "Misses due to Overflows",
  3759. "refId": "D",
  3760. "step": 20
  3761. },
  3762. {
  3763. "expr": "(rate(mysql_global_status_table_open_cache_hits{instance=\"$host\"}[$interval]) or irate(mysql_global_status_table_open_cache_hits{instance=\"$host\"}[5m]))/((rate(mysql_global_status_table_open_cache_hits{instance=\"$host\"}[$interval]) or irate(mysql_global_status_table_open_cache_hits{instance=\"$host\"}[5m]))+(rate(mysql_global_status_table_open_cache_misses{instance=\"$host\"}[$interval]) or irate(mysql_global_status_table_open_cache_misses{instance=\"$host\"}[5m])))",
  3764. "format": "time_series",
  3765. "interval": "$interval",
  3766. "intervalFactor": 1,
  3767. "legendFormat": "Table Open Cache Hit Ratio",
  3768. "refId": "E",
  3769. "step": 20
  3770. }
  3771. ],
  3772. "thresholds": [
  3773. ],
  3774. "timeFrom": null,
  3775. "timeShift": null,
  3776. "title": "MySQL Table Open Cache Status",
  3777. "tooltip": {
  3778. "msResolution": false,
  3779. "shared": true,
  3780. "sort": 0,
  3781. "value_type": "individual"
  3782. },
  3783. "type": "graph",
  3784. "xaxis": {
  3785. "buckets": null,
  3786. "mode": "time",
  3787. "name": null,
  3788. "show": true,
  3789. "values": [
  3790. ]
  3791. },
  3792. "yaxes": [
  3793. {
  3794. "format": "short",
  3795. "logBase": 1,
  3796. "max": null,
  3797. "min": 0,
  3798. "show": true
  3799. },
  3800. {
  3801. "format": "percentunit",
  3802. "logBase": 1,
  3803. "max": null,
  3804. "min": 0,
  3805. "show": true
  3806. }
  3807. ],
  3808. "yaxis": {
  3809. "align": false,
  3810. "alignLevel": null
  3811. }
  3812. },
  3813. {
  3814. "aliasColors": {
  3815. },
  3816. "bars": false,
  3817. "dashLength": 10,
  3818. "dashes": false,
  3819. "datasource": "Prometheus",
  3820. "decimals": 2,
  3821. "description": "**MySQL Open Tables**\n\nThe recommendation is to set the `table_open_cache_instances` to a loose correlation to virtual CPUs, keeping in mind that more instances means the cache is split more times. If you have a cache set to 500 but it has 10 instances, each cache will only have 50 cached.\n\nThe `table_definition_cache` and `table_open_cache` can be left as default as they are auto-sized MySQL 5.6 and above (ie: do not set them to any value).",
  3822. "editable": true,
  3823. "error": false,
  3824. "fill": 2,
  3825. "grid": {
  3826. },
  3827. "gridPos": {
  3828. "h": 7,
  3829. "w": 12,
  3830. "x": 12,
  3831. "y": 119
  3832. },
  3833. "id": 42,
  3834. "legend": {
  3835. "alignAsTable": true,
  3836. "avg": true,
  3837. "current": false,
  3838. "max": true,
  3839. "min": true,
  3840. "rightSide": false,
  3841. "show": true,
  3842. "sort": "avg",
  3843. "sortDesc": true,
  3844. "total": false,
  3845. "values": true
  3846. },
  3847. "lines": true,
  3848. "linewidth": 2,
  3849. "links": [
  3850. {
  3851. "title": "Server Status Variables (table_open_cache)",
  3852. "type": "absolute",
  3853. "url": "http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_table_open_cache"
  3854. }
  3855. ],
  3856. "nullPointMode": "null",
  3857. "percentage": false,
  3858. "pointradius": 5,
  3859. "points": false,
  3860. "renderer": "flot",
  3861. "seriesOverrides": [
  3862. ],
  3863. "spaceLength": 10,
  3864. "stack": false,
  3865. "steppedLine": false,
  3866. "targets": [
  3867. {
  3868. "calculatedInterval": "2m",
  3869. "datasourceErrors": {
  3870. },
  3871. "errors": {
  3872. },
  3873. "expr": "mysql_global_status_open_tables{instance=\"$host\"}",
  3874. "format": "time_series",
  3875. "interval": "$interval",
  3876. "intervalFactor": 1,
  3877. "legendFormat": "Open Tables",
  3878. "metric": "",
  3879. "refId": "B",
  3880. "step": 20
  3881. },
  3882. {
  3883. "calculatedInterval": "2m",
  3884. "datasourceErrors": {
  3885. },
  3886. "errors": {
  3887. },
  3888. "expr": "mysql_global_variables_table_open_cache{instance=\"$host\"}",
  3889. "format": "time_series",
  3890. "interval": "$interval",
  3891. "intervalFactor": 1,
  3892. "legendFormat": "Table Open Cache",
  3893. "metric": "",
  3894. "refId": "C",
  3895. "step": 20
  3896. }
  3897. ],
  3898. "thresholds": [
  3899. ],
  3900. "timeFrom": null,
  3901. "timeShift": null,
  3902. "title": "MySQL Open Tables",
  3903. "tooltip": {
  3904. "msResolution": false,
  3905. "shared": true,
  3906. "sort": 0,
  3907. "value_type": "individual"
  3908. },
  3909. "type": "graph",
  3910. "xaxis": {
  3911. "buckets": null,
  3912. "mode": "time",
  3913. "name": null,
  3914. "show": true,
  3915. "values": [
  3916. ]
  3917. },
  3918. "yaxes": [
  3919. {
  3920. "format": "short",
  3921. "logBase": 1,
  3922. "max": null,
  3923. "min": 0,
  3924. "show": true
  3925. },
  3926. {
  3927. "format": "short",
  3928. "logBase": 1,
  3929. "max": null,
  3930. "min": 0,
  3931. "show": true
  3932. }
  3933. ],
  3934. "yaxis": {
  3935. "align": false,
  3936. "alignLevel": null
  3937. }
  3938. },
  3939. {
  3940. "collapsed": false,
  3941. "gridPos": {
  3942. "h": 1,
  3943. "w": 24,
  3944. "x": 0,
  3945. "y": 126
  3946. },
  3947. "id": 394,
  3948. "panels": [
  3949. ],
  3950. "repeat": null,
  3951. "title": "MySQL Table Definition Cache",
  3952. "type": "row"
  3953. },
  3954. {
  3955. "aliasColors": {
  3956. },
  3957. "bars": false,
  3958. "dashLength": 10,
  3959. "dashes": false,
  3960. "datasource": "Prometheus",
  3961. "decimals": 2,
  3962. "description": "**MySQL Table Definition Cache**\n\nThe recommendation is to set the `table_open_cache_instances` to a loose correlation to virtual CPUs, keeping in mind that more instances means the cache is split more times. If you have a cache set to 500 but it has 10 instances, each cache will only have 50 cached.\n\nThe `table_definition_cache` and `table_open_cache` can be left as default as they are auto-sized MySQL 5.6 and above (ie: do not set them to any value).",
  3963. "editable": true,
  3964. "error": false,
  3965. "fill": 2,
  3966. "grid": {
  3967. },
  3968. "gridPos": {
  3969. "h": 7,
  3970. "w": 24,
  3971. "x": 0,
  3972. "y": 127
  3973. },
  3974. "id": 54,
  3975. "legend": {
  3976. "alignAsTable": true,
  3977. "avg": true,
  3978. "current": false,
  3979. "max": true,
  3980. "min": true,
  3981. "rightSide": false,
  3982. "show": true,
  3983. "sort": "avg",
  3984. "sortDesc": true,
  3985. "total": false,
  3986. "values": true
  3987. },
  3988. "lines": true,
  3989. "linewidth": 2,
  3990. "links": [
  3991. {
  3992. "title": "Server Status Variables (table_open_cache)",
  3993. "type": "absolute",
  3994. "url": "http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_table_open_cache"
  3995. }
  3996. ],
  3997. "nullPointMode": "null",
  3998. "percentage": false,
  3999. "pointradius": 5,
  4000. "points": false,
  4001. "renderer": "flot",
  4002. "seriesOverrides": [
  4003. {
  4004. "alias": "Opened Table Definitions",
  4005. "yaxis": 2
  4006. }
  4007. ],
  4008. "spaceLength": 10,
  4009. "stack": false,
  4010. "steppedLine": false,
  4011. "targets": [
  4012. {
  4013. "calculatedInterval": "2m",
  4014. "datasourceErrors": {
  4015. },
  4016. "errors": {
  4017. },
  4018. "expr": "mysql_global_status_open_table_definitions{instance=\"$host\"}",
  4019. "format": "time_series",
  4020. "interval": "$interval",
  4021. "intervalFactor": 1,
  4022. "legendFormat": "Open Table Definitions",
  4023. "metric": "",
  4024. "refId": "B",
  4025. "step": 20
  4026. },
  4027. {
  4028. "calculatedInterval": "2m",
  4029. "datasourceErrors": {
  4030. },
  4031. "errors": {
  4032. },
  4033. "expr": "mysql_global_variables_table_definition_cache{instance=\"$host\"}",
  4034. "format": "time_series",
  4035. "interval": "$interval",
  4036. "intervalFactor": 1,
  4037. "legendFormat": "Table Definitions Cache Size",
  4038. "metric": "",
  4039. "refId": "C",
  4040. "step": 20
  4041. },
  4042. {
  4043. "expr": "rate(mysql_global_status_opened_table_definitions{instance=\"$host\"}[$interval]) or irate(mysql_global_status_opened_table_definitions{instance=\"$host\"}[5m])",
  4044. "format": "time_series",
  4045. "interval": "$interval",
  4046. "intervalFactor": 1,
  4047. "legendFormat": "Opened Table Definitions",
  4048. "refId": "A",
  4049. "step": 20
  4050. }
  4051. ],
  4052. "thresholds": [
  4053. ],
  4054. "timeFrom": null,
  4055. "timeShift": null,
  4056. "title": "MySQL Table Definition Cache",
  4057. "tooltip": {
  4058. "msResolution": false,
  4059. "shared": true,
  4060. "sort": 0,
  4061. "value_type": "individual"
  4062. },
  4063. "type": "graph",
  4064. "xaxis": {
  4065. "buckets": null,
  4066. "mode": "time",
  4067. "name": null,
  4068. "show": true,
  4069. "values": [
  4070. ]
  4071. },
  4072. "yaxes": [
  4073. {
  4074. "format": "short",
  4075. "logBase": 1,
  4076. "max": null,
  4077. "min": 0,
  4078. "show": true
  4079. },
  4080. {
  4081. "format": "short",
  4082. "logBase": 1,
  4083. "max": null,
  4084. "min": 0,
  4085. "show": true
  4086. }
  4087. ],
  4088. "yaxis": {
  4089. "align": false,
  4090. "alignLevel": null
  4091. }
  4092. },
  4093. {
  4094. "collapsed": false,
  4095. "gridPos": {
  4096. "h": 1,
  4097. "w": 24,
  4098. "x": 0,
  4099. "y": 134
  4100. },
  4101. "id": 395,
  4102. "panels": [
  4103. ],
  4104. "repeat": null,
  4105. "title": "System Charts",
  4106. "type": "row"
  4107. },
  4108. {
  4109. "aliasColors": {
  4110. },
  4111. "bars": false,
  4112. "dashLength": 10,
  4113. "dashes": false,
  4114. "datasource": "Prometheus",
  4115. "decimals": 2,
  4116. "editable": true,
  4117. "error": false,
  4118. "fill": 2,
  4119. "grid": {
  4120. },
  4121. "gridPos": {
  4122. "h": 7,
  4123. "w": 12,
  4124. "x": 0,
  4125. "y": 135
  4126. },
  4127. "id": 31,
  4128. "legend": {
  4129. "alignAsTable": true,
  4130. "avg": true,
  4131. "current": false,
  4132. "hideEmpty": false,
  4133. "max": true,
  4134. "min": true,
  4135. "rightSide": false,
  4136. "show": true,
  4137. "sort": "avg",
  4138. "sortDesc": true,
  4139. "total": false,
  4140. "values": true
  4141. },
  4142. "lines": true,
  4143. "linewidth": 2,
  4144. "links": [
  4145. ],
  4146. "nullPointMode": "null",
  4147. "percentage": false,
  4148. "pointradius": 5,
  4149. "points": false,
  4150. "renderer": "flot",
  4151. "seriesOverrides": [
  4152. ],
  4153. "spaceLength": 10,
  4154. "stack": false,
  4155. "steppedLine": false,
  4156. "targets": [
  4157. {
  4158. "calculatedInterval": "2s",
  4159. "datasourceErrors": {
  4160. },
  4161. "errors": {
  4162. },
  4163. "expr": "rate(node_vmstat_pgpgin{instance=\"$host\"}[$interval]) * 1024 or irate(node_vmstat_pgpgin{instance=\"$host\"}[5m]) * 1024",
  4164. "format": "time_series",
  4165. "interval": "$interval",
  4166. "intervalFactor": 1,
  4167. "legendFormat": "Page In",
  4168. "metric": "",
  4169. "refId": "A",
  4170. "step": 20,
  4171. "target": ""
  4172. },
  4173. {
  4174. "calculatedInterval": "2s",
  4175. "datasourceErrors": {
  4176. },
  4177. "errors": {
  4178. },
  4179. "expr": "rate(node_vmstat_pgpgout{instance=\"$host\"}[$interval]) * 1024 or irate(node_vmstat_pgpgout{instance=\"$host\"}[5m]) * 1024",
  4180. "format": "time_series",
  4181. "interval": "$interval",
  4182. "intervalFactor": 1,
  4183. "legendFormat": "Page Out",
  4184. "metric": "",
  4185. "refId": "B",
  4186. "step": 20,
  4187. "target": ""
  4188. }
  4189. ],
  4190. "thresholds": [
  4191. ],
  4192. "timeFrom": null,
  4193. "timeShift": null,
  4194. "title": "I/O Activity",
  4195. "tooltip": {
  4196. "msResolution": false,
  4197. "shared": true,
  4198. "sort": 0,
  4199. "value_type": "individual"
  4200. },
  4201. "transparent": false,
  4202. "type": "graph",
  4203. "xaxis": {
  4204. "buckets": null,
  4205. "mode": "time",
  4206. "name": null,
  4207. "show": true,
  4208. "values": [
  4209. ]
  4210. },
  4211. "yaxes": [
  4212. {
  4213. "format": "Bps",
  4214. "label": "",
  4215. "logBase": 1,
  4216. "max": null,
  4217. "min": 0,
  4218. "show": true
  4219. },
  4220. {
  4221. "format": "bytes",
  4222. "logBase": 1,
  4223. "max": null,
  4224. "min": 0,
  4225. "show": true
  4226. }
  4227. ],
  4228. "yaxis": {
  4229. "align": false,
  4230. "alignLevel": null
  4231. }
  4232. },
  4233. {
  4234. "aliasColors": {
  4235. },
  4236. "bars": false,
  4237. "dashLength": 10,
  4238. "dashes": false,
  4239. "datasource": "Prometheus",
  4240. "decimals": null,
  4241. "editable": true,
  4242. "error": false,
  4243. "fill": 6,
  4244. "grid": {
  4245. },
  4246. "gridPos": {
  4247. "h": 7,
  4248. "w": 12,
  4249. "x": 12,
  4250. "y": 135
  4251. },
  4252. "height": "250px",
  4253. "id": 37,
  4254. "legend": {
  4255. "alignAsTable": true,
  4256. "avg": true,
  4257. "current": false,
  4258. "hideEmpty": false,
  4259. "max": true,
  4260. "min": true,
  4261. "rightSide": false,
  4262. "show": true,
  4263. "sort": "avg",
  4264. "sortDesc": true,
  4265. "total": false,
  4266. "values": true
  4267. },
  4268. "lines": true,
  4269. "linewidth": 2,
  4270. "links": [
  4271. ],
  4272. "nullPointMode": "null",
  4273. "percentage": false,
  4274. "pointradius": 5,
  4275. "points": false,
  4276. "renderer": "flot",
  4277. "seriesOverrides": [
  4278. ],
  4279. "spaceLength": 10,
  4280. "stack": true,
  4281. "steppedLine": false,
  4282. "targets": [
  4283. {
  4284. "calculatedInterval": "2s",
  4285. "datasourceErrors": {
  4286. },
  4287. "errors": {
  4288. },
  4289. "expr": "max(node_memory_MemTotal{instance=\"$host\"}) without(job) - \n(max(node_memory_MemFree{instance=\"$host\"}) without(job) + \nmax(node_memory_Buffers{instance=\"$host\"}) without(job) + \n(max(node_memory_Cached{instance=\"$host\",job=~\"rds-enhanced|linux\"}) without (job) or \nmax(node_memory_Cached{instance=\"$host\",job=\"rds-basic\"}) without (job)))",
  4290. "format": "time_series",
  4291. "interval": "$interval",
  4292. "intervalFactor": 1,
  4293. "legendFormat": "Used",
  4294. "metric": "",
  4295. "refId": "A",
  4296. "step": 20,
  4297. "target": ""
  4298. },
  4299. {
  4300. "calculatedInterval": "2s",
  4301. "datasourceErrors": {
  4302. },
  4303. "errors": {
  4304. },
  4305. "expr": "node_memory_MemFree{instance=\"$host\"}",
  4306. "format": "time_series",
  4307. "interval": "$interval",
  4308. "intervalFactor": 1,
  4309. "legendFormat": "Free",
  4310. "metric": "",
  4311. "refId": "B",
  4312. "step": 20,
  4313. "target": ""
  4314. },
  4315. {
  4316. "calculatedInterval": "2s",
  4317. "datasourceErrors": {
  4318. },
  4319. "errors": {
  4320. },
  4321. "expr": "node_memory_Buffers{instance=\"$host\"}",
  4322. "format": "time_series",
  4323. "interval": "$interval",
  4324. "intervalFactor": 1,
  4325. "legendFormat": "Buffers",
  4326. "metric": "",
  4327. "refId": "D",
  4328. "step": 20,
  4329. "target": ""
  4330. },
  4331. {
  4332. "calculatedInterval": "2s",
  4333. "datasourceErrors": {
  4334. },
  4335. "errors": {
  4336. },
  4337. "expr": "max(node_memory_Cached{instance=~\"$host\",job=~\"rds-enhanced|linux\"}) without (job) or \nmax(node_memory_Cached{instance=~\"$host\",job=~\"rds-basic\"}) without (job)",
  4338. "format": "time_series",
  4339. "interval": "$interval",
  4340. "intervalFactor": 1,
  4341. "legendFormat": "Cached",
  4342. "metric": "",
  4343. "refId": "E",
  4344. "step": 20,
  4345. "target": ""
  4346. }
  4347. ],
  4348. "thresholds": [
  4349. ],
  4350. "timeFrom": null,
  4351. "timeShift": null,
  4352. "title": "Memory Distribution",
  4353. "tooltip": {
  4354. "msResolution": false,
  4355. "shared": true,
  4356. "sort": 0,
  4357. "value_type": "individual"
  4358. },
  4359. "transparent": false,
  4360. "type": "graph",
  4361. "xaxis": {
  4362. "buckets": null,
  4363. "mode": "time",
  4364. "name": null,
  4365. "show": true,
  4366. "values": [
  4367. ]
  4368. },
  4369. "yaxes": [
  4370. {
  4371. "format": "bytes",
  4372. "label": "",
  4373. "logBase": 1,
  4374. "max": null,
  4375. "min": 0,
  4376. "show": true
  4377. },
  4378. {
  4379. "format": "bytes",
  4380. "logBase": 1,
  4381. "max": null,
  4382. "min": 0,
  4383. "show": false
  4384. }
  4385. ],
  4386. "yaxis": {
  4387. "align": false,
  4388. "alignLevel": null
  4389. }
  4390. },
  4391. {
  4392. "aliasColors": {
  4393. "Load 1m": "#58140C",
  4394. "Max Core Utilization": "#bf1b00",
  4395. "iowait": "#e24d42",
  4396. "nice": "#1f78c1",
  4397. "softirq": "#806eb7",
  4398. "system": "#eab839",
  4399. "user": "#508642"
  4400. },
  4401. "bars": false,
  4402. "dashLength": 10,
  4403. "dashes": false,
  4404. "datasource": "Prometheus",
  4405. "decimals": null,
  4406. "editable": true,
  4407. "error": false,
  4408. "fill": 6,
  4409. "grid": {
  4410. },
  4411. "gridPos": {
  4412. "h": 7,
  4413. "w": 12,
  4414. "x": 0,
  4415. "y": 142
  4416. },
  4417. "height": "",
  4418. "id": 2,
  4419. "legend": {
  4420. "alignAsTable": true,
  4421. "avg": true,
  4422. "current": false,
  4423. "hideEmpty": true,
  4424. "hideZero": true,
  4425. "max": true,
  4426. "min": true,
  4427. "rightSide": true,
  4428. "show": true,
  4429. "sort": "avg",
  4430. "sortDesc": true,
  4431. "total": false,
  4432. "values": true
  4433. },
  4434. "lines": true,
  4435. "linewidth": 2,
  4436. "links": [
  4437. ],
  4438. "nullPointMode": "null",
  4439. "percentage": false,
  4440. "pointradius": 5,
  4441. "points": false,
  4442. "renderer": "flot",
  4443. "seriesOverrides": [
  4444. {
  4445. "alias": "Max Core Utilization",
  4446. "lines": false,
  4447. "pointradius": 1,
  4448. "points": true,
  4449. "stack": false
  4450. },
  4451. {
  4452. "alias": "Load 1m",
  4453. "color": "#58140C",
  4454. "fill": 2,
  4455. "legend": false,
  4456. "stack": false,
  4457. "yaxis": 2
  4458. }
  4459. ],
  4460. "spaceLength": 10,
  4461. "stack": true,
  4462. "steppedLine": false,
  4463. "targets": [
  4464. {
  4465. "calculatedInterval": "2s",
  4466. "datasourceErrors": {
  4467. },
  4468. "errors": {
  4469. },
  4470. "expr": "clamp_max(((avg by (mode) ( (clamp_max(rate(node_cpu{instance=\"$host\",mode!=\"idle\"}[$interval]),1)) or (clamp_max(irate(node_cpu{instance=\"$host\",mode!=\"idle\"}[5m]),1)) ))*100 or (avg_over_time(node_cpu_average{instance=~\"$host\", mode!=\"total\", mode!=\"idle\"}[$interval]) or avg_over_time(node_cpu_average{instance=~\"$host\", mode!=\"total\", mode!=\"idle\"}[5m]))),100)",
  4471. "format": "time_series",
  4472. "hide": false,
  4473. "interval": "$interval",
  4474. "intervalFactor": 1,
  4475. "legendFormat": "{{ mode }}",
  4476. "metric": "",
  4477. "refId": "A",
  4478. "step": 20
  4479. },
  4480. {
  4481. "expr": "clamp_max(max by () (sum by (cpu) ( (clamp_max(rate(node_cpu{instance=\"$host\",mode!=\"idle\",mode!=\"iowait\"}[$interval]),1)) or (clamp_max(irate(node_cpu{instance=\"$host\",mode!=\"idle\",mode!=\"iowait\"}[5m]),1)) ))*100,100)",
  4482. "format": "time_series",
  4483. "hide": true,
  4484. "interval": "$interval",
  4485. "intervalFactor": 1,
  4486. "legendFormat": "Max Core Utilization",
  4487. "refId": "B",
  4488. "step": 20
  4489. },
  4490. {
  4491. "expr": "node_load1{instance=\"$host\"}",
  4492. "format": "time_series",
  4493. "hide": false,
  4494. "intervalFactor": 2,
  4495. "legendFormat": "Load 1m",
  4496. "refId": "C"
  4497. }
  4498. ],
  4499. "thresholds": [
  4500. ],
  4501. "timeFrom": null,
  4502. "timeShift": null,
  4503. "title": "CPU Usage / Load",
  4504. "tooltip": {
  4505. "msResolution": false,
  4506. "shared": true,
  4507. "sort": 0,
  4508. "value_type": "individual"
  4509. },
  4510. "type": "graph",
  4511. "xaxis": {
  4512. "buckets": null,
  4513. "mode": "time",
  4514. "name": null,
  4515. "show": true,
  4516. "values": [
  4517. ]
  4518. },
  4519. "yaxes": [
  4520. {
  4521. "decimals": 1,
  4522. "format": "percent",
  4523. "label": "",
  4524. "logBase": 1,
  4525. "max": 100,
  4526. "min": 0,
  4527. "show": true
  4528. },
  4529. {
  4530. "format": "none",
  4531. "logBase": 1,
  4532. "max": null,
  4533. "min": 0,
  4534. "show": true
  4535. }
  4536. ],
  4537. "yaxis": {
  4538. "align": false,
  4539. "alignLevel": null
  4540. }
  4541. },
  4542. {
  4543. "aliasColors": {
  4544. },
  4545. "bars": false,
  4546. "dashLength": 10,
  4547. "dashes": false,
  4548. "datasource": "Prometheus",
  4549. "decimals": 2,
  4550. "editable": true,
  4551. "error": false,
  4552. "fill": 2,
  4553. "grid": {
  4554. },
  4555. "gridPos": {
  4556. "h": 7,
  4557. "w": 12,
  4558. "x": 12,
  4559. "y": 142
  4560. },
  4561. "height": "250px",
  4562. "id": 36,
  4563. "legend": {
  4564. "alignAsTable": true,
  4565. "avg": true,
  4566. "current": false,
  4567. "hideEmpty": true,
  4568. "hideZero": true,
  4569. "max": true,
  4570. "min": true,
  4571. "rightSide": false,
  4572. "show": true,
  4573. "sort": "avg",
  4574. "sortDesc": true,
  4575. "total": false,
  4576. "values": true
  4577. },
  4578. "lines": false,
  4579. "linewidth": 2,
  4580. "links": [
  4581. ],
  4582. "nullPointMode": "null",
  4583. "percentage": false,
  4584. "pointradius": 1,
  4585. "points": true,
  4586. "renderer": "flot",
  4587. "seriesOverrides": [
  4588. ],
  4589. "spaceLength": 10,
  4590. "stack": false,
  4591. "steppedLine": false,
  4592. "targets": [
  4593. {
  4594. "calculatedInterval": "2m",
  4595. "datasourceErrors": {
  4596. },
  4597. "errors": {
  4598. },
  4599. "expr": "sum((rate(node_disk_read_time_ms{device!~\"dm-.+\", instance=\"$host\"}[$interval]) / rate(node_disk_reads_completed{device!~\"dm-.+\", instance=\"$host\"}[$interval])) or (irate(node_disk_read_time_ms{device!~\"dm-.+\", instance=\"$host\"}[5m]) / irate(node_disk_reads_completed{device!~\"dm-.+\", instance=\"$host\"}[5m]))\nor avg_over_time(aws_rds_read_latency_average{instance=\"$host\"}[$interval]) or avg_over_time(aws_rds_read_latency_average{instance=\"$host\"}[5m]))",
  4600. "format": "time_series",
  4601. "interval": "$interval",
  4602. "intervalFactor": 1,
  4603. "legendFormat": "Read",
  4604. "metric": "",
  4605. "refId": "A",
  4606. "step": 20,
  4607. "target": ""
  4608. },
  4609. {
  4610. "calculatedInterval": "2m",
  4611. "datasourceErrors": {
  4612. },
  4613. "errors": {
  4614. },
  4615. "expr": "sum((rate(node_disk_write_time_ms{device!~\"dm-.+\", instance=\"$host\"}[$interval]) / rate(node_disk_writes_completed{device!~\"dm-.+\", instance=\"$host\"}[$interval])) or (irate(node_disk_write_time_ms{device!~\"dm-.+\", instance=\"$host\"}[5m]) / irate(node_disk_writes_completed{device!~\"dm-.+\", instance=\"$host\"}[5m])) or \navg_over_time(aws_rds_write_latency_average{instance=\"$host\"}[$interval]) or avg_over_time(aws_rds_write_latency_average{instance=\"$host\"}[5m]))",
  4616. "format": "time_series",
  4617. "interval": "$interval",
  4618. "intervalFactor": 1,
  4619. "legendFormat": "Write",
  4620. "metric": "",
  4621. "refId": "B",
  4622. "step": 20,
  4623. "target": ""
  4624. }
  4625. ],
  4626. "thresholds": [
  4627. ],
  4628. "timeFrom": null,
  4629. "timeShift": null,
  4630. "title": "Disk Latency",
  4631. "tooltip": {
  4632. "msResolution": false,
  4633. "shared": true,
  4634. "sort": 0,
  4635. "value_type": "individual"
  4636. },
  4637. "transparent": false,
  4638. "type": "graph",
  4639. "xaxis": {
  4640. "buckets": null,
  4641. "mode": "time",
  4642. "name": null,
  4643. "show": true,
  4644. "values": [
  4645. ]
  4646. },
  4647. "yaxes": [
  4648. {
  4649. "format": "ms",
  4650. "label": "",
  4651. "logBase": 2,
  4652. "max": null,
  4653. "min": null,
  4654. "show": true
  4655. },
  4656. {
  4657. "format": "ms",
  4658. "label": "",
  4659. "logBase": 1,
  4660. "max": null,
  4661. "min": 0,
  4662. "show": true
  4663. }
  4664. ],
  4665. "yaxis": {
  4666. "align": false,
  4667. "alignLevel": null
  4668. }
  4669. },
  4670. {
  4671. "aliasColors": {
  4672. },
  4673. "bars": false,
  4674. "dashLength": 10,
  4675. "dashes": false,
  4676. "datasource": "Prometheus",
  4677. "decimals": null,
  4678. "editable": true,
  4679. "error": false,
  4680. "fill": 2,
  4681. "grid": {
  4682. },
  4683. "gridPos": {
  4684. "h": 7,
  4685. "w": 12,
  4686. "x": 0,
  4687. "y": 149
  4688. },
  4689. "height": "250px",
  4690. "id": 21,
  4691. "legend": {
  4692. "alignAsTable": true,
  4693. "avg": true,
  4694. "current": false,
  4695. "hideEmpty": false,
  4696. "max": true,
  4697. "min": true,
  4698. "rightSide": false,
  4699. "show": true,
  4700. "sort": "avg",
  4701. "sortDesc": true,
  4702. "total": false,
  4703. "values": true
  4704. },
  4705. "lines": true,
  4706. "linewidth": 2,
  4707. "links": [
  4708. ],
  4709. "nullPointMode": "null",
  4710. "percentage": false,
  4711. "pointradius": 5,
  4712. "points": false,
  4713. "renderer": "flot",
  4714. "seriesOverrides": [
  4715. {
  4716. "alias": "Outbound",
  4717. "transform": "negative-Y"
  4718. }
  4719. ],
  4720. "spaceLength": 10,
  4721. "stack": false,
  4722. "steppedLine": false,
  4723. "targets": [
  4724. {
  4725. "calculatedInterval": "2s",
  4726. "datasourceErrors": {
  4727. },
  4728. "errors": {
  4729. },
  4730. "expr": "sum(rate(node_network_receive_bytes{instance=\"$host\", device!=\"lo\"}[$interval])) or sum(irate(node_network_receive_bytes{instance=\"$host\", device!=\"lo\"}[5m])) or sum(max_over_time(rdsosmetrics_network_rx{instance=\"$host\"}[$interval])) or sum(max_over_time(rdsosmetrics_network_rx{instance=\"$host\"}[5m])) ",
  4731. "format": "time_series",
  4732. "interval": "$interval",
  4733. "intervalFactor": 1,
  4734. "legendFormat": "Inbound",
  4735. "metric": "",
  4736. "refId": "B",
  4737. "step": 20,
  4738. "target": ""
  4739. },
  4740. {
  4741. "calculatedInterval": "2s",
  4742. "datasourceErrors": {
  4743. },
  4744. "errors": {
  4745. },
  4746. "expr": "sum(rate(node_network_transmit_bytes{instance=\"$host\", device!=\"lo\"}[$interval])) or sum(irate(node_network_transmit_bytes{instance=\"$host\", device!=\"lo\"}[5m])) or\nsum(max_over_time(rdsosmetrics_network_tx{instance=\"$host\"}[$interval])) or sum(max_over_time(rdsosmetrics_network_tx{instance=\"$host\"}[5m]))",
  4747. "format": "time_series",
  4748. "interval": "$interval",
  4749. "intervalFactor": 1,
  4750. "legendFormat": "Outbound",
  4751. "metric": "",
  4752. "refId": "A",
  4753. "step": 20,
  4754. "target": ""
  4755. }
  4756. ],
  4757. "thresholds": [
  4758. ],
  4759. "timeFrom": null,
  4760. "timeShift": null,
  4761. "title": "Network Traffic",
  4762. "tooltip": {
  4763. "msResolution": false,
  4764. "shared": true,
  4765. "sort": 0,
  4766. "value_type": "individual"
  4767. },
  4768. "transparent": false,
  4769. "type": "graph",
  4770. "xaxis": {
  4771. "buckets": null,
  4772. "mode": "time",
  4773. "name": null,
  4774. "show": true,
  4775. "values": [
  4776. ]
  4777. },
  4778. "yaxes": [
  4779. {
  4780. "format": "Bps",
  4781. "label": "Outbound (-) / Inbound (+)",
  4782. "logBase": 1,
  4783. "max": null,
  4784. "min": null,
  4785. "show": true
  4786. },
  4787. {
  4788. "format": "bytes",
  4789. "logBase": 1,
  4790. "max": null,
  4791. "min": 0,
  4792. "show": false
  4793. }
  4794. ],
  4795. "yaxis": {
  4796. "align": false,
  4797. "alignLevel": null
  4798. }
  4799. },
  4800. {
  4801. "aliasColors": {
  4802. },
  4803. "bars": false,
  4804. "dashLength": 10,
  4805. "dashes": false,
  4806. "datasource": "Prometheus",
  4807. "decimals": null,
  4808. "editable": true,
  4809. "error": false,
  4810. "fill": 2,
  4811. "grid": {
  4812. },
  4813. "gridPos": {
  4814. "h": 7,
  4815. "w": 12,
  4816. "x": 12,
  4817. "y": 149
  4818. },
  4819. "id": 38,
  4820. "legend": {
  4821. "alignAsTable": true,
  4822. "avg": true,
  4823. "current": false,
  4824. "hideEmpty": false,
  4825. "max": true,
  4826. "min": true,
  4827. "rightSide": false,
  4828. "show": true,
  4829. "sort": "avg",
  4830. "sortDesc": true,
  4831. "total": false,
  4832. "values": true
  4833. },
  4834. "lines": true,
  4835. "linewidth": 2,
  4836. "links": [
  4837. ],
  4838. "nullPointMode": "null",
  4839. "percentage": false,
  4840. "pointradius": 5,
  4841. "points": false,
  4842. "renderer": "flot",
  4843. "seriesOverrides": [
  4844. ],
  4845. "spaceLength": 10,
  4846. "stack": false,
  4847. "steppedLine": false,
  4848. "targets": [
  4849. {
  4850. "calculatedInterval": "2s",
  4851. "datasourceErrors": {
  4852. },
  4853. "errors": {
  4854. },
  4855. "expr": "rate(node_vmstat_pswpin{instance=\"$host\"}[$interval]) * 4096 or irate(node_vmstat_pswpin{instance=\"$host\"}[5m]) * 4096",
  4856. "format": "time_series",
  4857. "interval": "$interval",
  4858. "intervalFactor": 1,
  4859. "legendFormat": "Swap In (Reads)",
  4860. "metric": "",
  4861. "refId": "A",
  4862. "step": 20,
  4863. "target": ""
  4864. },
  4865. {
  4866. "calculatedInterval": "2s",
  4867. "datasourceErrors": {
  4868. },
  4869. "errors": {
  4870. },
  4871. "expr": "rate(node_vmstat_pswpout{instance=\"$host\"}[$interval]) * 4096 or irate(node_vmstat_pswpout{instance=\"$host\"}[5m]) * 4096",
  4872. "format": "time_series",
  4873. "interval": "$interval",
  4874. "intervalFactor": 1,
  4875. "legendFormat": "Swap Out (Writes)",
  4876. "metric": "",
  4877. "refId": "B",
  4878. "step": 20,
  4879. "target": ""
  4880. }
  4881. ],
  4882. "thresholds": [
  4883. ],
  4884. "timeFrom": null,
  4885. "timeShift": null,
  4886. "title": "Swap Activity",
  4887. "tooltip": {
  4888. "msResolution": false,
  4889. "shared": true,
  4890. "sort": 0,
  4891. "value_type": "individual"
  4892. },
  4893. "transparent": false,
  4894. "type": "graph",
  4895. "xaxis": {
  4896. "buckets": null,
  4897. "mode": "time",
  4898. "name": null,
  4899. "show": true,
  4900. "values": [
  4901. ]
  4902. },
  4903. "yaxes": [
  4904. {
  4905. "format": "Bps",
  4906. "label": "",
  4907. "logBase": 1,
  4908. "max": null,
  4909. "min": 0,
  4910. "show": true
  4911. },
  4912. {
  4913. "format": "bytes",
  4914. "logBase": 1,
  4915. "max": null,
  4916. "min": 0,
  4917. "show": true
  4918. }
  4919. ],
  4920. "yaxis": {
  4921. "align": false,
  4922. "alignLevel": null
  4923. }
  4924. }
  4925. ],
  4926. "refresh": "1m",
  4927. "schemaVersion": 16,
  4928. "style": "dark",
  4929. "tags": [
  4930. "Percona",
  4931. "MySQL"
  4932. ],
  4933. "templating": {
  4934. "list": [
  4935. {
  4936. "allFormat": "glob",
  4937. "auto": true,
  4938. "auto_count": 200,
  4939. "auto_min": "1s",
  4940. "current": {
  4941. "text": "auto",
  4942. "value": "$__auto_interval_interval"
  4943. },
  4944. "datasource": "Prometheus",
  4945. "hide": 0,
  4946. "includeAll": false,
  4947. "label": "Interval",
  4948. "multi": false,
  4949. "multiFormat": "glob",
  4950. "name": "interval",
  4951. "options": [
  4952. {
  4953. "selected": true,
  4954. "text": "auto",
  4955. "value": "$__auto_interval_interval"
  4956. },
  4957. {
  4958. "selected": false,
  4959. "text": "1s",
  4960. "value": "1s"
  4961. },
  4962. {
  4963. "selected": false,
  4964. "text": "5s",
  4965. "value": "5s"
  4966. },
  4967. {
  4968. "selected": false,
  4969. "text": "1m",
  4970. "value": "1m"
  4971. },
  4972. {
  4973. "selected": false,
  4974. "text": "5m",
  4975. "value": "5m"
  4976. },
  4977. {
  4978. "selected": false,
  4979. "text": "1h",
  4980. "value": "1h"
  4981. },
  4982. {
  4983. "selected": false,
  4984. "text": "6h",
  4985. "value": "6h"
  4986. },
  4987. {
  4988. "selected": false,
  4989. "text": "1d",
  4990. "value": "1d"
  4991. }
  4992. ],
  4993. "query": "1s,5s,1m,5m,1h,6h,1d",
  4994. "refresh": 2,
  4995. "type": "interval"
  4996. },
  4997. {
  4998. "allFormat": "glob",
  4999. "allValue": null,
  5000. "current": {
  5001. },
  5002. "datasource": "Prometheus",
  5003. "hide": 0,
  5004. "includeAll": false,
  5005. "label": "Host",
  5006. "multi": false,
  5007. "multiFormat": "regex values",
  5008. "name": "host",
  5009. "options": [
  5010. ],
  5011. "query": "label_values(mysql_up, instance)",
  5012. "refresh": 1,
  5013. "refresh_on_load": false,
  5014. "regex": "",
  5015. "sort": 1,
  5016. "tagValuesQuery": null,
  5017. "tags": [
  5018. ],
  5019. "tagsQuery": null,
  5020. "type": "query",
  5021. "useTags": false
  5022. }
  5023. ]
  5024. },
  5025. "time": {
  5026. "from": "now-30m",
  5027. "to": "now"
  5028. },
  5029. "timepicker": {
  5030. "collapse": false,
  5031. "enable": true,
  5032. "hidden": false,
  5033. "notice": false,
  5034. "now": true,
  5035. "refresh_intervals": [
  5036. "5s",
  5037. "10s",
  5038. "30s",
  5039. "1m",
  5040. "5m",
  5041. "15m",
  5042. "30m",
  5043. "1h",
  5044. "2h",
  5045. "1d"
  5046. ],
  5047. "status": "Stable",
  5048. "time_options": [
  5049. "5m",
  5050. "15m",
  5051. "1h",
  5052. "6h",
  5053. "12h",
  5054. "24h",
  5055. "2d",
  5056. "7d",
  5057. "30d"
  5058. ],
  5059. "type": "timepicker"
  5060. },
  5061. "timezone": "browser",
  5062. "title": "MySQL Overview",
  5063. "uid": "MQWgroiiz",
  5064. "version": 1
  5065. }