grafana-dashboardDefinitions.yaml 290 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356
  1. apiVersion: v1
  2. items:
  3. - apiVersion: v1
  4. data:
  5. k8s-cluster-rsrc-use.json: |-
  6. {
  7. "annotations": {
  8. "list": [
  9. ]
  10. },
  11. "editable": true,
  12. "gnetId": null,
  13. "graphTooltip": 0,
  14. "hideControls": false,
  15. "links": [
  16. ],
  17. "refresh": "10s",
  18. "rows": [
  19. {
  20. "collapse": false,
  21. "height": "250px",
  22. "panels": [
  23. {
  24. "aliasColors": {
  25. },
  26. "bars": false,
  27. "dashLength": 10,
  28. "dashes": false,
  29. "datasource": "$datasource",
  30. "fill": 10,
  31. "id": 0,
  32. "legend": {
  33. "avg": false,
  34. "current": false,
  35. "max": false,
  36. "min": false,
  37. "show": true,
  38. "total": false,
  39. "values": false
  40. },
  41. "lines": true,
  42. "linewidth": 0,
  43. "links": [
  44. ],
  45. "nullPointMode": "null as zero",
  46. "percentage": false,
  47. "pointradius": 5,
  48. "points": false,
  49. "renderer": "flot",
  50. "seriesOverrides": [
  51. ],
  52. "spaceLength": 10,
  53. "span": 6,
  54. "stack": true,
  55. "steppedLine": false,
  56. "targets": [
  57. {
  58. "expr": "node:node_cpu_utilisation:avg1m * node:node_num_cpu:sum / scalar(sum(node:node_num_cpu:sum))",
  59. "format": "time_series",
  60. "intervalFactor": 2,
  61. "legendFormat": "{{node}}",
  62. "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use",
  63. "step": 10
  64. }
  65. ],
  66. "thresholds": [
  67. ],
  68. "timeFrom": null,
  69. "timeShift": null,
  70. "title": "CPU Utilisation",
  71. "tooltip": {
  72. "shared": true,
  73. "sort": 0,
  74. "value_type": "individual"
  75. },
  76. "type": "graph",
  77. "xaxis": {
  78. "buckets": null,
  79. "mode": "time",
  80. "name": null,
  81. "show": true,
  82. "values": [
  83. ]
  84. },
  85. "yaxes": [
  86. {
  87. "format": "percentunit",
  88. "label": null,
  89. "logBase": 1,
  90. "max": 1,
  91. "min": 0,
  92. "show": true
  93. },
  94. {
  95. "format": "short",
  96. "label": null,
  97. "logBase": 1,
  98. "max": null,
  99. "min": null,
  100. "show": false
  101. }
  102. ]
  103. },
  104. {
  105. "aliasColors": {
  106. },
  107. "bars": false,
  108. "dashLength": 10,
  109. "dashes": false,
  110. "datasource": "$datasource",
  111. "fill": 10,
  112. "id": 1,
  113. "legend": {
  114. "avg": false,
  115. "current": false,
  116. "max": false,
  117. "min": false,
  118. "show": true,
  119. "total": false,
  120. "values": false
  121. },
  122. "lines": true,
  123. "linewidth": 0,
  124. "links": [
  125. ],
  126. "nullPointMode": "null as zero",
  127. "percentage": false,
  128. "pointradius": 5,
  129. "points": false,
  130. "renderer": "flot",
  131. "seriesOverrides": [
  132. ],
  133. "spaceLength": 10,
  134. "span": 6,
  135. "stack": true,
  136. "steppedLine": false,
  137. "targets": [
  138. {
  139. "expr": "node:node_cpu_saturation_load1: / scalar(sum(min(kube_pod_info) by (node)))",
  140. "format": "time_series",
  141. "intervalFactor": 2,
  142. "legendFormat": "{{node}}",
  143. "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use",
  144. "step": 10
  145. }
  146. ],
  147. "thresholds": [
  148. ],
  149. "timeFrom": null,
  150. "timeShift": null,
  151. "title": "CPU Saturation (Load1)",
  152. "tooltip": {
  153. "shared": true,
  154. "sort": 0,
  155. "value_type": "individual"
  156. },
  157. "type": "graph",
  158. "xaxis": {
  159. "buckets": null,
  160. "mode": "time",
  161. "name": null,
  162. "show": true,
  163. "values": [
  164. ]
  165. },
  166. "yaxes": [
  167. {
  168. "format": "percentunit",
  169. "label": null,
  170. "logBase": 1,
  171. "max": 1,
  172. "min": 0,
  173. "show": true
  174. },
  175. {
  176. "format": "short",
  177. "label": null,
  178. "logBase": 1,
  179. "max": null,
  180. "min": null,
  181. "show": false
  182. }
  183. ]
  184. }
  185. ],
  186. "repeat": null,
  187. "repeatIteration": null,
  188. "repeatRowId": null,
  189. "showTitle": true,
  190. "title": "CPU",
  191. "titleSize": "h6"
  192. },
  193. {
  194. "collapse": false,
  195. "height": "250px",
  196. "panels": [
  197. {
  198. "aliasColors": {
  199. },
  200. "bars": false,
  201. "dashLength": 10,
  202. "dashes": false,
  203. "datasource": "$datasource",
  204. "fill": 10,
  205. "id": 2,
  206. "legend": {
  207. "avg": false,
  208. "current": false,
  209. "max": false,
  210. "min": false,
  211. "show": true,
  212. "total": false,
  213. "values": false
  214. },
  215. "lines": true,
  216. "linewidth": 0,
  217. "links": [
  218. ],
  219. "nullPointMode": "null as zero",
  220. "percentage": false,
  221. "pointradius": 5,
  222. "points": false,
  223. "renderer": "flot",
  224. "seriesOverrides": [
  225. ],
  226. "spaceLength": 10,
  227. "span": 6,
  228. "stack": true,
  229. "steppedLine": false,
  230. "targets": [
  231. {
  232. "expr": "node:node_memory_utilisation:ratio",
  233. "format": "time_series",
  234. "intervalFactor": 2,
  235. "legendFormat": "{{node}}",
  236. "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use",
  237. "step": 10
  238. }
  239. ],
  240. "thresholds": [
  241. ],
  242. "timeFrom": null,
  243. "timeShift": null,
  244. "title": "Memory Utilisation",
  245. "tooltip": {
  246. "shared": true,
  247. "sort": 0,
  248. "value_type": "individual"
  249. },
  250. "type": "graph",
  251. "xaxis": {
  252. "buckets": null,
  253. "mode": "time",
  254. "name": null,
  255. "show": true,
  256. "values": [
  257. ]
  258. },
  259. "yaxes": [
  260. {
  261. "format": "percentunit",
  262. "label": null,
  263. "logBase": 1,
  264. "max": 1,
  265. "min": 0,
  266. "show": true
  267. },
  268. {
  269. "format": "short",
  270. "label": null,
  271. "logBase": 1,
  272. "max": null,
  273. "min": null,
  274. "show": false
  275. }
  276. ]
  277. },
  278. {
  279. "aliasColors": {
  280. },
  281. "bars": false,
  282. "dashLength": 10,
  283. "dashes": false,
  284. "datasource": "$datasource",
  285. "fill": 10,
  286. "id": 3,
  287. "legend": {
  288. "avg": false,
  289. "current": false,
  290. "max": false,
  291. "min": false,
  292. "show": true,
  293. "total": false,
  294. "values": false
  295. },
  296. "lines": true,
  297. "linewidth": 0,
  298. "links": [
  299. ],
  300. "nullPointMode": "null as zero",
  301. "percentage": false,
  302. "pointradius": 5,
  303. "points": false,
  304. "renderer": "flot",
  305. "seriesOverrides": [
  306. ],
  307. "spaceLength": 10,
  308. "span": 6,
  309. "stack": true,
  310. "steppedLine": false,
  311. "targets": [
  312. {
  313. "expr": "node:node_memory_swap_io_bytes:sum_rate",
  314. "format": "time_series",
  315. "intervalFactor": 2,
  316. "legendFormat": "{{node}}",
  317. "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use",
  318. "step": 10
  319. }
  320. ],
  321. "thresholds": [
  322. ],
  323. "timeFrom": null,
  324. "timeShift": null,
  325. "title": "Memory Saturation (Swap I/O)",
  326. "tooltip": {
  327. "shared": true,
  328. "sort": 0,
  329. "value_type": "individual"
  330. },
  331. "type": "graph",
  332. "xaxis": {
  333. "buckets": null,
  334. "mode": "time",
  335. "name": null,
  336. "show": true,
  337. "values": [
  338. ]
  339. },
  340. "yaxes": [
  341. {
  342. "format": "Bps",
  343. "label": null,
  344. "logBase": 1,
  345. "max": null,
  346. "min": 0,
  347. "show": true
  348. },
  349. {
  350. "format": "short",
  351. "label": null,
  352. "logBase": 1,
  353. "max": null,
  354. "min": null,
  355. "show": false
  356. }
  357. ]
  358. }
  359. ],
  360. "repeat": null,
  361. "repeatIteration": null,
  362. "repeatRowId": null,
  363. "showTitle": true,
  364. "title": "Memory",
  365. "titleSize": "h6"
  366. },
  367. {
  368. "collapse": false,
  369. "height": "250px",
  370. "panels": [
  371. {
  372. "aliasColors": {
  373. },
  374. "bars": false,
  375. "dashLength": 10,
  376. "dashes": false,
  377. "datasource": "$datasource",
  378. "fill": 10,
  379. "id": 4,
  380. "legend": {
  381. "avg": false,
  382. "current": false,
  383. "max": false,
  384. "min": false,
  385. "show": true,
  386. "total": false,
  387. "values": false
  388. },
  389. "lines": true,
  390. "linewidth": 0,
  391. "links": [
  392. ],
  393. "nullPointMode": "null as zero",
  394. "percentage": false,
  395. "pointradius": 5,
  396. "points": false,
  397. "renderer": "flot",
  398. "seriesOverrides": [
  399. ],
  400. "spaceLength": 10,
  401. "span": 6,
  402. "stack": true,
  403. "steppedLine": false,
  404. "targets": [
  405. {
  406. "expr": "node:node_disk_utilisation:avg_irate / scalar(:kube_pod_info_node_count:)",
  407. "format": "time_series",
  408. "intervalFactor": 2,
  409. "legendFormat": "{{node}}",
  410. "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use",
  411. "step": 10
  412. }
  413. ],
  414. "thresholds": [
  415. ],
  416. "timeFrom": null,
  417. "timeShift": null,
  418. "title": "Disk IO Utilisation",
  419. "tooltip": {
  420. "shared": true,
  421. "sort": 0,
  422. "value_type": "individual"
  423. },
  424. "type": "graph",
  425. "xaxis": {
  426. "buckets": null,
  427. "mode": "time",
  428. "name": null,
  429. "show": true,
  430. "values": [
  431. ]
  432. },
  433. "yaxes": [
  434. {
  435. "format": "percentunit",
  436. "label": null,
  437. "logBase": 1,
  438. "max": 1,
  439. "min": 0,
  440. "show": true
  441. },
  442. {
  443. "format": "short",
  444. "label": null,
  445. "logBase": 1,
  446. "max": null,
  447. "min": null,
  448. "show": false
  449. }
  450. ]
  451. },
  452. {
  453. "aliasColors": {
  454. },
  455. "bars": false,
  456. "dashLength": 10,
  457. "dashes": false,
  458. "datasource": "$datasource",
  459. "fill": 10,
  460. "id": 5,
  461. "legend": {
  462. "avg": false,
  463. "current": false,
  464. "max": false,
  465. "min": false,
  466. "show": true,
  467. "total": false,
  468. "values": false
  469. },
  470. "lines": true,
  471. "linewidth": 0,
  472. "links": [
  473. ],
  474. "nullPointMode": "null as zero",
  475. "percentage": false,
  476. "pointradius": 5,
  477. "points": false,
  478. "renderer": "flot",
  479. "seriesOverrides": [
  480. ],
  481. "spaceLength": 10,
  482. "span": 6,
  483. "stack": true,
  484. "steppedLine": false,
  485. "targets": [
  486. {
  487. "expr": "node:node_disk_saturation:avg_irate / scalar(:kube_pod_info_node_count:)",
  488. "format": "time_series",
  489. "intervalFactor": 2,
  490. "legendFormat": "{{node}}",
  491. "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use",
  492. "step": 10
  493. }
  494. ],
  495. "thresholds": [
  496. ],
  497. "timeFrom": null,
  498. "timeShift": null,
  499. "title": "Disk IO Saturation",
  500. "tooltip": {
  501. "shared": true,
  502. "sort": 0,
  503. "value_type": "individual"
  504. },
  505. "type": "graph",
  506. "xaxis": {
  507. "buckets": null,
  508. "mode": "time",
  509. "name": null,
  510. "show": true,
  511. "values": [
  512. ]
  513. },
  514. "yaxes": [
  515. {
  516. "format": "percentunit",
  517. "label": null,
  518. "logBase": 1,
  519. "max": 1,
  520. "min": 0,
  521. "show": true
  522. },
  523. {
  524. "format": "short",
  525. "label": null,
  526. "logBase": 1,
  527. "max": null,
  528. "min": null,
  529. "show": false
  530. }
  531. ]
  532. }
  533. ],
  534. "repeat": null,
  535. "repeatIteration": null,
  536. "repeatRowId": null,
  537. "showTitle": true,
  538. "title": "Disk",
  539. "titleSize": "h6"
  540. },
  541. {
  542. "collapse": false,
  543. "height": "250px",
  544. "panels": [
  545. {
  546. "aliasColors": {
  547. },
  548. "bars": false,
  549. "dashLength": 10,
  550. "dashes": false,
  551. "datasource": "$datasource",
  552. "fill": 10,
  553. "id": 6,
  554. "legend": {
  555. "avg": false,
  556. "current": false,
  557. "max": false,
  558. "min": false,
  559. "show": true,
  560. "total": false,
  561. "values": false
  562. },
  563. "lines": true,
  564. "linewidth": 0,
  565. "links": [
  566. ],
  567. "nullPointMode": "null as zero",
  568. "percentage": false,
  569. "pointradius": 5,
  570. "points": false,
  571. "renderer": "flot",
  572. "seriesOverrides": [
  573. ],
  574. "spaceLength": 10,
  575. "span": 6,
  576. "stack": true,
  577. "steppedLine": false,
  578. "targets": [
  579. {
  580. "expr": "node:node_net_utilisation:sum_irate",
  581. "format": "time_series",
  582. "intervalFactor": 2,
  583. "legendFormat": "{{node}}",
  584. "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use",
  585. "step": 10
  586. }
  587. ],
  588. "thresholds": [
  589. ],
  590. "timeFrom": null,
  591. "timeShift": null,
  592. "title": "Net Utilisation (Transmitted)",
  593. "tooltip": {
  594. "shared": true,
  595. "sort": 0,
  596. "value_type": "individual"
  597. },
  598. "type": "graph",
  599. "xaxis": {
  600. "buckets": null,
  601. "mode": "time",
  602. "name": null,
  603. "show": true,
  604. "values": [
  605. ]
  606. },
  607. "yaxes": [
  608. {
  609. "format": "Bps",
  610. "label": null,
  611. "logBase": 1,
  612. "max": null,
  613. "min": 0,
  614. "show": true
  615. },
  616. {
  617. "format": "short",
  618. "label": null,
  619. "logBase": 1,
  620. "max": null,
  621. "min": null,
  622. "show": false
  623. }
  624. ]
  625. },
  626. {
  627. "aliasColors": {
  628. },
  629. "bars": false,
  630. "dashLength": 10,
  631. "dashes": false,
  632. "datasource": "$datasource",
  633. "fill": 10,
  634. "id": 7,
  635. "legend": {
  636. "avg": false,
  637. "current": false,
  638. "max": false,
  639. "min": false,
  640. "show": true,
  641. "total": false,
  642. "values": false
  643. },
  644. "lines": true,
  645. "linewidth": 0,
  646. "links": [
  647. ],
  648. "nullPointMode": "null as zero",
  649. "percentage": false,
  650. "pointradius": 5,
  651. "points": false,
  652. "renderer": "flot",
  653. "seriesOverrides": [
  654. ],
  655. "spaceLength": 10,
  656. "span": 6,
  657. "stack": true,
  658. "steppedLine": false,
  659. "targets": [
  660. {
  661. "expr": "node:node_net_saturation:sum_irate",
  662. "format": "time_series",
  663. "intervalFactor": 2,
  664. "legendFormat": "{{node}}",
  665. "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use",
  666. "step": 10
  667. }
  668. ],
  669. "thresholds": [
  670. ],
  671. "timeFrom": null,
  672. "timeShift": null,
  673. "title": "Net Saturation (Dropped)",
  674. "tooltip": {
  675. "shared": true,
  676. "sort": 0,
  677. "value_type": "individual"
  678. },
  679. "type": "graph",
  680. "xaxis": {
  681. "buckets": null,
  682. "mode": "time",
  683. "name": null,
  684. "show": true,
  685. "values": [
  686. ]
  687. },
  688. "yaxes": [
  689. {
  690. "format": "Bps",
  691. "label": null,
  692. "logBase": 1,
  693. "max": null,
  694. "min": 0,
  695. "show": true
  696. },
  697. {
  698. "format": "short",
  699. "label": null,
  700. "logBase": 1,
  701. "max": null,
  702. "min": null,
  703. "show": false
  704. }
  705. ]
  706. }
  707. ],
  708. "repeat": null,
  709. "repeatIteration": null,
  710. "repeatRowId": null,
  711. "showTitle": true,
  712. "title": "Network",
  713. "titleSize": "h6"
  714. },
  715. {
  716. "collapse": false,
  717. "height": "250px",
  718. "panels": [
  719. {
  720. "aliasColors": {
  721. },
  722. "bars": false,
  723. "dashLength": 10,
  724. "dashes": false,
  725. "datasource": "$datasource",
  726. "fill": 10,
  727. "id": 8,
  728. "legend": {
  729. "avg": false,
  730. "current": false,
  731. "max": false,
  732. "min": false,
  733. "show": true,
  734. "total": false,
  735. "values": false
  736. },
  737. "lines": true,
  738. "linewidth": 0,
  739. "links": [
  740. ],
  741. "nullPointMode": "null as zero",
  742. "percentage": false,
  743. "pointradius": 5,
  744. "points": false,
  745. "renderer": "flot",
  746. "seriesOverrides": [
  747. ],
  748. "spaceLength": 10,
  749. "span": 12,
  750. "stack": true,
  751. "steppedLine": false,
  752. "targets": [
  753. {
  754. "expr": "sum(max(node_filesystem_size_bytes{fstype=\u007e\"ext[234]|btrfs|xfs|zfs\"} - node_filesystem_avail_bytes{fstype=\u007e\"ext[234]|btrfs|xfs|zfs\"}) by (device,pod,namespace)) by (pod,namespace)\n/ scalar(sum(max(node_filesystem_size_bytes{fstype=\u007e\"ext[234]|btrfs|xfs|zfs\"}) by (device,pod,namespace)))\n* on (namespace, pod) group_left (node) node_namespace_pod:kube_pod_info:\n",
  755. "format": "time_series",
  756. "intervalFactor": 2,
  757. "legendFormat": "{{node}}",
  758. "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use",
  759. "step": 10
  760. }
  761. ],
  762. "thresholds": [
  763. ],
  764. "timeFrom": null,
  765. "timeShift": null,
  766. "title": "Disk Capacity",
  767. "tooltip": {
  768. "shared": true,
  769. "sort": 0,
  770. "value_type": "individual"
  771. },
  772. "type": "graph",
  773. "xaxis": {
  774. "buckets": null,
  775. "mode": "time",
  776. "name": null,
  777. "show": true,
  778. "values": [
  779. ]
  780. },
  781. "yaxes": [
  782. {
  783. "format": "percentunit",
  784. "label": null,
  785. "logBase": 1,
  786. "max": 1,
  787. "min": 0,
  788. "show": true
  789. },
  790. {
  791. "format": "short",
  792. "label": null,
  793. "logBase": 1,
  794. "max": null,
  795. "min": null,
  796. "show": false
  797. }
  798. ]
  799. }
  800. ],
  801. "repeat": null,
  802. "repeatIteration": null,
  803. "repeatRowId": null,
  804. "showTitle": true,
  805. "title": "Storage",
  806. "titleSize": "h6"
  807. }
  808. ],
  809. "schemaVersion": 14,
  810. "style": "dark",
  811. "tags": [
  812. ],
  813. "templating": {
  814. "list": [
  815. {
  816. "current": {
  817. "text": "Prometheus",
  818. "value": "Prometheus"
  819. },
  820. "hide": 0,
  821. "label": null,
  822. "name": "datasource",
  823. "options": [
  824. ],
  825. "query": "prometheus",
  826. "refresh": 1,
  827. "regex": "",
  828. "type": "datasource"
  829. }
  830. ]
  831. },
  832. "time": {
  833. "from": "now-1h",
  834. "to": "now"
  835. },
  836. "timepicker": {
  837. "refresh_intervals": [
  838. "5s",
  839. "10s",
  840. "30s",
  841. "1m",
  842. "5m",
  843. "15m",
  844. "30m",
  845. "1h",
  846. "2h",
  847. "1d"
  848. ],
  849. "time_options": [
  850. "5m",
  851. "15m",
  852. "1h",
  853. "6h",
  854. "12h",
  855. "24h",
  856. "2d",
  857. "7d",
  858. "30d"
  859. ]
  860. },
  861. "timezone": "",
  862. "title": "K8s / USE Method / Cluster",
  863. "uid": "a6e7d1362e1ddbb79db21d5bb40d7137",
  864. "version": 0
  865. }
  866. kind: ConfigMap
  867. metadata:
  868. name: grafana-dashboard-k8s-cluster-rsrc-use
  869. namespace: monitoring
  870. - apiVersion: v1
  871. data:
  872. k8s-node-rsrc-use.json: |-
  873. {
  874. "annotations": {
  875. "list": [
  876. ]
  877. },
  878. "editable": true,
  879. "gnetId": null,
  880. "graphTooltip": 0,
  881. "hideControls": false,
  882. "links": [
  883. ],
  884. "refresh": "10s",
  885. "rows": [
  886. {
  887. "collapse": false,
  888. "height": "250px",
  889. "panels": [
  890. {
  891. "aliasColors": {
  892. },
  893. "bars": false,
  894. "dashLength": 10,
  895. "dashes": false,
  896. "datasource": "$datasource",
  897. "fill": 1,
  898. "id": 0,
  899. "legend": {
  900. "avg": false,
  901. "current": false,
  902. "max": false,
  903. "min": false,
  904. "show": true,
  905. "total": false,
  906. "values": false
  907. },
  908. "lines": true,
  909. "linewidth": 1,
  910. "links": [
  911. ],
  912. "nullPointMode": "null as zero",
  913. "percentage": false,
  914. "pointradius": 5,
  915. "points": false,
  916. "renderer": "flot",
  917. "seriesOverrides": [
  918. ],
  919. "spaceLength": 10,
  920. "span": 6,
  921. "stack": false,
  922. "steppedLine": false,
  923. "targets": [
  924. {
  925. "expr": "node:node_cpu_utilisation:avg1m{node=\"$node\"}",
  926. "format": "time_series",
  927. "intervalFactor": 2,
  928. "legendFormat": "Utilisation",
  929. "legendLink": null,
  930. "step": 10
  931. }
  932. ],
  933. "thresholds": [
  934. ],
  935. "timeFrom": null,
  936. "timeShift": null,
  937. "title": "CPU Utilisation",
  938. "tooltip": {
  939. "shared": true,
  940. "sort": 0,
  941. "value_type": "individual"
  942. },
  943. "type": "graph",
  944. "xaxis": {
  945. "buckets": null,
  946. "mode": "time",
  947. "name": null,
  948. "show": true,
  949. "values": [
  950. ]
  951. },
  952. "yaxes": [
  953. {
  954. "format": "percentunit",
  955. "label": null,
  956. "logBase": 1,
  957. "max": null,
  958. "min": 0,
  959. "show": true
  960. },
  961. {
  962. "format": "short",
  963. "label": null,
  964. "logBase": 1,
  965. "max": null,
  966. "min": null,
  967. "show": false
  968. }
  969. ]
  970. },
  971. {
  972. "aliasColors": {
  973. },
  974. "bars": false,
  975. "dashLength": 10,
  976. "dashes": false,
  977. "datasource": "$datasource",
  978. "fill": 1,
  979. "id": 1,
  980. "legend": {
  981. "avg": false,
  982. "current": false,
  983. "max": false,
  984. "min": false,
  985. "show": true,
  986. "total": false,
  987. "values": false
  988. },
  989. "lines": true,
  990. "linewidth": 1,
  991. "links": [
  992. ],
  993. "nullPointMode": "null as zero",
  994. "percentage": false,
  995. "pointradius": 5,
  996. "points": false,
  997. "renderer": "flot",
  998. "seriesOverrides": [
  999. ],
  1000. "spaceLength": 10,
  1001. "span": 6,
  1002. "stack": false,
  1003. "steppedLine": false,
  1004. "targets": [
  1005. {
  1006. "expr": "node:node_cpu_saturation_load1:{node=\"$node\"}",
  1007. "format": "time_series",
  1008. "intervalFactor": 2,
  1009. "legendFormat": "Saturation",
  1010. "legendLink": null,
  1011. "step": 10
  1012. }
  1013. ],
  1014. "thresholds": [
  1015. ],
  1016. "timeFrom": null,
  1017. "timeShift": null,
  1018. "title": "CPU Saturation (Load1)",
  1019. "tooltip": {
  1020. "shared": true,
  1021. "sort": 0,
  1022. "value_type": "individual"
  1023. },
  1024. "type": "graph",
  1025. "xaxis": {
  1026. "buckets": null,
  1027. "mode": "time",
  1028. "name": null,
  1029. "show": true,
  1030. "values": [
  1031. ]
  1032. },
  1033. "yaxes": [
  1034. {
  1035. "format": "percentunit",
  1036. "label": null,
  1037. "logBase": 1,
  1038. "max": null,
  1039. "min": 0,
  1040. "show": true
  1041. },
  1042. {
  1043. "format": "short",
  1044. "label": null,
  1045. "logBase": 1,
  1046. "max": null,
  1047. "min": null,
  1048. "show": false
  1049. }
  1050. ]
  1051. }
  1052. ],
  1053. "repeat": null,
  1054. "repeatIteration": null,
  1055. "repeatRowId": null,
  1056. "showTitle": true,
  1057. "title": "CPU",
  1058. "titleSize": "h6"
  1059. },
  1060. {
  1061. "collapse": false,
  1062. "height": "250px",
  1063. "panels": [
  1064. {
  1065. "aliasColors": {
  1066. },
  1067. "bars": false,
  1068. "dashLength": 10,
  1069. "dashes": false,
  1070. "datasource": "$datasource",
  1071. "fill": 1,
  1072. "id": 2,
  1073. "legend": {
  1074. "avg": false,
  1075. "current": false,
  1076. "max": false,
  1077. "min": false,
  1078. "show": true,
  1079. "total": false,
  1080. "values": false
  1081. },
  1082. "lines": true,
  1083. "linewidth": 1,
  1084. "links": [
  1085. ],
  1086. "nullPointMode": "null as zero",
  1087. "percentage": false,
  1088. "pointradius": 5,
  1089. "points": false,
  1090. "renderer": "flot",
  1091. "seriesOverrides": [
  1092. ],
  1093. "spaceLength": 10,
  1094. "span": 6,
  1095. "stack": false,
  1096. "steppedLine": false,
  1097. "targets": [
  1098. {
  1099. "expr": "node:node_memory_utilisation:{node=\"$node\"}",
  1100. "format": "time_series",
  1101. "intervalFactor": 2,
  1102. "legendFormat": "Memory",
  1103. "legendLink": null,
  1104. "step": 10
  1105. }
  1106. ],
  1107. "thresholds": [
  1108. ],
  1109. "timeFrom": null,
  1110. "timeShift": null,
  1111. "title": "Memory Utilisation",
  1112. "tooltip": {
  1113. "shared": true,
  1114. "sort": 0,
  1115. "value_type": "individual"
  1116. },
  1117. "type": "graph",
  1118. "xaxis": {
  1119. "buckets": null,
  1120. "mode": "time",
  1121. "name": null,
  1122. "show": true,
  1123. "values": [
  1124. ]
  1125. },
  1126. "yaxes": [
  1127. {
  1128. "format": "percentunit",
  1129. "label": null,
  1130. "logBase": 1,
  1131. "max": null,
  1132. "min": 0,
  1133. "show": true
  1134. },
  1135. {
  1136. "format": "short",
  1137. "label": null,
  1138. "logBase": 1,
  1139. "max": null,
  1140. "min": null,
  1141. "show": false
  1142. }
  1143. ]
  1144. },
  1145. {
  1146. "aliasColors": {
  1147. },
  1148. "bars": false,
  1149. "dashLength": 10,
  1150. "dashes": false,
  1151. "datasource": "$datasource",
  1152. "fill": 1,
  1153. "id": 3,
  1154. "legend": {
  1155. "avg": false,
  1156. "current": false,
  1157. "max": false,
  1158. "min": false,
  1159. "show": true,
  1160. "total": false,
  1161. "values": false
  1162. },
  1163. "lines": true,
  1164. "linewidth": 1,
  1165. "links": [
  1166. ],
  1167. "nullPointMode": "null as zero",
  1168. "percentage": false,
  1169. "pointradius": 5,
  1170. "points": false,
  1171. "renderer": "flot",
  1172. "seriesOverrides": [
  1173. ],
  1174. "spaceLength": 10,
  1175. "span": 6,
  1176. "stack": false,
  1177. "steppedLine": false,
  1178. "targets": [
  1179. {
  1180. "expr": "node:node_memory_swap_io_bytes:sum_rate{node=\"$node\"}",
  1181. "format": "time_series",
  1182. "intervalFactor": 2,
  1183. "legendFormat": "Swap IO",
  1184. "legendLink": null,
  1185. "step": 10
  1186. }
  1187. ],
  1188. "thresholds": [
  1189. ],
  1190. "timeFrom": null,
  1191. "timeShift": null,
  1192. "title": "Memory Saturation (Swap I/O)",
  1193. "tooltip": {
  1194. "shared": true,
  1195. "sort": 0,
  1196. "value_type": "individual"
  1197. },
  1198. "type": "graph",
  1199. "xaxis": {
  1200. "buckets": null,
  1201. "mode": "time",
  1202. "name": null,
  1203. "show": true,
  1204. "values": [
  1205. ]
  1206. },
  1207. "yaxes": [
  1208. {
  1209. "format": "Bps",
  1210. "label": null,
  1211. "logBase": 1,
  1212. "max": null,
  1213. "min": 0,
  1214. "show": true
  1215. },
  1216. {
  1217. "format": "short",
  1218. "label": null,
  1219. "logBase": 1,
  1220. "max": null,
  1221. "min": null,
  1222. "show": false
  1223. }
  1224. ]
  1225. }
  1226. ],
  1227. "repeat": null,
  1228. "repeatIteration": null,
  1229. "repeatRowId": null,
  1230. "showTitle": true,
  1231. "title": "Memory",
  1232. "titleSize": "h6"
  1233. },
  1234. {
  1235. "collapse": false,
  1236. "height": "250px",
  1237. "panels": [
  1238. {
  1239. "aliasColors": {
  1240. },
  1241. "bars": false,
  1242. "dashLength": 10,
  1243. "dashes": false,
  1244. "datasource": "$datasource",
  1245. "fill": 1,
  1246. "id": 4,
  1247. "legend": {
  1248. "avg": false,
  1249. "current": false,
  1250. "max": false,
  1251. "min": false,
  1252. "show": true,
  1253. "total": false,
  1254. "values": false
  1255. },
  1256. "lines": true,
  1257. "linewidth": 1,
  1258. "links": [
  1259. ],
  1260. "nullPointMode": "null as zero",
  1261. "percentage": false,
  1262. "pointradius": 5,
  1263. "points": false,
  1264. "renderer": "flot",
  1265. "seriesOverrides": [
  1266. ],
  1267. "spaceLength": 10,
  1268. "span": 6,
  1269. "stack": false,
  1270. "steppedLine": false,
  1271. "targets": [
  1272. {
  1273. "expr": "node:node_disk_utilisation:avg_irate{node=\"$node\"}",
  1274. "format": "time_series",
  1275. "intervalFactor": 2,
  1276. "legendFormat": "Utilisation",
  1277. "legendLink": null,
  1278. "step": 10
  1279. }
  1280. ],
  1281. "thresholds": [
  1282. ],
  1283. "timeFrom": null,
  1284. "timeShift": null,
  1285. "title": "Disk IO Utilisation",
  1286. "tooltip": {
  1287. "shared": true,
  1288. "sort": 0,
  1289. "value_type": "individual"
  1290. },
  1291. "type": "graph",
  1292. "xaxis": {
  1293. "buckets": null,
  1294. "mode": "time",
  1295. "name": null,
  1296. "show": true,
  1297. "values": [
  1298. ]
  1299. },
  1300. "yaxes": [
  1301. {
  1302. "format": "percentunit",
  1303. "label": null,
  1304. "logBase": 1,
  1305. "max": null,
  1306. "min": 0,
  1307. "show": true
  1308. },
  1309. {
  1310. "format": "short",
  1311. "label": null,
  1312. "logBase": 1,
  1313. "max": null,
  1314. "min": null,
  1315. "show": false
  1316. }
  1317. ]
  1318. },
  1319. {
  1320. "aliasColors": {
  1321. },
  1322. "bars": false,
  1323. "dashLength": 10,
  1324. "dashes": false,
  1325. "datasource": "$datasource",
  1326. "fill": 1,
  1327. "id": 5,
  1328. "legend": {
  1329. "avg": false,
  1330. "current": false,
  1331. "max": false,
  1332. "min": false,
  1333. "show": true,
  1334. "total": false,
  1335. "values": false
  1336. },
  1337. "lines": true,
  1338. "linewidth": 1,
  1339. "links": [
  1340. ],
  1341. "nullPointMode": "null as zero",
  1342. "percentage": false,
  1343. "pointradius": 5,
  1344. "points": false,
  1345. "renderer": "flot",
  1346. "seriesOverrides": [
  1347. ],
  1348. "spaceLength": 10,
  1349. "span": 6,
  1350. "stack": false,
  1351. "steppedLine": false,
  1352. "targets": [
  1353. {
  1354. "expr": "node:node_disk_saturation:avg_irate{node=\"$node\"}",
  1355. "format": "time_series",
  1356. "intervalFactor": 2,
  1357. "legendFormat": "Saturation",
  1358. "legendLink": null,
  1359. "step": 10
  1360. }
  1361. ],
  1362. "thresholds": [
  1363. ],
  1364. "timeFrom": null,
  1365. "timeShift": null,
  1366. "title": "Disk IO Saturation",
  1367. "tooltip": {
  1368. "shared": true,
  1369. "sort": 0,
  1370. "value_type": "individual"
  1371. },
  1372. "type": "graph",
  1373. "xaxis": {
  1374. "buckets": null,
  1375. "mode": "time",
  1376. "name": null,
  1377. "show": true,
  1378. "values": [
  1379. ]
  1380. },
  1381. "yaxes": [
  1382. {
  1383. "format": "percentunit",
  1384. "label": null,
  1385. "logBase": 1,
  1386. "max": null,
  1387. "min": 0,
  1388. "show": true
  1389. },
  1390. {
  1391. "format": "short",
  1392. "label": null,
  1393. "logBase": 1,
  1394. "max": null,
  1395. "min": null,
  1396. "show": false
  1397. }
  1398. ]
  1399. }
  1400. ],
  1401. "repeat": null,
  1402. "repeatIteration": null,
  1403. "repeatRowId": null,
  1404. "showTitle": true,
  1405. "title": "Disk",
  1406. "titleSize": "h6"
  1407. },
  1408. {
  1409. "collapse": false,
  1410. "height": "250px",
  1411. "panels": [
  1412. {
  1413. "aliasColors": {
  1414. },
  1415. "bars": false,
  1416. "dashLength": 10,
  1417. "dashes": false,
  1418. "datasource": "$datasource",
  1419. "fill": 1,
  1420. "id": 6,
  1421. "legend": {
  1422. "avg": false,
  1423. "current": false,
  1424. "max": false,
  1425. "min": false,
  1426. "show": true,
  1427. "total": false,
  1428. "values": false
  1429. },
  1430. "lines": true,
  1431. "linewidth": 1,
  1432. "links": [
  1433. ],
  1434. "nullPointMode": "null as zero",
  1435. "percentage": false,
  1436. "pointradius": 5,
  1437. "points": false,
  1438. "renderer": "flot",
  1439. "seriesOverrides": [
  1440. ],
  1441. "spaceLength": 10,
  1442. "span": 6,
  1443. "stack": false,
  1444. "steppedLine": false,
  1445. "targets": [
  1446. {
  1447. "expr": "node:node_net_utilisation:sum_irate{node=\"$node\"}",
  1448. "format": "time_series",
  1449. "intervalFactor": 2,
  1450. "legendFormat": "Utilisation",
  1451. "legendLink": null,
  1452. "step": 10
  1453. }
  1454. ],
  1455. "thresholds": [
  1456. ],
  1457. "timeFrom": null,
  1458. "timeShift": null,
  1459. "title": "Net Utilisation (Transmitted)",
  1460. "tooltip": {
  1461. "shared": true,
  1462. "sort": 0,
  1463. "value_type": "individual"
  1464. },
  1465. "type": "graph",
  1466. "xaxis": {
  1467. "buckets": null,
  1468. "mode": "time",
  1469. "name": null,
  1470. "show": true,
  1471. "values": [
  1472. ]
  1473. },
  1474. "yaxes": [
  1475. {
  1476. "format": "Bps",
  1477. "label": null,
  1478. "logBase": 1,
  1479. "max": null,
  1480. "min": 0,
  1481. "show": true
  1482. },
  1483. {
  1484. "format": "short",
  1485. "label": null,
  1486. "logBase": 1,
  1487. "max": null,
  1488. "min": null,
  1489. "show": false
  1490. }
  1491. ]
  1492. },
  1493. {
  1494. "aliasColors": {
  1495. },
  1496. "bars": false,
  1497. "dashLength": 10,
  1498. "dashes": false,
  1499. "datasource": "$datasource",
  1500. "fill": 1,
  1501. "id": 7,
  1502. "legend": {
  1503. "avg": false,
  1504. "current": false,
  1505. "max": false,
  1506. "min": false,
  1507. "show": true,
  1508. "total": false,
  1509. "values": false
  1510. },
  1511. "lines": true,
  1512. "linewidth": 1,
  1513. "links": [
  1514. ],
  1515. "nullPointMode": "null as zero",
  1516. "percentage": false,
  1517. "pointradius": 5,
  1518. "points": false,
  1519. "renderer": "flot",
  1520. "seriesOverrides": [
  1521. ],
  1522. "spaceLength": 10,
  1523. "span": 6,
  1524. "stack": false,
  1525. "steppedLine": false,
  1526. "targets": [
  1527. {
  1528. "expr": "node:node_net_saturation:sum_irate{node=\"$node\"}",
  1529. "format": "time_series",
  1530. "intervalFactor": 2,
  1531. "legendFormat": "Saturation",
  1532. "legendLink": null,
  1533. "step": 10
  1534. }
  1535. ],
  1536. "thresholds": [
  1537. ],
  1538. "timeFrom": null,
  1539. "timeShift": null,
  1540. "title": "Net Saturation (Dropped)",
  1541. "tooltip": {
  1542. "shared": true,
  1543. "sort": 0,
  1544. "value_type": "individual"
  1545. },
  1546. "type": "graph",
  1547. "xaxis": {
  1548. "buckets": null,
  1549. "mode": "time",
  1550. "name": null,
  1551. "show": true,
  1552. "values": [
  1553. ]
  1554. },
  1555. "yaxes": [
  1556. {
  1557. "format": "Bps",
  1558. "label": null,
  1559. "logBase": 1,
  1560. "max": null,
  1561. "min": 0,
  1562. "show": true
  1563. },
  1564. {
  1565. "format": "short",
  1566. "label": null,
  1567. "logBase": 1,
  1568. "max": null,
  1569. "min": null,
  1570. "show": false
  1571. }
  1572. ]
  1573. }
  1574. ],
  1575. "repeat": null,
  1576. "repeatIteration": null,
  1577. "repeatRowId": null,
  1578. "showTitle": true,
  1579. "title": "Net",
  1580. "titleSize": "h6"
  1581. },
  1582. {
  1583. "collapse": false,
  1584. "height": "250px",
  1585. "panels": [
  1586. {
  1587. "aliasColors": {
  1588. },
  1589. "bars": false,
  1590. "dashLength": 10,
  1591. "dashes": false,
  1592. "datasource": "$datasource",
  1593. "fill": 1,
  1594. "id": 8,
  1595. "legend": {
  1596. "avg": false,
  1597. "current": false,
  1598. "max": false,
  1599. "min": false,
  1600. "show": true,
  1601. "total": false,
  1602. "values": false
  1603. },
  1604. "lines": true,
  1605. "linewidth": 1,
  1606. "links": [
  1607. ],
  1608. "nullPointMode": "null as zero",
  1609. "percentage": false,
  1610. "pointradius": 5,
  1611. "points": false,
  1612. "renderer": "flot",
  1613. "seriesOverrides": [
  1614. ],
  1615. "spaceLength": 10,
  1616. "span": 12,
  1617. "stack": false,
  1618. "steppedLine": false,
  1619. "targets": [
  1620. {
  1621. "expr": "node:node_filesystem_usage:\n* on (namespace, pod) group_left (node) node_namespace_pod:kube_pod_info:{node=\"$node\"}\n",
  1622. "format": "time_series",
  1623. "intervalFactor": 2,
  1624. "legendFormat": "{{device}}",
  1625. "legendLink": null,
  1626. "step": 10
  1627. }
  1628. ],
  1629. "thresholds": [
  1630. ],
  1631. "timeFrom": null,
  1632. "timeShift": null,
  1633. "title": "Disk Utilisation",
  1634. "tooltip": {
  1635. "shared": true,
  1636. "sort": 0,
  1637. "value_type": "individual"
  1638. },
  1639. "type": "graph",
  1640. "xaxis": {
  1641. "buckets": null,
  1642. "mode": "time",
  1643. "name": null,
  1644. "show": true,
  1645. "values": [
  1646. ]
  1647. },
  1648. "yaxes": [
  1649. {
  1650. "format": "percentunit",
  1651. "label": null,
  1652. "logBase": 1,
  1653. "max": null,
  1654. "min": 0,
  1655. "show": true
  1656. },
  1657. {
  1658. "format": "short",
  1659. "label": null,
  1660. "logBase": 1,
  1661. "max": null,
  1662. "min": null,
  1663. "show": false
  1664. }
  1665. ]
  1666. }
  1667. ],
  1668. "repeat": null,
  1669. "repeatIteration": null,
  1670. "repeatRowId": null,
  1671. "showTitle": true,
  1672. "title": "Disk",
  1673. "titleSize": "h6"
  1674. }
  1675. ],
  1676. "schemaVersion": 14,
  1677. "style": "dark",
  1678. "tags": [
  1679. ],
  1680. "templating": {
  1681. "list": [
  1682. {
  1683. "current": {
  1684. "text": "Prometheus",
  1685. "value": "Prometheus"
  1686. },
  1687. "hide": 0,
  1688. "label": null,
  1689. "name": "datasource",
  1690. "options": [
  1691. ],
  1692. "query": "prometheus",
  1693. "refresh": 1,
  1694. "regex": "",
  1695. "type": "datasource"
  1696. },
  1697. {
  1698. "allValue": null,
  1699. "current": {
  1700. "text": "prod",
  1701. "value": "prod"
  1702. },
  1703. "datasource": "$datasource",
  1704. "hide": 0,
  1705. "includeAll": false,
  1706. "label": "node",
  1707. "multi": false,
  1708. "name": "node",
  1709. "options": [
  1710. ],
  1711. "query": "label_values(kube_node_info, node)",
  1712. "refresh": 1,
  1713. "regex": "",
  1714. "sort": 2,
  1715. "tagValuesQuery": "",
  1716. "tags": [
  1717. ],
  1718. "tagsQuery": "",
  1719. "type": "query",
  1720. "useTags": false
  1721. }
  1722. ]
  1723. },
  1724. "time": {
  1725. "from": "now-1h",
  1726. "to": "now"
  1727. },
  1728. "timepicker": {
  1729. "refresh_intervals": [
  1730. "5s",
  1731. "10s",
  1732. "30s",
  1733. "1m",
  1734. "5m",
  1735. "15m",
  1736. "30m",
  1737. "1h",
  1738. "2h",
  1739. "1d"
  1740. ],
  1741. "time_options": [
  1742. "5m",
  1743. "15m",
  1744. "1h",
  1745. "6h",
  1746. "12h",
  1747. "24h",
  1748. "2d",
  1749. "7d",
  1750. "30d"
  1751. ]
  1752. },
  1753. "timezone": "",
  1754. "title": "K8s / USE Method / Node",
  1755. "uid": "4ac4f123aae0ff6dbaf4f4f66120033b",
  1756. "version": 0
  1757. }
  1758. kind: ConfigMap
  1759. metadata:
  1760. name: grafana-dashboard-k8s-node-rsrc-use
  1761. namespace: monitoring
  1762. - apiVersion: v1
  1763. data:
  1764. k8s-resources-cluster.json: |-
  1765. {
  1766. "annotations": {
  1767. "list": [
  1768. ]
  1769. },
  1770. "editable": true,
  1771. "gnetId": null,
  1772. "graphTooltip": 0,
  1773. "hideControls": false,
  1774. "links": [
  1775. ],
  1776. "refresh": "10s",
  1777. "rows": [
  1778. {
  1779. "collapse": false,
  1780. "height": "100px",
  1781. "panels": [
  1782. {
  1783. "aliasColors": {
  1784. },
  1785. "bars": false,
  1786. "dashLength": 10,
  1787. "dashes": false,
  1788. "datasource": "$datasource",
  1789. "fill": 1,
  1790. "format": "percentunit",
  1791. "id": 0,
  1792. "legend": {
  1793. "avg": false,
  1794. "current": false,
  1795. "max": false,
  1796. "min": false,
  1797. "show": true,
  1798. "total": false,
  1799. "values": false
  1800. },
  1801. "lines": true,
  1802. "linewidth": 1,
  1803. "links": [
  1804. ],
  1805. "nullPointMode": "null as zero",
  1806. "percentage": false,
  1807. "pointradius": 5,
  1808. "points": false,
  1809. "renderer": "flot",
  1810. "seriesOverrides": [
  1811. ],
  1812. "spaceLength": 10,
  1813. "span": 2,
  1814. "stack": false,
  1815. "steppedLine": false,
  1816. "targets": [
  1817. {
  1818. "expr": "1 - avg(rate(node_cpu_seconds_total{mode=\"idle\"}[1m]))",
  1819. "format": "time_series",
  1820. "instant": true,
  1821. "intervalFactor": 2,
  1822. "refId": "A"
  1823. }
  1824. ],
  1825. "thresholds": "70,80",
  1826. "timeFrom": null,
  1827. "timeShift": null,
  1828. "title": "CPU Utilisation",
  1829. "tooltip": {
  1830. "shared": true,
  1831. "sort": 0,
  1832. "value_type": "individual"
  1833. },
  1834. "type": "singlestat",
  1835. "xaxis": {
  1836. "buckets": null,
  1837. "mode": "time",
  1838. "name": null,
  1839. "show": true,
  1840. "values": [
  1841. ]
  1842. },
  1843. "yaxes": [
  1844. {
  1845. "format": "short",
  1846. "label": null,
  1847. "logBase": 1,
  1848. "max": null,
  1849. "min": 0,
  1850. "show": true
  1851. },
  1852. {
  1853. "format": "short",
  1854. "label": null,
  1855. "logBase": 1,
  1856. "max": null,
  1857. "min": null,
  1858. "show": false
  1859. }
  1860. ]
  1861. },
  1862. {
  1863. "aliasColors": {
  1864. },
  1865. "bars": false,
  1866. "dashLength": 10,
  1867. "dashes": false,
  1868. "datasource": "$datasource",
  1869. "fill": 1,
  1870. "format": "percentunit",
  1871. "id": 1,
  1872. "legend": {
  1873. "avg": false,
  1874. "current": false,
  1875. "max": false,
  1876. "min": false,
  1877. "show": true,
  1878. "total": false,
  1879. "values": false
  1880. },
  1881. "lines": true,
  1882. "linewidth": 1,
  1883. "links": [
  1884. ],
  1885. "nullPointMode": "null as zero",
  1886. "percentage": false,
  1887. "pointradius": 5,
  1888. "points": false,
  1889. "renderer": "flot",
  1890. "seriesOverrides": [
  1891. ],
  1892. "spaceLength": 10,
  1893. "span": 2,
  1894. "stack": false,
  1895. "steppedLine": false,
  1896. "targets": [
  1897. {
  1898. "expr": "sum(kube_pod_container_resource_requests_cpu_cores) / sum(node:node_num_cpu:sum)",
  1899. "format": "time_series",
  1900. "instant": true,
  1901. "intervalFactor": 2,
  1902. "refId": "A"
  1903. }
  1904. ],
  1905. "thresholds": "70,80",
  1906. "timeFrom": null,
  1907. "timeShift": null,
  1908. "title": "CPU Requests Commitment",
  1909. "tooltip": {
  1910. "shared": true,
  1911. "sort": 0,
  1912. "value_type": "individual"
  1913. },
  1914. "type": "singlestat",
  1915. "xaxis": {
  1916. "buckets": null,
  1917. "mode": "time",
  1918. "name": null,
  1919. "show": true,
  1920. "values": [
  1921. ]
  1922. },
  1923. "yaxes": [
  1924. {
  1925. "format": "short",
  1926. "label": null,
  1927. "logBase": 1,
  1928. "max": null,
  1929. "min": 0,
  1930. "show": true
  1931. },
  1932. {
  1933. "format": "short",
  1934. "label": null,
  1935. "logBase": 1,
  1936. "max": null,
  1937. "min": null,
  1938. "show": false
  1939. }
  1940. ]
  1941. },
  1942. {
  1943. "aliasColors": {
  1944. },
  1945. "bars": false,
  1946. "dashLength": 10,
  1947. "dashes": false,
  1948. "datasource": "$datasource",
  1949. "fill": 1,
  1950. "format": "percentunit",
  1951. "id": 2,
  1952. "legend": {
  1953. "avg": false,
  1954. "current": false,
  1955. "max": false,
  1956. "min": false,
  1957. "show": true,
  1958. "total": false,
  1959. "values": false
  1960. },
  1961. "lines": true,
  1962. "linewidth": 1,
  1963. "links": [
  1964. ],
  1965. "nullPointMode": "null as zero",
  1966. "percentage": false,
  1967. "pointradius": 5,
  1968. "points": false,
  1969. "renderer": "flot",
  1970. "seriesOverrides": [
  1971. ],
  1972. "spaceLength": 10,
  1973. "span": 2,
  1974. "stack": false,
  1975. "steppedLine": false,
  1976. "targets": [
  1977. {
  1978. "expr": "sum(kube_pod_container_resource_limits_cpu_cores) / sum(node:node_num_cpu:sum)",
  1979. "format": "time_series",
  1980. "instant": true,
  1981. "intervalFactor": 2,
  1982. "refId": "A"
  1983. }
  1984. ],
  1985. "thresholds": "70,80",
  1986. "timeFrom": null,
  1987. "timeShift": null,
  1988. "title": "CPU Limits Commitment",
  1989. "tooltip": {
  1990. "shared": true,
  1991. "sort": 0,
  1992. "value_type": "individual"
  1993. },
  1994. "type": "singlestat",
  1995. "xaxis": {
  1996. "buckets": null,
  1997. "mode": "time",
  1998. "name": null,
  1999. "show": true,
  2000. "values": [
  2001. ]
  2002. },
  2003. "yaxes": [
  2004. {
  2005. "format": "short",
  2006. "label": null,
  2007. "logBase": 1,
  2008. "max": null,
  2009. "min": 0,
  2010. "show": true
  2011. },
  2012. {
  2013. "format": "short",
  2014. "label": null,
  2015. "logBase": 1,
  2016. "max": null,
  2017. "min": null,
  2018. "show": false
  2019. }
  2020. ]
  2021. },
  2022. {
  2023. "aliasColors": {
  2024. },
  2025. "bars": false,
  2026. "dashLength": 10,
  2027. "dashes": false,
  2028. "datasource": "$datasource",
  2029. "fill": 1,
  2030. "format": "percentunit",
  2031. "id": 3,
  2032. "legend": {
  2033. "avg": false,
  2034. "current": false,
  2035. "max": false,
  2036. "min": false,
  2037. "show": true,
  2038. "total": false,
  2039. "values": false
  2040. },
  2041. "lines": true,
  2042. "linewidth": 1,
  2043. "links": [
  2044. ],
  2045. "nullPointMode": "null as zero",
  2046. "percentage": false,
  2047. "pointradius": 5,
  2048. "points": false,
  2049. "renderer": "flot",
  2050. "seriesOverrides": [
  2051. ],
  2052. "spaceLength": 10,
  2053. "span": 2,
  2054. "stack": false,
  2055. "steppedLine": false,
  2056. "targets": [
  2057. {
  2058. "expr": "1 - sum(:node_memory_MemFreeCachedBuffers_bytes:sum) / sum(:node_memory_MemTotal_bytes:sum)",
  2059. "format": "time_series",
  2060. "instant": true,
  2061. "intervalFactor": 2,
  2062. "refId": "A"
  2063. }
  2064. ],
  2065. "thresholds": "70,80",
  2066. "timeFrom": null,
  2067. "timeShift": null,
  2068. "title": "Memory Utilisation",
  2069. "tooltip": {
  2070. "shared": true,
  2071. "sort": 0,
  2072. "value_type": "individual"
  2073. },
  2074. "type": "singlestat",
  2075. "xaxis": {
  2076. "buckets": null,
  2077. "mode": "time",
  2078. "name": null,
  2079. "show": true,
  2080. "values": [
  2081. ]
  2082. },
  2083. "yaxes": [
  2084. {
  2085. "format": "short",
  2086. "label": null,
  2087. "logBase": 1,
  2088. "max": null,
  2089. "min": 0,
  2090. "show": true
  2091. },
  2092. {
  2093. "format": "short",
  2094. "label": null,
  2095. "logBase": 1,
  2096. "max": null,
  2097. "min": null,
  2098. "show": false
  2099. }
  2100. ]
  2101. },
  2102. {
  2103. "aliasColors": {
  2104. },
  2105. "bars": false,
  2106. "dashLength": 10,
  2107. "dashes": false,
  2108. "datasource": "$datasource",
  2109. "fill": 1,
  2110. "format": "percentunit",
  2111. "id": 4,
  2112. "legend": {
  2113. "avg": false,
  2114. "current": false,
  2115. "max": false,
  2116. "min": false,
  2117. "show": true,
  2118. "total": false,
  2119. "values": false
  2120. },
  2121. "lines": true,
  2122. "linewidth": 1,
  2123. "links": [
  2124. ],
  2125. "nullPointMode": "null as zero",
  2126. "percentage": false,
  2127. "pointradius": 5,
  2128. "points": false,
  2129. "renderer": "flot",
  2130. "seriesOverrides": [
  2131. ],
  2132. "spaceLength": 10,
  2133. "span": 2,
  2134. "stack": false,
  2135. "steppedLine": false,
  2136. "targets": [
  2137. {
  2138. "expr": "sum(kube_pod_container_resource_requests_memory_bytes) / sum(:node_memory_MemTotal_bytes:sum)",
  2139. "format": "time_series",
  2140. "instant": true,
  2141. "intervalFactor": 2,
  2142. "refId": "A"
  2143. }
  2144. ],
  2145. "thresholds": "70,80",
  2146. "timeFrom": null,
  2147. "timeShift": null,
  2148. "title": "Memory Requests Commitment",
  2149. "tooltip": {
  2150. "shared": true,
  2151. "sort": 0,
  2152. "value_type": "individual"
  2153. },
  2154. "type": "singlestat",
  2155. "xaxis": {
  2156. "buckets": null,
  2157. "mode": "time",
  2158. "name": null,
  2159. "show": true,
  2160. "values": [
  2161. ]
  2162. },
  2163. "yaxes": [
  2164. {
  2165. "format": "short",
  2166. "label": null,
  2167. "logBase": 1,
  2168. "max": null,
  2169. "min": 0,
  2170. "show": true
  2171. },
  2172. {
  2173. "format": "short",
  2174. "label": null,
  2175. "logBase": 1,
  2176. "max": null,
  2177. "min": null,
  2178. "show": false
  2179. }
  2180. ]
  2181. },
  2182. {
  2183. "aliasColors": {
  2184. },
  2185. "bars": false,
  2186. "dashLength": 10,
  2187. "dashes": false,
  2188. "datasource": "$datasource",
  2189. "fill": 1,
  2190. "format": "percentunit",
  2191. "id": 5,
  2192. "legend": {
  2193. "avg": false,
  2194. "current": false,
  2195. "max": false,
  2196. "min": false,
  2197. "show": true,
  2198. "total": false,
  2199. "values": false
  2200. },
  2201. "lines": true,
  2202. "linewidth": 1,
  2203. "links": [
  2204. ],
  2205. "nullPointMode": "null as zero",
  2206. "percentage": false,
  2207. "pointradius": 5,
  2208. "points": false,
  2209. "renderer": "flot",
  2210. "seriesOverrides": [
  2211. ],
  2212. "spaceLength": 10,
  2213. "span": 2,
  2214. "stack": false,
  2215. "steppedLine": false,
  2216. "targets": [
  2217. {
  2218. "expr": "sum(kube_pod_container_resource_limits_memory_bytes) / sum(:node_memory_MemTotal_bytes:sum)",
  2219. "format": "time_series",
  2220. "instant": true,
  2221. "intervalFactor": 2,
  2222. "refId": "A"
  2223. }
  2224. ],
  2225. "thresholds": "70,80",
  2226. "timeFrom": null,
  2227. "timeShift": null,
  2228. "title": "Memory Limits Commitment",
  2229. "tooltip": {
  2230. "shared": true,
  2231. "sort": 0,
  2232. "value_type": "individual"
  2233. },
  2234. "type": "singlestat",
  2235. "xaxis": {
  2236. "buckets": null,
  2237. "mode": "time",
  2238. "name": null,
  2239. "show": true,
  2240. "values": [
  2241. ]
  2242. },
  2243. "yaxes": [
  2244. {
  2245. "format": "short",
  2246. "label": null,
  2247. "logBase": 1,
  2248. "max": null,
  2249. "min": 0,
  2250. "show": true
  2251. },
  2252. {
  2253. "format": "short",
  2254. "label": null,
  2255. "logBase": 1,
  2256. "max": null,
  2257. "min": null,
  2258. "show": false
  2259. }
  2260. ]
  2261. }
  2262. ],
  2263. "repeat": null,
  2264. "repeatIteration": null,
  2265. "repeatRowId": null,
  2266. "showTitle": false,
  2267. "title": "Headlines",
  2268. "titleSize": "h6"
  2269. },
  2270. {
  2271. "collapse": false,
  2272. "height": "250px",
  2273. "panels": [
  2274. {
  2275. "aliasColors": {
  2276. },
  2277. "bars": false,
  2278. "dashLength": 10,
  2279. "dashes": false,
  2280. "datasource": "$datasource",
  2281. "fill": 10,
  2282. "id": 6,
  2283. "legend": {
  2284. "avg": false,
  2285. "current": false,
  2286. "max": false,
  2287. "min": false,
  2288. "show": true,
  2289. "total": false,
  2290. "values": false
  2291. },
  2292. "lines": true,
  2293. "linewidth": 0,
  2294. "links": [
  2295. ],
  2296. "nullPointMode": "null as zero",
  2297. "percentage": false,
  2298. "pointradius": 5,
  2299. "points": false,
  2300. "renderer": "flot",
  2301. "seriesOverrides": [
  2302. ],
  2303. "spaceLength": 10,
  2304. "span": 12,
  2305. "stack": true,
  2306. "steppedLine": false,
  2307. "targets": [
  2308. {
  2309. "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate) by (namespace)",
  2310. "format": "time_series",
  2311. "intervalFactor": 2,
  2312. "legendFormat": "{{namespace}}",
  2313. "legendLink": null,
  2314. "step": 10
  2315. }
  2316. ],
  2317. "thresholds": [
  2318. ],
  2319. "timeFrom": null,
  2320. "timeShift": null,
  2321. "title": "CPU Usage",
  2322. "tooltip": {
  2323. "shared": true,
  2324. "sort": 0,
  2325. "value_type": "individual"
  2326. },
  2327. "type": "graph",
  2328. "xaxis": {
  2329. "buckets": null,
  2330. "mode": "time",
  2331. "name": null,
  2332. "show": true,
  2333. "values": [
  2334. ]
  2335. },
  2336. "yaxes": [
  2337. {
  2338. "format": "short",
  2339. "label": null,
  2340. "logBase": 1,
  2341. "max": null,
  2342. "min": 0,
  2343. "show": true
  2344. },
  2345. {
  2346. "format": "short",
  2347. "label": null,
  2348. "logBase": 1,
  2349. "max": null,
  2350. "min": null,
  2351. "show": false
  2352. }
  2353. ]
  2354. }
  2355. ],
  2356. "repeat": null,
  2357. "repeatIteration": null,
  2358. "repeatRowId": null,
  2359. "showTitle": true,
  2360. "title": "CPU",
  2361. "titleSize": "h6"
  2362. },
  2363. {
  2364. "collapse": false,
  2365. "height": "250px",
  2366. "panels": [
  2367. {
  2368. "aliasColors": {
  2369. },
  2370. "bars": false,
  2371. "dashLength": 10,
  2372. "dashes": false,
  2373. "datasource": "$datasource",
  2374. "fill": 1,
  2375. "id": 7,
  2376. "legend": {
  2377. "avg": false,
  2378. "current": false,
  2379. "max": false,
  2380. "min": false,
  2381. "show": true,
  2382. "total": false,
  2383. "values": false
  2384. },
  2385. "lines": true,
  2386. "linewidth": 1,
  2387. "links": [
  2388. ],
  2389. "nullPointMode": "null as zero",
  2390. "percentage": false,
  2391. "pointradius": 5,
  2392. "points": false,
  2393. "renderer": "flot",
  2394. "seriesOverrides": [
  2395. ],
  2396. "spaceLength": 10,
  2397. "span": 12,
  2398. "stack": false,
  2399. "steppedLine": false,
  2400. "styles": [
  2401. {
  2402. "alias": "Time",
  2403. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2404. "pattern": "Time",
  2405. "type": "hidden"
  2406. },
  2407. {
  2408. "alias": "CPU Usage",
  2409. "colorMode": null,
  2410. "colors": [
  2411. ],
  2412. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2413. "decimals": 2,
  2414. "link": false,
  2415. "linkTooltip": "Drill down",
  2416. "linkUrl": "",
  2417. "pattern": "Value #A",
  2418. "thresholds": [
  2419. ],
  2420. "type": "number",
  2421. "unit": "short"
  2422. },
  2423. {
  2424. "alias": "CPU Requests",
  2425. "colorMode": null,
  2426. "colors": [
  2427. ],
  2428. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2429. "decimals": 2,
  2430. "link": false,
  2431. "linkTooltip": "Drill down",
  2432. "linkUrl": "",
  2433. "pattern": "Value #B",
  2434. "thresholds": [
  2435. ],
  2436. "type": "number",
  2437. "unit": "short"
  2438. },
  2439. {
  2440. "alias": "CPU Requests %",
  2441. "colorMode": null,
  2442. "colors": [
  2443. ],
  2444. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2445. "decimals": 2,
  2446. "link": false,
  2447. "linkTooltip": "Drill down",
  2448. "linkUrl": "",
  2449. "pattern": "Value #C",
  2450. "thresholds": [
  2451. ],
  2452. "type": "number",
  2453. "unit": "percentunit"
  2454. },
  2455. {
  2456. "alias": "CPU Limits",
  2457. "colorMode": null,
  2458. "colors": [
  2459. ],
  2460. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2461. "decimals": 2,
  2462. "link": false,
  2463. "linkTooltip": "Drill down",
  2464. "linkUrl": "",
  2465. "pattern": "Value #D",
  2466. "thresholds": [
  2467. ],
  2468. "type": "number",
  2469. "unit": "short"
  2470. },
  2471. {
  2472. "alias": "CPU Limits %",
  2473. "colorMode": null,
  2474. "colors": [
  2475. ],
  2476. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2477. "decimals": 2,
  2478. "link": false,
  2479. "linkTooltip": "Drill down",
  2480. "linkUrl": "",
  2481. "pattern": "Value #E",
  2482. "thresholds": [
  2483. ],
  2484. "type": "number",
  2485. "unit": "percentunit"
  2486. },
  2487. {
  2488. "alias": "Namespace",
  2489. "colorMode": null,
  2490. "colors": [
  2491. ],
  2492. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2493. "decimals": 2,
  2494. "link": true,
  2495. "linkTooltip": "Drill down",
  2496. "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-namespace=$__cell",
  2497. "pattern": "namespace",
  2498. "thresholds": [
  2499. ],
  2500. "type": "number",
  2501. "unit": "short"
  2502. },
  2503. {
  2504. "alias": "",
  2505. "colorMode": null,
  2506. "colors": [
  2507. ],
  2508. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2509. "decimals": 2,
  2510. "pattern": "/.*/",
  2511. "thresholds": [
  2512. ],
  2513. "type": "string",
  2514. "unit": "short"
  2515. }
  2516. ],
  2517. "targets": [
  2518. {
  2519. "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate) by (namespace)",
  2520. "format": "table",
  2521. "instant": true,
  2522. "intervalFactor": 2,
  2523. "legendFormat": "",
  2524. "refId": "A",
  2525. "step": 10
  2526. },
  2527. {
  2528. "expr": "sum(kube_pod_container_resource_requests_cpu_cores) by (namespace)",
  2529. "format": "table",
  2530. "instant": true,
  2531. "intervalFactor": 2,
  2532. "legendFormat": "",
  2533. "refId": "B",
  2534. "step": 10
  2535. },
  2536. {
  2537. "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate) by (namespace) / sum(kube_pod_container_resource_requests_cpu_cores) by (namespace)",
  2538. "format": "table",
  2539. "instant": true,
  2540. "intervalFactor": 2,
  2541. "legendFormat": "",
  2542. "refId": "C",
  2543. "step": 10
  2544. },
  2545. {
  2546. "expr": "sum(kube_pod_container_resource_limits_cpu_cores) by (namespace)",
  2547. "format": "table",
  2548. "instant": true,
  2549. "intervalFactor": 2,
  2550. "legendFormat": "",
  2551. "refId": "D",
  2552. "step": 10
  2553. },
  2554. {
  2555. "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate) by (namespace) / sum(kube_pod_container_resource_limits_cpu_cores) by (namespace)",
  2556. "format": "table",
  2557. "instant": true,
  2558. "intervalFactor": 2,
  2559. "legendFormat": "",
  2560. "refId": "E",
  2561. "step": 10
  2562. }
  2563. ],
  2564. "thresholds": [
  2565. ],
  2566. "timeFrom": null,
  2567. "timeShift": null,
  2568. "title": "CPU Quota",
  2569. "tooltip": {
  2570. "shared": true,
  2571. "sort": 0,
  2572. "value_type": "individual"
  2573. },
  2574. "transform": "table",
  2575. "type": "table",
  2576. "xaxis": {
  2577. "buckets": null,
  2578. "mode": "time",
  2579. "name": null,
  2580. "show": true,
  2581. "values": [
  2582. ]
  2583. },
  2584. "yaxes": [
  2585. {
  2586. "format": "short",
  2587. "label": null,
  2588. "logBase": 1,
  2589. "max": null,
  2590. "min": 0,
  2591. "show": true
  2592. },
  2593. {
  2594. "format": "short",
  2595. "label": null,
  2596. "logBase": 1,
  2597. "max": null,
  2598. "min": null,
  2599. "show": false
  2600. }
  2601. ]
  2602. }
  2603. ],
  2604. "repeat": null,
  2605. "repeatIteration": null,
  2606. "repeatRowId": null,
  2607. "showTitle": true,
  2608. "title": "CPU Quota",
  2609. "titleSize": "h6"
  2610. },
  2611. {
  2612. "collapse": false,
  2613. "height": "250px",
  2614. "panels": [
  2615. {
  2616. "aliasColors": {
  2617. },
  2618. "bars": false,
  2619. "dashLength": 10,
  2620. "dashes": false,
  2621. "datasource": "$datasource",
  2622. "fill": 10,
  2623. "id": 8,
  2624. "legend": {
  2625. "avg": false,
  2626. "current": false,
  2627. "max": false,
  2628. "min": false,
  2629. "show": true,
  2630. "total": false,
  2631. "values": false
  2632. },
  2633. "lines": true,
  2634. "linewidth": 0,
  2635. "links": [
  2636. ],
  2637. "nullPointMode": "null as zero",
  2638. "percentage": false,
  2639. "pointradius": 5,
  2640. "points": false,
  2641. "renderer": "flot",
  2642. "seriesOverrides": [
  2643. ],
  2644. "spaceLength": 10,
  2645. "span": 12,
  2646. "stack": true,
  2647. "steppedLine": false,
  2648. "targets": [
  2649. {
  2650. "expr": "sum(container_memory_rss{container_name!=\"\"}) by (namespace)",
  2651. "format": "time_series",
  2652. "intervalFactor": 2,
  2653. "legendFormat": "{{namespace}}",
  2654. "legendLink": null,
  2655. "step": 10
  2656. }
  2657. ],
  2658. "thresholds": [
  2659. ],
  2660. "timeFrom": null,
  2661. "timeShift": null,
  2662. "title": "Memory Usage (w/o cache)",
  2663. "tooltip": {
  2664. "shared": true,
  2665. "sort": 0,
  2666. "value_type": "individual"
  2667. },
  2668. "type": "graph",
  2669. "xaxis": {
  2670. "buckets": null,
  2671. "mode": "time",
  2672. "name": null,
  2673. "show": true,
  2674. "values": [
  2675. ]
  2676. },
  2677. "yaxes": [
  2678. {
  2679. "format": "decbytes",
  2680. "label": null,
  2681. "logBase": 1,
  2682. "max": null,
  2683. "min": 0,
  2684. "show": true
  2685. },
  2686. {
  2687. "format": "short",
  2688. "label": null,
  2689. "logBase": 1,
  2690. "max": null,
  2691. "min": null,
  2692. "show": false
  2693. }
  2694. ]
  2695. }
  2696. ],
  2697. "repeat": null,
  2698. "repeatIteration": null,
  2699. "repeatRowId": null,
  2700. "showTitle": true,
  2701. "title": "Memory",
  2702. "titleSize": "h6"
  2703. },
  2704. {
  2705. "collapse": false,
  2706. "height": "250px",
  2707. "panels": [
  2708. {
  2709. "aliasColors": {
  2710. },
  2711. "bars": false,
  2712. "dashLength": 10,
  2713. "dashes": false,
  2714. "datasource": "$datasource",
  2715. "fill": 1,
  2716. "id": 9,
  2717. "legend": {
  2718. "avg": false,
  2719. "current": false,
  2720. "max": false,
  2721. "min": false,
  2722. "show": true,
  2723. "total": false,
  2724. "values": false
  2725. },
  2726. "lines": true,
  2727. "linewidth": 1,
  2728. "links": [
  2729. ],
  2730. "nullPointMode": "null as zero",
  2731. "percentage": false,
  2732. "pointradius": 5,
  2733. "points": false,
  2734. "renderer": "flot",
  2735. "seriesOverrides": [
  2736. ],
  2737. "spaceLength": 10,
  2738. "span": 12,
  2739. "stack": false,
  2740. "steppedLine": false,
  2741. "styles": [
  2742. {
  2743. "alias": "Time",
  2744. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2745. "pattern": "Time",
  2746. "type": "hidden"
  2747. },
  2748. {
  2749. "alias": "Memory Usage",
  2750. "colorMode": null,
  2751. "colors": [
  2752. ],
  2753. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2754. "decimals": 2,
  2755. "link": false,
  2756. "linkTooltip": "Drill down",
  2757. "linkUrl": "",
  2758. "pattern": "Value #A",
  2759. "thresholds": [
  2760. ],
  2761. "type": "number",
  2762. "unit": "decbytes"
  2763. },
  2764. {
  2765. "alias": "Memory Requests",
  2766. "colorMode": null,
  2767. "colors": [
  2768. ],
  2769. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2770. "decimals": 2,
  2771. "link": false,
  2772. "linkTooltip": "Drill down",
  2773. "linkUrl": "",
  2774. "pattern": "Value #B",
  2775. "thresholds": [
  2776. ],
  2777. "type": "number",
  2778. "unit": "decbytes"
  2779. },
  2780. {
  2781. "alias": "Memory Requests %",
  2782. "colorMode": null,
  2783. "colors": [
  2784. ],
  2785. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2786. "decimals": 2,
  2787. "link": false,
  2788. "linkTooltip": "Drill down",
  2789. "linkUrl": "",
  2790. "pattern": "Value #C",
  2791. "thresholds": [
  2792. ],
  2793. "type": "number",
  2794. "unit": "percentunit"
  2795. },
  2796. {
  2797. "alias": "Memory Limits",
  2798. "colorMode": null,
  2799. "colors": [
  2800. ],
  2801. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2802. "decimals": 2,
  2803. "link": false,
  2804. "linkTooltip": "Drill down",
  2805. "linkUrl": "",
  2806. "pattern": "Value #D",
  2807. "thresholds": [
  2808. ],
  2809. "type": "number",
  2810. "unit": "decbytes"
  2811. },
  2812. {
  2813. "alias": "Memory Limits %",
  2814. "colorMode": null,
  2815. "colors": [
  2816. ],
  2817. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2818. "decimals": 2,
  2819. "link": false,
  2820. "linkTooltip": "Drill down",
  2821. "linkUrl": "",
  2822. "pattern": "Value #E",
  2823. "thresholds": [
  2824. ],
  2825. "type": "number",
  2826. "unit": "percentunit"
  2827. },
  2828. {
  2829. "alias": "Namespace",
  2830. "colorMode": null,
  2831. "colors": [
  2832. ],
  2833. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2834. "decimals": 2,
  2835. "link": true,
  2836. "linkTooltip": "Drill down",
  2837. "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-namespace=$__cell",
  2838. "pattern": "namespace",
  2839. "thresholds": [
  2840. ],
  2841. "type": "number",
  2842. "unit": "short"
  2843. },
  2844. {
  2845. "alias": "",
  2846. "colorMode": null,
  2847. "colors": [
  2848. ],
  2849. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2850. "decimals": 2,
  2851. "pattern": "/.*/",
  2852. "thresholds": [
  2853. ],
  2854. "type": "string",
  2855. "unit": "short"
  2856. }
  2857. ],
  2858. "targets": [
  2859. {
  2860. "expr": "sum(container_memory_rss{container_name!=\"\"}) by (namespace)",
  2861. "format": "table",
  2862. "instant": true,
  2863. "intervalFactor": 2,
  2864. "legendFormat": "",
  2865. "refId": "A",
  2866. "step": 10
  2867. },
  2868. {
  2869. "expr": "sum(kube_pod_container_resource_requests_memory_bytes) by (namespace)",
  2870. "format": "table",
  2871. "instant": true,
  2872. "intervalFactor": 2,
  2873. "legendFormat": "",
  2874. "refId": "B",
  2875. "step": 10
  2876. },
  2877. {
  2878. "expr": "sum(container_memory_rss{container_name!=\"\"}) by (namespace) / sum(kube_pod_container_resource_requests_memory_bytes) by (namespace)",
  2879. "format": "table",
  2880. "instant": true,
  2881. "intervalFactor": 2,
  2882. "legendFormat": "",
  2883. "refId": "C",
  2884. "step": 10
  2885. },
  2886. {
  2887. "expr": "sum(kube_pod_container_resource_limits_memory_bytes) by (namespace)",
  2888. "format": "table",
  2889. "instant": true,
  2890. "intervalFactor": 2,
  2891. "legendFormat": "",
  2892. "refId": "D",
  2893. "step": 10
  2894. },
  2895. {
  2896. "expr": "sum(container_memory_rss{container_name!=\"\"}) by (namespace) / sum(kube_pod_container_resource_limits_memory_bytes) by (namespace)",
  2897. "format": "table",
  2898. "instant": true,
  2899. "intervalFactor": 2,
  2900. "legendFormat": "",
  2901. "refId": "E",
  2902. "step": 10
  2903. }
  2904. ],
  2905. "thresholds": [
  2906. ],
  2907. "timeFrom": null,
  2908. "timeShift": null,
  2909. "title": "Requests by Namespace",
  2910. "tooltip": {
  2911. "shared": true,
  2912. "sort": 0,
  2913. "value_type": "individual"
  2914. },
  2915. "transform": "table",
  2916. "type": "table",
  2917. "xaxis": {
  2918. "buckets": null,
  2919. "mode": "time",
  2920. "name": null,
  2921. "show": true,
  2922. "values": [
  2923. ]
  2924. },
  2925. "yaxes": [
  2926. {
  2927. "format": "short",
  2928. "label": null,
  2929. "logBase": 1,
  2930. "max": null,
  2931. "min": 0,
  2932. "show": true
  2933. },
  2934. {
  2935. "format": "short",
  2936. "label": null,
  2937. "logBase": 1,
  2938. "max": null,
  2939. "min": null,
  2940. "show": false
  2941. }
  2942. ]
  2943. }
  2944. ],
  2945. "repeat": null,
  2946. "repeatIteration": null,
  2947. "repeatRowId": null,
  2948. "showTitle": true,
  2949. "title": "Memory Requests",
  2950. "titleSize": "h6"
  2951. }
  2952. ],
  2953. "schemaVersion": 14,
  2954. "style": "dark",
  2955. "tags": [
  2956. ],
  2957. "templating": {
  2958. "list": [
  2959. {
  2960. "current": {
  2961. "text": "Prometheus",
  2962. "value": "Prometheus"
  2963. },
  2964. "hide": 0,
  2965. "label": null,
  2966. "name": "datasource",
  2967. "options": [
  2968. ],
  2969. "query": "prometheus",
  2970. "refresh": 1,
  2971. "regex": "",
  2972. "type": "datasource"
  2973. }
  2974. ]
  2975. },
  2976. "time": {
  2977. "from": "now-1h",
  2978. "to": "now"
  2979. },
  2980. "timepicker": {
  2981. "refresh_intervals": [
  2982. "5s",
  2983. "10s",
  2984. "30s",
  2985. "1m",
  2986. "5m",
  2987. "15m",
  2988. "30m",
  2989. "1h",
  2990. "2h",
  2991. "1d"
  2992. ],
  2993. "time_options": [
  2994. "5m",
  2995. "15m",
  2996. "1h",
  2997. "6h",
  2998. "12h",
  2999. "24h",
  3000. "2d",
  3001. "7d",
  3002. "30d"
  3003. ]
  3004. },
  3005. "timezone": "",
  3006. "title": "K8s / Compute Resources / Cluster",
  3007. "uid": "efa86fd1d0c121a26444b636a3f509a8",
  3008. "version": 0
  3009. }
  3010. kind: ConfigMap
  3011. metadata:
  3012. name: grafana-dashboard-k8s-resources-cluster
  3013. namespace: monitoring
  3014. - apiVersion: v1
  3015. data:
  3016. k8s-resources-namespace.json: |-
  3017. {
  3018. "annotations": {
  3019. "list": [
  3020. ]
  3021. },
  3022. "editable": true,
  3023. "gnetId": null,
  3024. "graphTooltip": 0,
  3025. "hideControls": false,
  3026. "links": [
  3027. ],
  3028. "refresh": "10s",
  3029. "rows": [
  3030. {
  3031. "collapse": false,
  3032. "height": "250px",
  3033. "panels": [
  3034. {
  3035. "aliasColors": {
  3036. },
  3037. "bars": false,
  3038. "dashLength": 10,
  3039. "dashes": false,
  3040. "datasource": "$datasource",
  3041. "fill": 10,
  3042. "id": 0,
  3043. "legend": {
  3044. "avg": false,
  3045. "current": false,
  3046. "max": false,
  3047. "min": false,
  3048. "show": true,
  3049. "total": false,
  3050. "values": false
  3051. },
  3052. "lines": true,
  3053. "linewidth": 0,
  3054. "links": [
  3055. ],
  3056. "nullPointMode": "null as zero",
  3057. "percentage": false,
  3058. "pointradius": 5,
  3059. "points": false,
  3060. "renderer": "flot",
  3061. "seriesOverrides": [
  3062. ],
  3063. "spaceLength": 10,
  3064. "span": 12,
  3065. "stack": true,
  3066. "steppedLine": false,
  3067. "targets": [
  3068. {
  3069. "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{namespace=\"$namespace\"}) by (pod_name)",
  3070. "format": "time_series",
  3071. "intervalFactor": 2,
  3072. "legendFormat": "{{pod_name}}",
  3073. "legendLink": null,
  3074. "step": 10
  3075. }
  3076. ],
  3077. "thresholds": [
  3078. ],
  3079. "timeFrom": null,
  3080. "timeShift": null,
  3081. "title": "CPU Usage",
  3082. "tooltip": {
  3083. "shared": true,
  3084. "sort": 0,
  3085. "value_type": "individual"
  3086. },
  3087. "type": "graph",
  3088. "xaxis": {
  3089. "buckets": null,
  3090. "mode": "time",
  3091. "name": null,
  3092. "show": true,
  3093. "values": [
  3094. ]
  3095. },
  3096. "yaxes": [
  3097. {
  3098. "format": "short",
  3099. "label": null,
  3100. "logBase": 1,
  3101. "max": null,
  3102. "min": 0,
  3103. "show": true
  3104. },
  3105. {
  3106. "format": "short",
  3107. "label": null,
  3108. "logBase": 1,
  3109. "max": null,
  3110. "min": null,
  3111. "show": false
  3112. }
  3113. ]
  3114. }
  3115. ],
  3116. "repeat": null,
  3117. "repeatIteration": null,
  3118. "repeatRowId": null,
  3119. "showTitle": true,
  3120. "title": "CPU Usage",
  3121. "titleSize": "h6"
  3122. },
  3123. {
  3124. "collapse": false,
  3125. "height": "250px",
  3126. "panels": [
  3127. {
  3128. "aliasColors": {
  3129. },
  3130. "bars": false,
  3131. "dashLength": 10,
  3132. "dashes": false,
  3133. "datasource": "$datasource",
  3134. "fill": 1,
  3135. "id": 1,
  3136. "legend": {
  3137. "avg": false,
  3138. "current": false,
  3139. "max": false,
  3140. "min": false,
  3141. "show": true,
  3142. "total": false,
  3143. "values": false
  3144. },
  3145. "lines": true,
  3146. "linewidth": 1,
  3147. "links": [
  3148. ],
  3149. "nullPointMode": "null as zero",
  3150. "percentage": false,
  3151. "pointradius": 5,
  3152. "points": false,
  3153. "renderer": "flot",
  3154. "seriesOverrides": [
  3155. ],
  3156. "spaceLength": 10,
  3157. "span": 12,
  3158. "stack": false,
  3159. "steppedLine": false,
  3160. "styles": [
  3161. {
  3162. "alias": "Time",
  3163. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3164. "pattern": "Time",
  3165. "type": "hidden"
  3166. },
  3167. {
  3168. "alias": "CPU Usage",
  3169. "colorMode": null,
  3170. "colors": [
  3171. ],
  3172. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3173. "decimals": 2,
  3174. "link": false,
  3175. "linkTooltip": "Drill down",
  3176. "linkUrl": "",
  3177. "pattern": "Value #A",
  3178. "thresholds": [
  3179. ],
  3180. "type": "number",
  3181. "unit": "short"
  3182. },
  3183. {
  3184. "alias": "CPU Requests",
  3185. "colorMode": null,
  3186. "colors": [
  3187. ],
  3188. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3189. "decimals": 2,
  3190. "link": false,
  3191. "linkTooltip": "Drill down",
  3192. "linkUrl": "",
  3193. "pattern": "Value #B",
  3194. "thresholds": [
  3195. ],
  3196. "type": "number",
  3197. "unit": "short"
  3198. },
  3199. {
  3200. "alias": "CPU Requests %",
  3201. "colorMode": null,
  3202. "colors": [
  3203. ],
  3204. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3205. "decimals": 2,
  3206. "link": false,
  3207. "linkTooltip": "Drill down",
  3208. "linkUrl": "",
  3209. "pattern": "Value #C",
  3210. "thresholds": [
  3211. ],
  3212. "type": "number",
  3213. "unit": "percentunit"
  3214. },
  3215. {
  3216. "alias": "CPU Limits",
  3217. "colorMode": null,
  3218. "colors": [
  3219. ],
  3220. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3221. "decimals": 2,
  3222. "link": false,
  3223. "linkTooltip": "Drill down",
  3224. "linkUrl": "",
  3225. "pattern": "Value #D",
  3226. "thresholds": [
  3227. ],
  3228. "type": "number",
  3229. "unit": "short"
  3230. },
  3231. {
  3232. "alias": "CPU Limits %",
  3233. "colorMode": null,
  3234. "colors": [
  3235. ],
  3236. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3237. "decimals": 2,
  3238. "link": false,
  3239. "linkTooltip": "Drill down",
  3240. "linkUrl": "",
  3241. "pattern": "Value #E",
  3242. "thresholds": [
  3243. ],
  3244. "type": "number",
  3245. "unit": "percentunit"
  3246. },
  3247. {
  3248. "alias": "Pod",
  3249. "colorMode": null,
  3250. "colors": [
  3251. ],
  3252. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3253. "decimals": 2,
  3254. "link": true,
  3255. "linkTooltip": "Drill down",
  3256. "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-namespace=$namespace&var-pod=$__cell",
  3257. "pattern": "pod",
  3258. "thresholds": [
  3259. ],
  3260. "type": "number",
  3261. "unit": "short"
  3262. },
  3263. {
  3264. "alias": "",
  3265. "colorMode": null,
  3266. "colors": [
  3267. ],
  3268. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3269. "decimals": 2,
  3270. "pattern": "/.*/",
  3271. "thresholds": [
  3272. ],
  3273. "type": "string",
  3274. "unit": "short"
  3275. }
  3276. ],
  3277. "targets": [
  3278. {
  3279. "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{namespace=\"$namespace\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod)",
  3280. "format": "table",
  3281. "instant": true,
  3282. "intervalFactor": 2,
  3283. "legendFormat": "",
  3284. "refId": "A",
  3285. "step": 10
  3286. },
  3287. {
  3288. "expr": "sum(kube_pod_container_resource_requests_cpu_cores{namespace=\"$namespace\"}) by (pod)",
  3289. "format": "table",
  3290. "instant": true,
  3291. "intervalFactor": 2,
  3292. "legendFormat": "",
  3293. "refId": "B",
  3294. "step": 10
  3295. },
  3296. {
  3297. "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{namespace=\"$namespace\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod) / sum(kube_pod_container_resource_requests_cpu_cores{namespace=\"$namespace\"}) by (pod)",
  3298. "format": "table",
  3299. "instant": true,
  3300. "intervalFactor": 2,
  3301. "legendFormat": "",
  3302. "refId": "C",
  3303. "step": 10
  3304. },
  3305. {
  3306. "expr": "sum(kube_pod_container_resource_limits_cpu_cores{namespace=\"$namespace\"}) by (pod)",
  3307. "format": "table",
  3308. "instant": true,
  3309. "intervalFactor": 2,
  3310. "legendFormat": "",
  3311. "refId": "D",
  3312. "step": 10
  3313. },
  3314. {
  3315. "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{namespace=\"$namespace\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod) / sum(kube_pod_container_resource_limits_cpu_cores{namespace=\"$namespace\"}) by (pod)",
  3316. "format": "table",
  3317. "instant": true,
  3318. "intervalFactor": 2,
  3319. "legendFormat": "",
  3320. "refId": "E",
  3321. "step": 10
  3322. }
  3323. ],
  3324. "thresholds": [
  3325. ],
  3326. "timeFrom": null,
  3327. "timeShift": null,
  3328. "title": "CPU Quota",
  3329. "tooltip": {
  3330. "shared": true,
  3331. "sort": 0,
  3332. "value_type": "individual"
  3333. },
  3334. "transform": "table",
  3335. "type": "table",
  3336. "xaxis": {
  3337. "buckets": null,
  3338. "mode": "time",
  3339. "name": null,
  3340. "show": true,
  3341. "values": [
  3342. ]
  3343. },
  3344. "yaxes": [
  3345. {
  3346. "format": "short",
  3347. "label": null,
  3348. "logBase": 1,
  3349. "max": null,
  3350. "min": 0,
  3351. "show": true
  3352. },
  3353. {
  3354. "format": "short",
  3355. "label": null,
  3356. "logBase": 1,
  3357. "max": null,
  3358. "min": null,
  3359. "show": false
  3360. }
  3361. ]
  3362. }
  3363. ],
  3364. "repeat": null,
  3365. "repeatIteration": null,
  3366. "repeatRowId": null,
  3367. "showTitle": true,
  3368. "title": "CPU Quota",
  3369. "titleSize": "h6"
  3370. },
  3371. {
  3372. "collapse": false,
  3373. "height": "250px",
  3374. "panels": [
  3375. {
  3376. "aliasColors": {
  3377. },
  3378. "bars": false,
  3379. "dashLength": 10,
  3380. "dashes": false,
  3381. "datasource": "$datasource",
  3382. "fill": 10,
  3383. "id": 2,
  3384. "legend": {
  3385. "avg": false,
  3386. "current": false,
  3387. "max": false,
  3388. "min": false,
  3389. "show": true,
  3390. "total": false,
  3391. "values": false
  3392. },
  3393. "lines": true,
  3394. "linewidth": 0,
  3395. "links": [
  3396. ],
  3397. "nullPointMode": "null as zero",
  3398. "percentage": false,
  3399. "pointradius": 5,
  3400. "points": false,
  3401. "renderer": "flot",
  3402. "seriesOverrides": [
  3403. ],
  3404. "spaceLength": 10,
  3405. "span": 12,
  3406. "stack": true,
  3407. "steppedLine": false,
  3408. "targets": [
  3409. {
  3410. "expr": "sum(container_memory_usage_bytes{namespace=\"$namespace\", container_name!=\"\"}) by (pod_name)",
  3411. "format": "time_series",
  3412. "intervalFactor": 2,
  3413. "legendFormat": "{{pod_name}}",
  3414. "legendLink": null,
  3415. "step": 10
  3416. }
  3417. ],
  3418. "thresholds": [
  3419. ],
  3420. "timeFrom": null,
  3421. "timeShift": null,
  3422. "title": "Memory Usage",
  3423. "tooltip": {
  3424. "shared": true,
  3425. "sort": 0,
  3426. "value_type": "individual"
  3427. },
  3428. "type": "graph",
  3429. "xaxis": {
  3430. "buckets": null,
  3431. "mode": "time",
  3432. "name": null,
  3433. "show": true,
  3434. "values": [
  3435. ]
  3436. },
  3437. "yaxes": [
  3438. {
  3439. "format": "decbytes",
  3440. "label": null,
  3441. "logBase": 1,
  3442. "max": null,
  3443. "min": 0,
  3444. "show": true
  3445. },
  3446. {
  3447. "format": "short",
  3448. "label": null,
  3449. "logBase": 1,
  3450. "max": null,
  3451. "min": null,
  3452. "show": false
  3453. }
  3454. ]
  3455. }
  3456. ],
  3457. "repeat": null,
  3458. "repeatIteration": null,
  3459. "repeatRowId": null,
  3460. "showTitle": true,
  3461. "title": "Memory Usage",
  3462. "titleSize": "h6"
  3463. },
  3464. {
  3465. "collapse": false,
  3466. "height": "250px",
  3467. "panels": [
  3468. {
  3469. "aliasColors": {
  3470. },
  3471. "bars": false,
  3472. "dashLength": 10,
  3473. "dashes": false,
  3474. "datasource": "$datasource",
  3475. "fill": 1,
  3476. "id": 3,
  3477. "legend": {
  3478. "avg": false,
  3479. "current": false,
  3480. "max": false,
  3481. "min": false,
  3482. "show": true,
  3483. "total": false,
  3484. "values": false
  3485. },
  3486. "lines": true,
  3487. "linewidth": 1,
  3488. "links": [
  3489. ],
  3490. "nullPointMode": "null as zero",
  3491. "percentage": false,
  3492. "pointradius": 5,
  3493. "points": false,
  3494. "renderer": "flot",
  3495. "seriesOverrides": [
  3496. ],
  3497. "spaceLength": 10,
  3498. "span": 12,
  3499. "stack": false,
  3500. "steppedLine": false,
  3501. "styles": [
  3502. {
  3503. "alias": "Time",
  3504. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3505. "pattern": "Time",
  3506. "type": "hidden"
  3507. },
  3508. {
  3509. "alias": "Memory Usage",
  3510. "colorMode": null,
  3511. "colors": [
  3512. ],
  3513. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3514. "decimals": 2,
  3515. "link": false,
  3516. "linkTooltip": "Drill down",
  3517. "linkUrl": "",
  3518. "pattern": "Value #A",
  3519. "thresholds": [
  3520. ],
  3521. "type": "number",
  3522. "unit": "decbytes"
  3523. },
  3524. {
  3525. "alias": "Memory Requests",
  3526. "colorMode": null,
  3527. "colors": [
  3528. ],
  3529. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3530. "decimals": 2,
  3531. "link": false,
  3532. "linkTooltip": "Drill down",
  3533. "linkUrl": "",
  3534. "pattern": "Value #B",
  3535. "thresholds": [
  3536. ],
  3537. "type": "number",
  3538. "unit": "decbytes"
  3539. },
  3540. {
  3541. "alias": "Memory Requests %",
  3542. "colorMode": null,
  3543. "colors": [
  3544. ],
  3545. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3546. "decimals": 2,
  3547. "link": false,
  3548. "linkTooltip": "Drill down",
  3549. "linkUrl": "",
  3550. "pattern": "Value #C",
  3551. "thresholds": [
  3552. ],
  3553. "type": "number",
  3554. "unit": "percentunit"
  3555. },
  3556. {
  3557. "alias": "Memory Limits",
  3558. "colorMode": null,
  3559. "colors": [
  3560. ],
  3561. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3562. "decimals": 2,
  3563. "link": false,
  3564. "linkTooltip": "Drill down",
  3565. "linkUrl": "",
  3566. "pattern": "Value #D",
  3567. "thresholds": [
  3568. ],
  3569. "type": "number",
  3570. "unit": "decbytes"
  3571. },
  3572. {
  3573. "alias": "Memory Limits %",
  3574. "colorMode": null,
  3575. "colors": [
  3576. ],
  3577. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3578. "decimals": 2,
  3579. "link": false,
  3580. "linkTooltip": "Drill down",
  3581. "linkUrl": "",
  3582. "pattern": "Value #E",
  3583. "thresholds": [
  3584. ],
  3585. "type": "number",
  3586. "unit": "percentunit"
  3587. },
  3588. {
  3589. "alias": "Pod",
  3590. "colorMode": null,
  3591. "colors": [
  3592. ],
  3593. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3594. "decimals": 2,
  3595. "link": true,
  3596. "linkTooltip": "Drill down",
  3597. "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-namespace=$namespace&var-pod=$__cell",
  3598. "pattern": "pod",
  3599. "thresholds": [
  3600. ],
  3601. "type": "number",
  3602. "unit": "short"
  3603. },
  3604. {
  3605. "alias": "",
  3606. "colorMode": null,
  3607. "colors": [
  3608. ],
  3609. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3610. "decimals": 2,
  3611. "pattern": "/.*/",
  3612. "thresholds": [
  3613. ],
  3614. "type": "string",
  3615. "unit": "short"
  3616. }
  3617. ],
  3618. "targets": [
  3619. {
  3620. "expr": "sum(label_replace(container_memory_usage_bytes{namespace=\"$namespace\",container_name!=\"\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod)",
  3621. "format": "table",
  3622. "instant": true,
  3623. "intervalFactor": 2,
  3624. "legendFormat": "",
  3625. "refId": "A",
  3626. "step": 10
  3627. },
  3628. {
  3629. "expr": "sum(kube_pod_container_resource_requests_memory_bytes{namespace=\"$namespace\"}) by (pod)",
  3630. "format": "table",
  3631. "instant": true,
  3632. "intervalFactor": 2,
  3633. "legendFormat": "",
  3634. "refId": "B",
  3635. "step": 10
  3636. },
  3637. {
  3638. "expr": "sum(label_replace(container_memory_usage_bytes{namespace=\"$namespace\",container_name!=\"\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod) / sum(kube_pod_container_resource_requests_memory_bytes{namespace=\"$namespace\"}) by (pod)",
  3639. "format": "table",
  3640. "instant": true,
  3641. "intervalFactor": 2,
  3642. "legendFormat": "",
  3643. "refId": "C",
  3644. "step": 10
  3645. },
  3646. {
  3647. "expr": "sum(kube_pod_container_resource_limits_memory_bytes{namespace=\"$namespace\"}) by (pod)",
  3648. "format": "table",
  3649. "instant": true,
  3650. "intervalFactor": 2,
  3651. "legendFormat": "",
  3652. "refId": "D",
  3653. "step": 10
  3654. },
  3655. {
  3656. "expr": "sum(label_replace(container_memory_usage_bytes{namespace=\"$namespace\",container_name!=\"\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod) / sum(kube_pod_container_resource_limits_memory_bytes{namespace=\"$namespace\"}) by (pod)",
  3657. "format": "table",
  3658. "instant": true,
  3659. "intervalFactor": 2,
  3660. "legendFormat": "",
  3661. "refId": "E",
  3662. "step": 10
  3663. }
  3664. ],
  3665. "thresholds": [
  3666. ],
  3667. "timeFrom": null,
  3668. "timeShift": null,
  3669. "title": "Memory Quota",
  3670. "tooltip": {
  3671. "shared": true,
  3672. "sort": 0,
  3673. "value_type": "individual"
  3674. },
  3675. "transform": "table",
  3676. "type": "table",
  3677. "xaxis": {
  3678. "buckets": null,
  3679. "mode": "time",
  3680. "name": null,
  3681. "show": true,
  3682. "values": [
  3683. ]
  3684. },
  3685. "yaxes": [
  3686. {
  3687. "format": "short",
  3688. "label": null,
  3689. "logBase": 1,
  3690. "max": null,
  3691. "min": 0,
  3692. "show": true
  3693. },
  3694. {
  3695. "format": "short",
  3696. "label": null,
  3697. "logBase": 1,
  3698. "max": null,
  3699. "min": null,
  3700. "show": false
  3701. }
  3702. ]
  3703. }
  3704. ],
  3705. "repeat": null,
  3706. "repeatIteration": null,
  3707. "repeatRowId": null,
  3708. "showTitle": true,
  3709. "title": "Memory Quota",
  3710. "titleSize": "h6"
  3711. }
  3712. ],
  3713. "schemaVersion": 14,
  3714. "style": "dark",
  3715. "tags": [
  3716. ],
  3717. "templating": {
  3718. "list": [
  3719. {
  3720. "current": {
  3721. "text": "Prometheus",
  3722. "value": "Prometheus"
  3723. },
  3724. "hide": 0,
  3725. "label": null,
  3726. "name": "datasource",
  3727. "options": [
  3728. ],
  3729. "query": "prometheus",
  3730. "refresh": 1,
  3731. "regex": "",
  3732. "type": "datasource"
  3733. },
  3734. {
  3735. "allValue": null,
  3736. "current": {
  3737. "text": "prod",
  3738. "value": "prod"
  3739. },
  3740. "datasource": "$datasource",
  3741. "hide": 0,
  3742. "includeAll": false,
  3743. "label": "namespace",
  3744. "multi": false,
  3745. "name": "namespace",
  3746. "options": [
  3747. ],
  3748. "query": "label_values(kube_pod_info, namespace)",
  3749. "refresh": 1,
  3750. "regex": "",
  3751. "sort": 2,
  3752. "tagValuesQuery": "",
  3753. "tags": [
  3754. ],
  3755. "tagsQuery": "",
  3756. "type": "query",
  3757. "useTags": false
  3758. }
  3759. ]
  3760. },
  3761. "time": {
  3762. "from": "now-1h",
  3763. "to": "now"
  3764. },
  3765. "timepicker": {
  3766. "refresh_intervals": [
  3767. "5s",
  3768. "10s",
  3769. "30s",
  3770. "1m",
  3771. "5m",
  3772. "15m",
  3773. "30m",
  3774. "1h",
  3775. "2h",
  3776. "1d"
  3777. ],
  3778. "time_options": [
  3779. "5m",
  3780. "15m",
  3781. "1h",
  3782. "6h",
  3783. "12h",
  3784. "24h",
  3785. "2d",
  3786. "7d",
  3787. "30d"
  3788. ]
  3789. },
  3790. "timezone": "",
  3791. "title": "K8s / Compute Resources / Namespace",
  3792. "uid": "85a562078cdf77779eaa1add43ccec1e",
  3793. "version": 0
  3794. }
  3795. kind: ConfigMap
  3796. metadata:
  3797. name: grafana-dashboard-k8s-resources-namespace
  3798. namespace: monitoring
  3799. - apiVersion: v1
  3800. data:
  3801. k8s-resources-pod.json: |-
  3802. {
  3803. "annotations": {
  3804. "list": [
  3805. ]
  3806. },
  3807. "editable": true,
  3808. "gnetId": null,
  3809. "graphTooltip": 0,
  3810. "hideControls": false,
  3811. "links": [
  3812. ],
  3813. "refresh": "10s",
  3814. "rows": [
  3815. {
  3816. "collapse": false,
  3817. "height": "250px",
  3818. "panels": [
  3819. {
  3820. "aliasColors": {
  3821. },
  3822. "bars": false,
  3823. "dashLength": 10,
  3824. "dashes": false,
  3825. "datasource": "$datasource",
  3826. "fill": 10,
  3827. "id": 0,
  3828. "legend": {
  3829. "avg": false,
  3830. "current": false,
  3831. "max": false,
  3832. "min": false,
  3833. "show": true,
  3834. "total": false,
  3835. "values": false
  3836. },
  3837. "lines": true,
  3838. "linewidth": 0,
  3839. "links": [
  3840. ],
  3841. "nullPointMode": "null as zero",
  3842. "percentage": false,
  3843. "pointradius": 5,
  3844. "points": false,
  3845. "renderer": "flot",
  3846. "seriesOverrides": [
  3847. ],
  3848. "spaceLength": 10,
  3849. "span": 12,
  3850. "stack": true,
  3851. "steppedLine": false,
  3852. "targets": [
  3853. {
  3854. "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"POD\"}) by (container_name)",
  3855. "format": "time_series",
  3856. "intervalFactor": 2,
  3857. "legendFormat": "{{container_name}}",
  3858. "legendLink": null,
  3859. "step": 10
  3860. }
  3861. ],
  3862. "thresholds": [
  3863. ],
  3864. "timeFrom": null,
  3865. "timeShift": null,
  3866. "title": "CPU Usage",
  3867. "tooltip": {
  3868. "shared": true,
  3869. "sort": 0,
  3870. "value_type": "individual"
  3871. },
  3872. "type": "graph",
  3873. "xaxis": {
  3874. "buckets": null,
  3875. "mode": "time",
  3876. "name": null,
  3877. "show": true,
  3878. "values": [
  3879. ]
  3880. },
  3881. "yaxes": [
  3882. {
  3883. "format": "short",
  3884. "label": null,
  3885. "logBase": 1,
  3886. "max": null,
  3887. "min": 0,
  3888. "show": true
  3889. },
  3890. {
  3891. "format": "short",
  3892. "label": null,
  3893. "logBase": 1,
  3894. "max": null,
  3895. "min": null,
  3896. "show": false
  3897. }
  3898. ]
  3899. }
  3900. ],
  3901. "repeat": null,
  3902. "repeatIteration": null,
  3903. "repeatRowId": null,
  3904. "showTitle": true,
  3905. "title": "CPU Usage",
  3906. "titleSize": "h6"
  3907. },
  3908. {
  3909. "collapse": false,
  3910. "height": "250px",
  3911. "panels": [
  3912. {
  3913. "aliasColors": {
  3914. },
  3915. "bars": false,
  3916. "dashLength": 10,
  3917. "dashes": false,
  3918. "datasource": "$datasource",
  3919. "fill": 1,
  3920. "id": 1,
  3921. "legend": {
  3922. "avg": false,
  3923. "current": false,
  3924. "max": false,
  3925. "min": false,
  3926. "show": true,
  3927. "total": false,
  3928. "values": false
  3929. },
  3930. "lines": true,
  3931. "linewidth": 1,
  3932. "links": [
  3933. ],
  3934. "nullPointMode": "null as zero",
  3935. "percentage": false,
  3936. "pointradius": 5,
  3937. "points": false,
  3938. "renderer": "flot",
  3939. "seriesOverrides": [
  3940. ],
  3941. "spaceLength": 10,
  3942. "span": 12,
  3943. "stack": false,
  3944. "steppedLine": false,
  3945. "styles": [
  3946. {
  3947. "alias": "Time",
  3948. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3949. "pattern": "Time",
  3950. "type": "hidden"
  3951. },
  3952. {
  3953. "alias": "CPU Usage",
  3954. "colorMode": null,
  3955. "colors": [
  3956. ],
  3957. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3958. "decimals": 2,
  3959. "link": false,
  3960. "linkTooltip": "Drill down",
  3961. "linkUrl": "",
  3962. "pattern": "Value #A",
  3963. "thresholds": [
  3964. ],
  3965. "type": "number",
  3966. "unit": "short"
  3967. },
  3968. {
  3969. "alias": "CPU Requests",
  3970. "colorMode": null,
  3971. "colors": [
  3972. ],
  3973. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3974. "decimals": 2,
  3975. "link": false,
  3976. "linkTooltip": "Drill down",
  3977. "linkUrl": "",
  3978. "pattern": "Value #B",
  3979. "thresholds": [
  3980. ],
  3981. "type": "number",
  3982. "unit": "short"
  3983. },
  3984. {
  3985. "alias": "CPU Requests %",
  3986. "colorMode": null,
  3987. "colors": [
  3988. ],
  3989. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  3990. "decimals": 2,
  3991. "link": false,
  3992. "linkTooltip": "Drill down",
  3993. "linkUrl": "",
  3994. "pattern": "Value #C",
  3995. "thresholds": [
  3996. ],
  3997. "type": "number",
  3998. "unit": "percentunit"
  3999. },
  4000. {
  4001. "alias": "CPU Limits",
  4002. "colorMode": null,
  4003. "colors": [
  4004. ],
  4005. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4006. "decimals": 2,
  4007. "link": false,
  4008. "linkTooltip": "Drill down",
  4009. "linkUrl": "",
  4010. "pattern": "Value #D",
  4011. "thresholds": [
  4012. ],
  4013. "type": "number",
  4014. "unit": "short"
  4015. },
  4016. {
  4017. "alias": "CPU Limits %",
  4018. "colorMode": null,
  4019. "colors": [
  4020. ],
  4021. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4022. "decimals": 2,
  4023. "link": false,
  4024. "linkTooltip": "Drill down",
  4025. "linkUrl": "",
  4026. "pattern": "Value #E",
  4027. "thresholds": [
  4028. ],
  4029. "type": "number",
  4030. "unit": "percentunit"
  4031. },
  4032. {
  4033. "alias": "Container",
  4034. "colorMode": null,
  4035. "colors": [
  4036. ],
  4037. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4038. "decimals": 2,
  4039. "link": false,
  4040. "linkTooltip": "Drill down",
  4041. "linkUrl": "",
  4042. "pattern": "container",
  4043. "thresholds": [
  4044. ],
  4045. "type": "number",
  4046. "unit": "short"
  4047. },
  4048. {
  4049. "alias": "",
  4050. "colorMode": null,
  4051. "colors": [
  4052. ],
  4053. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4054. "decimals": 2,
  4055. "pattern": "/.*/",
  4056. "thresholds": [
  4057. ],
  4058. "type": "string",
  4059. "unit": "short"
  4060. }
  4061. ],
  4062. "targets": [
  4063. {
  4064. "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"POD\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container)",
  4065. "format": "table",
  4066. "instant": true,
  4067. "intervalFactor": 2,
  4068. "legendFormat": "",
  4069. "refId": "A",
  4070. "step": 10
  4071. },
  4072. {
  4073. "expr": "sum(kube_pod_container_resource_requests_cpu_cores{namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  4074. "format": "table",
  4075. "instant": true,
  4076. "intervalFactor": 2,
  4077. "legendFormat": "",
  4078. "refId": "B",
  4079. "step": 10
  4080. },
  4081. {
  4082. "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{namespace=\"$namespace\", pod_name=\"$pod\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container) / sum(kube_pod_container_resource_requests_cpu_cores{namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  4083. "format": "table",
  4084. "instant": true,
  4085. "intervalFactor": 2,
  4086. "legendFormat": "",
  4087. "refId": "C",
  4088. "step": 10
  4089. },
  4090. {
  4091. "expr": "sum(kube_pod_container_resource_limits_cpu_cores{namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  4092. "format": "table",
  4093. "instant": true,
  4094. "intervalFactor": 2,
  4095. "legendFormat": "",
  4096. "refId": "D",
  4097. "step": 10
  4098. },
  4099. {
  4100. "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{namespace=\"$namespace\", pod_name=\"$pod\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container) / sum(kube_pod_container_resource_limits_cpu_cores{namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  4101. "format": "table",
  4102. "instant": true,
  4103. "intervalFactor": 2,
  4104. "legendFormat": "",
  4105. "refId": "E",
  4106. "step": 10
  4107. }
  4108. ],
  4109. "thresholds": [
  4110. ],
  4111. "timeFrom": null,
  4112. "timeShift": null,
  4113. "title": "CPU Quota",
  4114. "tooltip": {
  4115. "shared": true,
  4116. "sort": 0,
  4117. "value_type": "individual"
  4118. },
  4119. "transform": "table",
  4120. "type": "table",
  4121. "xaxis": {
  4122. "buckets": null,
  4123. "mode": "time",
  4124. "name": null,
  4125. "show": true,
  4126. "values": [
  4127. ]
  4128. },
  4129. "yaxes": [
  4130. {
  4131. "format": "short",
  4132. "label": null,
  4133. "logBase": 1,
  4134. "max": null,
  4135. "min": 0,
  4136. "show": true
  4137. },
  4138. {
  4139. "format": "short",
  4140. "label": null,
  4141. "logBase": 1,
  4142. "max": null,
  4143. "min": null,
  4144. "show": false
  4145. }
  4146. ]
  4147. }
  4148. ],
  4149. "repeat": null,
  4150. "repeatIteration": null,
  4151. "repeatRowId": null,
  4152. "showTitle": true,
  4153. "title": "CPU Quota",
  4154. "titleSize": "h6"
  4155. },
  4156. {
  4157. "collapse": false,
  4158. "height": "250px",
  4159. "panels": [
  4160. {
  4161. "aliasColors": {
  4162. },
  4163. "bars": false,
  4164. "dashLength": 10,
  4165. "dashes": false,
  4166. "datasource": "$datasource",
  4167. "fill": 10,
  4168. "id": 2,
  4169. "legend": {
  4170. "avg": false,
  4171. "current": false,
  4172. "max": false,
  4173. "min": false,
  4174. "show": true,
  4175. "total": false,
  4176. "values": false
  4177. },
  4178. "lines": true,
  4179. "linewidth": 0,
  4180. "links": [
  4181. ],
  4182. "nullPointMode": "null as zero",
  4183. "percentage": false,
  4184. "pointradius": 5,
  4185. "points": false,
  4186. "renderer": "flot",
  4187. "seriesOverrides": [
  4188. ],
  4189. "spaceLength": 10,
  4190. "span": 12,
  4191. "stack": true,
  4192. "steppedLine": false,
  4193. "targets": [
  4194. {
  4195. "expr": "sum(container_memory_usage_bytes{namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"POD\", container_name!=\"\"}) by (container_name)",
  4196. "format": "time_series",
  4197. "intervalFactor": 2,
  4198. "legendFormat": "{{container_name}}",
  4199. "legendLink": null,
  4200. "step": 10
  4201. }
  4202. ],
  4203. "thresholds": [
  4204. ],
  4205. "timeFrom": null,
  4206. "timeShift": null,
  4207. "title": "Memory Usage",
  4208. "tooltip": {
  4209. "shared": true,
  4210. "sort": 0,
  4211. "value_type": "individual"
  4212. },
  4213. "type": "graph",
  4214. "xaxis": {
  4215. "buckets": null,
  4216. "mode": "time",
  4217. "name": null,
  4218. "show": true,
  4219. "values": [
  4220. ]
  4221. },
  4222. "yaxes": [
  4223. {
  4224. "format": "short",
  4225. "label": null,
  4226. "logBase": 1,
  4227. "max": null,
  4228. "min": 0,
  4229. "show": true
  4230. },
  4231. {
  4232. "format": "short",
  4233. "label": null,
  4234. "logBase": 1,
  4235. "max": null,
  4236. "min": null,
  4237. "show": false
  4238. }
  4239. ]
  4240. }
  4241. ],
  4242. "repeat": null,
  4243. "repeatIteration": null,
  4244. "repeatRowId": null,
  4245. "showTitle": true,
  4246. "title": "Memory Usage",
  4247. "titleSize": "h6"
  4248. },
  4249. {
  4250. "collapse": false,
  4251. "height": "250px",
  4252. "panels": [
  4253. {
  4254. "aliasColors": {
  4255. },
  4256. "bars": false,
  4257. "dashLength": 10,
  4258. "dashes": false,
  4259. "datasource": "$datasource",
  4260. "fill": 1,
  4261. "id": 3,
  4262. "legend": {
  4263. "avg": false,
  4264. "current": false,
  4265. "max": false,
  4266. "min": false,
  4267. "show": true,
  4268. "total": false,
  4269. "values": false
  4270. },
  4271. "lines": true,
  4272. "linewidth": 1,
  4273. "links": [
  4274. ],
  4275. "nullPointMode": "null as zero",
  4276. "percentage": false,
  4277. "pointradius": 5,
  4278. "points": false,
  4279. "renderer": "flot",
  4280. "seriesOverrides": [
  4281. ],
  4282. "spaceLength": 10,
  4283. "span": 12,
  4284. "stack": false,
  4285. "steppedLine": false,
  4286. "styles": [
  4287. {
  4288. "alias": "Time",
  4289. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4290. "pattern": "Time",
  4291. "type": "hidden"
  4292. },
  4293. {
  4294. "alias": "Memory Usage",
  4295. "colorMode": null,
  4296. "colors": [
  4297. ],
  4298. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4299. "decimals": 2,
  4300. "link": false,
  4301. "linkTooltip": "Drill down",
  4302. "linkUrl": "",
  4303. "pattern": "Value #A",
  4304. "thresholds": [
  4305. ],
  4306. "type": "number",
  4307. "unit": "decbytes"
  4308. },
  4309. {
  4310. "alias": "Memory Requests",
  4311. "colorMode": null,
  4312. "colors": [
  4313. ],
  4314. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4315. "decimals": 2,
  4316. "link": false,
  4317. "linkTooltip": "Drill down",
  4318. "linkUrl": "",
  4319. "pattern": "Value #B",
  4320. "thresholds": [
  4321. ],
  4322. "type": "number",
  4323. "unit": "decbytes"
  4324. },
  4325. {
  4326. "alias": "Memory Requests %",
  4327. "colorMode": null,
  4328. "colors": [
  4329. ],
  4330. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4331. "decimals": 2,
  4332. "link": false,
  4333. "linkTooltip": "Drill down",
  4334. "linkUrl": "",
  4335. "pattern": "Value #C",
  4336. "thresholds": [
  4337. ],
  4338. "type": "number",
  4339. "unit": "percentunit"
  4340. },
  4341. {
  4342. "alias": "Memory Limits",
  4343. "colorMode": null,
  4344. "colors": [
  4345. ],
  4346. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4347. "decimals": 2,
  4348. "link": false,
  4349. "linkTooltip": "Drill down",
  4350. "linkUrl": "",
  4351. "pattern": "Value #D",
  4352. "thresholds": [
  4353. ],
  4354. "type": "number",
  4355. "unit": "decbytes"
  4356. },
  4357. {
  4358. "alias": "Memory Limits %",
  4359. "colorMode": null,
  4360. "colors": [
  4361. ],
  4362. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4363. "decimals": 2,
  4364. "link": false,
  4365. "linkTooltip": "Drill down",
  4366. "linkUrl": "",
  4367. "pattern": "Value #E",
  4368. "thresholds": [
  4369. ],
  4370. "type": "number",
  4371. "unit": "percentunit"
  4372. },
  4373. {
  4374. "alias": "Container",
  4375. "colorMode": null,
  4376. "colors": [
  4377. ],
  4378. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4379. "decimals": 2,
  4380. "link": false,
  4381. "linkTooltip": "Drill down",
  4382. "linkUrl": "",
  4383. "pattern": "container",
  4384. "thresholds": [
  4385. ],
  4386. "type": "number",
  4387. "unit": "short"
  4388. },
  4389. {
  4390. "alias": "",
  4391. "colorMode": null,
  4392. "colors": [
  4393. ],
  4394. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  4395. "decimals": 2,
  4396. "pattern": "/.*/",
  4397. "thresholds": [
  4398. ],
  4399. "type": "string",
  4400. "unit": "short"
  4401. }
  4402. ],
  4403. "targets": [
  4404. {
  4405. "expr": "sum(label_replace(container_memory_usage_bytes{namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"POD\", container_name!=\"\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container)",
  4406. "format": "table",
  4407. "instant": true,
  4408. "intervalFactor": 2,
  4409. "legendFormat": "",
  4410. "refId": "A",
  4411. "step": 10
  4412. },
  4413. {
  4414. "expr": "sum(kube_pod_container_resource_requests_memory_bytes{namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  4415. "format": "table",
  4416. "instant": true,
  4417. "intervalFactor": 2,
  4418. "legendFormat": "",
  4419. "refId": "B",
  4420. "step": 10
  4421. },
  4422. {
  4423. "expr": "sum(label_replace(container_memory_usage_bytes{namespace=\"$namespace\", pod_name=\"$pod\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container) / sum(kube_pod_container_resource_requests_memory_bytes{namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  4424. "format": "table",
  4425. "instant": true,
  4426. "intervalFactor": 2,
  4427. "legendFormat": "",
  4428. "refId": "C",
  4429. "step": 10
  4430. },
  4431. {
  4432. "expr": "sum(kube_pod_container_resource_limits_memory_bytes{namespace=\"$namespace\", pod=\"$pod\", container!=\"\"}) by (container)",
  4433. "format": "table",
  4434. "instant": true,
  4435. "intervalFactor": 2,
  4436. "legendFormat": "",
  4437. "refId": "D",
  4438. "step": 10
  4439. },
  4440. {
  4441. "expr": "sum(label_replace(container_memory_usage_bytes{namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container) / sum(kube_pod_container_resource_limits_memory_bytes{namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  4442. "format": "table",
  4443. "instant": true,
  4444. "intervalFactor": 2,
  4445. "legendFormat": "",
  4446. "refId": "E",
  4447. "step": 10
  4448. }
  4449. ],
  4450. "thresholds": [
  4451. ],
  4452. "timeFrom": null,
  4453. "timeShift": null,
  4454. "title": "Memory Quota",
  4455. "tooltip": {
  4456. "shared": true,
  4457. "sort": 0,
  4458. "value_type": "individual"
  4459. },
  4460. "transform": "table",
  4461. "type": "table",
  4462. "xaxis": {
  4463. "buckets": null,
  4464. "mode": "time",
  4465. "name": null,
  4466. "show": true,
  4467. "values": [
  4468. ]
  4469. },
  4470. "yaxes": [
  4471. {
  4472. "format": "short",
  4473. "label": null,
  4474. "logBase": 1,
  4475. "max": null,
  4476. "min": 0,
  4477. "show": true
  4478. },
  4479. {
  4480. "format": "short",
  4481. "label": null,
  4482. "logBase": 1,
  4483. "max": null,
  4484. "min": null,
  4485. "show": false
  4486. }
  4487. ]
  4488. }
  4489. ],
  4490. "repeat": null,
  4491. "repeatIteration": null,
  4492. "repeatRowId": null,
  4493. "showTitle": true,
  4494. "title": "Memory Quota",
  4495. "titleSize": "h6"
  4496. }
  4497. ],
  4498. "schemaVersion": 14,
  4499. "style": "dark",
  4500. "tags": [
  4501. ],
  4502. "templating": {
  4503. "list": [
  4504. {
  4505. "current": {
  4506. "text": "Prometheus",
  4507. "value": "Prometheus"
  4508. },
  4509. "hide": 0,
  4510. "label": null,
  4511. "name": "datasource",
  4512. "options": [
  4513. ],
  4514. "query": "prometheus",
  4515. "refresh": 1,
  4516. "regex": "",
  4517. "type": "datasource"
  4518. },
  4519. {
  4520. "allValue": null,
  4521. "current": {
  4522. "text": "prod",
  4523. "value": "prod"
  4524. },
  4525. "datasource": "$datasource",
  4526. "hide": 0,
  4527. "includeAll": false,
  4528. "label": "namespace",
  4529. "multi": false,
  4530. "name": "namespace",
  4531. "options": [
  4532. ],
  4533. "query": "label_values(kube_pod_info, namespace)",
  4534. "refresh": 1,
  4535. "regex": "",
  4536. "sort": 2,
  4537. "tagValuesQuery": "",
  4538. "tags": [
  4539. ],
  4540. "tagsQuery": "",
  4541. "type": "query",
  4542. "useTags": false
  4543. },
  4544. {
  4545. "allValue": null,
  4546. "current": {
  4547. "text": "prod",
  4548. "value": "prod"
  4549. },
  4550. "datasource": "$datasource",
  4551. "hide": 0,
  4552. "includeAll": false,
  4553. "label": "pod",
  4554. "multi": false,
  4555. "name": "pod",
  4556. "options": [
  4557. ],
  4558. "query": "label_values(kube_pod_info{namespace=\"$namespace\"}, pod)",
  4559. "refresh": 1,
  4560. "regex": "",
  4561. "sort": 2,
  4562. "tagValuesQuery": "",
  4563. "tags": [
  4564. ],
  4565. "tagsQuery": "",
  4566. "type": "query",
  4567. "useTags": false
  4568. }
  4569. ]
  4570. },
  4571. "time": {
  4572. "from": "now-1h",
  4573. "to": "now"
  4574. },
  4575. "timepicker": {
  4576. "refresh_intervals": [
  4577. "5s",
  4578. "10s",
  4579. "30s",
  4580. "1m",
  4581. "5m",
  4582. "15m",
  4583. "30m",
  4584. "1h",
  4585. "2h",
  4586. "1d"
  4587. ],
  4588. "time_options": [
  4589. "5m",
  4590. "15m",
  4591. "1h",
  4592. "6h",
  4593. "12h",
  4594. "24h",
  4595. "2d",
  4596. "7d",
  4597. "30d"
  4598. ]
  4599. },
  4600. "timezone": "",
  4601. "title": "K8s / Compute Resources / Pod",
  4602. "uid": "6581e46e4e5c7ba40a07646395ef7b23",
  4603. "version": 0
  4604. }
  4605. kind: ConfigMap
  4606. metadata:
  4607. name: grafana-dashboard-k8s-resources-pod
  4608. namespace: monitoring
  4609. - apiVersion: v1
  4610. data:
  4611. nodes.json: |-
  4612. {
  4613. "annotations": {
  4614. "list": [
  4615. ]
  4616. },
  4617. "editable": false,
  4618. "gnetId": null,
  4619. "graphTooltip": 0,
  4620. "hideControls": false,
  4621. "id": null,
  4622. "links": [
  4623. ],
  4624. "refresh": "",
  4625. "rows": [
  4626. {
  4627. "collapse": false,
  4628. "collapsed": false,
  4629. "panels": [
  4630. {
  4631. "aliasColors": {
  4632. },
  4633. "bars": false,
  4634. "dashLength": 10,
  4635. "dashes": false,
  4636. "datasource": "$datasource",
  4637. "fill": 1,
  4638. "gridPos": {
  4639. },
  4640. "id": 2,
  4641. "legend": {
  4642. "alignAsTable": false,
  4643. "avg": false,
  4644. "current": false,
  4645. "max": false,
  4646. "min": false,
  4647. "rightSide": false,
  4648. "show": true,
  4649. "total": false,
  4650. "values": false
  4651. },
  4652. "lines": true,
  4653. "linewidth": 1,
  4654. "links": [
  4655. ],
  4656. "nullPointMode": "null",
  4657. "percentage": false,
  4658. "pointradius": 5,
  4659. "points": false,
  4660. "renderer": "flot",
  4661. "repeat": null,
  4662. "seriesOverrides": [
  4663. ],
  4664. "spaceLength": 10,
  4665. "span": 6,
  4666. "stack": false,
  4667. "steppedLine": false,
  4668. "targets": [
  4669. {
  4670. "expr": "max(node_load1{job=\"node-exporter\", instance=\"$instance\"})",
  4671. "format": "time_series",
  4672. "intervalFactor": 2,
  4673. "legendFormat": "load 1m",
  4674. "refId": "A"
  4675. },
  4676. {
  4677. "expr": "max(node_load5{job=\"node-exporter\", instance=\"$instance\"})",
  4678. "format": "time_series",
  4679. "intervalFactor": 2,
  4680. "legendFormat": "load 5m",
  4681. "refId": "B"
  4682. },
  4683. {
  4684. "expr": "max(node_load15{job=\"node-exporter\", instance=\"$instance\"})",
  4685. "format": "time_series",
  4686. "intervalFactor": 2,
  4687. "legendFormat": "load 15m",
  4688. "refId": "C"
  4689. }
  4690. ],
  4691. "thresholds": [
  4692. ],
  4693. "timeFrom": null,
  4694. "timeShift": null,
  4695. "title": "System load",
  4696. "tooltip": {
  4697. "shared": true,
  4698. "sort": 0,
  4699. "value_type": "individual"
  4700. },
  4701. "type": "graph",
  4702. "xaxis": {
  4703. "buckets": null,
  4704. "mode": "time",
  4705. "name": null,
  4706. "show": true,
  4707. "values": [
  4708. ]
  4709. },
  4710. "yaxes": [
  4711. {
  4712. "format": "short",
  4713. "label": null,
  4714. "logBase": 1,
  4715. "max": null,
  4716. "min": null,
  4717. "show": true
  4718. },
  4719. {
  4720. "format": "short",
  4721. "label": null,
  4722. "logBase": 1,
  4723. "max": null,
  4724. "min": null,
  4725. "show": true
  4726. }
  4727. ]
  4728. },
  4729. {
  4730. "aliasColors": {
  4731. },
  4732. "bars": false,
  4733. "dashLength": 10,
  4734. "dashes": false,
  4735. "datasource": "$datasource",
  4736. "fill": 1,
  4737. "gridPos": {
  4738. },
  4739. "id": 3,
  4740. "legend": {
  4741. "alignAsTable": false,
  4742. "avg": false,
  4743. "current": false,
  4744. "max": false,
  4745. "min": false,
  4746. "rightSide": false,
  4747. "show": true,
  4748. "total": false,
  4749. "values": false
  4750. },
  4751. "lines": true,
  4752. "linewidth": 1,
  4753. "links": [
  4754. ],
  4755. "nullPointMode": "null",
  4756. "percentage": false,
  4757. "pointradius": 5,
  4758. "points": false,
  4759. "renderer": "flot",
  4760. "repeat": null,
  4761. "seriesOverrides": [
  4762. ],
  4763. "spaceLength": 10,
  4764. "span": 6,
  4765. "stack": false,
  4766. "steppedLine": false,
  4767. "targets": [
  4768. {
  4769. "expr": "avg by (cpu) (irate(node_cpu_seconds_total{job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[5m])) * 100",
  4770. "format": "time_series",
  4771. "intervalFactor": 2,
  4772. "legendFormat": "{{cpu}}",
  4773. "refId": "A"
  4774. }
  4775. ],
  4776. "thresholds": [
  4777. ],
  4778. "timeFrom": null,
  4779. "timeShift": null,
  4780. "title": "Usage Per Core",
  4781. "tooltip": {
  4782. "shared": true,
  4783. "sort": 0,
  4784. "value_type": "individual"
  4785. },
  4786. "type": "graph",
  4787. "xaxis": {
  4788. "buckets": null,
  4789. "mode": "time",
  4790. "name": null,
  4791. "show": true,
  4792. "values": [
  4793. ]
  4794. },
  4795. "yaxes": [
  4796. {
  4797. "format": "percentunit",
  4798. "label": null,
  4799. "logBase": 1,
  4800. "max": null,
  4801. "min": null,
  4802. "show": true
  4803. },
  4804. {
  4805. "format": "percentunit",
  4806. "label": null,
  4807. "logBase": 1,
  4808. "max": null,
  4809. "min": null,
  4810. "show": true
  4811. }
  4812. ]
  4813. }
  4814. ],
  4815. "repeat": null,
  4816. "repeatIteration": null,
  4817. "repeatRowId": null,
  4818. "showTitle": false,
  4819. "title": "Dashboard Row",
  4820. "titleSize": "h6",
  4821. "type": "row"
  4822. },
  4823. {
  4824. "collapse": false,
  4825. "collapsed": false,
  4826. "panels": [
  4827. {
  4828. "aliasColors": {
  4829. },
  4830. "bars": false,
  4831. "dashLength": 10,
  4832. "dashes": false,
  4833. "datasource": "$datasource",
  4834. "fill": 1,
  4835. "gridPos": {
  4836. },
  4837. "id": 4,
  4838. "legend": {
  4839. "alignAsTable": "true",
  4840. "avg": "true",
  4841. "current": "true",
  4842. "max": "false",
  4843. "min": "false",
  4844. "rightSide": "true",
  4845. "show": "true",
  4846. "total": "false",
  4847. "values": "true"
  4848. },
  4849. "lines": true,
  4850. "linewidth": 1,
  4851. "links": [
  4852. ],
  4853. "nullPointMode": "null",
  4854. "percentage": false,
  4855. "pointradius": 5,
  4856. "points": false,
  4857. "renderer": "flot",
  4858. "repeat": null,
  4859. "seriesOverrides": [
  4860. ],
  4861. "spaceLength": 10,
  4862. "span": 9,
  4863. "stack": false,
  4864. "steppedLine": false,
  4865. "targets": [
  4866. {
  4867. "expr": "max (sum by (cpu) (irate(node_cpu_seconds_total{job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[2m])) ) * 100\n",
  4868. "format": "time_series",
  4869. "intervalFactor": 10,
  4870. "legendFormat": "{{ cpu }}",
  4871. "refId": "A"
  4872. }
  4873. ],
  4874. "thresholds": [
  4875. ],
  4876. "timeFrom": null,
  4877. "timeShift": null,
  4878. "title": "CPU Utilizaion",
  4879. "tooltip": {
  4880. "shared": true,
  4881. "sort": 0,
  4882. "value_type": "individual"
  4883. },
  4884. "type": "graph",
  4885. "xaxis": {
  4886. "buckets": null,
  4887. "mode": "time",
  4888. "name": null,
  4889. "show": true,
  4890. "values": [
  4891. ]
  4892. },
  4893. "yaxes": [
  4894. {
  4895. "format": "percent",
  4896. "label": null,
  4897. "logBase": 1,
  4898. "max": 100,
  4899. "min": 0,
  4900. "show": true
  4901. },
  4902. {
  4903. "format": "percent",
  4904. "label": null,
  4905. "logBase": 1,
  4906. "max": 100,
  4907. "min": 0,
  4908. "show": true
  4909. }
  4910. ]
  4911. },
  4912. {
  4913. "cacheTimeout": null,
  4914. "colorBackground": false,
  4915. "colorValue": false,
  4916. "colors": [
  4917. "rgba(50, 172, 45, 0.97)",
  4918. "rgba(237, 129, 40, 0.89)",
  4919. "rgba(245, 54, 54, 0.9)"
  4920. ],
  4921. "datasource": "$datasource",
  4922. "format": "percent",
  4923. "gauge": {
  4924. "maxValue": 100,
  4925. "minValue": 0,
  4926. "show": true,
  4927. "thresholdLabels": false,
  4928. "thresholdMarkers": true
  4929. },
  4930. "gridPos": {
  4931. },
  4932. "id": 5,
  4933. "interval": null,
  4934. "links": [
  4935. ],
  4936. "mappingType": 1,
  4937. "mappingTypes": [
  4938. {
  4939. "name": "value to text",
  4940. "value": 1
  4941. },
  4942. {
  4943. "name": "range to text",
  4944. "value": 2
  4945. }
  4946. ],
  4947. "maxDataPoints": 100,
  4948. "nullPointMode": "connected",
  4949. "nullText": null,
  4950. "postfix": "",
  4951. "postfixFontSize": "50%",
  4952. "prefix": "",
  4953. "prefixFontSize": "50%",
  4954. "rangeMaps": [
  4955. {
  4956. "from": "null",
  4957. "text": "N/A",
  4958. "to": "null"
  4959. }
  4960. ],
  4961. "span": 3,
  4962. "sparkline": {
  4963. "fillColor": "rgba(31, 118, 189, 0.18)",
  4964. "full": false,
  4965. "lineColor": "rgb(31, 120, 193)",
  4966. "show": false
  4967. },
  4968. "tableColumn": "",
  4969. "targets": [
  4970. {
  4971. "expr": "avg(sum by (cpu) (irate(node_cpu_seconds_total{job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[2m]))) * 100\n",
  4972. "format": "time_series",
  4973. "intervalFactor": 2,
  4974. "legendFormat": "",
  4975. "refId": "A"
  4976. }
  4977. ],
  4978. "thresholds": "80, 90",
  4979. "title": "CPU Usage",
  4980. "type": "singlestat",
  4981. "valueFontSize": "80%",
  4982. "valueMaps": [
  4983. {
  4984. "op": "=",
  4985. "text": "N/A",
  4986. "value": "null"
  4987. }
  4988. ],
  4989. "valueName": "current"
  4990. }
  4991. ],
  4992. "repeat": null,
  4993. "repeatIteration": null,
  4994. "repeatRowId": null,
  4995. "showTitle": false,
  4996. "title": "Dashboard Row",
  4997. "titleSize": "h6",
  4998. "type": "row"
  4999. },
  5000. {
  5001. "collapse": false,
  5002. "collapsed": false,
  5003. "panels": [
  5004. {
  5005. "aliasColors": {
  5006. },
  5007. "bars": false,
  5008. "dashLength": 10,
  5009. "dashes": false,
  5010. "datasource": "$datasource",
  5011. "fill": 1,
  5012. "gridPos": {
  5013. },
  5014. "id": 6,
  5015. "legend": {
  5016. "alignAsTable": false,
  5017. "avg": false,
  5018. "current": false,
  5019. "max": false,
  5020. "min": false,
  5021. "rightSide": false,
  5022. "show": true,
  5023. "total": false,
  5024. "values": false
  5025. },
  5026. "lines": true,
  5027. "linewidth": 1,
  5028. "links": [
  5029. ],
  5030. "nullPointMode": "null",
  5031. "percentage": false,
  5032. "pointradius": 5,
  5033. "points": false,
  5034. "renderer": "flot",
  5035. "repeat": null,
  5036. "seriesOverrides": [
  5037. ],
  5038. "spaceLength": 10,
  5039. "span": 9,
  5040. "stack": false,
  5041. "steppedLine": false,
  5042. "targets": [
  5043. {
  5044. "expr": "max(\n node_memory_MemTotal_bytes{job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_MemFree_bytes{job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Buffers_bytes{job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Cached_bytes{job=\"node-exporter\", instance=\"$instance\"}\n)\n",
  5045. "format": "time_series",
  5046. "intervalFactor": 2,
  5047. "legendFormat": "memory used",
  5048. "refId": "A"
  5049. },
  5050. {
  5051. "expr": "max(node_memory_Buffers_bytes{job=\"node-exporter\", instance=\"$instance\"})",
  5052. "format": "time_series",
  5053. "intervalFactor": 2,
  5054. "legendFormat": "memory buffers",
  5055. "refId": "B"
  5056. },
  5057. {
  5058. "expr": "max(node_memory_Cached_bytes{job=\"node-exporter\", instance=\"$instance\"})",
  5059. "format": "time_series",
  5060. "intervalFactor": 2,
  5061. "legendFormat": "memory cached",
  5062. "refId": "C"
  5063. },
  5064. {
  5065. "expr": "max(node_memory_MemFree_bytes{job=\"node-exporter\", instance=\"$instance\"})",
  5066. "format": "time_series",
  5067. "intervalFactor": 2,
  5068. "legendFormat": "memory free",
  5069. "refId": "D"
  5070. }
  5071. ],
  5072. "thresholds": [
  5073. ],
  5074. "timeFrom": null,
  5075. "timeShift": null,
  5076. "title": "Memory Usage",
  5077. "tooltip": {
  5078. "shared": true,
  5079. "sort": 0,
  5080. "value_type": "individual"
  5081. },
  5082. "type": "graph",
  5083. "xaxis": {
  5084. "buckets": null,
  5085. "mode": "time",
  5086. "name": null,
  5087. "show": true,
  5088. "values": [
  5089. ]
  5090. },
  5091. "yaxes": [
  5092. {
  5093. "format": "bytes",
  5094. "label": null,
  5095. "logBase": 1,
  5096. "max": null,
  5097. "min": null,
  5098. "show": true
  5099. },
  5100. {
  5101. "format": "bytes",
  5102. "label": null,
  5103. "logBase": 1,
  5104. "max": null,
  5105. "min": null,
  5106. "show": true
  5107. }
  5108. ]
  5109. },
  5110. {
  5111. "cacheTimeout": null,
  5112. "colorBackground": false,
  5113. "colorValue": false,
  5114. "colors": [
  5115. "rgba(50, 172, 45, 0.97)",
  5116. "rgba(237, 129, 40, 0.89)",
  5117. "rgba(245, 54, 54, 0.9)"
  5118. ],
  5119. "datasource": "$datasource",
  5120. "format": "percent",
  5121. "gauge": {
  5122. "maxValue": 100,
  5123. "minValue": 0,
  5124. "show": true,
  5125. "thresholdLabels": false,
  5126. "thresholdMarkers": true
  5127. },
  5128. "gridPos": {
  5129. },
  5130. "id": 7,
  5131. "interval": null,
  5132. "links": [
  5133. ],
  5134. "mappingType": 1,
  5135. "mappingTypes": [
  5136. {
  5137. "name": "value to text",
  5138. "value": 1
  5139. },
  5140. {
  5141. "name": "range to text",
  5142. "value": 2
  5143. }
  5144. ],
  5145. "maxDataPoints": 100,
  5146. "nullPointMode": "connected",
  5147. "nullText": null,
  5148. "postfix": "",
  5149. "postfixFontSize": "50%",
  5150. "prefix": "",
  5151. "prefixFontSize": "50%",
  5152. "rangeMaps": [
  5153. {
  5154. "from": "null",
  5155. "text": "N/A",
  5156. "to": "null"
  5157. }
  5158. ],
  5159. "span": 3,
  5160. "sparkline": {
  5161. "fillColor": "rgba(31, 118, 189, 0.18)",
  5162. "full": false,
  5163. "lineColor": "rgb(31, 120, 193)",
  5164. "show": false
  5165. },
  5166. "tableColumn": "",
  5167. "targets": [
  5168. {
  5169. "expr": "max(\n (\n (\n node_memory_MemTotal_bytes{job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_MemFree_bytes{job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Buffers_bytes{job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Cached_bytes{job=\"node-exporter\", instance=\"$instance\"}\n )\n / node_memory_MemTotal_bytes{job=\"node-exporter\", instance=\"$instance\"}\n ) * 100)\n",
  5170. "format": "time_series",
  5171. "intervalFactor": 2,
  5172. "legendFormat": "",
  5173. "refId": "A"
  5174. }
  5175. ],
  5176. "thresholds": "80, 90",
  5177. "title": "Memory Usage",
  5178. "type": "singlestat",
  5179. "valueFontSize": "80%",
  5180. "valueMaps": [
  5181. {
  5182. "op": "=",
  5183. "text": "N/A",
  5184. "value": "null"
  5185. }
  5186. ],
  5187. "valueName": "current"
  5188. }
  5189. ],
  5190. "repeat": null,
  5191. "repeatIteration": null,
  5192. "repeatRowId": null,
  5193. "showTitle": false,
  5194. "title": "Dashboard Row",
  5195. "titleSize": "h6",
  5196. "type": "row"
  5197. },
  5198. {
  5199. "collapse": false,
  5200. "collapsed": false,
  5201. "panels": [
  5202. {
  5203. "aliasColors": {
  5204. },
  5205. "bars": false,
  5206. "dashLength": 10,
  5207. "dashes": false,
  5208. "datasource": "$datasource",
  5209. "fill": 1,
  5210. "gridPos": {
  5211. },
  5212. "id": 8,
  5213. "legend": {
  5214. "alignAsTable": false,
  5215. "avg": false,
  5216. "current": false,
  5217. "max": false,
  5218. "min": false,
  5219. "rightSide": false,
  5220. "show": true,
  5221. "total": false,
  5222. "values": false
  5223. },
  5224. "lines": true,
  5225. "linewidth": 1,
  5226. "links": [
  5227. ],
  5228. "nullPointMode": "null",
  5229. "percentage": false,
  5230. "pointradius": 5,
  5231. "points": false,
  5232. "renderer": "flot",
  5233. "repeat": null,
  5234. "seriesOverrides": [
  5235. {
  5236. "alias": "read",
  5237. "yaxis": 1
  5238. },
  5239. {
  5240. "alias": "io time",
  5241. "yaxis": 2
  5242. }
  5243. ],
  5244. "spaceLength": 10,
  5245. "span": 6,
  5246. "stack": false,
  5247. "steppedLine": false,
  5248. "targets": [
  5249. {
  5250. "expr": "max(rate(node_disk_read_bytes_total{job=\"node-exporter\", instance=\"$instance\"}[2m]))",
  5251. "format": "time_series",
  5252. "intervalFactor": 2,
  5253. "legendFormat": "read",
  5254. "refId": "A"
  5255. },
  5256. {
  5257. "expr": "max(rate(node_disk_written_bytes_total{job=\"node-exporter\", instance=\"$instance\"}[2m]))",
  5258. "format": "time_series",
  5259. "intervalFactor": 2,
  5260. "legendFormat": "written",
  5261. "refId": "B"
  5262. },
  5263. {
  5264. "expr": "max(rate(node_disk_io_time_seconds_total{job=\"node-exporter\", instance=\"$instance\"}[2m]))",
  5265. "format": "time_series",
  5266. "intervalFactor": 2,
  5267. "legendFormat": "io time",
  5268. "refId": "C"
  5269. }
  5270. ],
  5271. "thresholds": [
  5272. ],
  5273. "timeFrom": null,
  5274. "timeShift": null,
  5275. "title": "Disk I/O",
  5276. "tooltip": {
  5277. "shared": true,
  5278. "sort": 0,
  5279. "value_type": "individual"
  5280. },
  5281. "type": "graph",
  5282. "xaxis": {
  5283. "buckets": null,
  5284. "mode": "time",
  5285. "name": null,
  5286. "show": true,
  5287. "values": [
  5288. ]
  5289. },
  5290. "yaxes": [
  5291. {
  5292. "format": "bytes",
  5293. "label": null,
  5294. "logBase": 1,
  5295. "max": null,
  5296. "min": null,
  5297. "show": true
  5298. },
  5299. {
  5300. "format": "ms",
  5301. "label": null,
  5302. "logBase": 1,
  5303. "max": null,
  5304. "min": null,
  5305. "show": true
  5306. }
  5307. ]
  5308. },
  5309. {
  5310. "aliasColors": {
  5311. },
  5312. "bars": false,
  5313. "dashLength": 10,
  5314. "dashes": false,
  5315. "datasource": "$datasource",
  5316. "fill": 1,
  5317. "gridPos": {
  5318. },
  5319. "id": 9,
  5320. "legend": {
  5321. "alignAsTable": false,
  5322. "avg": false,
  5323. "current": false,
  5324. "max": false,
  5325. "min": false,
  5326. "rightSide": false,
  5327. "show": true,
  5328. "total": false,
  5329. "values": false
  5330. },
  5331. "lines": true,
  5332. "linewidth": 1,
  5333. "links": [
  5334. ],
  5335. "nullPointMode": "null",
  5336. "percentage": false,
  5337. "pointradius": 5,
  5338. "points": false,
  5339. "renderer": "flot",
  5340. "repeat": null,
  5341. "seriesOverrides": [
  5342. ],
  5343. "spaceLength": 10,
  5344. "span": 6,
  5345. "stack": false,
  5346. "steppedLine": false,
  5347. "targets": [
  5348. {
  5349. "expr": "node:node_filesystem_usage:\n",
  5350. "format": "time_series",
  5351. "intervalFactor": 2,
  5352. "legendFormat": "{{device}}",
  5353. "refId": "A"
  5354. }
  5355. ],
  5356. "thresholds": [
  5357. ],
  5358. "timeFrom": null,
  5359. "timeShift": null,
  5360. "title": "Disk Space Usage",
  5361. "tooltip": {
  5362. "shared": true,
  5363. "sort": 0,
  5364. "value_type": "individual"
  5365. },
  5366. "type": "graph",
  5367. "xaxis": {
  5368. "buckets": null,
  5369. "mode": "time",
  5370. "name": null,
  5371. "show": true,
  5372. "values": [
  5373. ]
  5374. },
  5375. "yaxes": [
  5376. {
  5377. "format": "percentunit",
  5378. "label": null,
  5379. "logBase": 1,
  5380. "max": null,
  5381. "min": null,
  5382. "show": true
  5383. },
  5384. {
  5385. "format": "percentunit",
  5386. "label": null,
  5387. "logBase": 1,
  5388. "max": null,
  5389. "min": null,
  5390. "show": true
  5391. }
  5392. ]
  5393. }
  5394. ],
  5395. "repeat": null,
  5396. "repeatIteration": null,
  5397. "repeatRowId": null,
  5398. "showTitle": false,
  5399. "title": "Dashboard Row",
  5400. "titleSize": "h6",
  5401. "type": "row"
  5402. },
  5403. {
  5404. "collapse": false,
  5405. "collapsed": false,
  5406. "panels": [
  5407. {
  5408. "aliasColors": {
  5409. },
  5410. "bars": false,
  5411. "dashLength": 10,
  5412. "dashes": false,
  5413. "datasource": "$datasource",
  5414. "fill": 1,
  5415. "gridPos": {
  5416. },
  5417. "id": 10,
  5418. "legend": {
  5419. "alignAsTable": false,
  5420. "avg": false,
  5421. "current": false,
  5422. "max": false,
  5423. "min": false,
  5424. "rightSide": false,
  5425. "show": true,
  5426. "total": false,
  5427. "values": false
  5428. },
  5429. "lines": true,
  5430. "linewidth": 1,
  5431. "links": [
  5432. ],
  5433. "nullPointMode": "null",
  5434. "percentage": false,
  5435. "pointradius": 5,
  5436. "points": false,
  5437. "renderer": "flot",
  5438. "repeat": null,
  5439. "seriesOverrides": [
  5440. ],
  5441. "spaceLength": 10,
  5442. "span": 6,
  5443. "stack": false,
  5444. "steppedLine": false,
  5445. "targets": [
  5446. {
  5447. "expr": "max(rate(node_network_receive_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!\u007e\"lo\"}[5m]))",
  5448. "format": "time_series",
  5449. "intervalFactor": 2,
  5450. "legendFormat": "{{device}}",
  5451. "refId": "A"
  5452. }
  5453. ],
  5454. "thresholds": [
  5455. ],
  5456. "timeFrom": null,
  5457. "timeShift": null,
  5458. "title": "Network Received",
  5459. "tooltip": {
  5460. "shared": true,
  5461. "sort": 0,
  5462. "value_type": "individual"
  5463. },
  5464. "type": "graph",
  5465. "xaxis": {
  5466. "buckets": null,
  5467. "mode": "time",
  5468. "name": null,
  5469. "show": true,
  5470. "values": [
  5471. ]
  5472. },
  5473. "yaxes": [
  5474. {
  5475. "format": "bytes",
  5476. "label": null,
  5477. "logBase": 1,
  5478. "max": null,
  5479. "min": null,
  5480. "show": true
  5481. },
  5482. {
  5483. "format": "bytes",
  5484. "label": null,
  5485. "logBase": 1,
  5486. "max": null,
  5487. "min": null,
  5488. "show": true
  5489. }
  5490. ]
  5491. },
  5492. {
  5493. "aliasColors": {
  5494. },
  5495. "bars": false,
  5496. "dashLength": 10,
  5497. "dashes": false,
  5498. "datasource": "$datasource",
  5499. "fill": 1,
  5500. "gridPos": {
  5501. },
  5502. "id": 11,
  5503. "legend": {
  5504. "alignAsTable": false,
  5505. "avg": false,
  5506. "current": false,
  5507. "max": false,
  5508. "min": false,
  5509. "rightSide": false,
  5510. "show": true,
  5511. "total": false,
  5512. "values": false
  5513. },
  5514. "lines": true,
  5515. "linewidth": 1,
  5516. "links": [
  5517. ],
  5518. "nullPointMode": "null",
  5519. "percentage": false,
  5520. "pointradius": 5,
  5521. "points": false,
  5522. "renderer": "flot",
  5523. "repeat": null,
  5524. "seriesOverrides": [
  5525. ],
  5526. "spaceLength": 10,
  5527. "span": 6,
  5528. "stack": false,
  5529. "steppedLine": false,
  5530. "targets": [
  5531. {
  5532. "expr": "max(rate(node_network_transmit_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!\u007e\"lo\"}[5m]))",
  5533. "format": "time_series",
  5534. "intervalFactor": 2,
  5535. "legendFormat": "{{device}}",
  5536. "refId": "A"
  5537. }
  5538. ],
  5539. "thresholds": [
  5540. ],
  5541. "timeFrom": null,
  5542. "timeShift": null,
  5543. "title": "Network Transmitted",
  5544. "tooltip": {
  5545. "shared": true,
  5546. "sort": 0,
  5547. "value_type": "individual"
  5548. },
  5549. "type": "graph",
  5550. "xaxis": {
  5551. "buckets": null,
  5552. "mode": "time",
  5553. "name": null,
  5554. "show": true,
  5555. "values": [
  5556. ]
  5557. },
  5558. "yaxes": [
  5559. {
  5560. "format": "bytes",
  5561. "label": null,
  5562. "logBase": 1,
  5563. "max": null,
  5564. "min": null,
  5565. "show": true
  5566. },
  5567. {
  5568. "format": "bytes",
  5569. "label": null,
  5570. "logBase": 1,
  5571. "max": null,
  5572. "min": null,
  5573. "show": true
  5574. }
  5575. ]
  5576. }
  5577. ],
  5578. "repeat": null,
  5579. "repeatIteration": null,
  5580. "repeatRowId": null,
  5581. "showTitle": false,
  5582. "title": "Dashboard Row",
  5583. "titleSize": "h6",
  5584. "type": "row"
  5585. }
  5586. ],
  5587. "schemaVersion": 14,
  5588. "style": "dark",
  5589. "tags": [
  5590. ],
  5591. "templating": {
  5592. "list": [
  5593. {
  5594. "current": {
  5595. "text": "Prometheus",
  5596. "value": "Prometheus"
  5597. },
  5598. "hide": 0,
  5599. "label": null,
  5600. "name": "datasource",
  5601. "options": [
  5602. ],
  5603. "query": "prometheus",
  5604. "refresh": 1,
  5605. "regex": "",
  5606. "type": "datasource"
  5607. },
  5608. {
  5609. "allValue": null,
  5610. "current": {
  5611. },
  5612. "datasource": "$datasource",
  5613. "hide": 0,
  5614. "includeAll": false,
  5615. "label": null,
  5616. "multi": false,
  5617. "name": "instance",
  5618. "options": [
  5619. ],
  5620. "query": "label_values(node_boot_time_seconds{job=\"node-exporter\"}, instance)",
  5621. "refresh": 2,
  5622. "regex": "",
  5623. "sort": 0,
  5624. "tagValuesQuery": "",
  5625. "tags": [
  5626. ],
  5627. "tagsQuery": "",
  5628. "type": "query",
  5629. "useTags": false
  5630. }
  5631. ]
  5632. },
  5633. "time": {
  5634. "from": "now-1h",
  5635. "to": "now"
  5636. },
  5637. "timepicker": {
  5638. "refresh_intervals": [
  5639. "5s",
  5640. "10s",
  5641. "30s",
  5642. "1m",
  5643. "5m",
  5644. "15m",
  5645. "30m",
  5646. "1h",
  5647. "2h",
  5648. "1d"
  5649. ],
  5650. "time_options": [
  5651. "5m",
  5652. "15m",
  5653. "1h",
  5654. "6h",
  5655. "12h",
  5656. "24h",
  5657. "2d",
  5658. "7d",
  5659. "30d"
  5660. ]
  5661. },
  5662. "timezone": "",
  5663. "title": "Nodes",
  5664. "uid": "fa49a4706d07a042595b664c87fb33ea",
  5665. "version": 0
  5666. }
  5667. kind: ConfigMap
  5668. metadata:
  5669. name: grafana-dashboard-nodes
  5670. namespace: monitoring
  5671. - apiVersion: v1
  5672. data:
  5673. pods.json: |-
  5674. {
  5675. "annotations": {
  5676. "list": [
  5677. ]
  5678. },
  5679. "editable": false,
  5680. "gnetId": null,
  5681. "graphTooltip": 0,
  5682. "hideControls": false,
  5683. "id": null,
  5684. "links": [
  5685. ],
  5686. "refresh": "",
  5687. "rows": [
  5688. {
  5689. "collapse": false,
  5690. "collapsed": false,
  5691. "panels": [
  5692. {
  5693. "aliasColors": {
  5694. },
  5695. "bars": false,
  5696. "dashLength": 10,
  5697. "dashes": false,
  5698. "datasource": "$datasource",
  5699. "fill": 1,
  5700. "gridPos": {
  5701. },
  5702. "id": 2,
  5703. "legend": {
  5704. "alignAsTable": true,
  5705. "avg": true,
  5706. "current": true,
  5707. "max": false,
  5708. "min": false,
  5709. "rightSide": true,
  5710. "show": true,
  5711. "total": false,
  5712. "values": false
  5713. },
  5714. "lines": true,
  5715. "linewidth": 1,
  5716. "links": [
  5717. ],
  5718. "nullPointMode": "null",
  5719. "percentage": false,
  5720. "pointradius": 5,
  5721. "points": false,
  5722. "renderer": "flot",
  5723. "repeat": null,
  5724. "seriesOverrides": [
  5725. ],
  5726. "spaceLength": 10,
  5727. "stack": false,
  5728. "steppedLine": false,
  5729. "targets": [
  5730. {
  5731. "expr": "sum by(container_name) (container_memory_usage_bytes{job=\"kubelet\", namespace=\"$namespace\", pod_name=\"$pod\", container_name=\u007e\"$container\", container_name!=\"POD\"})",
  5732. "format": "time_series",
  5733. "intervalFactor": 2,
  5734. "legendFormat": "Current: {{ container_name }}",
  5735. "refId": "A"
  5736. },
  5737. {
  5738. "expr": "sum by(container) (kube_pod_container_resource_requests_memory_bytes{job=\"kube-state-metrics\", namespace=\"$namespace\", pod=\"$pod\", container=\u007e\"$container\"})",
  5739. "format": "time_series",
  5740. "intervalFactor": 2,
  5741. "legendFormat": "Requested: {{ container }}",
  5742. "refId": "B"
  5743. },
  5744. {
  5745. "expr": "sum by(container) (kube_pod_container_resource_limits_memory_bytes{job=\"kube-state-metrics\", namespace=\"$namespace\", pod=\"$pod\", container=\u007e\"$container\"})",
  5746. "format": "time_series",
  5747. "intervalFactor": 2,
  5748. "legendFormat": "Limit: {{ container }}",
  5749. "refId": "C"
  5750. }
  5751. ],
  5752. "thresholds": [
  5753. ],
  5754. "timeFrom": null,
  5755. "timeShift": null,
  5756. "title": "Memory Usage",
  5757. "tooltip": {
  5758. "shared": true,
  5759. "sort": 0,
  5760. "value_type": "individual"
  5761. },
  5762. "type": "graph",
  5763. "xaxis": {
  5764. "buckets": null,
  5765. "mode": "time",
  5766. "name": null,
  5767. "show": true,
  5768. "values": [
  5769. ]
  5770. },
  5771. "yaxes": [
  5772. {
  5773. "format": "bytes",
  5774. "label": null,
  5775. "logBase": 1,
  5776. "max": null,
  5777. "min": 0,
  5778. "show": true
  5779. },
  5780. {
  5781. "format": "bytes",
  5782. "label": null,
  5783. "logBase": 1,
  5784. "max": null,
  5785. "min": 0,
  5786. "show": true
  5787. }
  5788. ]
  5789. }
  5790. ],
  5791. "repeat": null,
  5792. "repeatIteration": null,
  5793. "repeatRowId": null,
  5794. "showTitle": false,
  5795. "title": "Dashboard Row",
  5796. "titleSize": "h6",
  5797. "type": "row"
  5798. },
  5799. {
  5800. "collapse": false,
  5801. "collapsed": false,
  5802. "panels": [
  5803. {
  5804. "aliasColors": {
  5805. },
  5806. "bars": false,
  5807. "dashLength": 10,
  5808. "dashes": false,
  5809. "datasource": "$datasource",
  5810. "fill": 1,
  5811. "gridPos": {
  5812. },
  5813. "id": 3,
  5814. "legend": {
  5815. "alignAsTable": true,
  5816. "avg": true,
  5817. "current": true,
  5818. "max": false,
  5819. "min": false,
  5820. "rightSide": true,
  5821. "show": true,
  5822. "total": false,
  5823. "values": false
  5824. },
  5825. "lines": true,
  5826. "linewidth": 1,
  5827. "links": [
  5828. ],
  5829. "nullPointMode": "null",
  5830. "percentage": false,
  5831. "pointradius": 5,
  5832. "points": false,
  5833. "renderer": "flot",
  5834. "repeat": null,
  5835. "seriesOverrides": [
  5836. ],
  5837. "spaceLength": 10,
  5838. "stack": false,
  5839. "steppedLine": false,
  5840. "targets": [
  5841. {
  5842. "expr": "sum by (container_name) (rate(container_cpu_usage_seconds_total{job=\"kubelet\", image!=\"\",container_name!=\"POD\",pod_name=\"$pod\"}[1m]))",
  5843. "format": "time_series",
  5844. "intervalFactor": 2,
  5845. "legendFormat": "{{ container_name }}",
  5846. "refId": "A"
  5847. }
  5848. ],
  5849. "thresholds": [
  5850. ],
  5851. "timeFrom": null,
  5852. "timeShift": null,
  5853. "title": "CPU Usage",
  5854. "tooltip": {
  5855. "shared": true,
  5856. "sort": 0,
  5857. "value_type": "individual"
  5858. },
  5859. "type": "graph",
  5860. "xaxis": {
  5861. "buckets": null,
  5862. "mode": "time",
  5863. "name": null,
  5864. "show": true,
  5865. "values": [
  5866. ]
  5867. },
  5868. "yaxes": [
  5869. {
  5870. "format": "short",
  5871. "label": null,
  5872. "logBase": 1,
  5873. "max": null,
  5874. "min": 0,
  5875. "show": true
  5876. },
  5877. {
  5878. "format": "short",
  5879. "label": null,
  5880. "logBase": 1,
  5881. "max": null,
  5882. "min": 0,
  5883. "show": true
  5884. }
  5885. ]
  5886. }
  5887. ],
  5888. "repeat": null,
  5889. "repeatIteration": null,
  5890. "repeatRowId": null,
  5891. "showTitle": false,
  5892. "title": "Dashboard Row",
  5893. "titleSize": "h6",
  5894. "type": "row"
  5895. },
  5896. {
  5897. "collapse": false,
  5898. "collapsed": false,
  5899. "panels": [
  5900. {
  5901. "aliasColors": {
  5902. },
  5903. "bars": false,
  5904. "dashLength": 10,
  5905. "dashes": false,
  5906. "datasource": "$datasource",
  5907. "fill": 1,
  5908. "gridPos": {
  5909. },
  5910. "id": 4,
  5911. "legend": {
  5912. "alignAsTable": true,
  5913. "avg": true,
  5914. "current": true,
  5915. "max": false,
  5916. "min": false,
  5917. "rightSide": true,
  5918. "show": true,
  5919. "total": false,
  5920. "values": false
  5921. },
  5922. "lines": true,
  5923. "linewidth": 1,
  5924. "links": [
  5925. ],
  5926. "nullPointMode": "null",
  5927. "percentage": false,
  5928. "pointradius": 5,
  5929. "points": false,
  5930. "renderer": "flot",
  5931. "repeat": null,
  5932. "seriesOverrides": [
  5933. ],
  5934. "spaceLength": 10,
  5935. "stack": false,
  5936. "steppedLine": false,
  5937. "targets": [
  5938. {
  5939. "expr": "sort_desc(sum by (pod_name) (rate(container_network_receive_bytes_total{job=\"kubelet\", pod_name=\"$pod\"}[1m])))",
  5940. "format": "time_series",
  5941. "intervalFactor": 2,
  5942. "legendFormat": "{{ pod_name }}",
  5943. "refId": "A"
  5944. }
  5945. ],
  5946. "thresholds": [
  5947. ],
  5948. "timeFrom": null,
  5949. "timeShift": null,
  5950. "title": "Network I/O",
  5951. "tooltip": {
  5952. "shared": true,
  5953. "sort": 0,
  5954. "value_type": "individual"
  5955. },
  5956. "type": "graph",
  5957. "xaxis": {
  5958. "buckets": null,
  5959. "mode": "time",
  5960. "name": null,
  5961. "show": true,
  5962. "values": [
  5963. ]
  5964. },
  5965. "yaxes": [
  5966. {
  5967. "format": "bytes",
  5968. "label": null,
  5969. "logBase": 1,
  5970. "max": null,
  5971. "min": 0,
  5972. "show": true
  5973. },
  5974. {
  5975. "format": "bytes",
  5976. "label": null,
  5977. "logBase": 1,
  5978. "max": null,
  5979. "min": 0,
  5980. "show": true
  5981. }
  5982. ]
  5983. }
  5984. ],
  5985. "repeat": null,
  5986. "repeatIteration": null,
  5987. "repeatRowId": null,
  5988. "showTitle": false,
  5989. "title": "Dashboard Row",
  5990. "titleSize": "h6",
  5991. "type": "row"
  5992. }
  5993. ],
  5994. "schemaVersion": 14,
  5995. "style": "dark",
  5996. "tags": [
  5997. ],
  5998. "templating": {
  5999. "list": [
  6000. {
  6001. "current": {
  6002. "text": "Prometheus",
  6003. "value": "Prometheus"
  6004. },
  6005. "hide": 0,
  6006. "label": null,
  6007. "name": "datasource",
  6008. "options": [
  6009. ],
  6010. "query": "prometheus",
  6011. "refresh": 1,
  6012. "regex": "",
  6013. "type": "datasource"
  6014. },
  6015. {
  6016. "allValue": null,
  6017. "current": {
  6018. },
  6019. "datasource": "$datasource",
  6020. "hide": 0,
  6021. "includeAll": false,
  6022. "label": "Namespace",
  6023. "multi": false,
  6024. "name": "namespace",
  6025. "options": [
  6026. ],
  6027. "query": "label_values(kube_pod_info, namespace)",
  6028. "refresh": 2,
  6029. "regex": "",
  6030. "sort": 0,
  6031. "tagValuesQuery": "",
  6032. "tags": [
  6033. ],
  6034. "tagsQuery": "",
  6035. "type": "query",
  6036. "useTags": false
  6037. },
  6038. {
  6039. "allValue": null,
  6040. "current": {
  6041. },
  6042. "datasource": "$datasource",
  6043. "hide": 0,
  6044. "includeAll": false,
  6045. "label": "Pod",
  6046. "multi": false,
  6047. "name": "pod",
  6048. "options": [
  6049. ],
  6050. "query": "label_values(kube_pod_info{namespace=\u007e\"$namespace\"}, pod)",
  6051. "refresh": 2,
  6052. "regex": "",
  6053. "sort": 0,
  6054. "tagValuesQuery": "",
  6055. "tags": [
  6056. ],
  6057. "tagsQuery": "",
  6058. "type": "query",
  6059. "useTags": false
  6060. },
  6061. {
  6062. "allValue": null,
  6063. "current": {
  6064. },
  6065. "datasource": "$datasource",
  6066. "hide": 0,
  6067. "includeAll": true,
  6068. "label": "Container",
  6069. "multi": false,
  6070. "name": "container",
  6071. "options": [
  6072. ],
  6073. "query": "label_values(kube_pod_container_info{namespace=\"$namespace\", pod=\"$pod\"}, container)",
  6074. "refresh": 2,
  6075. "regex": "",
  6076. "sort": 0,
  6077. "tagValuesQuery": "",
  6078. "tags": [
  6079. ],
  6080. "tagsQuery": "",
  6081. "type": "query",
  6082. "useTags": false
  6083. }
  6084. ]
  6085. },
  6086. "time": {
  6087. "from": "now-1h",
  6088. "to": "now"
  6089. },
  6090. "timepicker": {
  6091. "refresh_intervals": [
  6092. "5s",
  6093. "10s",
  6094. "30s",
  6095. "1m",
  6096. "5m",
  6097. "15m",
  6098. "30m",
  6099. "1h",
  6100. "2h",
  6101. "1d"
  6102. ],
  6103. "time_options": [
  6104. "5m",
  6105. "15m",
  6106. "1h",
  6107. "6h",
  6108. "12h",
  6109. "24h",
  6110. "2d",
  6111. "7d",
  6112. "30d"
  6113. ]
  6114. },
  6115. "timezone": "",
  6116. "title": "Pods",
  6117. "uid": "ab4f13a9892a76a4d21ce8c2445bf4ea",
  6118. "version": 0
  6119. }
  6120. kind: ConfigMap
  6121. metadata:
  6122. name: grafana-dashboard-pods
  6123. namespace: monitoring
  6124. - apiVersion: v1
  6125. data:
  6126. statefulset.json: |-
  6127. {
  6128. "annotations": {
  6129. "list": [
  6130. ]
  6131. },
  6132. "editable": false,
  6133. "gnetId": null,
  6134. "graphTooltip": 0,
  6135. "hideControls": false,
  6136. "id": null,
  6137. "links": [
  6138. ],
  6139. "refresh": "",
  6140. "rows": [
  6141. {
  6142. "collapse": false,
  6143. "collapsed": false,
  6144. "panels": [
  6145. {
  6146. "cacheTimeout": null,
  6147. "colorBackground": false,
  6148. "colorValue": false,
  6149. "colors": [
  6150. "#299c46",
  6151. "rgba(237, 129, 40, 0.89)",
  6152. "#d44a3a"
  6153. ],
  6154. "datasource": "$datasource",
  6155. "format": "none",
  6156. "gauge": {
  6157. "maxValue": 100,
  6158. "minValue": 0,
  6159. "show": false,
  6160. "thresholdLabels": false,
  6161. "thresholdMarkers": true
  6162. },
  6163. "gridPos": {
  6164. },
  6165. "id": 2,
  6166. "interval": null,
  6167. "links": [
  6168. ],
  6169. "mappingType": 1,
  6170. "mappingTypes": [
  6171. {
  6172. "name": "value to text",
  6173. "value": 1
  6174. },
  6175. {
  6176. "name": "range to text",
  6177. "value": 2
  6178. }
  6179. ],
  6180. "maxDataPoints": 100,
  6181. "nullPointMode": "connected",
  6182. "nullText": null,
  6183. "postfix": "cores",
  6184. "postfixFontSize": "50%",
  6185. "prefix": "",
  6186. "prefixFontSize": "50%",
  6187. "rangeMaps": [
  6188. {
  6189. "from": "null",
  6190. "text": "N/A",
  6191. "to": "null"
  6192. }
  6193. ],
  6194. "span": 4,
  6195. "sparkline": {
  6196. "fillColor": "rgba(31, 118, 189, 0.18)",
  6197. "lineColor": "rgb(31, 120, 193)",
  6198. "show": true
  6199. },
  6200. "tableColumn": "",
  6201. "targets": [
  6202. {
  6203. "expr": "sum(rate(container_cpu_usage_seconds_total{job=\"kubelet\", namespace=\"$namespace\", pod_name=\u007e\"$statefulset.*\"}[3m]))",
  6204. "format": "time_series",
  6205. "intervalFactor": 2,
  6206. "legendFormat": "",
  6207. "refId": "A"
  6208. }
  6209. ],
  6210. "thresholds": "",
  6211. "title": "CPU",
  6212. "type": "singlestat",
  6213. "valueFontSize": "80%",
  6214. "valueMaps": [
  6215. {
  6216. "op": "=",
  6217. "text": "0",
  6218. "value": "null"
  6219. }
  6220. ],
  6221. "valueName": "current"
  6222. },
  6223. {
  6224. "cacheTimeout": null,
  6225. "colorBackground": false,
  6226. "colorValue": false,
  6227. "colors": [
  6228. "#299c46",
  6229. "rgba(237, 129, 40, 0.89)",
  6230. "#d44a3a"
  6231. ],
  6232. "datasource": "$datasource",
  6233. "format": "none",
  6234. "gauge": {
  6235. "maxValue": 100,
  6236. "minValue": 0,
  6237. "show": false,
  6238. "thresholdLabels": false,
  6239. "thresholdMarkers": true
  6240. },
  6241. "gridPos": {
  6242. },
  6243. "id": 3,
  6244. "interval": null,
  6245. "links": [
  6246. ],
  6247. "mappingType": 1,
  6248. "mappingTypes": [
  6249. {
  6250. "name": "value to text",
  6251. "value": 1
  6252. },
  6253. {
  6254. "name": "range to text",
  6255. "value": 2
  6256. }
  6257. ],
  6258. "maxDataPoints": 100,
  6259. "nullPointMode": "connected",
  6260. "nullText": null,
  6261. "postfix": "GB",
  6262. "postfixFontSize": "50%",
  6263. "prefix": "",
  6264. "prefixFontSize": "50%",
  6265. "rangeMaps": [
  6266. {
  6267. "from": "null",
  6268. "text": "N/A",
  6269. "to": "null"
  6270. }
  6271. ],
  6272. "span": 4,
  6273. "sparkline": {
  6274. "fillColor": "rgba(31, 118, 189, 0.18)",
  6275. "lineColor": "rgb(31, 120, 193)",
  6276. "show": true
  6277. },
  6278. "tableColumn": "",
  6279. "targets": [
  6280. {
  6281. "expr": "sum(container_memory_usage_bytes{job=\"kubelet\", namespace=\"$namespace\", pod_name=\u007e\"$statefulset.*\"}) / 1024^3",
  6282. "format": "time_series",
  6283. "intervalFactor": 2,
  6284. "legendFormat": "",
  6285. "refId": "A"
  6286. }
  6287. ],
  6288. "thresholds": "",
  6289. "title": "Memory",
  6290. "type": "singlestat",
  6291. "valueFontSize": "80%",
  6292. "valueMaps": [
  6293. {
  6294. "op": "=",
  6295. "text": "0",
  6296. "value": "null"
  6297. }
  6298. ],
  6299. "valueName": "current"
  6300. },
  6301. {
  6302. "cacheTimeout": null,
  6303. "colorBackground": false,
  6304. "colorValue": false,
  6305. "colors": [
  6306. "#299c46",
  6307. "rgba(237, 129, 40, 0.89)",
  6308. "#d44a3a"
  6309. ],
  6310. "datasource": "$datasource",
  6311. "format": "none",
  6312. "gauge": {
  6313. "maxValue": 100,
  6314. "minValue": 0,
  6315. "show": false,
  6316. "thresholdLabels": false,
  6317. "thresholdMarkers": true
  6318. },
  6319. "gridPos": {
  6320. },
  6321. "id": 4,
  6322. "interval": null,
  6323. "links": [
  6324. ],
  6325. "mappingType": 1,
  6326. "mappingTypes": [
  6327. {
  6328. "name": "value to text",
  6329. "value": 1
  6330. },
  6331. {
  6332. "name": "range to text",
  6333. "value": 2
  6334. }
  6335. ],
  6336. "maxDataPoints": 100,
  6337. "nullPointMode": "connected",
  6338. "nullText": null,
  6339. "postfix": "Bps",
  6340. "postfixFontSize": "50%",
  6341. "prefix": "",
  6342. "prefixFontSize": "50%",
  6343. "rangeMaps": [
  6344. {
  6345. "from": "null",
  6346. "text": "N/A",
  6347. "to": "null"
  6348. }
  6349. ],
  6350. "span": 4,
  6351. "sparkline": {
  6352. "fillColor": "rgba(31, 118, 189, 0.18)",
  6353. "lineColor": "rgb(31, 120, 193)",
  6354. "show": true
  6355. },
  6356. "tableColumn": "",
  6357. "targets": [
  6358. {
  6359. "expr": "sum(rate(container_network_transmit_bytes_total{job=\"kubelet\", namespace=\"$namespace\", pod_name=\u007e\"$statefulset.*\"}[3m])) + sum(rate(container_network_receive_bytes_total{namespace=\"$namespace\",pod_name=\u007e\"$statefulset.*\"}[3m]))",
  6360. "format": "time_series",
  6361. "intervalFactor": 2,
  6362. "legendFormat": "",
  6363. "refId": "A"
  6364. }
  6365. ],
  6366. "thresholds": "",
  6367. "title": "Network",
  6368. "type": "singlestat",
  6369. "valueFontSize": "80%",
  6370. "valueMaps": [
  6371. {
  6372. "op": "=",
  6373. "text": "0",
  6374. "value": "null"
  6375. }
  6376. ],
  6377. "valueName": "current"
  6378. }
  6379. ],
  6380. "repeat": null,
  6381. "repeatIteration": null,
  6382. "repeatRowId": null,
  6383. "showTitle": false,
  6384. "title": "Dashboard Row",
  6385. "titleSize": "h6",
  6386. "type": "row"
  6387. },
  6388. {
  6389. "collapse": false,
  6390. "collapsed": false,
  6391. "height": "100px",
  6392. "panels": [
  6393. {
  6394. "cacheTimeout": null,
  6395. "colorBackground": false,
  6396. "colorValue": false,
  6397. "colors": [
  6398. "#299c46",
  6399. "rgba(237, 129, 40, 0.89)",
  6400. "#d44a3a"
  6401. ],
  6402. "datasource": "$datasource",
  6403. "format": "none",
  6404. "gauge": {
  6405. "maxValue": 100,
  6406. "minValue": 0,
  6407. "show": false,
  6408. "thresholdLabels": false,
  6409. "thresholdMarkers": true
  6410. },
  6411. "gridPos": {
  6412. },
  6413. "id": 5,
  6414. "interval": null,
  6415. "links": [
  6416. ],
  6417. "mappingType": 1,
  6418. "mappingTypes": [
  6419. {
  6420. "name": "value to text",
  6421. "value": 1
  6422. },
  6423. {
  6424. "name": "range to text",
  6425. "value": 2
  6426. }
  6427. ],
  6428. "maxDataPoints": 100,
  6429. "nullPointMode": "connected",
  6430. "nullText": null,
  6431. "postfix": "",
  6432. "postfixFontSize": "50%",
  6433. "prefix": "",
  6434. "prefixFontSize": "50%",
  6435. "rangeMaps": [
  6436. {
  6437. "from": "null",
  6438. "text": "N/A",
  6439. "to": "null"
  6440. }
  6441. ],
  6442. "span": 3,
  6443. "sparkline": {
  6444. "fillColor": "rgba(31, 118, 189, 0.18)",
  6445. "full": false,
  6446. "lineColor": "rgb(31, 120, 193)",
  6447. "show": false
  6448. },
  6449. "tableColumn": "",
  6450. "targets": [
  6451. {
  6452. "expr": "max(kube_statefulset_replicas{job=\"kube-state-metrics\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)",
  6453. "format": "time_series",
  6454. "intervalFactor": 2,
  6455. "legendFormat": "",
  6456. "refId": "A"
  6457. }
  6458. ],
  6459. "thresholds": "",
  6460. "title": "Desired Replicas",
  6461. "type": "singlestat",
  6462. "valueFontSize": "80%",
  6463. "valueMaps": [
  6464. {
  6465. "op": "=",
  6466. "text": "0",
  6467. "value": "null"
  6468. }
  6469. ],
  6470. "valueName": "current"
  6471. },
  6472. {
  6473. "cacheTimeout": null,
  6474. "colorBackground": false,
  6475. "colorValue": false,
  6476. "colors": [
  6477. "#299c46",
  6478. "rgba(237, 129, 40, 0.89)",
  6479. "#d44a3a"
  6480. ],
  6481. "datasource": "$datasource",
  6482. "format": "none",
  6483. "gauge": {
  6484. "maxValue": 100,
  6485. "minValue": 0,
  6486. "show": false,
  6487. "thresholdLabels": false,
  6488. "thresholdMarkers": true
  6489. },
  6490. "gridPos": {
  6491. },
  6492. "id": 6,
  6493. "interval": null,
  6494. "links": [
  6495. ],
  6496. "mappingType": 1,
  6497. "mappingTypes": [
  6498. {
  6499. "name": "value to text",
  6500. "value": 1
  6501. },
  6502. {
  6503. "name": "range to text",
  6504. "value": 2
  6505. }
  6506. ],
  6507. "maxDataPoints": 100,
  6508. "nullPointMode": "connected",
  6509. "nullText": null,
  6510. "postfix": "",
  6511. "postfixFontSize": "50%",
  6512. "prefix": "",
  6513. "prefixFontSize": "50%",
  6514. "rangeMaps": [
  6515. {
  6516. "from": "null",
  6517. "text": "N/A",
  6518. "to": "null"
  6519. }
  6520. ],
  6521. "span": 3,
  6522. "sparkline": {
  6523. "fillColor": "rgba(31, 118, 189, 0.18)",
  6524. "full": false,
  6525. "lineColor": "rgb(31, 120, 193)",
  6526. "show": false
  6527. },
  6528. "tableColumn": "",
  6529. "targets": [
  6530. {
  6531. "expr": "min(kube_statefulset_status_replicas_current{job=\"kube-state-metrics\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)",
  6532. "format": "time_series",
  6533. "intervalFactor": 2,
  6534. "legendFormat": "",
  6535. "refId": "A"
  6536. }
  6537. ],
  6538. "thresholds": "",
  6539. "title": "Replicas of current version",
  6540. "type": "singlestat",
  6541. "valueFontSize": "80%",
  6542. "valueMaps": [
  6543. {
  6544. "op": "=",
  6545. "text": "0",
  6546. "value": "null"
  6547. }
  6548. ],
  6549. "valueName": "current"
  6550. },
  6551. {
  6552. "cacheTimeout": null,
  6553. "colorBackground": false,
  6554. "colorValue": false,
  6555. "colors": [
  6556. "#299c46",
  6557. "rgba(237, 129, 40, 0.89)",
  6558. "#d44a3a"
  6559. ],
  6560. "datasource": "$datasource",
  6561. "format": "none",
  6562. "gauge": {
  6563. "maxValue": 100,
  6564. "minValue": 0,
  6565. "show": false,
  6566. "thresholdLabels": false,
  6567. "thresholdMarkers": true
  6568. },
  6569. "gridPos": {
  6570. },
  6571. "id": 7,
  6572. "interval": null,
  6573. "links": [
  6574. ],
  6575. "mappingType": 1,
  6576. "mappingTypes": [
  6577. {
  6578. "name": "value to text",
  6579. "value": 1
  6580. },
  6581. {
  6582. "name": "range to text",
  6583. "value": 2
  6584. }
  6585. ],
  6586. "maxDataPoints": 100,
  6587. "nullPointMode": "connected",
  6588. "nullText": null,
  6589. "postfix": "",
  6590. "postfixFontSize": "50%",
  6591. "prefix": "",
  6592. "prefixFontSize": "50%",
  6593. "rangeMaps": [
  6594. {
  6595. "from": "null",
  6596. "text": "N/A",
  6597. "to": "null"
  6598. }
  6599. ],
  6600. "span": 3,
  6601. "sparkline": {
  6602. "fillColor": "rgba(31, 118, 189, 0.18)",
  6603. "full": false,
  6604. "lineColor": "rgb(31, 120, 193)",
  6605. "show": false
  6606. },
  6607. "tableColumn": "",
  6608. "targets": [
  6609. {
  6610. "expr": "max(kube_statefulset_status_observed_generation{job=\"kube-state-metrics\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)",
  6611. "format": "time_series",
  6612. "intervalFactor": 2,
  6613. "legendFormat": "",
  6614. "refId": "A"
  6615. }
  6616. ],
  6617. "thresholds": "",
  6618. "title": "Observed Generation",
  6619. "type": "singlestat",
  6620. "valueFontSize": "80%",
  6621. "valueMaps": [
  6622. {
  6623. "op": "=",
  6624. "text": "0",
  6625. "value": "null"
  6626. }
  6627. ],
  6628. "valueName": "current"
  6629. },
  6630. {
  6631. "cacheTimeout": null,
  6632. "colorBackground": false,
  6633. "colorValue": false,
  6634. "colors": [
  6635. "#299c46",
  6636. "rgba(237, 129, 40, 0.89)",
  6637. "#d44a3a"
  6638. ],
  6639. "datasource": "$datasource",
  6640. "format": "none",
  6641. "gauge": {
  6642. "maxValue": 100,
  6643. "minValue": 0,
  6644. "show": false,
  6645. "thresholdLabels": false,
  6646. "thresholdMarkers": true
  6647. },
  6648. "gridPos": {
  6649. },
  6650. "id": 8,
  6651. "interval": null,
  6652. "links": [
  6653. ],
  6654. "mappingType": 1,
  6655. "mappingTypes": [
  6656. {
  6657. "name": "value to text",
  6658. "value": 1
  6659. },
  6660. {
  6661. "name": "range to text",
  6662. "value": 2
  6663. }
  6664. ],
  6665. "maxDataPoints": 100,
  6666. "nullPointMode": "connected",
  6667. "nullText": null,
  6668. "postfix": "",
  6669. "postfixFontSize": "50%",
  6670. "prefix": "",
  6671. "prefixFontSize": "50%",
  6672. "rangeMaps": [
  6673. {
  6674. "from": "null",
  6675. "text": "N/A",
  6676. "to": "null"
  6677. }
  6678. ],
  6679. "span": 3,
  6680. "sparkline": {
  6681. "fillColor": "rgba(31, 118, 189, 0.18)",
  6682. "full": false,
  6683. "lineColor": "rgb(31, 120, 193)",
  6684. "show": false
  6685. },
  6686. "tableColumn": "",
  6687. "targets": [
  6688. {
  6689. "expr": "max(kube_statefulset_metadata_generation{job=\"kube-state-metrics\", statefulset=\"$statefulset\", namespace=\"$namespace\"}) without (instance, pod)",
  6690. "format": "time_series",
  6691. "intervalFactor": 2,
  6692. "legendFormat": "",
  6693. "refId": "A"
  6694. }
  6695. ],
  6696. "thresholds": "",
  6697. "title": "Metadata Generation",
  6698. "type": "singlestat",
  6699. "valueFontSize": "80%",
  6700. "valueMaps": [
  6701. {
  6702. "op": "=",
  6703. "text": "0",
  6704. "value": "null"
  6705. }
  6706. ],
  6707. "valueName": "current"
  6708. }
  6709. ],
  6710. "repeat": null,
  6711. "repeatIteration": null,
  6712. "repeatRowId": null,
  6713. "showTitle": false,
  6714. "title": "Dashboard Row",
  6715. "titleSize": "h6",
  6716. "type": "row"
  6717. },
  6718. {
  6719. "collapse": false,
  6720. "collapsed": false,
  6721. "panels": [
  6722. {
  6723. "aliasColors": {
  6724. },
  6725. "bars": false,
  6726. "dashLength": 10,
  6727. "dashes": false,
  6728. "datasource": "$datasource",
  6729. "fill": 1,
  6730. "gridPos": {
  6731. },
  6732. "id": 9,
  6733. "legend": {
  6734. "alignAsTable": false,
  6735. "avg": false,
  6736. "current": false,
  6737. "max": false,
  6738. "min": false,
  6739. "rightSide": false,
  6740. "show": true,
  6741. "total": false,
  6742. "values": false
  6743. },
  6744. "lines": true,
  6745. "linewidth": 1,
  6746. "links": [
  6747. ],
  6748. "nullPointMode": "null",
  6749. "percentage": false,
  6750. "pointradius": 5,
  6751. "points": false,
  6752. "renderer": "flot",
  6753. "repeat": null,
  6754. "seriesOverrides": [
  6755. ],
  6756. "spaceLength": 10,
  6757. "stack": false,
  6758. "steppedLine": false,
  6759. "targets": [
  6760. {
  6761. "expr": "max(kube_statefulset_replicas{job=\"kube-state-metrics\", statefulset=\"$statefulset\",namespace=\"$namespace\"}) without (instance, pod)",
  6762. "format": "time_series",
  6763. "intervalFactor": 2,
  6764. "legendFormat": "replicas specified",
  6765. "refId": "A"
  6766. },
  6767. {
  6768. "expr": "max(kube_statefulset_status_replicas{job=\"kube-state-metrics\", statefulset=\"$statefulset\",namespace=\"$namespace\"}) without (instance, pod)",
  6769. "format": "time_series",
  6770. "intervalFactor": 2,
  6771. "legendFormat": "replicas created",
  6772. "refId": "B"
  6773. },
  6774. {
  6775. "expr": "min(kube_statefulset_status_replicas_ready{job=\"kube-state-metrics\", statefulset=\"$statefulset\",namespace=\"$namespace\"}) without (instance, pod)",
  6776. "format": "time_series",
  6777. "intervalFactor": 2,
  6778. "legendFormat": "ready",
  6779. "refId": "C"
  6780. },
  6781. {
  6782. "expr": "min(kube_statefulset_status_replicas_current{job=\"kube-state-metrics\", statefulset=\"$statefulset\",namespace=\"$namespace\"}) without (instance, pod)",
  6783. "format": "time_series",
  6784. "intervalFactor": 2,
  6785. "legendFormat": "replicas of current version",
  6786. "refId": "D"
  6787. },
  6788. {
  6789. "expr": "min(kube_statefulset_status_replicas_updated{job=\"kube-state-metrics\", statefulset=\"$statefulset\",namespace=\"$namespace\"}) without (instance, pod)",
  6790. "format": "time_series",
  6791. "intervalFactor": 2,
  6792. "legendFormat": "updated",
  6793. "refId": "E"
  6794. }
  6795. ],
  6796. "thresholds": [
  6797. ],
  6798. "timeFrom": null,
  6799. "timeShift": null,
  6800. "title": "Replicas",
  6801. "tooltip": {
  6802. "shared": true,
  6803. "sort": 0,
  6804. "value_type": "individual"
  6805. },
  6806. "type": "graph",
  6807. "xaxis": {
  6808. "buckets": null,
  6809. "mode": "time",
  6810. "name": null,
  6811. "show": true,
  6812. "values": [
  6813. ]
  6814. },
  6815. "yaxes": [
  6816. {
  6817. "format": "short",
  6818. "label": null,
  6819. "logBase": 1,
  6820. "max": null,
  6821. "min": null,
  6822. "show": true
  6823. },
  6824. {
  6825. "format": "short",
  6826. "label": null,
  6827. "logBase": 1,
  6828. "max": null,
  6829. "min": null,
  6830. "show": true
  6831. }
  6832. ]
  6833. }
  6834. ],
  6835. "repeat": null,
  6836. "repeatIteration": null,
  6837. "repeatRowId": null,
  6838. "showTitle": false,
  6839. "title": "Dashboard Row",
  6840. "titleSize": "h6",
  6841. "type": "row"
  6842. }
  6843. ],
  6844. "schemaVersion": 14,
  6845. "style": "dark",
  6846. "tags": [
  6847. ],
  6848. "templating": {
  6849. "list": [
  6850. {
  6851. "current": {
  6852. "text": "Prometheus",
  6853. "value": "Prometheus"
  6854. },
  6855. "hide": 0,
  6856. "label": null,
  6857. "name": "datasource",
  6858. "options": [
  6859. ],
  6860. "query": "prometheus",
  6861. "refresh": 1,
  6862. "regex": "",
  6863. "type": "datasource"
  6864. },
  6865. {
  6866. "allValue": null,
  6867. "current": {
  6868. },
  6869. "datasource": "$datasource",
  6870. "hide": 0,
  6871. "includeAll": false,
  6872. "label": "Namespace",
  6873. "multi": false,
  6874. "name": "namespace",
  6875. "options": [
  6876. ],
  6877. "query": "label_values(kube_statefulset_metadata_generation{job=\"kube-state-metrics\"}, namespace)",
  6878. "refresh": 2,
  6879. "regex": "",
  6880. "sort": 0,
  6881. "tagValuesQuery": "",
  6882. "tags": [
  6883. ],
  6884. "tagsQuery": "",
  6885. "type": "query",
  6886. "useTags": false
  6887. },
  6888. {
  6889. "allValue": null,
  6890. "current": {
  6891. },
  6892. "datasource": "$datasource",
  6893. "hide": 0,
  6894. "includeAll": false,
  6895. "label": "Name",
  6896. "multi": false,
  6897. "name": "statefulset",
  6898. "options": [
  6899. ],
  6900. "query": "label_values(kube_statefulset_metadata_generation{job=\"kube-state-metrics\", namespace=\"$namespace\"}, statefulset)",
  6901. "refresh": 2,
  6902. "regex": "",
  6903. "sort": 0,
  6904. "tagValuesQuery": "",
  6905. "tags": [
  6906. ],
  6907. "tagsQuery": "",
  6908. "type": "query",
  6909. "useTags": false
  6910. }
  6911. ]
  6912. },
  6913. "time": {
  6914. "from": "now-1h",
  6915. "to": "now"
  6916. },
  6917. "timepicker": {
  6918. "refresh_intervals": [
  6919. "5s",
  6920. "10s",
  6921. "30s",
  6922. "1m",
  6923. "5m",
  6924. "15m",
  6925. "30m",
  6926. "1h",
  6927. "2h",
  6928. "1d"
  6929. ],
  6930. "time_options": [
  6931. "5m",
  6932. "15m",
  6933. "1h",
  6934. "6h",
  6935. "12h",
  6936. "24h",
  6937. "2d",
  6938. "7d",
  6939. "30d"
  6940. ]
  6941. },
  6942. "timezone": "",
  6943. "title": "StatefulSets",
  6944. "uid": "a31c1f46e6f727cb37c0d731a7245005",
  6945. "version": 0
  6946. }
  6947. kind: ConfigMap
  6948. metadata:
  6949. name: grafana-dashboard-statefulset
  6950. namespace: monitoring
  6951. kind: ConfigMapList