prometheus.yaml 1.6 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312
  1. ---
  2. # Source: kube-prometheus-stack/charts/grafana/templates/serviceaccount.yaml
  3. apiVersion: v1
  4. kind: ServiceAccount
  5. metadata:
  6. labels:
  7. helm.sh/chart: grafana-6.50.2
  8. app.kubernetes.io/name: grafana
  9. app.kubernetes.io/instance: prometheus
  10. app.kubernetes.io/version: "9.3.1"
  11. app.kubernetes.io/managed-by: Helm
  12. name: prometheus-grafana
  13. namespace: monitoring
  14. ---
  15. # Source: kube-prometheus-stack/charts/kube-state-metrics/templates/serviceaccount.yaml
  16. apiVersion: v1
  17. kind: ServiceAccount
  18. metadata:
  19. labels:
  20. helm.sh/chart: kube-state-metrics-4.24.0
  21. app.kubernetes.io/managed-by: Helm
  22. app.kubernetes.io/component: metrics
  23. app.kubernetes.io/part-of: kube-state-metrics
  24. app.kubernetes.io/name: kube-state-metrics
  25. app.kubernetes.io/instance: prometheus
  26. app.kubernetes.io/version: "2.7.0"
  27. release: prometheus
  28. name: prometheus-kube-state-metrics
  29. namespace: monitoring
  30. imagePullSecrets:
  31. []
  32. ---
  33. # Source: kube-prometheus-stack/charts/prometheus-node-exporter/templates/serviceaccount.yaml
  34. apiVersion: v1
  35. kind: ServiceAccount
  36. metadata:
  37. name: prometheus-prometheus-node-exporter
  38. namespace: monitoring
  39. labels:
  40. helm.sh/chart: prometheus-node-exporter-4.8.1
  41. app.kubernetes.io/managed-by: Helm
  42. app.kubernetes.io/component: metrics
  43. app.kubernetes.io/part-of: prometheus-node-exporter
  44. app.kubernetes.io/name: prometheus-node-exporter
  45. app.kubernetes.io/instance: prometheus
  46. app.kubernetes.io/version: "1.5.0"
  47. jobLabel: node-exporter
  48. release: prometheus
  49. ---
  50. # Source: kube-prometheus-stack/templates/alertmanager/serviceaccount.yaml
  51. apiVersion: v1
  52. kind: ServiceAccount
  53. metadata:
  54. name: prometheus-kube-prometheus-alertmanager
  55. namespace: monitoring
  56. labels:
  57. app: kube-prometheus-stack-alertmanager
  58. app.kubernetes.io/name: kube-prometheus-stack-alertmanager
  59. app.kubernetes.io/component: alertmanager
  60. app.kubernetes.io/managed-by: Helm
  61. app.kubernetes.io/instance: prometheus
  62. app.kubernetes.io/version: "44.3.0"
  63. app.kubernetes.io/part-of: kube-prometheus-stack
  64. chart: kube-prometheus-stack-44.3.0
  65. release: "prometheus"
  66. heritage: "Helm"
  67. ---
  68. # Source: kube-prometheus-stack/templates/prometheus-operator/serviceaccount.yaml
  69. apiVersion: v1
  70. kind: ServiceAccount
  71. metadata:
  72. name: prometheus-kube-prometheus-operator
  73. namespace: monitoring
  74. labels:
  75. app: kube-prometheus-stack-operator
  76. app.kubernetes.io/name: kube-prometheus-stack-prometheus-operator
  77. app.kubernetes.io/component: prometheus-operator
  78. app.kubernetes.io/managed-by: Helm
  79. app.kubernetes.io/instance: prometheus
  80. app.kubernetes.io/version: "44.3.0"
  81. app.kubernetes.io/part-of: kube-prometheus-stack
  82. chart: kube-prometheus-stack-44.3.0
  83. release: "prometheus"
  84. heritage: "Helm"
  85. ---
  86. # Source: kube-prometheus-stack/templates/prometheus/serviceaccount.yaml
  87. apiVersion: v1
  88. kind: ServiceAccount
  89. metadata:
  90. name: prometheus-kube-prometheus-prometheus
  91. namespace: monitoring
  92. labels:
  93. app: kube-prometheus-stack-prometheus
  94. app.kubernetes.io/name: kube-prometheus-stack-prometheus
  95. app.kubernetes.io/component: prometheus
  96. app.kubernetes.io/managed-by: Helm
  97. app.kubernetes.io/instance: prometheus
  98. app.kubernetes.io/version: "44.3.0"
  99. app.kubernetes.io/part-of: kube-prometheus-stack
  100. chart: kube-prometheus-stack-44.3.0
  101. release: "prometheus"
  102. heritage: "Helm"
  103. ---
  104. # Source: kube-prometheus-stack/charts/grafana/templates/secret.yaml
  105. apiVersion: v1
  106. kind: Secret
  107. metadata:
  108. name: prometheus-grafana
  109. namespace: monitoring
  110. labels:
  111. helm.sh/chart: grafana-6.50.2
  112. app.kubernetes.io/name: grafana
  113. app.kubernetes.io/instance: prometheus
  114. app.kubernetes.io/version: "9.3.1"
  115. app.kubernetes.io/managed-by: Helm
  116. type: Opaque
  117. data:
  118. admin-user: "YWRtaW4="
  119. admin-password: "cHJvbS1vcGVyYXRvcg=="
  120. ldap-toml: ""
  121. ---
  122. # Source: kube-prometheus-stack/templates/alertmanager/secret.yaml
  123. apiVersion: v1
  124. kind: Secret
  125. metadata:
  126. name: alertmanager-prometheus-kube-prometheus-alertmanager
  127. namespace: monitoring
  128. labels:
  129. app: kube-prometheus-stack-alertmanager
  130. app.kubernetes.io/managed-by: Helm
  131. app.kubernetes.io/instance: prometheus
  132. app.kubernetes.io/version: "44.3.0"
  133. app.kubernetes.io/part-of: kube-prometheus-stack
  134. chart: kube-prometheus-stack-44.3.0
  135. release: "prometheus"
  136. heritage: "Helm"
  137. data:
  138. alertmanager.yaml: "Z2xvYmFsOgogIHJlc29sdmVfdGltZW91dDogNW0KaW5oaWJpdF9ydWxlczoKLSBlcXVhbDoKICAtIG5hbWVzcGFjZQogIC0gYWxlcnRuYW1lCiAgc291cmNlX21hdGNoZXJzOgogIC0gc2V2ZXJpdHkgPSBjcml0aWNhbAogIHRhcmdldF9tYXRjaGVyczoKICAtIHNldmVyaXR5ID1+IHdhcm5pbmd8aW5mbwotIGVxdWFsOgogIC0gbmFtZXNwYWNlCiAgLSBhbGVydG5hbWUKICBzb3VyY2VfbWF0Y2hlcnM6CiAgLSBzZXZlcml0eSA9IHdhcm5pbmcKICB0YXJnZXRfbWF0Y2hlcnM6CiAgLSBzZXZlcml0eSA9IGluZm8KLSBlcXVhbDoKICAtIG5hbWVzcGFjZQogIHNvdXJjZV9tYXRjaGVyczoKICAtIGFsZXJ0bmFtZSA9IEluZm9JbmhpYml0b3IKICB0YXJnZXRfbWF0Y2hlcnM6CiAgLSBzZXZlcml0eSA9IGluZm8KcmVjZWl2ZXJzOgotIG5hbWU6ICJudWxsIgpyb3V0ZToKICBncm91cF9ieToKICAtIG5hbWVzcGFjZQogIGdyb3VwX2ludGVydmFsOiA1bQogIGdyb3VwX3dhaXQ6IDMwcwogIHJlY2VpdmVyOiAibnVsbCIKICByZXBlYXRfaW50ZXJ2YWw6IDEyaAogIHJvdXRlczoKICAtIG1hdGNoZXJzOgogICAgLSBhbGVydG5hbWUgPX4gIkluZm9JbmhpYml0b3J8V2F0Y2hkb2ciCiAgICByZWNlaXZlcjogIm51bGwiCnRlbXBsYXRlczoKLSAvZXRjL2FsZXJ0bWFuYWdlci9jb25maWcvKi50bXBs"
  139. ---
  140. # Source: kube-prometheus-stack/charts/grafana/templates/configmap-dashboard-provider.yaml
  141. apiVersion: v1
  142. kind: ConfigMap
  143. metadata:
  144. labels:
  145. helm.sh/chart: grafana-6.50.2
  146. app.kubernetes.io/name: grafana
  147. app.kubernetes.io/instance: prometheus
  148. app.kubernetes.io/version: "9.3.1"
  149. app.kubernetes.io/managed-by: Helm
  150. name: prometheus-grafana-config-dashboards
  151. namespace: monitoring
  152. data:
  153. provider.yaml: |-
  154. apiVersion: 1
  155. providers:
  156. - name: 'sidecarProvider'
  157. orgId: 1
  158. folder: ''
  159. type: file
  160. disableDeletion: false
  161. allowUiUpdates: false
  162. updateIntervalSeconds: 30
  163. options:
  164. foldersFromFilesStructure: false
  165. path: /tmp/dashboards
  166. ---
  167. # Source: kube-prometheus-stack/charts/grafana/templates/configmap.yaml
  168. apiVersion: v1
  169. kind: ConfigMap
  170. metadata:
  171. name: prometheus-grafana
  172. namespace: monitoring
  173. labels:
  174. helm.sh/chart: grafana-6.50.2
  175. app.kubernetes.io/name: grafana
  176. app.kubernetes.io/instance: prometheus
  177. app.kubernetes.io/version: "9.3.1"
  178. app.kubernetes.io/managed-by: Helm
  179. data:
  180. grafana.ini: |
  181. [analytics]
  182. check_for_updates = true
  183. [grafana_net]
  184. url = https://grafana.net
  185. [log]
  186. mode = console
  187. [paths]
  188. data = /var/lib/grafana/
  189. logs = /var/log/grafana
  190. plugins = /var/lib/grafana/plugins
  191. provisioning = /etc/grafana/provisioning
  192. [server]
  193. domain = ''
  194. ---
  195. # Source: kube-prometheus-stack/templates/grafana/configmaps-datasources.yaml
  196. apiVersion: v1
  197. kind: ConfigMap
  198. metadata:
  199. name: prometheus-kube-prometheus-grafana-datasource
  200. namespace: monitoring
  201. labels:
  202. grafana_datasource: "1"
  203. app: kube-prometheus-stack-grafana
  204. app.kubernetes.io/managed-by: Helm
  205. app.kubernetes.io/instance: prometheus
  206. app.kubernetes.io/version: "44.3.0"
  207. app.kubernetes.io/part-of: kube-prometheus-stack
  208. chart: kube-prometheus-stack-44.3.0
  209. release: "prometheus"
  210. heritage: "Helm"
  211. data:
  212. datasource.yaml: |-
  213. apiVersion: 1
  214. datasources:
  215. - name: Prometheus
  216. type: prometheus
  217. uid: prometheus
  218. url: http://prometheus-kube-prometheus-prometheus.monitoring:9090/
  219. access: proxy
  220. isDefault: true
  221. jsonData:
  222. timeInterval: 30s
  223. ---
  224. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/alertmanager-overview.yaml
  225. apiVersion: v1
  226. kind: ConfigMap
  227. metadata:
  228. namespace: monitoring
  229. name: prometheus-kube-prometheus-alertmanager-overview
  230. annotations:
  231. {}
  232. labels:
  233. grafana_dashboard: "1"
  234. app: kube-prometheus-stack-grafana
  235. app.kubernetes.io/managed-by: Helm
  236. app.kubernetes.io/instance: prometheus
  237. app.kubernetes.io/version: "44.3.0"
  238. app.kubernetes.io/part-of: kube-prometheus-stack
  239. chart: kube-prometheus-stack-44.3.0
  240. release: "prometheus"
  241. heritage: "Helm"
  242. data:
  243. alertmanager-overview.json: |-
  244. {
  245. "__inputs": [
  246. ],
  247. "__requires": [
  248. ],
  249. "annotations": {
  250. "list": [
  251. ]
  252. },
  253. "editable": false,
  254. "gnetId": null,
  255. "graphTooltip": 1,
  256. "hideControls": false,
  257. "id": null,
  258. "links": [
  259. ],
  260. "refresh": "30s",
  261. "rows": [
  262. {
  263. "collapse": false,
  264. "collapsed": false,
  265. "panels": [
  266. {
  267. "aliasColors": {
  268. },
  269. "bars": false,
  270. "dashLength": 10,
  271. "dashes": false,
  272. "datasource": "$datasource",
  273. "description": "current set of alerts stored in the Alertmanager",
  274. "fill": 1,
  275. "fillGradient": 0,
  276. "gridPos": {
  277. },
  278. "id": 2,
  279. "legend": {
  280. "alignAsTable": false,
  281. "avg": false,
  282. "current": false,
  283. "max": false,
  284. "min": false,
  285. "rightSide": false,
  286. "show": false,
  287. "sideWidth": null,
  288. "total": false,
  289. "values": false
  290. },
  291. "lines": true,
  292. "linewidth": 1,
  293. "links": [
  294. ],
  295. "nullPointMode": "null",
  296. "percentage": false,
  297. "pointradius": 5,
  298. "points": false,
  299. "renderer": "flot",
  300. "repeat": null,
  301. "seriesOverrides": [
  302. ],
  303. "spaceLength": 10,
  304. "span": 6,
  305. "stack": true,
  306. "steppedLine": false,
  307. "targets": [
  308. {
  309. "expr": "sum(alertmanager_alerts{namespace=~\"$namespace\",service=~\"$service\"}) by (namespace,service,instance)",
  310. "format": "time_series",
  311. "intervalFactor": 2,
  312. "legendFormat": "{{instance}}",
  313. "refId": "A"
  314. }
  315. ],
  316. "thresholds": [
  317. ],
  318. "timeFrom": null,
  319. "timeShift": null,
  320. "title": "Alerts",
  321. "tooltip": {
  322. "shared": true,
  323. "sort": 0,
  324. "value_type": "individual"
  325. },
  326. "type": "graph",
  327. "xaxis": {
  328. "buckets": null,
  329. "mode": "time",
  330. "name": null,
  331. "show": true,
  332. "values": [
  333. ]
  334. },
  335. "yaxes": [
  336. {
  337. "format": "none",
  338. "label": null,
  339. "logBase": 1,
  340. "max": null,
  341. "min": null,
  342. "show": true
  343. },
  344. {
  345. "format": "none",
  346. "label": null,
  347. "logBase": 1,
  348. "max": null,
  349. "min": null,
  350. "show": true
  351. }
  352. ]
  353. },
  354. {
  355. "aliasColors": {
  356. },
  357. "bars": false,
  358. "dashLength": 10,
  359. "dashes": false,
  360. "datasource": "$datasource",
  361. "description": "rate of successful and invalid alerts received by the Alertmanager",
  362. "fill": 1,
  363. "fillGradient": 0,
  364. "gridPos": {
  365. },
  366. "id": 3,
  367. "legend": {
  368. "alignAsTable": false,
  369. "avg": false,
  370. "current": false,
  371. "max": false,
  372. "min": false,
  373. "rightSide": false,
  374. "show": false,
  375. "sideWidth": null,
  376. "total": false,
  377. "values": false
  378. },
  379. "lines": true,
  380. "linewidth": 1,
  381. "links": [
  382. ],
  383. "nullPointMode": "null",
  384. "percentage": false,
  385. "pointradius": 5,
  386. "points": false,
  387. "renderer": "flot",
  388. "repeat": null,
  389. "seriesOverrides": [
  390. ],
  391. "spaceLength": 10,
  392. "span": 6,
  393. "stack": true,
  394. "steppedLine": false,
  395. "targets": [
  396. {
  397. "expr": "sum(rate(alertmanager_alerts_received_total{namespace=~\"$namespace\",service=~\"$service\"}[$__rate_interval])) by (namespace,service,instance)",
  398. "format": "time_series",
  399. "intervalFactor": 2,
  400. "legendFormat": "{{instance}} Received",
  401. "refId": "A"
  402. },
  403. {
  404. "expr": "sum(rate(alertmanager_alerts_invalid_total{namespace=~\"$namespace\",service=~\"$service\"}[$__rate_interval])) by (namespace,service,instance)",
  405. "format": "time_series",
  406. "intervalFactor": 2,
  407. "legendFormat": "{{instance}} Invalid",
  408. "refId": "B"
  409. }
  410. ],
  411. "thresholds": [
  412. ],
  413. "timeFrom": null,
  414. "timeShift": null,
  415. "title": "Alerts receive rate",
  416. "tooltip": {
  417. "shared": true,
  418. "sort": 0,
  419. "value_type": "individual"
  420. },
  421. "type": "graph",
  422. "xaxis": {
  423. "buckets": null,
  424. "mode": "time",
  425. "name": null,
  426. "show": true,
  427. "values": [
  428. ]
  429. },
  430. "yaxes": [
  431. {
  432. "format": "ops",
  433. "label": null,
  434. "logBase": 1,
  435. "max": null,
  436. "min": null,
  437. "show": true
  438. },
  439. {
  440. "format": "ops",
  441. "label": null,
  442. "logBase": 1,
  443. "max": null,
  444. "min": null,
  445. "show": true
  446. }
  447. ]
  448. }
  449. ],
  450. "repeat": null,
  451. "repeatIteration": null,
  452. "repeatRowId": null,
  453. "showTitle": true,
  454. "title": "Alerts",
  455. "titleSize": "h6",
  456. "type": "row"
  457. },
  458. {
  459. "collapse": false,
  460. "collapsed": false,
  461. "panels": [
  462. {
  463. "aliasColors": {
  464. },
  465. "bars": false,
  466. "dashLength": 10,
  467. "dashes": false,
  468. "datasource": "$datasource",
  469. "description": "rate of successful and invalid notifications sent by the Alertmanager",
  470. "fill": 1,
  471. "fillGradient": 0,
  472. "gridPos": {
  473. },
  474. "id": 4,
  475. "legend": {
  476. "alignAsTable": false,
  477. "avg": false,
  478. "current": false,
  479. "max": false,
  480. "min": false,
  481. "rightSide": false,
  482. "show": false,
  483. "sideWidth": null,
  484. "total": false,
  485. "values": false
  486. },
  487. "lines": true,
  488. "linewidth": 1,
  489. "links": [
  490. ],
  491. "nullPointMode": "null",
  492. "percentage": false,
  493. "pointradius": 5,
  494. "points": false,
  495. "renderer": "flot",
  496. "repeat": "integration",
  497. "seriesOverrides": [
  498. ],
  499. "spaceLength": 10,
  500. "stack": true,
  501. "steppedLine": false,
  502. "targets": [
  503. {
  504. "expr": "sum(rate(alertmanager_notifications_total{namespace=~\"$namespace\",service=~\"$service\", integration=\"$integration\"}[$__rate_interval])) by (integration,namespace,service,instance)",
  505. "format": "time_series",
  506. "intervalFactor": 2,
  507. "legendFormat": "{{instance}} Total",
  508. "refId": "A"
  509. },
  510. {
  511. "expr": "sum(rate(alertmanager_notifications_failed_total{namespace=~\"$namespace\",service=~\"$service\", integration=\"$integration\"}[$__rate_interval])) by (integration,namespace,service,instance)",
  512. "format": "time_series",
  513. "intervalFactor": 2,
  514. "legendFormat": "{{instance}} Failed",
  515. "refId": "B"
  516. }
  517. ],
  518. "thresholds": [
  519. ],
  520. "timeFrom": null,
  521. "timeShift": null,
  522. "title": "$integration: Notifications Send Rate",
  523. "tooltip": {
  524. "shared": true,
  525. "sort": 0,
  526. "value_type": "individual"
  527. },
  528. "type": "graph",
  529. "xaxis": {
  530. "buckets": null,
  531. "mode": "time",
  532. "name": null,
  533. "show": true,
  534. "values": [
  535. ]
  536. },
  537. "yaxes": [
  538. {
  539. "format": "ops",
  540. "label": null,
  541. "logBase": 1,
  542. "max": null,
  543. "min": null,
  544. "show": true
  545. },
  546. {
  547. "format": "ops",
  548. "label": null,
  549. "logBase": 1,
  550. "max": null,
  551. "min": null,
  552. "show": true
  553. }
  554. ]
  555. },
  556. {
  557. "aliasColors": {
  558. },
  559. "bars": false,
  560. "dashLength": 10,
  561. "dashes": false,
  562. "datasource": "$datasource",
  563. "description": "latency of notifications sent by the Alertmanager",
  564. "fill": 1,
  565. "fillGradient": 0,
  566. "gridPos": {
  567. },
  568. "id": 5,
  569. "legend": {
  570. "alignAsTable": false,
  571. "avg": false,
  572. "current": false,
  573. "max": false,
  574. "min": false,
  575. "rightSide": false,
  576. "show": false,
  577. "sideWidth": null,
  578. "total": false,
  579. "values": false
  580. },
  581. "lines": true,
  582. "linewidth": 1,
  583. "links": [
  584. ],
  585. "nullPointMode": "null",
  586. "percentage": false,
  587. "pointradius": 5,
  588. "points": false,
  589. "renderer": "flot",
  590. "repeat": "integration",
  591. "seriesOverrides": [
  592. ],
  593. "spaceLength": 10,
  594. "stack": false,
  595. "steppedLine": false,
  596. "targets": [
  597. {
  598. "expr": "histogram_quantile(0.99,\n sum(rate(alertmanager_notification_latency_seconds_bucket{namespace=~\"$namespace\",service=~\"$service\", integration=\"$integration\"}[$__rate_interval])) by (le,namespace,service,instance)\n) \n",
  599. "format": "time_series",
  600. "intervalFactor": 2,
  601. "legendFormat": "{{instance}} 99th Percentile",
  602. "refId": "A"
  603. },
  604. {
  605. "expr": "histogram_quantile(0.50,\n sum(rate(alertmanager_notification_latency_seconds_bucket{namespace=~\"$namespace\",service=~\"$service\", integration=\"$integration\"}[$__rate_interval])) by (le,namespace,service,instance)\n) \n",
  606. "format": "time_series",
  607. "intervalFactor": 2,
  608. "legendFormat": "{{instance}} Median",
  609. "refId": "B"
  610. },
  611. {
  612. "expr": "sum(rate(alertmanager_notification_latency_seconds_sum{namespace=~\"$namespace\",service=~\"$service\", integration=\"$integration\"}[$__rate_interval])) by (namespace,service,instance)\n/\nsum(rate(alertmanager_notification_latency_seconds_count{namespace=~\"$namespace\",service=~\"$service\", integration=\"$integration\"}[$__rate_interval])) by (namespace,service,instance)\n",
  613. "format": "time_series",
  614. "intervalFactor": 2,
  615. "legendFormat": "{{instance}} Average",
  616. "refId": "C"
  617. }
  618. ],
  619. "thresholds": [
  620. ],
  621. "timeFrom": null,
  622. "timeShift": null,
  623. "title": "$integration: Notification Duration",
  624. "tooltip": {
  625. "shared": true,
  626. "sort": 0,
  627. "value_type": "individual"
  628. },
  629. "type": "graph",
  630. "xaxis": {
  631. "buckets": null,
  632. "mode": "time",
  633. "name": null,
  634. "show": true,
  635. "values": [
  636. ]
  637. },
  638. "yaxes": [
  639. {
  640. "format": "s",
  641. "label": null,
  642. "logBase": 1,
  643. "max": null,
  644. "min": null,
  645. "show": true
  646. },
  647. {
  648. "format": "s",
  649. "label": null,
  650. "logBase": 1,
  651. "max": null,
  652. "min": null,
  653. "show": true
  654. }
  655. ]
  656. }
  657. ],
  658. "repeat": null,
  659. "repeatIteration": null,
  660. "repeatRowId": null,
  661. "showTitle": true,
  662. "title": "Notifications",
  663. "titleSize": "h6",
  664. "type": "row"
  665. }
  666. ],
  667. "schemaVersion": 14,
  668. "style": "dark",
  669. "tags": [
  670. "alertmanager-mixin"
  671. ],
  672. "templating": {
  673. "list": [
  674. {
  675. "current": {
  676. "text": "Prometheus",
  677. "value": "Prometheus"
  678. },
  679. "hide": 0,
  680. "label": "Data Source",
  681. "name": "datasource",
  682. "options": [
  683. ],
  684. "query": "prometheus",
  685. "refresh": 1,
  686. "regex": "",
  687. "type": "datasource"
  688. },
  689. {
  690. "allValue": null,
  691. "current": {
  692. "text": "",
  693. "value": ""
  694. },
  695. "datasource": "$datasource",
  696. "hide": 0,
  697. "includeAll": false,
  698. "label": "namespace",
  699. "multi": false,
  700. "name": "namespace",
  701. "options": [
  702. ],
  703. "query": "label_values(alertmanager_alerts, namespace)",
  704. "refresh": 2,
  705. "regex": "",
  706. "sort": 1,
  707. "tagValuesQuery": "",
  708. "tags": [
  709. ],
  710. "tagsQuery": "",
  711. "type": "query",
  712. "useTags": false
  713. },
  714. {
  715. "allValue": null,
  716. "current": {
  717. "text": "",
  718. "value": ""
  719. },
  720. "datasource": "$datasource",
  721. "hide": 0,
  722. "includeAll": false,
  723. "label": "service",
  724. "multi": false,
  725. "name": "service",
  726. "options": [
  727. ],
  728. "query": "label_values(alertmanager_alerts, service)",
  729. "refresh": 2,
  730. "regex": "",
  731. "sort": 1,
  732. "tagValuesQuery": "",
  733. "tags": [
  734. ],
  735. "tagsQuery": "",
  736. "type": "query",
  737. "useTags": false
  738. },
  739. {
  740. "allValue": null,
  741. "current": {
  742. "text": "all",
  743. "value": "$__all"
  744. },
  745. "datasource": "$datasource",
  746. "hide": 2,
  747. "includeAll": true,
  748. "label": null,
  749. "multi": false,
  750. "name": "integration",
  751. "options": [
  752. ],
  753. "query": "label_values(alertmanager_notifications_total{integration=~\".*\"}, integration)",
  754. "refresh": 2,
  755. "regex": "",
  756. "sort": 1,
  757. "tagValuesQuery": "",
  758. "tags": [
  759. ],
  760. "tagsQuery": "",
  761. "type": "query",
  762. "useTags": false
  763. }
  764. ]
  765. },
  766. "time": {
  767. "from": "now-1h",
  768. "to": "now"
  769. },
  770. "timepicker": {
  771. "refresh_intervals": [
  772. "5s",
  773. "10s",
  774. "30s",
  775. "1m",
  776. "5m",
  777. "15m",
  778. "30m",
  779. "1h",
  780. "2h",
  781. "1d"
  782. ],
  783. "time_options": [
  784. "5m",
  785. "15m",
  786. "1h",
  787. "6h",
  788. "12h",
  789. "24h",
  790. "2d",
  791. "7d",
  792. "30d"
  793. ]
  794. },
  795. "timezone": "utc",
  796. "title": "Alertmanager / Overview",
  797. "uid": "alertmanager-overview",
  798. "version": 0
  799. }
  800. ---
  801. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/apiserver.yaml
  802. apiVersion: v1
  803. kind: ConfigMap
  804. metadata:
  805. namespace: monitoring
  806. name: prometheus-kube-prometheus-apiserver
  807. annotations:
  808. {}
  809. labels:
  810. grafana_dashboard: "1"
  811. app: kube-prometheus-stack-grafana
  812. app.kubernetes.io/managed-by: Helm
  813. app.kubernetes.io/instance: prometheus
  814. app.kubernetes.io/version: "44.3.0"
  815. app.kubernetes.io/part-of: kube-prometheus-stack
  816. chart: kube-prometheus-stack-44.3.0
  817. release: "prometheus"
  818. heritage: "Helm"
  819. data:
  820. apiserver.json: |-
  821. {
  822. "__inputs": [
  823. ],
  824. "__requires": [
  825. ],
  826. "annotations": {
  827. "list": [
  828. ]
  829. },
  830. "editable": false,
  831. "gnetId": null,
  832. "graphTooltip": 0,
  833. "hideControls": false,
  834. "id": null,
  835. "links": [
  836. ],
  837. "panels": [
  838. {
  839. "content": "The SLO (service level objective) and other metrics displayed on this dashboard are for informational purposes only.",
  840. "datasource": null,
  841. "description": "The SLO (service level objective) and other metrics displayed on this dashboard are for informational purposes only.",
  842. "gridPos": {
  843. "h": 2,
  844. "w": 24,
  845. "x": 0,
  846. "y": 0
  847. },
  848. "id": 2,
  849. "mode": "markdown",
  850. "span": 12,
  851. "title": "Notice",
  852. "type": "text"
  853. }
  854. ],
  855. "refresh": "10s",
  856. "rows": [
  857. {
  858. "collapse": false,
  859. "collapsed": false,
  860. "panels": [
  861. {
  862. "cacheTimeout": null,
  863. "colorBackground": false,
  864. "colorValue": false,
  865. "colors": [
  866. "#299c46",
  867. "rgba(237, 129, 40, 0.89)",
  868. "#d44a3a"
  869. ],
  870. "datasource": "$datasource",
  871. "decimals": 3,
  872. "description": "How many percent of requests (both read and write) in 30 days have been answered successfully and fast enough?",
  873. "format": "percentunit",
  874. "gauge": {
  875. "maxValue": 100,
  876. "minValue": 0,
  877. "show": false,
  878. "thresholdLabels": false,
  879. "thresholdMarkers": true
  880. },
  881. "gridPos": {
  882. },
  883. "id": 3,
  884. "interval": "1m",
  885. "legend": {
  886. "alignAsTable": true,
  887. "rightSide": true
  888. },
  889. "links": [
  890. ],
  891. "mappingType": 1,
  892. "mappingTypes": [
  893. {
  894. "name": "value to text",
  895. "value": 1
  896. },
  897. {
  898. "name": "range to text",
  899. "value": 2
  900. }
  901. ],
  902. "maxDataPoints": 100,
  903. "nullPointMode": "connected",
  904. "nullText": null,
  905. "postfix": "",
  906. "postfixFontSize": "50%",
  907. "prefix": "",
  908. "prefixFontSize": "50%",
  909. "rangeMaps": [
  910. {
  911. "from": "null",
  912. "text": "N/A",
  913. "to": "null"
  914. }
  915. ],
  916. "span": 4,
  917. "sparkline": {
  918. "fillColor": "rgba(31, 118, 189, 0.18)",
  919. "full": false,
  920. "lineColor": "rgb(31, 120, 193)",
  921. "show": false
  922. },
  923. "tableColumn": "",
  924. "targets": [
  925. {
  926. "expr": "apiserver_request:availability30d{verb=\"all\", cluster=\"$cluster\"}",
  927. "format": "time_series",
  928. "intervalFactor": 2,
  929. "legendFormat": "",
  930. "refId": "A"
  931. }
  932. ],
  933. "thresholds": "",
  934. "title": "Availability (30d) > 99.000%",
  935. "tooltip": {
  936. "shared": false
  937. },
  938. "type": "singlestat",
  939. "valueFontSize": "80%",
  940. "valueMaps": [
  941. {
  942. "op": "=",
  943. "text": "N/A",
  944. "value": "null"
  945. }
  946. ],
  947. "valueName": "avg"
  948. },
  949. {
  950. "aliasColors": {
  951. },
  952. "bars": false,
  953. "dashLength": 10,
  954. "dashes": false,
  955. "datasource": "$datasource",
  956. "decimals": 3,
  957. "description": "How much error budget is left looking at our 0.990% availability guarantees?",
  958. "fill": 10,
  959. "fillGradient": 0,
  960. "gridPos": {
  961. },
  962. "id": 4,
  963. "interval": "1m",
  964. "legend": {
  965. "alignAsTable": true,
  966. "avg": false,
  967. "current": false,
  968. "max": false,
  969. "min": false,
  970. "rightSide": true,
  971. "show": true,
  972. "sideWidth": null,
  973. "total": false,
  974. "values": false
  975. },
  976. "lines": true,
  977. "linewidth": 1,
  978. "links": [
  979. ],
  980. "nullPointMode": "null",
  981. "percentage": false,
  982. "pointradius": 5,
  983. "points": false,
  984. "renderer": "flot",
  985. "repeat": null,
  986. "seriesOverrides": [
  987. ],
  988. "spaceLength": 10,
  989. "span": 8,
  990. "stack": false,
  991. "steppedLine": false,
  992. "targets": [
  993. {
  994. "expr": "100 * (apiserver_request:availability30d{verb=\"all\", cluster=\"$cluster\"} - 0.990000)",
  995. "format": "time_series",
  996. "intervalFactor": 2,
  997. "legendFormat": "errorbudget",
  998. "refId": "A"
  999. }
  1000. ],
  1001. "thresholds": [
  1002. ],
  1003. "timeFrom": null,
  1004. "timeShift": null,
  1005. "title": "ErrorBudget (30d) > 99.000%",
  1006. "tooltip": {
  1007. "shared": false,
  1008. "sort": 0,
  1009. "value_type": "individual"
  1010. },
  1011. "type": "graph",
  1012. "xaxis": {
  1013. "buckets": null,
  1014. "mode": "time",
  1015. "name": null,
  1016. "show": true,
  1017. "values": [
  1018. ]
  1019. },
  1020. "yaxes": [
  1021. {
  1022. "decimals": 3,
  1023. "format": "percentunit",
  1024. "label": null,
  1025. "logBase": 1,
  1026. "max": null,
  1027. "min": null,
  1028. "show": true
  1029. },
  1030. {
  1031. "decimals": 3,
  1032. "format": "percentunit",
  1033. "label": null,
  1034. "logBase": 1,
  1035. "max": null,
  1036. "min": null,
  1037. "show": true
  1038. }
  1039. ]
  1040. }
  1041. ],
  1042. "repeat": null,
  1043. "repeatIteration": null,
  1044. "repeatRowId": null,
  1045. "showTitle": false,
  1046. "title": "Dashboard Row",
  1047. "titleSize": "h6",
  1048. "type": "row"
  1049. },
  1050. {
  1051. "collapse": false,
  1052. "collapsed": false,
  1053. "panels": [
  1054. {
  1055. "cacheTimeout": null,
  1056. "colorBackground": false,
  1057. "colorValue": false,
  1058. "colors": [
  1059. "#299c46",
  1060. "rgba(237, 129, 40, 0.89)",
  1061. "#d44a3a"
  1062. ],
  1063. "datasource": "$datasource",
  1064. "decimals": 3,
  1065. "description": "How many percent of read requests (LIST,GET) in 30 days have been answered successfully and fast enough?",
  1066. "format": "percentunit",
  1067. "gauge": {
  1068. "maxValue": 100,
  1069. "minValue": 0,
  1070. "show": false,
  1071. "thresholdLabels": false,
  1072. "thresholdMarkers": true
  1073. },
  1074. "gridPos": {
  1075. },
  1076. "id": 5,
  1077. "interval": "1m",
  1078. "legend": {
  1079. "alignAsTable": true,
  1080. "rightSide": true
  1081. },
  1082. "links": [
  1083. ],
  1084. "mappingType": 1,
  1085. "mappingTypes": [
  1086. {
  1087. "name": "value to text",
  1088. "value": 1
  1089. },
  1090. {
  1091. "name": "range to text",
  1092. "value": 2
  1093. }
  1094. ],
  1095. "maxDataPoints": 100,
  1096. "nullPointMode": "connected",
  1097. "nullText": null,
  1098. "postfix": "",
  1099. "postfixFontSize": "50%",
  1100. "prefix": "",
  1101. "prefixFontSize": "50%",
  1102. "rangeMaps": [
  1103. {
  1104. "from": "null",
  1105. "text": "N/A",
  1106. "to": "null"
  1107. }
  1108. ],
  1109. "span": 3,
  1110. "sparkline": {
  1111. "fillColor": "rgba(31, 118, 189, 0.18)",
  1112. "full": false,
  1113. "lineColor": "rgb(31, 120, 193)",
  1114. "show": false
  1115. },
  1116. "tableColumn": "",
  1117. "targets": [
  1118. {
  1119. "expr": "apiserver_request:availability30d{verb=\"read\", cluster=\"$cluster\"}",
  1120. "format": "time_series",
  1121. "intervalFactor": 2,
  1122. "legendFormat": "",
  1123. "refId": "A"
  1124. }
  1125. ],
  1126. "thresholds": "",
  1127. "title": "Read Availability (30d)",
  1128. "tooltip": {
  1129. "shared": false
  1130. },
  1131. "type": "singlestat",
  1132. "valueFontSize": "80%",
  1133. "valueMaps": [
  1134. {
  1135. "op": "=",
  1136. "text": "N/A",
  1137. "value": "null"
  1138. }
  1139. ],
  1140. "valueName": "avg"
  1141. },
  1142. {
  1143. "aliasColors": {
  1144. },
  1145. "bars": false,
  1146. "dashLength": 10,
  1147. "dashes": false,
  1148. "datasource": "$datasource",
  1149. "description": "How many read requests (LIST,GET) per second do the apiservers get by code?",
  1150. "fill": 10,
  1151. "fillGradient": 0,
  1152. "gridPos": {
  1153. },
  1154. "id": 6,
  1155. "interval": "1m",
  1156. "legend": {
  1157. "alignAsTable": true,
  1158. "avg": false,
  1159. "current": false,
  1160. "max": false,
  1161. "min": false,
  1162. "rightSide": true,
  1163. "show": true,
  1164. "sideWidth": null,
  1165. "total": false,
  1166. "values": false
  1167. },
  1168. "lines": true,
  1169. "linewidth": 1,
  1170. "links": [
  1171. ],
  1172. "nullPointMode": "null",
  1173. "percentage": false,
  1174. "pointradius": 5,
  1175. "points": false,
  1176. "renderer": "flot",
  1177. "repeat": null,
  1178. "seriesOverrides": [
  1179. {
  1180. "alias": "/2../i",
  1181. "color": "#56A64B"
  1182. },
  1183. {
  1184. "alias": "/3../i",
  1185. "color": "#F2CC0C"
  1186. },
  1187. {
  1188. "alias": "/4../i",
  1189. "color": "#3274D9"
  1190. },
  1191. {
  1192. "alias": "/5../i",
  1193. "color": "#E02F44"
  1194. }
  1195. ],
  1196. "spaceLength": 10,
  1197. "span": 3,
  1198. "stack": true,
  1199. "steppedLine": false,
  1200. "targets": [
  1201. {
  1202. "expr": "sum by (code) (code_resource:apiserver_request_total:rate5m{verb=\"read\", cluster=\"$cluster\"})",
  1203. "format": "time_series",
  1204. "intervalFactor": 2,
  1205. "legendFormat": "{{ code }}",
  1206. "refId": "A"
  1207. }
  1208. ],
  1209. "thresholds": [
  1210. ],
  1211. "timeFrom": null,
  1212. "timeShift": null,
  1213. "title": "Read SLI - Requests",
  1214. "tooltip": {
  1215. "shared": false,
  1216. "sort": 0,
  1217. "value_type": "individual"
  1218. },
  1219. "type": "graph",
  1220. "xaxis": {
  1221. "buckets": null,
  1222. "mode": "time",
  1223. "name": null,
  1224. "show": true,
  1225. "values": [
  1226. ]
  1227. },
  1228. "yaxes": [
  1229. {
  1230. "format": "reqps",
  1231. "label": null,
  1232. "logBase": 1,
  1233. "max": null,
  1234. "min": null,
  1235. "show": true
  1236. },
  1237. {
  1238. "format": "reqps",
  1239. "label": null,
  1240. "logBase": 1,
  1241. "max": null,
  1242. "min": null,
  1243. "show": true
  1244. }
  1245. ]
  1246. },
  1247. {
  1248. "aliasColors": {
  1249. },
  1250. "bars": false,
  1251. "dashLength": 10,
  1252. "dashes": false,
  1253. "datasource": "$datasource",
  1254. "description": "How many percent of read requests (LIST,GET) per second are returned with errors (5xx)?",
  1255. "fill": 1,
  1256. "fillGradient": 0,
  1257. "gridPos": {
  1258. },
  1259. "id": 7,
  1260. "interval": "1m",
  1261. "legend": {
  1262. "alignAsTable": true,
  1263. "avg": false,
  1264. "current": false,
  1265. "max": false,
  1266. "min": false,
  1267. "rightSide": true,
  1268. "show": true,
  1269. "sideWidth": null,
  1270. "total": false,
  1271. "values": false
  1272. },
  1273. "lines": true,
  1274. "linewidth": 1,
  1275. "links": [
  1276. ],
  1277. "nullPointMode": "null",
  1278. "percentage": false,
  1279. "pointradius": 5,
  1280. "points": false,
  1281. "renderer": "flot",
  1282. "repeat": null,
  1283. "seriesOverrides": [
  1284. ],
  1285. "spaceLength": 10,
  1286. "span": 3,
  1287. "stack": false,
  1288. "steppedLine": false,
  1289. "targets": [
  1290. {
  1291. "expr": "sum by (resource) (code_resource:apiserver_request_total:rate5m{verb=\"read\",code=~\"5..\", cluster=\"$cluster\"}) / sum by (resource) (code_resource:apiserver_request_total:rate5m{verb=\"read\", cluster=\"$cluster\"})",
  1292. "format": "time_series",
  1293. "intervalFactor": 2,
  1294. "legendFormat": "{{ resource }}",
  1295. "refId": "A"
  1296. }
  1297. ],
  1298. "thresholds": [
  1299. ],
  1300. "timeFrom": null,
  1301. "timeShift": null,
  1302. "title": "Read SLI - Errors",
  1303. "tooltip": {
  1304. "shared": false,
  1305. "sort": 0,
  1306. "value_type": "individual"
  1307. },
  1308. "type": "graph",
  1309. "xaxis": {
  1310. "buckets": null,
  1311. "mode": "time",
  1312. "name": null,
  1313. "show": true,
  1314. "values": [
  1315. ]
  1316. },
  1317. "yaxes": [
  1318. {
  1319. "format": "percentunit",
  1320. "label": null,
  1321. "logBase": 1,
  1322. "max": null,
  1323. "min": 0,
  1324. "show": true
  1325. },
  1326. {
  1327. "format": "percentunit",
  1328. "label": null,
  1329. "logBase": 1,
  1330. "max": null,
  1331. "min": 0,
  1332. "show": true
  1333. }
  1334. ]
  1335. },
  1336. {
  1337. "aliasColors": {
  1338. },
  1339. "bars": false,
  1340. "dashLength": 10,
  1341. "dashes": false,
  1342. "datasource": "$datasource",
  1343. "description": "How many seconds is the 99th percentile for reading (LIST|GET) a given resource?",
  1344. "fill": 1,
  1345. "fillGradient": 0,
  1346. "gridPos": {
  1347. },
  1348. "id": 8,
  1349. "interval": "1m",
  1350. "legend": {
  1351. "alignAsTable": true,
  1352. "avg": false,
  1353. "current": false,
  1354. "max": false,
  1355. "min": false,
  1356. "rightSide": true,
  1357. "show": true,
  1358. "sideWidth": null,
  1359. "total": false,
  1360. "values": false
  1361. },
  1362. "lines": true,
  1363. "linewidth": 1,
  1364. "links": [
  1365. ],
  1366. "nullPointMode": "null",
  1367. "percentage": false,
  1368. "pointradius": 5,
  1369. "points": false,
  1370. "renderer": "flot",
  1371. "repeat": null,
  1372. "seriesOverrides": [
  1373. ],
  1374. "spaceLength": 10,
  1375. "span": 3,
  1376. "stack": false,
  1377. "steppedLine": false,
  1378. "targets": [
  1379. {
  1380. "expr": "cluster_quantile:apiserver_request_slo_duration_seconds:histogram_quantile{verb=\"read\", cluster=\"$cluster\"}",
  1381. "format": "time_series",
  1382. "intervalFactor": 2,
  1383. "legendFormat": "{{ resource }}",
  1384. "refId": "A"
  1385. }
  1386. ],
  1387. "thresholds": [
  1388. ],
  1389. "timeFrom": null,
  1390. "timeShift": null,
  1391. "title": "Read SLI - Duration",
  1392. "tooltip": {
  1393. "shared": false,
  1394. "sort": 0,
  1395. "value_type": "individual"
  1396. },
  1397. "type": "graph",
  1398. "xaxis": {
  1399. "buckets": null,
  1400. "mode": "time",
  1401. "name": null,
  1402. "show": true,
  1403. "values": [
  1404. ]
  1405. },
  1406. "yaxes": [
  1407. {
  1408. "format": "s",
  1409. "label": null,
  1410. "logBase": 1,
  1411. "max": null,
  1412. "min": null,
  1413. "show": true
  1414. },
  1415. {
  1416. "format": "s",
  1417. "label": null,
  1418. "logBase": 1,
  1419. "max": null,
  1420. "min": null,
  1421. "show": true
  1422. }
  1423. ]
  1424. }
  1425. ],
  1426. "repeat": null,
  1427. "repeatIteration": null,
  1428. "repeatRowId": null,
  1429. "showTitle": false,
  1430. "title": "Dashboard Row",
  1431. "titleSize": "h6",
  1432. "type": "row"
  1433. },
  1434. {
  1435. "collapse": false,
  1436. "collapsed": false,
  1437. "panels": [
  1438. {
  1439. "cacheTimeout": null,
  1440. "colorBackground": false,
  1441. "colorValue": false,
  1442. "colors": [
  1443. "#299c46",
  1444. "rgba(237, 129, 40, 0.89)",
  1445. "#d44a3a"
  1446. ],
  1447. "datasource": "$datasource",
  1448. "decimals": 3,
  1449. "description": "How many percent of write requests (POST|PUT|PATCH|DELETE) in 30 days have been answered successfully and fast enough?",
  1450. "format": "percentunit",
  1451. "gauge": {
  1452. "maxValue": 100,
  1453. "minValue": 0,
  1454. "show": false,
  1455. "thresholdLabels": false,
  1456. "thresholdMarkers": true
  1457. },
  1458. "gridPos": {
  1459. },
  1460. "id": 9,
  1461. "interval": "1m",
  1462. "legend": {
  1463. "alignAsTable": true,
  1464. "rightSide": true
  1465. },
  1466. "links": [
  1467. ],
  1468. "mappingType": 1,
  1469. "mappingTypes": [
  1470. {
  1471. "name": "value to text",
  1472. "value": 1
  1473. },
  1474. {
  1475. "name": "range to text",
  1476. "value": 2
  1477. }
  1478. ],
  1479. "maxDataPoints": 100,
  1480. "nullPointMode": "connected",
  1481. "nullText": null,
  1482. "postfix": "",
  1483. "postfixFontSize": "50%",
  1484. "prefix": "",
  1485. "prefixFontSize": "50%",
  1486. "rangeMaps": [
  1487. {
  1488. "from": "null",
  1489. "text": "N/A",
  1490. "to": "null"
  1491. }
  1492. ],
  1493. "span": 3,
  1494. "sparkline": {
  1495. "fillColor": "rgba(31, 118, 189, 0.18)",
  1496. "full": false,
  1497. "lineColor": "rgb(31, 120, 193)",
  1498. "show": false
  1499. },
  1500. "tableColumn": "",
  1501. "targets": [
  1502. {
  1503. "expr": "apiserver_request:availability30d{verb=\"write\", cluster=\"$cluster\"}",
  1504. "format": "time_series",
  1505. "intervalFactor": 2,
  1506. "legendFormat": "",
  1507. "refId": "A"
  1508. }
  1509. ],
  1510. "thresholds": "",
  1511. "title": "Write Availability (30d)",
  1512. "tooltip": {
  1513. "shared": false
  1514. },
  1515. "type": "singlestat",
  1516. "valueFontSize": "80%",
  1517. "valueMaps": [
  1518. {
  1519. "op": "=",
  1520. "text": "N/A",
  1521. "value": "null"
  1522. }
  1523. ],
  1524. "valueName": "avg"
  1525. },
  1526. {
  1527. "aliasColors": {
  1528. },
  1529. "bars": false,
  1530. "dashLength": 10,
  1531. "dashes": false,
  1532. "datasource": "$datasource",
  1533. "description": "How many write requests (POST|PUT|PATCH|DELETE) per second do the apiservers get by code?",
  1534. "fill": 10,
  1535. "fillGradient": 0,
  1536. "gridPos": {
  1537. },
  1538. "id": 10,
  1539. "interval": "1m",
  1540. "legend": {
  1541. "alignAsTable": true,
  1542. "avg": false,
  1543. "current": false,
  1544. "max": false,
  1545. "min": false,
  1546. "rightSide": true,
  1547. "show": true,
  1548. "sideWidth": null,
  1549. "total": false,
  1550. "values": false
  1551. },
  1552. "lines": true,
  1553. "linewidth": 1,
  1554. "links": [
  1555. ],
  1556. "nullPointMode": "null",
  1557. "percentage": false,
  1558. "pointradius": 5,
  1559. "points": false,
  1560. "renderer": "flot",
  1561. "repeat": null,
  1562. "seriesOverrides": [
  1563. {
  1564. "alias": "/2../i",
  1565. "color": "#56A64B"
  1566. },
  1567. {
  1568. "alias": "/3../i",
  1569. "color": "#F2CC0C"
  1570. },
  1571. {
  1572. "alias": "/4../i",
  1573. "color": "#3274D9"
  1574. },
  1575. {
  1576. "alias": "/5../i",
  1577. "color": "#E02F44"
  1578. }
  1579. ],
  1580. "spaceLength": 10,
  1581. "span": 3,
  1582. "stack": true,
  1583. "steppedLine": false,
  1584. "targets": [
  1585. {
  1586. "expr": "sum by (code) (code_resource:apiserver_request_total:rate5m{verb=\"write\", cluster=\"$cluster\"})",
  1587. "format": "time_series",
  1588. "intervalFactor": 2,
  1589. "legendFormat": "{{ code }}",
  1590. "refId": "A"
  1591. }
  1592. ],
  1593. "thresholds": [
  1594. ],
  1595. "timeFrom": null,
  1596. "timeShift": null,
  1597. "title": "Write SLI - Requests",
  1598. "tooltip": {
  1599. "shared": false,
  1600. "sort": 0,
  1601. "value_type": "individual"
  1602. },
  1603. "type": "graph",
  1604. "xaxis": {
  1605. "buckets": null,
  1606. "mode": "time",
  1607. "name": null,
  1608. "show": true,
  1609. "values": [
  1610. ]
  1611. },
  1612. "yaxes": [
  1613. {
  1614. "format": "reqps",
  1615. "label": null,
  1616. "logBase": 1,
  1617. "max": null,
  1618. "min": null,
  1619. "show": true
  1620. },
  1621. {
  1622. "format": "reqps",
  1623. "label": null,
  1624. "logBase": 1,
  1625. "max": null,
  1626. "min": null,
  1627. "show": true
  1628. }
  1629. ]
  1630. },
  1631. {
  1632. "aliasColors": {
  1633. },
  1634. "bars": false,
  1635. "dashLength": 10,
  1636. "dashes": false,
  1637. "datasource": "$datasource",
  1638. "description": "How many percent of write requests (POST|PUT|PATCH|DELETE) per second are returned with errors (5xx)?",
  1639. "fill": 1,
  1640. "fillGradient": 0,
  1641. "gridPos": {
  1642. },
  1643. "id": 11,
  1644. "interval": "1m",
  1645. "legend": {
  1646. "alignAsTable": true,
  1647. "avg": false,
  1648. "current": false,
  1649. "max": false,
  1650. "min": false,
  1651. "rightSide": true,
  1652. "show": true,
  1653. "sideWidth": null,
  1654. "total": false,
  1655. "values": false
  1656. },
  1657. "lines": true,
  1658. "linewidth": 1,
  1659. "links": [
  1660. ],
  1661. "nullPointMode": "null",
  1662. "percentage": false,
  1663. "pointradius": 5,
  1664. "points": false,
  1665. "renderer": "flot",
  1666. "repeat": null,
  1667. "seriesOverrides": [
  1668. ],
  1669. "spaceLength": 10,
  1670. "span": 3,
  1671. "stack": false,
  1672. "steppedLine": false,
  1673. "targets": [
  1674. {
  1675. "expr": "sum by (resource) (code_resource:apiserver_request_total:rate5m{verb=\"write\",code=~\"5..\", cluster=\"$cluster\"}) / sum by (resource) (code_resource:apiserver_request_total:rate5m{verb=\"write\", cluster=\"$cluster\"})",
  1676. "format": "time_series",
  1677. "intervalFactor": 2,
  1678. "legendFormat": "{{ resource }}",
  1679. "refId": "A"
  1680. }
  1681. ],
  1682. "thresholds": [
  1683. ],
  1684. "timeFrom": null,
  1685. "timeShift": null,
  1686. "title": "Write SLI - Errors",
  1687. "tooltip": {
  1688. "shared": false,
  1689. "sort": 0,
  1690. "value_type": "individual"
  1691. },
  1692. "type": "graph",
  1693. "xaxis": {
  1694. "buckets": null,
  1695. "mode": "time",
  1696. "name": null,
  1697. "show": true,
  1698. "values": [
  1699. ]
  1700. },
  1701. "yaxes": [
  1702. {
  1703. "format": "percentunit",
  1704. "label": null,
  1705. "logBase": 1,
  1706. "max": null,
  1707. "min": 0,
  1708. "show": true
  1709. },
  1710. {
  1711. "format": "percentunit",
  1712. "label": null,
  1713. "logBase": 1,
  1714. "max": null,
  1715. "min": 0,
  1716. "show": true
  1717. }
  1718. ]
  1719. },
  1720. {
  1721. "aliasColors": {
  1722. },
  1723. "bars": false,
  1724. "dashLength": 10,
  1725. "dashes": false,
  1726. "datasource": "$datasource",
  1727. "description": "How many seconds is the 99th percentile for writing (POST|PUT|PATCH|DELETE) a given resource?",
  1728. "fill": 1,
  1729. "fillGradient": 0,
  1730. "gridPos": {
  1731. },
  1732. "id": 12,
  1733. "interval": "1m",
  1734. "legend": {
  1735. "alignAsTable": true,
  1736. "avg": false,
  1737. "current": false,
  1738. "max": false,
  1739. "min": false,
  1740. "rightSide": true,
  1741. "show": true,
  1742. "sideWidth": null,
  1743. "total": false,
  1744. "values": false
  1745. },
  1746. "lines": true,
  1747. "linewidth": 1,
  1748. "links": [
  1749. ],
  1750. "nullPointMode": "null",
  1751. "percentage": false,
  1752. "pointradius": 5,
  1753. "points": false,
  1754. "renderer": "flot",
  1755. "repeat": null,
  1756. "seriesOverrides": [
  1757. ],
  1758. "spaceLength": 10,
  1759. "span": 3,
  1760. "stack": false,
  1761. "steppedLine": false,
  1762. "targets": [
  1763. {
  1764. "expr": "cluster_quantile:apiserver_request_slo_duration_seconds:histogram_quantile{verb=\"write\", cluster=\"$cluster\"}",
  1765. "format": "time_series",
  1766. "intervalFactor": 2,
  1767. "legendFormat": "{{ resource }}",
  1768. "refId": "A"
  1769. }
  1770. ],
  1771. "thresholds": [
  1772. ],
  1773. "timeFrom": null,
  1774. "timeShift": null,
  1775. "title": "Write SLI - Duration",
  1776. "tooltip": {
  1777. "shared": false,
  1778. "sort": 0,
  1779. "value_type": "individual"
  1780. },
  1781. "type": "graph",
  1782. "xaxis": {
  1783. "buckets": null,
  1784. "mode": "time",
  1785. "name": null,
  1786. "show": true,
  1787. "values": [
  1788. ]
  1789. },
  1790. "yaxes": [
  1791. {
  1792. "format": "s",
  1793. "label": null,
  1794. "logBase": 1,
  1795. "max": null,
  1796. "min": null,
  1797. "show": true
  1798. },
  1799. {
  1800. "format": "s",
  1801. "label": null,
  1802. "logBase": 1,
  1803. "max": null,
  1804. "min": null,
  1805. "show": true
  1806. }
  1807. ]
  1808. }
  1809. ],
  1810. "repeat": null,
  1811. "repeatIteration": null,
  1812. "repeatRowId": null,
  1813. "showTitle": false,
  1814. "title": "Dashboard Row",
  1815. "titleSize": "h6",
  1816. "type": "row"
  1817. },
  1818. {
  1819. "collapse": false,
  1820. "collapsed": false,
  1821. "panels": [
  1822. {
  1823. "aliasColors": {
  1824. },
  1825. "bars": false,
  1826. "dashLength": 10,
  1827. "dashes": false,
  1828. "datasource": "$datasource",
  1829. "fill": 1,
  1830. "fillGradient": 0,
  1831. "gridPos": {
  1832. },
  1833. "id": 13,
  1834. "interval": "1m",
  1835. "legend": {
  1836. "alignAsTable": true,
  1837. "avg": false,
  1838. "current": false,
  1839. "max": false,
  1840. "min": false,
  1841. "rightSide": true,
  1842. "show": false,
  1843. "sideWidth": null,
  1844. "total": false,
  1845. "values": false
  1846. },
  1847. "lines": true,
  1848. "linewidth": 1,
  1849. "links": [
  1850. ],
  1851. "nullPointMode": "null",
  1852. "percentage": false,
  1853. "pointradius": 5,
  1854. "points": false,
  1855. "renderer": "flot",
  1856. "repeat": null,
  1857. "seriesOverrides": [
  1858. ],
  1859. "spaceLength": 10,
  1860. "span": 6,
  1861. "stack": false,
  1862. "steppedLine": false,
  1863. "targets": [
  1864. {
  1865. "expr": "sum(rate(workqueue_adds_total{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[$__rate_interval])) by (instance, name)",
  1866. "format": "time_series",
  1867. "intervalFactor": 2,
  1868. "legendFormat": "{{instance}} {{name}}",
  1869. "refId": "A"
  1870. }
  1871. ],
  1872. "thresholds": [
  1873. ],
  1874. "timeFrom": null,
  1875. "timeShift": null,
  1876. "title": "Work Queue Add Rate",
  1877. "tooltip": {
  1878. "shared": false,
  1879. "sort": 0,
  1880. "value_type": "individual"
  1881. },
  1882. "type": "graph",
  1883. "xaxis": {
  1884. "buckets": null,
  1885. "mode": "time",
  1886. "name": null,
  1887. "show": true,
  1888. "values": [
  1889. ]
  1890. },
  1891. "yaxes": [
  1892. {
  1893. "format": "ops",
  1894. "label": null,
  1895. "logBase": 1,
  1896. "max": null,
  1897. "min": 0,
  1898. "show": true
  1899. },
  1900. {
  1901. "format": "ops",
  1902. "label": null,
  1903. "logBase": 1,
  1904. "max": null,
  1905. "min": 0,
  1906. "show": true
  1907. }
  1908. ]
  1909. },
  1910. {
  1911. "aliasColors": {
  1912. },
  1913. "bars": false,
  1914. "dashLength": 10,
  1915. "dashes": false,
  1916. "datasource": "$datasource",
  1917. "fill": 1,
  1918. "fillGradient": 0,
  1919. "gridPos": {
  1920. },
  1921. "id": 14,
  1922. "interval": "1m",
  1923. "legend": {
  1924. "alignAsTable": true,
  1925. "avg": false,
  1926. "current": false,
  1927. "max": false,
  1928. "min": false,
  1929. "rightSide": true,
  1930. "show": false,
  1931. "sideWidth": null,
  1932. "total": false,
  1933. "values": false
  1934. },
  1935. "lines": true,
  1936. "linewidth": 1,
  1937. "links": [
  1938. ],
  1939. "nullPointMode": "null",
  1940. "percentage": false,
  1941. "pointradius": 5,
  1942. "points": false,
  1943. "renderer": "flot",
  1944. "repeat": null,
  1945. "seriesOverrides": [
  1946. ],
  1947. "spaceLength": 10,
  1948. "span": 6,
  1949. "stack": false,
  1950. "steppedLine": false,
  1951. "targets": [
  1952. {
  1953. "expr": "sum(rate(workqueue_depth{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[$__rate_interval])) by (instance, name)",
  1954. "format": "time_series",
  1955. "intervalFactor": 2,
  1956. "legendFormat": "{{instance}} {{name}}",
  1957. "refId": "A"
  1958. }
  1959. ],
  1960. "thresholds": [
  1961. ],
  1962. "timeFrom": null,
  1963. "timeShift": null,
  1964. "title": "Work Queue Depth",
  1965. "tooltip": {
  1966. "shared": false,
  1967. "sort": 0,
  1968. "value_type": "individual"
  1969. },
  1970. "type": "graph",
  1971. "xaxis": {
  1972. "buckets": null,
  1973. "mode": "time",
  1974. "name": null,
  1975. "show": true,
  1976. "values": [
  1977. ]
  1978. },
  1979. "yaxes": [
  1980. {
  1981. "format": "short",
  1982. "label": null,
  1983. "logBase": 1,
  1984. "max": null,
  1985. "min": 0,
  1986. "show": true
  1987. },
  1988. {
  1989. "format": "short",
  1990. "label": null,
  1991. "logBase": 1,
  1992. "max": null,
  1993. "min": 0,
  1994. "show": true
  1995. }
  1996. ]
  1997. },
  1998. {
  1999. "aliasColors": {
  2000. },
  2001. "bars": false,
  2002. "dashLength": 10,
  2003. "dashes": false,
  2004. "datasource": "$datasource",
  2005. "fill": 1,
  2006. "fillGradient": 0,
  2007. "gridPos": {
  2008. },
  2009. "id": 15,
  2010. "interval": "1m",
  2011. "legend": {
  2012. "alignAsTable": true,
  2013. "avg": false,
  2014. "current": true,
  2015. "max": false,
  2016. "min": false,
  2017. "rightSide": true,
  2018. "show": true,
  2019. "sideWidth": null,
  2020. "total": false,
  2021. "values": true
  2022. },
  2023. "lines": true,
  2024. "linewidth": 1,
  2025. "links": [
  2026. ],
  2027. "nullPointMode": "null",
  2028. "percentage": false,
  2029. "pointradius": 5,
  2030. "points": false,
  2031. "renderer": "flot",
  2032. "repeat": null,
  2033. "seriesOverrides": [
  2034. ],
  2035. "spaceLength": 10,
  2036. "span": 12,
  2037. "stack": false,
  2038. "steppedLine": false,
  2039. "targets": [
  2040. {
  2041. "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[$__rate_interval])) by (instance, name, le))",
  2042. "format": "time_series",
  2043. "intervalFactor": 2,
  2044. "legendFormat": "{{instance}} {{name}}",
  2045. "refId": "A"
  2046. }
  2047. ],
  2048. "thresholds": [
  2049. ],
  2050. "timeFrom": null,
  2051. "timeShift": null,
  2052. "title": "Work Queue Latency",
  2053. "tooltip": {
  2054. "shared": false,
  2055. "sort": 0,
  2056. "value_type": "individual"
  2057. },
  2058. "type": "graph",
  2059. "xaxis": {
  2060. "buckets": null,
  2061. "mode": "time",
  2062. "name": null,
  2063. "show": true,
  2064. "values": [
  2065. ]
  2066. },
  2067. "yaxes": [
  2068. {
  2069. "format": "s",
  2070. "label": null,
  2071. "logBase": 1,
  2072. "max": null,
  2073. "min": null,
  2074. "show": true
  2075. },
  2076. {
  2077. "format": "s",
  2078. "label": null,
  2079. "logBase": 1,
  2080. "max": null,
  2081. "min": null,
  2082. "show": true
  2083. }
  2084. ]
  2085. }
  2086. ],
  2087. "repeat": null,
  2088. "repeatIteration": null,
  2089. "repeatRowId": null,
  2090. "showTitle": false,
  2091. "title": "Dashboard Row",
  2092. "titleSize": "h6",
  2093. "type": "row"
  2094. },
  2095. {
  2096. "collapse": false,
  2097. "collapsed": false,
  2098. "panels": [
  2099. {
  2100. "aliasColors": {
  2101. },
  2102. "bars": false,
  2103. "dashLength": 10,
  2104. "dashes": false,
  2105. "datasource": "$datasource",
  2106. "fill": 1,
  2107. "fillGradient": 0,
  2108. "gridPos": {
  2109. },
  2110. "id": 16,
  2111. "interval": "1m",
  2112. "legend": {
  2113. "alignAsTable": true,
  2114. "avg": false,
  2115. "current": false,
  2116. "max": false,
  2117. "min": false,
  2118. "rightSide": true,
  2119. "show": true,
  2120. "sideWidth": null,
  2121. "total": false,
  2122. "values": false
  2123. },
  2124. "lines": true,
  2125. "linewidth": 1,
  2126. "links": [
  2127. ],
  2128. "nullPointMode": "null",
  2129. "percentage": false,
  2130. "pointradius": 5,
  2131. "points": false,
  2132. "renderer": "flot",
  2133. "repeat": null,
  2134. "seriesOverrides": [
  2135. ],
  2136. "spaceLength": 10,
  2137. "span": 4,
  2138. "stack": false,
  2139. "steppedLine": false,
  2140. "targets": [
  2141. {
  2142. "expr": "process_resident_memory_bytes{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}",
  2143. "format": "time_series",
  2144. "intervalFactor": 2,
  2145. "legendFormat": "{{instance}}",
  2146. "refId": "A"
  2147. }
  2148. ],
  2149. "thresholds": [
  2150. ],
  2151. "timeFrom": null,
  2152. "timeShift": null,
  2153. "title": "Memory",
  2154. "tooltip": {
  2155. "shared": false,
  2156. "sort": 0,
  2157. "value_type": "individual"
  2158. },
  2159. "type": "graph",
  2160. "xaxis": {
  2161. "buckets": null,
  2162. "mode": "time",
  2163. "name": null,
  2164. "show": true,
  2165. "values": [
  2166. ]
  2167. },
  2168. "yaxes": [
  2169. {
  2170. "format": "bytes",
  2171. "label": null,
  2172. "logBase": 1,
  2173. "max": null,
  2174. "min": null,
  2175. "show": true
  2176. },
  2177. {
  2178. "format": "bytes",
  2179. "label": null,
  2180. "logBase": 1,
  2181. "max": null,
  2182. "min": null,
  2183. "show": true
  2184. }
  2185. ]
  2186. },
  2187. {
  2188. "aliasColors": {
  2189. },
  2190. "bars": false,
  2191. "dashLength": 10,
  2192. "dashes": false,
  2193. "datasource": "$datasource",
  2194. "fill": 1,
  2195. "fillGradient": 0,
  2196. "gridPos": {
  2197. },
  2198. "id": 17,
  2199. "interval": "1m",
  2200. "legend": {
  2201. "alignAsTable": true,
  2202. "avg": false,
  2203. "current": false,
  2204. "max": false,
  2205. "min": false,
  2206. "rightSide": true,
  2207. "show": true,
  2208. "sideWidth": null,
  2209. "total": false,
  2210. "values": false
  2211. },
  2212. "lines": true,
  2213. "linewidth": 1,
  2214. "links": [
  2215. ],
  2216. "nullPointMode": "null",
  2217. "percentage": false,
  2218. "pointradius": 5,
  2219. "points": false,
  2220. "renderer": "flot",
  2221. "repeat": null,
  2222. "seriesOverrides": [
  2223. ],
  2224. "spaceLength": 10,
  2225. "span": 4,
  2226. "stack": false,
  2227. "steppedLine": false,
  2228. "targets": [
  2229. {
  2230. "expr": "rate(process_cpu_seconds_total{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}[$__rate_interval])",
  2231. "format": "time_series",
  2232. "intervalFactor": 2,
  2233. "legendFormat": "{{instance}}",
  2234. "refId": "A"
  2235. }
  2236. ],
  2237. "thresholds": [
  2238. ],
  2239. "timeFrom": null,
  2240. "timeShift": null,
  2241. "title": "CPU usage",
  2242. "tooltip": {
  2243. "shared": false,
  2244. "sort": 0,
  2245. "value_type": "individual"
  2246. },
  2247. "type": "graph",
  2248. "xaxis": {
  2249. "buckets": null,
  2250. "mode": "time",
  2251. "name": null,
  2252. "show": true,
  2253. "values": [
  2254. ]
  2255. },
  2256. "yaxes": [
  2257. {
  2258. "format": "short",
  2259. "label": null,
  2260. "logBase": 1,
  2261. "max": null,
  2262. "min": 0,
  2263. "show": true
  2264. },
  2265. {
  2266. "format": "short",
  2267. "label": null,
  2268. "logBase": 1,
  2269. "max": null,
  2270. "min": 0,
  2271. "show": true
  2272. }
  2273. ]
  2274. },
  2275. {
  2276. "aliasColors": {
  2277. },
  2278. "bars": false,
  2279. "dashLength": 10,
  2280. "dashes": false,
  2281. "datasource": "$datasource",
  2282. "fill": 1,
  2283. "fillGradient": 0,
  2284. "gridPos": {
  2285. },
  2286. "id": 18,
  2287. "interval": "1m",
  2288. "legend": {
  2289. "alignAsTable": true,
  2290. "avg": false,
  2291. "current": false,
  2292. "max": false,
  2293. "min": false,
  2294. "rightSide": true,
  2295. "show": true,
  2296. "sideWidth": null,
  2297. "total": false,
  2298. "values": false
  2299. },
  2300. "lines": true,
  2301. "linewidth": 1,
  2302. "links": [
  2303. ],
  2304. "nullPointMode": "null",
  2305. "percentage": false,
  2306. "pointradius": 5,
  2307. "points": false,
  2308. "renderer": "flot",
  2309. "repeat": null,
  2310. "seriesOverrides": [
  2311. ],
  2312. "spaceLength": 10,
  2313. "span": 4,
  2314. "stack": false,
  2315. "steppedLine": false,
  2316. "targets": [
  2317. {
  2318. "expr": "go_goroutines{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}",
  2319. "format": "time_series",
  2320. "intervalFactor": 2,
  2321. "legendFormat": "{{instance}}",
  2322. "refId": "A"
  2323. }
  2324. ],
  2325. "thresholds": [
  2326. ],
  2327. "timeFrom": null,
  2328. "timeShift": null,
  2329. "title": "Goroutines",
  2330. "tooltip": {
  2331. "shared": false,
  2332. "sort": 0,
  2333. "value_type": "individual"
  2334. },
  2335. "type": "graph",
  2336. "xaxis": {
  2337. "buckets": null,
  2338. "mode": "time",
  2339. "name": null,
  2340. "show": true,
  2341. "values": [
  2342. ]
  2343. },
  2344. "yaxes": [
  2345. {
  2346. "format": "short",
  2347. "label": null,
  2348. "logBase": 1,
  2349. "max": null,
  2350. "min": null,
  2351. "show": true
  2352. },
  2353. {
  2354. "format": "short",
  2355. "label": null,
  2356. "logBase": 1,
  2357. "max": null,
  2358. "min": null,
  2359. "show": true
  2360. }
  2361. ]
  2362. }
  2363. ],
  2364. "repeat": null,
  2365. "repeatIteration": null,
  2366. "repeatRowId": null,
  2367. "showTitle": false,
  2368. "title": "Dashboard Row",
  2369. "titleSize": "h6",
  2370. "type": "row"
  2371. }
  2372. ],
  2373. "schemaVersion": 14,
  2374. "style": "dark",
  2375. "tags": [
  2376. "kubernetes-mixin"
  2377. ],
  2378. "templating": {
  2379. "list": [
  2380. {
  2381. "current": {
  2382. "text": "default",
  2383. "value": "default"
  2384. },
  2385. "hide": 0,
  2386. "label": "Data Source",
  2387. "name": "datasource",
  2388. "options": [
  2389. ],
  2390. "query": "prometheus",
  2391. "refresh": 1,
  2392. "regex": "",
  2393. "type": "datasource"
  2394. },
  2395. {
  2396. "allValue": null,
  2397. "current": {
  2398. },
  2399. "datasource": "$datasource",
  2400. "hide": 2,
  2401. "includeAll": false,
  2402. "label": "cluster",
  2403. "multi": false,
  2404. "name": "cluster",
  2405. "options": [
  2406. ],
  2407. "query": "label_values(up{job=\"apiserver\"}, cluster)",
  2408. "refresh": 2,
  2409. "regex": "",
  2410. "sort": 1,
  2411. "tagValuesQuery": "",
  2412. "tags": [
  2413. ],
  2414. "tagsQuery": "",
  2415. "type": "query",
  2416. "useTags": false
  2417. },
  2418. {
  2419. "allValue": null,
  2420. "current": {
  2421. },
  2422. "datasource": "$datasource",
  2423. "hide": 0,
  2424. "includeAll": true,
  2425. "label": null,
  2426. "multi": false,
  2427. "name": "instance",
  2428. "options": [
  2429. ],
  2430. "query": "label_values(up{job=\"apiserver\", cluster=\"$cluster\"}, instance)",
  2431. "refresh": 2,
  2432. "regex": "",
  2433. "sort": 1,
  2434. "tagValuesQuery": "",
  2435. "tags": [
  2436. ],
  2437. "tagsQuery": "",
  2438. "type": "query",
  2439. "useTags": false
  2440. }
  2441. ]
  2442. },
  2443. "time": {
  2444. "from": "now-1h",
  2445. "to": "now"
  2446. },
  2447. "timepicker": {
  2448. "refresh_intervals": [
  2449. "5s",
  2450. "10s",
  2451. "30s",
  2452. "1m",
  2453. "5m",
  2454. "15m",
  2455. "30m",
  2456. "1h",
  2457. "2h",
  2458. "1d"
  2459. ],
  2460. "time_options": [
  2461. "5m",
  2462. "15m",
  2463. "1h",
  2464. "6h",
  2465. "12h",
  2466. "24h",
  2467. "2d",
  2468. "7d",
  2469. "30d"
  2470. ]
  2471. },
  2472. "timezone": "utc",
  2473. "title": "Kubernetes / API server",
  2474. "uid": "09ec8aa1e996d6ffcd6817bbaff4db1b",
  2475. "version": 0
  2476. }
  2477. ---
  2478. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/cluster-total.yaml
  2479. apiVersion: v1
  2480. kind: ConfigMap
  2481. metadata:
  2482. namespace: monitoring
  2483. name: prometheus-kube-prometheus-cluster-total
  2484. annotations:
  2485. {}
  2486. labels:
  2487. grafana_dashboard: "1"
  2488. app: kube-prometheus-stack-grafana
  2489. app.kubernetes.io/managed-by: Helm
  2490. app.kubernetes.io/instance: prometheus
  2491. app.kubernetes.io/version: "44.3.0"
  2492. app.kubernetes.io/part-of: kube-prometheus-stack
  2493. chart: kube-prometheus-stack-44.3.0
  2494. release: "prometheus"
  2495. heritage: "Helm"
  2496. data:
  2497. cluster-total.json: |-
  2498. {
  2499. "__inputs": [
  2500. ],
  2501. "__requires": [
  2502. ],
  2503. "annotations": {
  2504. "list": [
  2505. {
  2506. "builtIn": 1,
  2507. "datasource": "-- Grafana --",
  2508. "enable": true,
  2509. "hide": true,
  2510. "iconColor": "rgba(0, 211, 255, 1)",
  2511. "name": "Annotations & Alerts",
  2512. "type": "dashboard"
  2513. }
  2514. ]
  2515. },
  2516. "editable": true,
  2517. "gnetId": null,
  2518. "graphTooltip": 0,
  2519. "hideControls": false,
  2520. "id": null,
  2521. "links": [
  2522. ],
  2523. "panels": [
  2524. {
  2525. "collapse": false,
  2526. "collapsed": false,
  2527. "gridPos": {
  2528. "h": 1,
  2529. "w": 24,
  2530. "x": 0,
  2531. "y": 0
  2532. },
  2533. "id": 2,
  2534. "panels": [
  2535. ],
  2536. "repeat": null,
  2537. "repeatIteration": null,
  2538. "repeatRowId": null,
  2539. "showTitle": true,
  2540. "title": "Current Bandwidth",
  2541. "titleSize": "h6",
  2542. "type": "row"
  2543. },
  2544. {
  2545. "aliasColors": {
  2546. },
  2547. "bars": true,
  2548. "dashLength": 10,
  2549. "dashes": false,
  2550. "datasource": "$datasource",
  2551. "fill": 2,
  2552. "fillGradient": 0,
  2553. "gridPos": {
  2554. "h": 9,
  2555. "w": 12,
  2556. "x": 0,
  2557. "y": 1
  2558. },
  2559. "id": 3,
  2560. "legend": {
  2561. "alignAsTable": true,
  2562. "avg": false,
  2563. "current": true,
  2564. "hideEmpty": true,
  2565. "hideZero": true,
  2566. "max": false,
  2567. "min": false,
  2568. "rightSide": true,
  2569. "show": true,
  2570. "sideWidth": null,
  2571. "sort": "current",
  2572. "sortDesc": true,
  2573. "total": false,
  2574. "values": true
  2575. },
  2576. "lines": false,
  2577. "linewidth": 1,
  2578. "links": [
  2579. ],
  2580. "minSpan": 24,
  2581. "nullPointMode": "null",
  2582. "paceLength": 10,
  2583. "percentage": false,
  2584. "pointradius": 5,
  2585. "points": false,
  2586. "renderer": "flot",
  2587. "repeat": null,
  2588. "seriesOverrides": [
  2589. ],
  2590. "spaceLength": 10,
  2591. "span": 24,
  2592. "stack": false,
  2593. "steppedLine": false,
  2594. "targets": [
  2595. {
  2596. "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  2597. "format": "time_series",
  2598. "intervalFactor": 1,
  2599. "legendFormat": "{{namespace}}",
  2600. "refId": "A",
  2601. "step": 10
  2602. }
  2603. ],
  2604. "thresholds": [
  2605. ],
  2606. "timeFrom": null,
  2607. "timeShift": null,
  2608. "title": "Current Rate of Bytes Received",
  2609. "tooltip": {
  2610. "shared": true,
  2611. "sort": 2,
  2612. "value_type": "individual"
  2613. },
  2614. "type": "graph",
  2615. "xaxis": {
  2616. "buckets": null,
  2617. "mode": "series",
  2618. "name": null,
  2619. "show": false,
  2620. "values": [
  2621. "current"
  2622. ]
  2623. },
  2624. "yaxes": [
  2625. {
  2626. "format": "Bps",
  2627. "label": null,
  2628. "logBase": 1,
  2629. "max": null,
  2630. "min": 0,
  2631. "show": true
  2632. },
  2633. {
  2634. "format": "Bps",
  2635. "label": null,
  2636. "logBase": 1,
  2637. "max": null,
  2638. "min": 0,
  2639. "show": true
  2640. }
  2641. ]
  2642. },
  2643. {
  2644. "aliasColors": {
  2645. },
  2646. "bars": true,
  2647. "dashLength": 10,
  2648. "dashes": false,
  2649. "datasource": "$datasource",
  2650. "fill": 2,
  2651. "fillGradient": 0,
  2652. "gridPos": {
  2653. "h": 9,
  2654. "w": 12,
  2655. "x": 12,
  2656. "y": 1
  2657. },
  2658. "id": 4,
  2659. "legend": {
  2660. "alignAsTable": true,
  2661. "avg": false,
  2662. "current": true,
  2663. "hideEmpty": true,
  2664. "hideZero": true,
  2665. "max": false,
  2666. "min": false,
  2667. "rightSide": true,
  2668. "show": true,
  2669. "sideWidth": null,
  2670. "sort": "current",
  2671. "sortDesc": true,
  2672. "total": false,
  2673. "values": true
  2674. },
  2675. "lines": false,
  2676. "linewidth": 1,
  2677. "links": [
  2678. ],
  2679. "minSpan": 24,
  2680. "nullPointMode": "null",
  2681. "paceLength": 10,
  2682. "percentage": false,
  2683. "pointradius": 5,
  2684. "points": false,
  2685. "renderer": "flot",
  2686. "repeat": null,
  2687. "seriesOverrides": [
  2688. ],
  2689. "spaceLength": 10,
  2690. "span": 24,
  2691. "stack": false,
  2692. "steppedLine": false,
  2693. "targets": [
  2694. {
  2695. "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  2696. "format": "time_series",
  2697. "intervalFactor": 1,
  2698. "legendFormat": "{{namespace}}",
  2699. "refId": "A",
  2700. "step": 10
  2701. }
  2702. ],
  2703. "thresholds": [
  2704. ],
  2705. "timeFrom": null,
  2706. "timeShift": null,
  2707. "title": "Current Rate of Bytes Transmitted",
  2708. "tooltip": {
  2709. "shared": true,
  2710. "sort": 2,
  2711. "value_type": "individual"
  2712. },
  2713. "type": "graph",
  2714. "xaxis": {
  2715. "buckets": null,
  2716. "mode": "series",
  2717. "name": null,
  2718. "show": false,
  2719. "values": [
  2720. "current"
  2721. ]
  2722. },
  2723. "yaxes": [
  2724. {
  2725. "format": "Bps",
  2726. "label": null,
  2727. "logBase": 1,
  2728. "max": null,
  2729. "min": 0,
  2730. "show": true
  2731. },
  2732. {
  2733. "format": "Bps",
  2734. "label": null,
  2735. "logBase": 1,
  2736. "max": null,
  2737. "min": 0,
  2738. "show": true
  2739. }
  2740. ]
  2741. },
  2742. {
  2743. "columns": [
  2744. {
  2745. "text": "Time",
  2746. "value": "Time"
  2747. },
  2748. {
  2749. "text": "Value #A",
  2750. "value": "Value #A"
  2751. },
  2752. {
  2753. "text": "Value #B",
  2754. "value": "Value #B"
  2755. },
  2756. {
  2757. "text": "Value #C",
  2758. "value": "Value #C"
  2759. },
  2760. {
  2761. "text": "Value #D",
  2762. "value": "Value #D"
  2763. },
  2764. {
  2765. "text": "Value #E",
  2766. "value": "Value #E"
  2767. },
  2768. {
  2769. "text": "Value #F",
  2770. "value": "Value #F"
  2771. },
  2772. {
  2773. "text": "Value #G",
  2774. "value": "Value #G"
  2775. },
  2776. {
  2777. "text": "Value #H",
  2778. "value": "Value #H"
  2779. },
  2780. {
  2781. "text": "namespace",
  2782. "value": "namespace"
  2783. }
  2784. ],
  2785. "datasource": "$datasource",
  2786. "fill": 1,
  2787. "fontSize": "90%",
  2788. "gridPos": {
  2789. "h": 9,
  2790. "w": 24,
  2791. "x": 0,
  2792. "y": 10
  2793. },
  2794. "id": 5,
  2795. "lines": true,
  2796. "linewidth": 1,
  2797. "links": [
  2798. ],
  2799. "minSpan": 24,
  2800. "nullPointMode": "null as zero",
  2801. "renderer": "flot",
  2802. "scroll": true,
  2803. "showHeader": true,
  2804. "sort": {
  2805. "col": 0,
  2806. "desc": false
  2807. },
  2808. "spaceLength": 10,
  2809. "span": 24,
  2810. "styles": [
  2811. {
  2812. "alias": "Time",
  2813. "colorMode": null,
  2814. "colors": [
  2815. ],
  2816. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2817. "decimals": 2,
  2818. "link": false,
  2819. "linkTooltip": "Drill down",
  2820. "linkUrl": "",
  2821. "pattern": "Time",
  2822. "thresholds": [
  2823. ],
  2824. "type": "hidden",
  2825. "unit": "short"
  2826. },
  2827. {
  2828. "alias": "Current Bandwidth Received",
  2829. "colorMode": null,
  2830. "colors": [
  2831. ],
  2832. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2833. "decimals": 2,
  2834. "link": false,
  2835. "linkTooltip": "Drill down",
  2836. "linkUrl": "",
  2837. "pattern": "Value #A",
  2838. "thresholds": [
  2839. ],
  2840. "type": "number",
  2841. "unit": "Bps"
  2842. },
  2843. {
  2844. "alias": "Current Bandwidth Transmitted",
  2845. "colorMode": null,
  2846. "colors": [
  2847. ],
  2848. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2849. "decimals": 2,
  2850. "link": false,
  2851. "linkTooltip": "Drill down",
  2852. "linkUrl": "",
  2853. "pattern": "Value #B",
  2854. "thresholds": [
  2855. ],
  2856. "type": "number",
  2857. "unit": "Bps"
  2858. },
  2859. {
  2860. "alias": "Average Bandwidth Received",
  2861. "colorMode": null,
  2862. "colors": [
  2863. ],
  2864. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2865. "decimals": 2,
  2866. "link": false,
  2867. "linkTooltip": "Drill down",
  2868. "linkUrl": "",
  2869. "pattern": "Value #C",
  2870. "thresholds": [
  2871. ],
  2872. "type": "number",
  2873. "unit": "Bps"
  2874. },
  2875. {
  2876. "alias": "Average Bandwidth Transmitted",
  2877. "colorMode": null,
  2878. "colors": [
  2879. ],
  2880. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2881. "decimals": 2,
  2882. "link": false,
  2883. "linkTooltip": "Drill down",
  2884. "linkUrl": "",
  2885. "pattern": "Value #D",
  2886. "thresholds": [
  2887. ],
  2888. "type": "number",
  2889. "unit": "Bps"
  2890. },
  2891. {
  2892. "alias": "Rate of Received Packets",
  2893. "colorMode": null,
  2894. "colors": [
  2895. ],
  2896. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2897. "decimals": 2,
  2898. "link": false,
  2899. "linkTooltip": "Drill down",
  2900. "linkUrl": "",
  2901. "pattern": "Value #E",
  2902. "thresholds": [
  2903. ],
  2904. "type": "number",
  2905. "unit": "pps"
  2906. },
  2907. {
  2908. "alias": "Rate of Transmitted Packets",
  2909. "colorMode": null,
  2910. "colors": [
  2911. ],
  2912. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2913. "decimals": 2,
  2914. "link": false,
  2915. "linkTooltip": "Drill down",
  2916. "linkUrl": "",
  2917. "pattern": "Value #F",
  2918. "thresholds": [
  2919. ],
  2920. "type": "number",
  2921. "unit": "pps"
  2922. },
  2923. {
  2924. "alias": "Rate of Received Packets Dropped",
  2925. "colorMode": null,
  2926. "colors": [
  2927. ],
  2928. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2929. "decimals": 2,
  2930. "link": false,
  2931. "linkTooltip": "Drill down",
  2932. "linkUrl": "",
  2933. "pattern": "Value #G",
  2934. "thresholds": [
  2935. ],
  2936. "type": "number",
  2937. "unit": "pps"
  2938. },
  2939. {
  2940. "alias": "Rate of Transmitted Packets Dropped",
  2941. "colorMode": null,
  2942. "colors": [
  2943. ],
  2944. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2945. "decimals": 2,
  2946. "link": false,
  2947. "linkTooltip": "Drill down",
  2948. "linkUrl": "",
  2949. "pattern": "Value #H",
  2950. "thresholds": [
  2951. ],
  2952. "type": "number",
  2953. "unit": "pps"
  2954. },
  2955. {
  2956. "alias": "Namespace",
  2957. "colorMode": null,
  2958. "colors": [
  2959. ],
  2960. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  2961. "decimals": 2,
  2962. "link": true,
  2963. "linkTooltip": "Drill down",
  2964. "linkUrl": "d/8b7a8b326d7a6f1f04244066368c67af/kubernetes-networking-namespace-pods?orgId=1&refresh=30s&var-namespace=$__cell",
  2965. "pattern": "namespace",
  2966. "thresholds": [
  2967. ],
  2968. "type": "number",
  2969. "unit": "short"
  2970. }
  2971. ],
  2972. "targets": [
  2973. {
  2974. "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  2975. "format": "table",
  2976. "instant": true,
  2977. "intervalFactor": 2,
  2978. "legendFormat": "",
  2979. "refId": "A",
  2980. "step": 10
  2981. },
  2982. {
  2983. "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  2984. "format": "table",
  2985. "instant": true,
  2986. "intervalFactor": 2,
  2987. "legendFormat": "",
  2988. "refId": "B",
  2989. "step": 10
  2990. },
  2991. {
  2992. "expr": "sort_desc(avg(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  2993. "format": "table",
  2994. "instant": true,
  2995. "intervalFactor": 2,
  2996. "legendFormat": "",
  2997. "refId": "C",
  2998. "step": 10
  2999. },
  3000. {
  3001. "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3002. "format": "table",
  3003. "instant": true,
  3004. "intervalFactor": 2,
  3005. "legendFormat": "",
  3006. "refId": "D",
  3007. "step": 10
  3008. },
  3009. {
  3010. "expr": "sort_desc(sum(irate(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3011. "format": "table",
  3012. "instant": true,
  3013. "intervalFactor": 2,
  3014. "legendFormat": "",
  3015. "refId": "E",
  3016. "step": 10
  3017. },
  3018. {
  3019. "expr": "sort_desc(sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3020. "format": "table",
  3021. "instant": true,
  3022. "intervalFactor": 2,
  3023. "legendFormat": "",
  3024. "refId": "F",
  3025. "step": 10
  3026. },
  3027. {
  3028. "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3029. "format": "table",
  3030. "instant": true,
  3031. "intervalFactor": 2,
  3032. "legendFormat": "",
  3033. "refId": "G",
  3034. "step": 10
  3035. },
  3036. {
  3037. "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3038. "format": "table",
  3039. "instant": true,
  3040. "intervalFactor": 2,
  3041. "legendFormat": "",
  3042. "refId": "H",
  3043. "step": 10
  3044. }
  3045. ],
  3046. "timeFrom": null,
  3047. "timeShift": null,
  3048. "title": "Current Status",
  3049. "type": "table"
  3050. },
  3051. {
  3052. "collapse": true,
  3053. "collapsed": true,
  3054. "gridPos": {
  3055. "h": 1,
  3056. "w": 24,
  3057. "x": 0,
  3058. "y": 10
  3059. },
  3060. "id": 6,
  3061. "panels": [
  3062. {
  3063. "aliasColors": {
  3064. },
  3065. "bars": true,
  3066. "dashLength": 10,
  3067. "dashes": false,
  3068. "datasource": "$datasource",
  3069. "fill": 2,
  3070. "fillGradient": 0,
  3071. "gridPos": {
  3072. "h": 9,
  3073. "w": 12,
  3074. "x": 0,
  3075. "y": 11
  3076. },
  3077. "id": 7,
  3078. "legend": {
  3079. "alignAsTable": true,
  3080. "avg": false,
  3081. "current": true,
  3082. "hideEmpty": true,
  3083. "hideZero": true,
  3084. "max": false,
  3085. "min": false,
  3086. "rightSide": true,
  3087. "show": true,
  3088. "sideWidth": null,
  3089. "sort": "current",
  3090. "sortDesc": true,
  3091. "total": false,
  3092. "values": true
  3093. },
  3094. "lines": false,
  3095. "linewidth": 1,
  3096. "links": [
  3097. ],
  3098. "minSpan": 24,
  3099. "nullPointMode": "null",
  3100. "paceLength": 10,
  3101. "percentage": false,
  3102. "pointradius": 5,
  3103. "points": false,
  3104. "renderer": "flot",
  3105. "repeat": null,
  3106. "seriesOverrides": [
  3107. ],
  3108. "spaceLength": 10,
  3109. "span": 24,
  3110. "stack": false,
  3111. "steppedLine": false,
  3112. "targets": [
  3113. {
  3114. "expr": "sort_desc(avg(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3115. "format": "time_series",
  3116. "intervalFactor": 1,
  3117. "legendFormat": "{{namespace}}",
  3118. "refId": "A",
  3119. "step": 10
  3120. }
  3121. ],
  3122. "thresholds": [
  3123. ],
  3124. "timeFrom": null,
  3125. "timeShift": null,
  3126. "title": "Average Rate of Bytes Received",
  3127. "tooltip": {
  3128. "shared": true,
  3129. "sort": 2,
  3130. "value_type": "individual"
  3131. },
  3132. "type": "graph",
  3133. "xaxis": {
  3134. "buckets": null,
  3135. "mode": "series",
  3136. "name": null,
  3137. "show": false,
  3138. "values": [
  3139. "current"
  3140. ]
  3141. },
  3142. "yaxes": [
  3143. {
  3144. "format": "Bps",
  3145. "label": null,
  3146. "logBase": 1,
  3147. "max": null,
  3148. "min": 0,
  3149. "show": true
  3150. },
  3151. {
  3152. "format": "Bps",
  3153. "label": null,
  3154. "logBase": 1,
  3155. "max": null,
  3156. "min": 0,
  3157. "show": true
  3158. }
  3159. ]
  3160. },
  3161. {
  3162. "aliasColors": {
  3163. },
  3164. "bars": true,
  3165. "dashLength": 10,
  3166. "dashes": false,
  3167. "datasource": "$datasource",
  3168. "fill": 2,
  3169. "fillGradient": 0,
  3170. "gridPos": {
  3171. "h": 9,
  3172. "w": 12,
  3173. "x": 12,
  3174. "y": 11
  3175. },
  3176. "id": 8,
  3177. "legend": {
  3178. "alignAsTable": true,
  3179. "avg": false,
  3180. "current": true,
  3181. "hideEmpty": true,
  3182. "hideZero": true,
  3183. "max": false,
  3184. "min": false,
  3185. "rightSide": true,
  3186. "show": true,
  3187. "sideWidth": null,
  3188. "sort": "current",
  3189. "sortDesc": true,
  3190. "total": false,
  3191. "values": true
  3192. },
  3193. "lines": false,
  3194. "linewidth": 1,
  3195. "links": [
  3196. ],
  3197. "minSpan": 24,
  3198. "nullPointMode": "null",
  3199. "paceLength": 10,
  3200. "percentage": false,
  3201. "pointradius": 5,
  3202. "points": false,
  3203. "renderer": "flot",
  3204. "repeat": null,
  3205. "seriesOverrides": [
  3206. ],
  3207. "spaceLength": 10,
  3208. "span": 24,
  3209. "stack": false,
  3210. "steppedLine": false,
  3211. "targets": [
  3212. {
  3213. "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3214. "format": "time_series",
  3215. "intervalFactor": 1,
  3216. "legendFormat": "{{namespace}}",
  3217. "refId": "A",
  3218. "step": 10
  3219. }
  3220. ],
  3221. "thresholds": [
  3222. ],
  3223. "timeFrom": null,
  3224. "timeShift": null,
  3225. "title": "Average Rate of Bytes Transmitted",
  3226. "tooltip": {
  3227. "shared": true,
  3228. "sort": 2,
  3229. "value_type": "individual"
  3230. },
  3231. "type": "graph",
  3232. "xaxis": {
  3233. "buckets": null,
  3234. "mode": "series",
  3235. "name": null,
  3236. "show": false,
  3237. "values": [
  3238. "current"
  3239. ]
  3240. },
  3241. "yaxes": [
  3242. {
  3243. "format": "Bps",
  3244. "label": null,
  3245. "logBase": 1,
  3246. "max": null,
  3247. "min": 0,
  3248. "show": true
  3249. },
  3250. {
  3251. "format": "Bps",
  3252. "label": null,
  3253. "logBase": 1,
  3254. "max": null,
  3255. "min": 0,
  3256. "show": true
  3257. }
  3258. ]
  3259. }
  3260. ],
  3261. "repeat": null,
  3262. "repeatIteration": null,
  3263. "repeatRowId": null,
  3264. "showTitle": true,
  3265. "title": "Average Bandwidth",
  3266. "titleSize": "h6",
  3267. "type": "row"
  3268. },
  3269. {
  3270. "collapse": false,
  3271. "collapsed": false,
  3272. "gridPos": {
  3273. "h": 1,
  3274. "w": 24,
  3275. "x": 0,
  3276. "y": 11
  3277. },
  3278. "id": 9,
  3279. "panels": [
  3280. ],
  3281. "repeat": null,
  3282. "repeatIteration": null,
  3283. "repeatRowId": null,
  3284. "showTitle": true,
  3285. "title": "Bandwidth History",
  3286. "titleSize": "h6",
  3287. "type": "row"
  3288. },
  3289. {
  3290. "aliasColors": {
  3291. },
  3292. "bars": false,
  3293. "dashLength": 10,
  3294. "dashes": false,
  3295. "datasource": "$datasource",
  3296. "fill": 2,
  3297. "fillGradient": 0,
  3298. "gridPos": {
  3299. "h": 9,
  3300. "w": 24,
  3301. "x": 0,
  3302. "y": 12
  3303. },
  3304. "id": 10,
  3305. "legend": {
  3306. "alignAsTable": true,
  3307. "avg": true,
  3308. "current": true,
  3309. "hideEmpty": true,
  3310. "hideZero": true,
  3311. "max": true,
  3312. "min": true,
  3313. "rightSide": true,
  3314. "show": true,
  3315. "sideWidth": null,
  3316. "total": false,
  3317. "values": true
  3318. },
  3319. "lines": true,
  3320. "linewidth": 2,
  3321. "links": [
  3322. ],
  3323. "minSpan": 24,
  3324. "nullPointMode": "connected",
  3325. "paceLength": 10,
  3326. "percentage": false,
  3327. "pointradius": 5,
  3328. "points": false,
  3329. "renderer": "flot",
  3330. "repeat": null,
  3331. "seriesOverrides": [
  3332. ],
  3333. "spaceLength": 10,
  3334. "span": 24,
  3335. "stack": true,
  3336. "steppedLine": false,
  3337. "targets": [
  3338. {
  3339. "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3340. "format": "time_series",
  3341. "intervalFactor": 1,
  3342. "legendFormat": "{{namespace}}",
  3343. "refId": "A",
  3344. "step": 10
  3345. }
  3346. ],
  3347. "thresholds": [
  3348. ],
  3349. "timeFrom": null,
  3350. "timeShift": null,
  3351. "title": "Receive Bandwidth",
  3352. "tooltip": {
  3353. "shared": true,
  3354. "sort": 2,
  3355. "value_type": "individual"
  3356. },
  3357. "type": "graph",
  3358. "xaxis": {
  3359. "buckets": null,
  3360. "mode": "time",
  3361. "name": null,
  3362. "show": true,
  3363. "values": [
  3364. ]
  3365. },
  3366. "yaxes": [
  3367. {
  3368. "format": "Bps",
  3369. "label": null,
  3370. "logBase": 1,
  3371. "max": null,
  3372. "min": 0,
  3373. "show": true
  3374. },
  3375. {
  3376. "format": "Bps",
  3377. "label": null,
  3378. "logBase": 1,
  3379. "max": null,
  3380. "min": 0,
  3381. "show": true
  3382. }
  3383. ]
  3384. },
  3385. {
  3386. "aliasColors": {
  3387. },
  3388. "bars": false,
  3389. "dashLength": 10,
  3390. "dashes": false,
  3391. "datasource": "$datasource",
  3392. "fill": 2,
  3393. "fillGradient": 0,
  3394. "gridPos": {
  3395. "h": 9,
  3396. "w": 24,
  3397. "x": 0,
  3398. "y": 21
  3399. },
  3400. "id": 11,
  3401. "legend": {
  3402. "alignAsTable": true,
  3403. "avg": true,
  3404. "current": true,
  3405. "hideEmpty": true,
  3406. "hideZero": true,
  3407. "max": true,
  3408. "min": true,
  3409. "rightSide": true,
  3410. "show": true,
  3411. "sideWidth": null,
  3412. "total": false,
  3413. "values": true
  3414. },
  3415. "lines": true,
  3416. "linewidth": 2,
  3417. "links": [
  3418. ],
  3419. "minSpan": 24,
  3420. "nullPointMode": "connected",
  3421. "paceLength": 10,
  3422. "percentage": false,
  3423. "pointradius": 5,
  3424. "points": false,
  3425. "renderer": "flot",
  3426. "repeat": null,
  3427. "seriesOverrides": [
  3428. ],
  3429. "spaceLength": 10,
  3430. "span": 24,
  3431. "stack": true,
  3432. "steppedLine": false,
  3433. "targets": [
  3434. {
  3435. "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3436. "format": "time_series",
  3437. "intervalFactor": 1,
  3438. "legendFormat": "{{namespace}}",
  3439. "refId": "A",
  3440. "step": 10
  3441. }
  3442. ],
  3443. "thresholds": [
  3444. ],
  3445. "timeFrom": null,
  3446. "timeShift": null,
  3447. "title": "Transmit Bandwidth",
  3448. "tooltip": {
  3449. "shared": true,
  3450. "sort": 2,
  3451. "value_type": "individual"
  3452. },
  3453. "type": "graph",
  3454. "xaxis": {
  3455. "buckets": null,
  3456. "mode": "time",
  3457. "name": null,
  3458. "show": true,
  3459. "values": [
  3460. ]
  3461. },
  3462. "yaxes": [
  3463. {
  3464. "format": "Bps",
  3465. "label": null,
  3466. "logBase": 1,
  3467. "max": null,
  3468. "min": 0,
  3469. "show": true
  3470. },
  3471. {
  3472. "format": "Bps",
  3473. "label": null,
  3474. "logBase": 1,
  3475. "max": null,
  3476. "min": 0,
  3477. "show": true
  3478. }
  3479. ]
  3480. },
  3481. {
  3482. "collapse": true,
  3483. "collapsed": true,
  3484. "gridPos": {
  3485. "h": 1,
  3486. "w": 24,
  3487. "x": 0,
  3488. "y": 30
  3489. },
  3490. "id": 12,
  3491. "panels": [
  3492. {
  3493. "aliasColors": {
  3494. },
  3495. "bars": false,
  3496. "dashLength": 10,
  3497. "dashes": false,
  3498. "datasource": "$datasource",
  3499. "fill": 2,
  3500. "fillGradient": 0,
  3501. "gridPos": {
  3502. "h": 9,
  3503. "w": 24,
  3504. "x": 0,
  3505. "y": 31
  3506. },
  3507. "id": 13,
  3508. "legend": {
  3509. "alignAsTable": true,
  3510. "avg": true,
  3511. "current": true,
  3512. "hideEmpty": true,
  3513. "hideZero": true,
  3514. "max": true,
  3515. "min": true,
  3516. "rightSide": true,
  3517. "show": true,
  3518. "sideWidth": null,
  3519. "total": false,
  3520. "values": true
  3521. },
  3522. "lines": true,
  3523. "linewidth": 2,
  3524. "links": [
  3525. ],
  3526. "minSpan": 24,
  3527. "nullPointMode": "connected",
  3528. "paceLength": 10,
  3529. "percentage": false,
  3530. "pointradius": 5,
  3531. "points": false,
  3532. "renderer": "flot",
  3533. "repeat": null,
  3534. "seriesOverrides": [
  3535. ],
  3536. "spaceLength": 10,
  3537. "span": 24,
  3538. "stack": true,
  3539. "steppedLine": false,
  3540. "targets": [
  3541. {
  3542. "expr": "sort_desc(sum(irate(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3543. "format": "time_series",
  3544. "intervalFactor": 1,
  3545. "legendFormat": "{{namespace}}",
  3546. "refId": "A",
  3547. "step": 10
  3548. }
  3549. ],
  3550. "thresholds": [
  3551. ],
  3552. "timeFrom": null,
  3553. "timeShift": null,
  3554. "title": "Rate of Received Packets",
  3555. "tooltip": {
  3556. "shared": true,
  3557. "sort": 2,
  3558. "value_type": "individual"
  3559. },
  3560. "type": "graph",
  3561. "xaxis": {
  3562. "buckets": null,
  3563. "mode": "time",
  3564. "name": null,
  3565. "show": true,
  3566. "values": [
  3567. ]
  3568. },
  3569. "yaxes": [
  3570. {
  3571. "format": "pps",
  3572. "label": null,
  3573. "logBase": 1,
  3574. "max": null,
  3575. "min": 0,
  3576. "show": true
  3577. },
  3578. {
  3579. "format": "pps",
  3580. "label": null,
  3581. "logBase": 1,
  3582. "max": null,
  3583. "min": 0,
  3584. "show": true
  3585. }
  3586. ]
  3587. },
  3588. {
  3589. "aliasColors": {
  3590. },
  3591. "bars": false,
  3592. "dashLength": 10,
  3593. "dashes": false,
  3594. "datasource": "$datasource",
  3595. "fill": 2,
  3596. "fillGradient": 0,
  3597. "gridPos": {
  3598. "h": 9,
  3599. "w": 24,
  3600. "x": 0,
  3601. "y": 40
  3602. },
  3603. "id": 14,
  3604. "legend": {
  3605. "alignAsTable": true,
  3606. "avg": true,
  3607. "current": true,
  3608. "hideEmpty": true,
  3609. "hideZero": true,
  3610. "max": true,
  3611. "min": true,
  3612. "rightSide": true,
  3613. "show": true,
  3614. "sideWidth": null,
  3615. "total": false,
  3616. "values": true
  3617. },
  3618. "lines": true,
  3619. "linewidth": 2,
  3620. "links": [
  3621. ],
  3622. "minSpan": 24,
  3623. "nullPointMode": "connected",
  3624. "paceLength": 10,
  3625. "percentage": false,
  3626. "pointradius": 5,
  3627. "points": false,
  3628. "renderer": "flot",
  3629. "repeat": null,
  3630. "seriesOverrides": [
  3631. ],
  3632. "spaceLength": 10,
  3633. "span": 24,
  3634. "stack": true,
  3635. "steppedLine": false,
  3636. "targets": [
  3637. {
  3638. "expr": "sort_desc(sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3639. "format": "time_series",
  3640. "intervalFactor": 1,
  3641. "legendFormat": "{{namespace}}",
  3642. "refId": "A",
  3643. "step": 10
  3644. }
  3645. ],
  3646. "thresholds": [
  3647. ],
  3648. "timeFrom": null,
  3649. "timeShift": null,
  3650. "title": "Rate of Transmitted Packets",
  3651. "tooltip": {
  3652. "shared": true,
  3653. "sort": 2,
  3654. "value_type": "individual"
  3655. },
  3656. "type": "graph",
  3657. "xaxis": {
  3658. "buckets": null,
  3659. "mode": "time",
  3660. "name": null,
  3661. "show": true,
  3662. "values": [
  3663. ]
  3664. },
  3665. "yaxes": [
  3666. {
  3667. "format": "pps",
  3668. "label": null,
  3669. "logBase": 1,
  3670. "max": null,
  3671. "min": 0,
  3672. "show": true
  3673. },
  3674. {
  3675. "format": "pps",
  3676. "label": null,
  3677. "logBase": 1,
  3678. "max": null,
  3679. "min": 0,
  3680. "show": true
  3681. }
  3682. ]
  3683. }
  3684. ],
  3685. "repeat": null,
  3686. "repeatIteration": null,
  3687. "repeatRowId": null,
  3688. "showTitle": true,
  3689. "title": "Packets",
  3690. "titleSize": "h6",
  3691. "type": "row"
  3692. },
  3693. {
  3694. "collapse": true,
  3695. "collapsed": true,
  3696. "gridPos": {
  3697. "h": 1,
  3698. "w": 24,
  3699. "x": 0,
  3700. "y": 31
  3701. },
  3702. "id": 15,
  3703. "panels": [
  3704. {
  3705. "aliasColors": {
  3706. },
  3707. "bars": false,
  3708. "dashLength": 10,
  3709. "dashes": false,
  3710. "datasource": "$datasource",
  3711. "fill": 2,
  3712. "fillGradient": 0,
  3713. "gridPos": {
  3714. "h": 9,
  3715. "w": 24,
  3716. "x": 0,
  3717. "y": 50
  3718. },
  3719. "id": 16,
  3720. "legend": {
  3721. "alignAsTable": true,
  3722. "avg": true,
  3723. "current": true,
  3724. "hideEmpty": true,
  3725. "hideZero": true,
  3726. "max": true,
  3727. "min": true,
  3728. "rightSide": true,
  3729. "show": true,
  3730. "sideWidth": null,
  3731. "total": false,
  3732. "values": true
  3733. },
  3734. "lines": true,
  3735. "linewidth": 2,
  3736. "links": [
  3737. ],
  3738. "minSpan": 24,
  3739. "nullPointMode": "connected",
  3740. "paceLength": 10,
  3741. "percentage": false,
  3742. "pointradius": 5,
  3743. "points": false,
  3744. "renderer": "flot",
  3745. "repeat": null,
  3746. "seriesOverrides": [
  3747. ],
  3748. "spaceLength": 10,
  3749. "span": 24,
  3750. "stack": true,
  3751. "steppedLine": false,
  3752. "targets": [
  3753. {
  3754. "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3755. "format": "time_series",
  3756. "intervalFactor": 1,
  3757. "legendFormat": "{{namespace}}",
  3758. "refId": "A",
  3759. "step": 10
  3760. }
  3761. ],
  3762. "thresholds": [
  3763. ],
  3764. "timeFrom": null,
  3765. "timeShift": null,
  3766. "title": "Rate of Received Packets Dropped",
  3767. "tooltip": {
  3768. "shared": true,
  3769. "sort": 2,
  3770. "value_type": "individual"
  3771. },
  3772. "type": "graph",
  3773. "xaxis": {
  3774. "buckets": null,
  3775. "mode": "time",
  3776. "name": null,
  3777. "show": true,
  3778. "values": [
  3779. ]
  3780. },
  3781. "yaxes": [
  3782. {
  3783. "format": "pps",
  3784. "label": null,
  3785. "logBase": 1,
  3786. "max": null,
  3787. "min": 0,
  3788. "show": true
  3789. },
  3790. {
  3791. "format": "pps",
  3792. "label": null,
  3793. "logBase": 1,
  3794. "max": null,
  3795. "min": 0,
  3796. "show": true
  3797. }
  3798. ]
  3799. },
  3800. {
  3801. "aliasColors": {
  3802. },
  3803. "bars": false,
  3804. "dashLength": 10,
  3805. "dashes": false,
  3806. "datasource": "$datasource",
  3807. "fill": 2,
  3808. "fillGradient": 0,
  3809. "gridPos": {
  3810. "h": 9,
  3811. "w": 24,
  3812. "x": 0,
  3813. "y": 59
  3814. },
  3815. "id": 17,
  3816. "legend": {
  3817. "alignAsTable": true,
  3818. "avg": true,
  3819. "current": true,
  3820. "hideEmpty": true,
  3821. "hideZero": true,
  3822. "max": true,
  3823. "min": true,
  3824. "rightSide": true,
  3825. "show": true,
  3826. "sideWidth": null,
  3827. "total": false,
  3828. "values": true
  3829. },
  3830. "lines": true,
  3831. "linewidth": 2,
  3832. "links": [
  3833. ],
  3834. "minSpan": 24,
  3835. "nullPointMode": "connected",
  3836. "paceLength": 10,
  3837. "percentage": false,
  3838. "pointradius": 5,
  3839. "points": false,
  3840. "renderer": "flot",
  3841. "repeat": null,
  3842. "seriesOverrides": [
  3843. ],
  3844. "spaceLength": 10,
  3845. "span": 24,
  3846. "stack": true,
  3847. "steppedLine": false,
  3848. "targets": [
  3849. {
  3850. "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))",
  3851. "format": "time_series",
  3852. "intervalFactor": 1,
  3853. "legendFormat": "{{namespace}}",
  3854. "refId": "A",
  3855. "step": 10
  3856. }
  3857. ],
  3858. "thresholds": [
  3859. ],
  3860. "timeFrom": null,
  3861. "timeShift": null,
  3862. "title": "Rate of Transmitted Packets Dropped",
  3863. "tooltip": {
  3864. "shared": true,
  3865. "sort": 2,
  3866. "value_type": "individual"
  3867. },
  3868. "type": "graph",
  3869. "xaxis": {
  3870. "buckets": null,
  3871. "mode": "time",
  3872. "name": null,
  3873. "show": true,
  3874. "values": [
  3875. ]
  3876. },
  3877. "yaxes": [
  3878. {
  3879. "format": "pps",
  3880. "label": null,
  3881. "logBase": 1,
  3882. "max": null,
  3883. "min": 0,
  3884. "show": true
  3885. },
  3886. {
  3887. "format": "pps",
  3888. "label": null,
  3889. "logBase": 1,
  3890. "max": null,
  3891. "min": 0,
  3892. "show": true
  3893. }
  3894. ]
  3895. },
  3896. {
  3897. "aliasColors": {
  3898. },
  3899. "bars": false,
  3900. "dashLength": 10,
  3901. "dashes": false,
  3902. "datasource": "$datasource",
  3903. "fill": 2,
  3904. "fillGradient": 0,
  3905. "gridPos": {
  3906. "h": 9,
  3907. "w": 24,
  3908. "x": 0,
  3909. "y": 59
  3910. },
  3911. "id": 18,
  3912. "legend": {
  3913. "alignAsTable": true,
  3914. "avg": true,
  3915. "current": true,
  3916. "hideEmpty": true,
  3917. "hideZero": true,
  3918. "max": true,
  3919. "min": true,
  3920. "rightSide": true,
  3921. "show": true,
  3922. "sideWidth": null,
  3923. "total": false,
  3924. "values": true
  3925. },
  3926. "lines": true,
  3927. "linewidth": 2,
  3928. "links": [
  3929. {
  3930. "targetBlank": true,
  3931. "title": "What is TCP Retransmit?",
  3932. "url": "https://accedian.com/enterprises/blog/network-packet-loss-retransmissions-and-duplicate-acknowledgements/"
  3933. }
  3934. ],
  3935. "minSpan": 24,
  3936. "nullPointMode": "connected",
  3937. "paceLength": 10,
  3938. "percentage": false,
  3939. "pointradius": 5,
  3940. "points": false,
  3941. "renderer": "flot",
  3942. "repeat": null,
  3943. "seriesOverrides": [
  3944. ],
  3945. "spaceLength": 10,
  3946. "span": 24,
  3947. "stack": true,
  3948. "steppedLine": false,
  3949. "targets": [
  3950. {
  3951. "expr": "sort_desc(sum(rate(node_netstat_Tcp_RetransSegs{cluster=\"$cluster\"}[$interval:$resolution]) / rate(node_netstat_Tcp_OutSegs{cluster=\"$cluster\"}[$interval:$resolution])) by (instance))",
  3952. "format": "time_series",
  3953. "intervalFactor": 1,
  3954. "legendFormat": "{{instance}}",
  3955. "refId": "A",
  3956. "step": 10
  3957. }
  3958. ],
  3959. "thresholds": [
  3960. ],
  3961. "timeFrom": null,
  3962. "timeShift": null,
  3963. "title": "Rate of TCP Retransmits out of all sent segments",
  3964. "tooltip": {
  3965. "shared": true,
  3966. "sort": 2,
  3967. "value_type": "individual"
  3968. },
  3969. "type": "graph",
  3970. "xaxis": {
  3971. "buckets": null,
  3972. "mode": "time",
  3973. "name": null,
  3974. "show": true,
  3975. "values": [
  3976. ]
  3977. },
  3978. "yaxes": [
  3979. {
  3980. "format": "percentunit",
  3981. "label": null,
  3982. "logBase": 1,
  3983. "max": null,
  3984. "min": 0,
  3985. "show": true
  3986. },
  3987. {
  3988. "format": "percentunit",
  3989. "label": null,
  3990. "logBase": 1,
  3991. "max": null,
  3992. "min": 0,
  3993. "show": true
  3994. }
  3995. ]
  3996. },
  3997. {
  3998. "aliasColors": {
  3999. },
  4000. "bars": false,
  4001. "dashLength": 10,
  4002. "dashes": false,
  4003. "datasource": "$datasource",
  4004. "fill": 2,
  4005. "fillGradient": 0,
  4006. "gridPos": {
  4007. "h": 9,
  4008. "w": 24,
  4009. "x": 0,
  4010. "y": 59
  4011. },
  4012. "id": 19,
  4013. "legend": {
  4014. "alignAsTable": true,
  4015. "avg": true,
  4016. "current": true,
  4017. "hideEmpty": true,
  4018. "hideZero": true,
  4019. "max": true,
  4020. "min": true,
  4021. "rightSide": true,
  4022. "show": true,
  4023. "sideWidth": null,
  4024. "total": false,
  4025. "values": true
  4026. },
  4027. "lines": true,
  4028. "linewidth": 2,
  4029. "links": [
  4030. {
  4031. "targetBlank": true,
  4032. "title": "Why monitor SYN retransmits?",
  4033. "url": "https://github.com/prometheus/node_exporter/issues/1023#issuecomment-408128365"
  4034. }
  4035. ],
  4036. "minSpan": 24,
  4037. "nullPointMode": "connected",
  4038. "paceLength": 10,
  4039. "percentage": false,
  4040. "pointradius": 5,
  4041. "points": false,
  4042. "renderer": "flot",
  4043. "repeat": null,
  4044. "seriesOverrides": [
  4045. ],
  4046. "spaceLength": 10,
  4047. "span": 24,
  4048. "stack": true,
  4049. "steppedLine": false,
  4050. "targets": [
  4051. {
  4052. "expr": "sort_desc(sum(rate(node_netstat_TcpExt_TCPSynRetrans{cluster=\"$cluster\"}[$interval:$resolution]) / rate(node_netstat_Tcp_RetransSegs{cluster=\"$cluster\"}[$interval:$resolution])) by (instance))",
  4053. "format": "time_series",
  4054. "intervalFactor": 1,
  4055. "legendFormat": "{{instance}}",
  4056. "refId": "A",
  4057. "step": 10
  4058. }
  4059. ],
  4060. "thresholds": [
  4061. ],
  4062. "timeFrom": null,
  4063. "timeShift": null,
  4064. "title": "Rate of TCP SYN Retransmits out of all retransmits",
  4065. "tooltip": {
  4066. "shared": true,
  4067. "sort": 2,
  4068. "value_type": "individual"
  4069. },
  4070. "type": "graph",
  4071. "xaxis": {
  4072. "buckets": null,
  4073. "mode": "time",
  4074. "name": null,
  4075. "show": true,
  4076. "values": [
  4077. ]
  4078. },
  4079. "yaxes": [
  4080. {
  4081. "format": "percentunit",
  4082. "label": null,
  4083. "logBase": 1,
  4084. "max": null,
  4085. "min": 0,
  4086. "show": true
  4087. },
  4088. {
  4089. "format": "percentunit",
  4090. "label": null,
  4091. "logBase": 1,
  4092. "max": null,
  4093. "min": 0,
  4094. "show": true
  4095. }
  4096. ]
  4097. }
  4098. ],
  4099. "repeat": null,
  4100. "repeatIteration": null,
  4101. "repeatRowId": null,
  4102. "showTitle": true,
  4103. "title": "Errors",
  4104. "titleSize": "h6",
  4105. "type": "row"
  4106. }
  4107. ],
  4108. "refresh": "10s",
  4109. "rows": [
  4110. ],
  4111. "schemaVersion": 18,
  4112. "style": "dark",
  4113. "tags": [
  4114. "kubernetes-mixin"
  4115. ],
  4116. "templating": {
  4117. "list": [
  4118. {
  4119. "allValue": null,
  4120. "auto": false,
  4121. "auto_count": 30,
  4122. "auto_min": "10s",
  4123. "current": {
  4124. "text": "5m",
  4125. "value": "5m"
  4126. },
  4127. "datasource": "$datasource",
  4128. "hide": 0,
  4129. "includeAll": false,
  4130. "label": null,
  4131. "multi": false,
  4132. "name": "resolution",
  4133. "options": [
  4134. {
  4135. "selected": false,
  4136. "text": "30s",
  4137. "value": "30s"
  4138. },
  4139. {
  4140. "selected": true,
  4141. "text": "5m",
  4142. "value": "5m"
  4143. },
  4144. {
  4145. "selected": false,
  4146. "text": "1h",
  4147. "value": "1h"
  4148. }
  4149. ],
  4150. "query": "30s,5m,1h",
  4151. "refresh": 2,
  4152. "regex": "",
  4153. "skipUrlSync": false,
  4154. "sort": 1,
  4155. "tagValuesQuery": "",
  4156. "tags": [
  4157. ],
  4158. "tagsQuery": "",
  4159. "type": "interval",
  4160. "useTags": false
  4161. },
  4162. {
  4163. "allValue": null,
  4164. "auto": false,
  4165. "auto_count": 30,
  4166. "auto_min": "10s",
  4167. "current": {
  4168. "text": "5m",
  4169. "value": "5m"
  4170. },
  4171. "datasource": "$datasource",
  4172. "hide": 2,
  4173. "includeAll": false,
  4174. "label": null,
  4175. "multi": false,
  4176. "name": "interval",
  4177. "options": [
  4178. {
  4179. "selected": true,
  4180. "text": "4h",
  4181. "value": "4h"
  4182. }
  4183. ],
  4184. "query": "4h",
  4185. "refresh": 2,
  4186. "regex": "",
  4187. "skipUrlSync": false,
  4188. "sort": 1,
  4189. "tagValuesQuery": "",
  4190. "tags": [
  4191. ],
  4192. "tagsQuery": "",
  4193. "type": "interval",
  4194. "useTags": false
  4195. },
  4196. {
  4197. "current": {
  4198. "text": "default",
  4199. "value": "default"
  4200. },
  4201. "hide": 0,
  4202. "label": "Data Source",
  4203. "name": "datasource",
  4204. "options": [
  4205. ],
  4206. "query": "prometheus",
  4207. "refresh": 1,
  4208. "regex": "",
  4209. "type": "datasource"
  4210. },
  4211. {
  4212. "allValue": null,
  4213. "current": {
  4214. },
  4215. "datasource": "$datasource",
  4216. "hide": 2,
  4217. "includeAll": false,
  4218. "label": null,
  4219. "multi": false,
  4220. "name": "cluster",
  4221. "options": [
  4222. ],
  4223. "query": "label_values(up{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\"}, cluster)",
  4224. "refresh": 2,
  4225. "regex": "",
  4226. "sort": 0,
  4227. "tagValuesQuery": "",
  4228. "tags": [
  4229. ],
  4230. "tagsQuery": "",
  4231. "type": "query",
  4232. "useTags": false
  4233. }
  4234. ]
  4235. },
  4236. "time": {
  4237. "from": "now-1h",
  4238. "to": "now"
  4239. },
  4240. "timepicker": {
  4241. "refresh_intervals": [
  4242. "5s",
  4243. "10s",
  4244. "30s",
  4245. "1m",
  4246. "5m",
  4247. "15m",
  4248. "30m",
  4249. "1h",
  4250. "2h",
  4251. "1d"
  4252. ],
  4253. "time_options": [
  4254. "5m",
  4255. "15m",
  4256. "1h",
  4257. "6h",
  4258. "12h",
  4259. "24h",
  4260. "2d",
  4261. "7d",
  4262. "30d"
  4263. ]
  4264. },
  4265. "timezone": "utc",
  4266. "title": "Kubernetes / Networking / Cluster",
  4267. "uid": "ff635a025bcfea7bc3dd4f508990a3e9",
  4268. "version": 0
  4269. }
  4270. ---
  4271. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/controller-manager.yaml
  4272. apiVersion: v1
  4273. kind: ConfigMap
  4274. metadata:
  4275. namespace: monitoring
  4276. name: prometheus-kube-prometheus-controller-manager
  4277. annotations:
  4278. {}
  4279. labels:
  4280. grafana_dashboard: "1"
  4281. app: kube-prometheus-stack-grafana
  4282. app.kubernetes.io/managed-by: Helm
  4283. app.kubernetes.io/instance: prometheus
  4284. app.kubernetes.io/version: "44.3.0"
  4285. app.kubernetes.io/part-of: kube-prometheus-stack
  4286. chart: kube-prometheus-stack-44.3.0
  4287. release: "prometheus"
  4288. heritage: "Helm"
  4289. data:
  4290. controller-manager.json: |-
  4291. {
  4292. "__inputs": [
  4293. ],
  4294. "__requires": [
  4295. ],
  4296. "annotations": {
  4297. "list": [
  4298. ]
  4299. },
  4300. "editable": false,
  4301. "gnetId": null,
  4302. "graphTooltip": 0,
  4303. "hideControls": false,
  4304. "id": null,
  4305. "links": [
  4306. ],
  4307. "refresh": "10s",
  4308. "rows": [
  4309. {
  4310. "collapse": false,
  4311. "collapsed": false,
  4312. "panels": [
  4313. {
  4314. "cacheTimeout": null,
  4315. "colorBackground": false,
  4316. "colorValue": false,
  4317. "colors": [
  4318. "#299c46",
  4319. "rgba(237, 129, 40, 0.89)",
  4320. "#d44a3a"
  4321. ],
  4322. "datasource": "$datasource",
  4323. "format": "none",
  4324. "gauge": {
  4325. "maxValue": 100,
  4326. "minValue": 0,
  4327. "show": false,
  4328. "thresholdLabels": false,
  4329. "thresholdMarkers": true
  4330. },
  4331. "gridPos": {
  4332. },
  4333. "id": 2,
  4334. "interval": "1m",
  4335. "legend": {
  4336. "alignAsTable": true,
  4337. "rightSide": true
  4338. },
  4339. "links": [
  4340. ],
  4341. "mappingType": 1,
  4342. "mappingTypes": [
  4343. {
  4344. "name": "value to text",
  4345. "value": 1
  4346. },
  4347. {
  4348. "name": "range to text",
  4349. "value": 2
  4350. }
  4351. ],
  4352. "maxDataPoints": 100,
  4353. "nullPointMode": "connected",
  4354. "nullText": null,
  4355. "postfix": "",
  4356. "postfixFontSize": "50%",
  4357. "prefix": "",
  4358. "prefixFontSize": "50%",
  4359. "rangeMaps": [
  4360. {
  4361. "from": "null",
  4362. "text": "N/A",
  4363. "to": "null"
  4364. }
  4365. ],
  4366. "span": 2,
  4367. "sparkline": {
  4368. "fillColor": "rgba(31, 118, 189, 0.18)",
  4369. "full": false,
  4370. "lineColor": "rgb(31, 120, 193)",
  4371. "show": false
  4372. },
  4373. "tableColumn": "",
  4374. "targets": [
  4375. {
  4376. "expr": "sum(up{cluster=\"$cluster\", job=\"kube-controller-manager\"})",
  4377. "format": "time_series",
  4378. "intervalFactor": 2,
  4379. "legendFormat": "",
  4380. "refId": "A"
  4381. }
  4382. ],
  4383. "thresholds": "",
  4384. "title": "Up",
  4385. "tooltip": {
  4386. "shared": false
  4387. },
  4388. "type": "singlestat",
  4389. "valueFontSize": "80%",
  4390. "valueMaps": [
  4391. {
  4392. "op": "=",
  4393. "text": "N/A",
  4394. "value": "null"
  4395. }
  4396. ],
  4397. "valueName": "min"
  4398. },
  4399. {
  4400. "aliasColors": {
  4401. },
  4402. "bars": false,
  4403. "dashLength": 10,
  4404. "dashes": false,
  4405. "datasource": "$datasource",
  4406. "fill": 1,
  4407. "fillGradient": 0,
  4408. "gridPos": {
  4409. },
  4410. "id": 3,
  4411. "interval": "1m",
  4412. "legend": {
  4413. "alignAsTable": true,
  4414. "avg": false,
  4415. "current": true,
  4416. "max": false,
  4417. "min": false,
  4418. "rightSide": true,
  4419. "show": true,
  4420. "sideWidth": null,
  4421. "total": false,
  4422. "values": true
  4423. },
  4424. "lines": true,
  4425. "linewidth": 1,
  4426. "links": [
  4427. ],
  4428. "nullPointMode": "null",
  4429. "percentage": false,
  4430. "pointradius": 5,
  4431. "points": false,
  4432. "renderer": "flot",
  4433. "repeat": null,
  4434. "seriesOverrides": [
  4435. ],
  4436. "spaceLength": 10,
  4437. "span": 10,
  4438. "stack": false,
  4439. "steppedLine": false,
  4440. "targets": [
  4441. {
  4442. "expr": "sum(rate(workqueue_adds_total{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, name)",
  4443. "format": "time_series",
  4444. "intervalFactor": 2,
  4445. "legendFormat": "{{cluster}} {{instance}} {{name}}",
  4446. "refId": "A"
  4447. }
  4448. ],
  4449. "thresholds": [
  4450. ],
  4451. "timeFrom": null,
  4452. "timeShift": null,
  4453. "title": "Work Queue Add Rate",
  4454. "tooltip": {
  4455. "shared": false,
  4456. "sort": 0,
  4457. "value_type": "individual"
  4458. },
  4459. "type": "graph",
  4460. "xaxis": {
  4461. "buckets": null,
  4462. "mode": "time",
  4463. "name": null,
  4464. "show": true,
  4465. "values": [
  4466. ]
  4467. },
  4468. "yaxes": [
  4469. {
  4470. "format": "ops",
  4471. "label": null,
  4472. "logBase": 1,
  4473. "max": null,
  4474. "min": null,
  4475. "show": true
  4476. },
  4477. {
  4478. "format": "ops",
  4479. "label": null,
  4480. "logBase": 1,
  4481. "max": null,
  4482. "min": null,
  4483. "show": true
  4484. }
  4485. ]
  4486. }
  4487. ],
  4488. "repeat": null,
  4489. "repeatIteration": null,
  4490. "repeatRowId": null,
  4491. "showTitle": false,
  4492. "title": "Dashboard Row",
  4493. "titleSize": "h6",
  4494. "type": "row"
  4495. },
  4496. {
  4497. "collapse": false,
  4498. "collapsed": false,
  4499. "panels": [
  4500. {
  4501. "aliasColors": {
  4502. },
  4503. "bars": false,
  4504. "dashLength": 10,
  4505. "dashes": false,
  4506. "datasource": "$datasource",
  4507. "fill": 1,
  4508. "fillGradient": 0,
  4509. "gridPos": {
  4510. },
  4511. "id": 4,
  4512. "interval": "1m",
  4513. "legend": {
  4514. "alignAsTable": true,
  4515. "avg": false,
  4516. "current": true,
  4517. "max": false,
  4518. "min": false,
  4519. "rightSide": true,
  4520. "show": true,
  4521. "sideWidth": null,
  4522. "total": false,
  4523. "values": true
  4524. },
  4525. "lines": true,
  4526. "linewidth": 1,
  4527. "links": [
  4528. ],
  4529. "nullPointMode": "null",
  4530. "percentage": false,
  4531. "pointradius": 5,
  4532. "points": false,
  4533. "renderer": "flot",
  4534. "repeat": null,
  4535. "seriesOverrides": [
  4536. ],
  4537. "spaceLength": 10,
  4538. "span": 12,
  4539. "stack": false,
  4540. "steppedLine": false,
  4541. "targets": [
  4542. {
  4543. "expr": "sum(rate(workqueue_depth{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, name)",
  4544. "format": "time_series",
  4545. "intervalFactor": 2,
  4546. "legendFormat": "{{cluster}} {{instance}} {{name}}",
  4547. "refId": "A"
  4548. }
  4549. ],
  4550. "thresholds": [
  4551. ],
  4552. "timeFrom": null,
  4553. "timeShift": null,
  4554. "title": "Work Queue Depth",
  4555. "tooltip": {
  4556. "shared": false,
  4557. "sort": 0,
  4558. "value_type": "individual"
  4559. },
  4560. "type": "graph",
  4561. "xaxis": {
  4562. "buckets": null,
  4563. "mode": "time",
  4564. "name": null,
  4565. "show": true,
  4566. "values": [
  4567. ]
  4568. },
  4569. "yaxes": [
  4570. {
  4571. "format": "short",
  4572. "label": null,
  4573. "logBase": 1,
  4574. "max": null,
  4575. "min": 0,
  4576. "show": true
  4577. },
  4578. {
  4579. "format": "short",
  4580. "label": null,
  4581. "logBase": 1,
  4582. "max": null,
  4583. "min": 0,
  4584. "show": true
  4585. }
  4586. ]
  4587. }
  4588. ],
  4589. "repeat": null,
  4590. "repeatIteration": null,
  4591. "repeatRowId": null,
  4592. "showTitle": false,
  4593. "title": "Dashboard Row",
  4594. "titleSize": "h6",
  4595. "type": "row"
  4596. },
  4597. {
  4598. "collapse": false,
  4599. "collapsed": false,
  4600. "panels": [
  4601. {
  4602. "aliasColors": {
  4603. },
  4604. "bars": false,
  4605. "dashLength": 10,
  4606. "dashes": false,
  4607. "datasource": "$datasource",
  4608. "fill": 1,
  4609. "fillGradient": 0,
  4610. "gridPos": {
  4611. },
  4612. "id": 5,
  4613. "interval": "1m",
  4614. "legend": {
  4615. "alignAsTable": true,
  4616. "avg": false,
  4617. "current": true,
  4618. "max": false,
  4619. "min": false,
  4620. "rightSide": true,
  4621. "show": true,
  4622. "sideWidth": null,
  4623. "total": false,
  4624. "values": true
  4625. },
  4626. "lines": true,
  4627. "linewidth": 1,
  4628. "links": [
  4629. ],
  4630. "nullPointMode": "null",
  4631. "percentage": false,
  4632. "pointradius": 5,
  4633. "points": false,
  4634. "renderer": "flot",
  4635. "repeat": null,
  4636. "seriesOverrides": [
  4637. ],
  4638. "spaceLength": 10,
  4639. "span": 12,
  4640. "stack": false,
  4641. "steppedLine": false,
  4642. "targets": [
  4643. {
  4644. "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, name, le))",
  4645. "format": "time_series",
  4646. "intervalFactor": 2,
  4647. "legendFormat": "{{cluster}} {{instance}} {{name}}",
  4648. "refId": "A"
  4649. }
  4650. ],
  4651. "thresholds": [
  4652. ],
  4653. "timeFrom": null,
  4654. "timeShift": null,
  4655. "title": "Work Queue Latency",
  4656. "tooltip": {
  4657. "shared": false,
  4658. "sort": 0,
  4659. "value_type": "individual"
  4660. },
  4661. "type": "graph",
  4662. "xaxis": {
  4663. "buckets": null,
  4664. "mode": "time",
  4665. "name": null,
  4666. "show": true,
  4667. "values": [
  4668. ]
  4669. },
  4670. "yaxes": [
  4671. {
  4672. "format": "s",
  4673. "label": null,
  4674. "logBase": 1,
  4675. "max": null,
  4676. "min": null,
  4677. "show": true
  4678. },
  4679. {
  4680. "format": "s",
  4681. "label": null,
  4682. "logBase": 1,
  4683. "max": null,
  4684. "min": null,
  4685. "show": true
  4686. }
  4687. ]
  4688. }
  4689. ],
  4690. "repeat": null,
  4691. "repeatIteration": null,
  4692. "repeatRowId": null,
  4693. "showTitle": false,
  4694. "title": "Dashboard Row",
  4695. "titleSize": "h6",
  4696. "type": "row"
  4697. },
  4698. {
  4699. "collapse": false,
  4700. "collapsed": false,
  4701. "panels": [
  4702. {
  4703. "aliasColors": {
  4704. },
  4705. "bars": false,
  4706. "dashLength": 10,
  4707. "dashes": false,
  4708. "datasource": "$datasource",
  4709. "fill": 1,
  4710. "fillGradient": 0,
  4711. "gridPos": {
  4712. },
  4713. "id": 6,
  4714. "interval": "1m",
  4715. "legend": {
  4716. "alignAsTable": true,
  4717. "avg": false,
  4718. "current": false,
  4719. "max": false,
  4720. "min": false,
  4721. "rightSide": true,
  4722. "show": true,
  4723. "sideWidth": null,
  4724. "total": false,
  4725. "values": false
  4726. },
  4727. "lines": true,
  4728. "linewidth": 1,
  4729. "links": [
  4730. ],
  4731. "nullPointMode": "null",
  4732. "percentage": false,
  4733. "pointradius": 5,
  4734. "points": false,
  4735. "renderer": "flot",
  4736. "repeat": null,
  4737. "seriesOverrides": [
  4738. ],
  4739. "spaceLength": 10,
  4740. "span": 4,
  4741. "stack": false,
  4742. "steppedLine": false,
  4743. "targets": [
  4744. {
  4745. "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"2..\"}[$__rate_interval]))",
  4746. "format": "time_series",
  4747. "intervalFactor": 2,
  4748. "legendFormat": "2xx",
  4749. "refId": "A"
  4750. },
  4751. {
  4752. "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"3..\"}[$__rate_interval]))",
  4753. "format": "time_series",
  4754. "intervalFactor": 2,
  4755. "legendFormat": "3xx",
  4756. "refId": "B"
  4757. },
  4758. {
  4759. "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"4..\"}[$__rate_interval]))",
  4760. "format": "time_series",
  4761. "intervalFactor": 2,
  4762. "legendFormat": "4xx",
  4763. "refId": "C"
  4764. },
  4765. {
  4766. "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"5..\"}[$__rate_interval]))",
  4767. "format": "time_series",
  4768. "intervalFactor": 2,
  4769. "legendFormat": "5xx",
  4770. "refId": "D"
  4771. }
  4772. ],
  4773. "thresholds": [
  4774. ],
  4775. "timeFrom": null,
  4776. "timeShift": null,
  4777. "title": "Kube API Request Rate",
  4778. "tooltip": {
  4779. "shared": false,
  4780. "sort": 0,
  4781. "value_type": "individual"
  4782. },
  4783. "type": "graph",
  4784. "xaxis": {
  4785. "buckets": null,
  4786. "mode": "time",
  4787. "name": null,
  4788. "show": true,
  4789. "values": [
  4790. ]
  4791. },
  4792. "yaxes": [
  4793. {
  4794. "format": "ops",
  4795. "label": null,
  4796. "logBase": 1,
  4797. "max": null,
  4798. "min": null,
  4799. "show": true
  4800. },
  4801. {
  4802. "format": "ops",
  4803. "label": null,
  4804. "logBase": 1,
  4805. "max": null,
  4806. "min": null,
  4807. "show": true
  4808. }
  4809. ]
  4810. },
  4811. {
  4812. "aliasColors": {
  4813. },
  4814. "bars": false,
  4815. "dashLength": 10,
  4816. "dashes": false,
  4817. "datasource": "$datasource",
  4818. "fill": 1,
  4819. "fillGradient": 0,
  4820. "gridPos": {
  4821. },
  4822. "id": 7,
  4823. "interval": "1m",
  4824. "legend": {
  4825. "alignAsTable": true,
  4826. "avg": false,
  4827. "current": false,
  4828. "max": false,
  4829. "min": false,
  4830. "rightSide": true,
  4831. "show": true,
  4832. "sideWidth": null,
  4833. "total": false,
  4834. "values": false
  4835. },
  4836. "lines": true,
  4837. "linewidth": 1,
  4838. "links": [
  4839. ],
  4840. "nullPointMode": "null",
  4841. "percentage": false,
  4842. "pointradius": 5,
  4843. "points": false,
  4844. "renderer": "flot",
  4845. "repeat": null,
  4846. "seriesOverrides": [
  4847. ],
  4848. "spaceLength": 10,
  4849. "span": 8,
  4850. "stack": false,
  4851. "steppedLine": false,
  4852. "targets": [
  4853. {
  4854. "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"POST\"}[$__rate_interval])) by (verb, url, le))",
  4855. "format": "time_series",
  4856. "intervalFactor": 2,
  4857. "legendFormat": "{{verb}} {{url}}",
  4858. "refId": "A"
  4859. }
  4860. ],
  4861. "thresholds": [
  4862. ],
  4863. "timeFrom": null,
  4864. "timeShift": null,
  4865. "title": "Post Request Latency 99th Quantile",
  4866. "tooltip": {
  4867. "shared": false,
  4868. "sort": 0,
  4869. "value_type": "individual"
  4870. },
  4871. "type": "graph",
  4872. "xaxis": {
  4873. "buckets": null,
  4874. "mode": "time",
  4875. "name": null,
  4876. "show": true,
  4877. "values": [
  4878. ]
  4879. },
  4880. "yaxes": [
  4881. {
  4882. "format": "s",
  4883. "label": null,
  4884. "logBase": 1,
  4885. "max": null,
  4886. "min": 0,
  4887. "show": true
  4888. },
  4889. {
  4890. "format": "s",
  4891. "label": null,
  4892. "logBase": 1,
  4893. "max": null,
  4894. "min": 0,
  4895. "show": true
  4896. }
  4897. ]
  4898. }
  4899. ],
  4900. "repeat": null,
  4901. "repeatIteration": null,
  4902. "repeatRowId": null,
  4903. "showTitle": false,
  4904. "title": "Dashboard Row",
  4905. "titleSize": "h6",
  4906. "type": "row"
  4907. },
  4908. {
  4909. "collapse": false,
  4910. "collapsed": false,
  4911. "panels": [
  4912. {
  4913. "aliasColors": {
  4914. },
  4915. "bars": false,
  4916. "dashLength": 10,
  4917. "dashes": false,
  4918. "datasource": "$datasource",
  4919. "fill": 1,
  4920. "fillGradient": 0,
  4921. "gridPos": {
  4922. },
  4923. "id": 8,
  4924. "interval": "1m",
  4925. "legend": {
  4926. "alignAsTable": true,
  4927. "avg": false,
  4928. "current": true,
  4929. "max": false,
  4930. "min": false,
  4931. "rightSide": true,
  4932. "show": true,
  4933. "sideWidth": null,
  4934. "total": false,
  4935. "values": true
  4936. },
  4937. "lines": true,
  4938. "linewidth": 1,
  4939. "links": [
  4940. ],
  4941. "nullPointMode": "null",
  4942. "percentage": false,
  4943. "pointradius": 5,
  4944. "points": false,
  4945. "renderer": "flot",
  4946. "repeat": null,
  4947. "seriesOverrides": [
  4948. ],
  4949. "spaceLength": 10,
  4950. "span": 12,
  4951. "stack": false,
  4952. "steppedLine": false,
  4953. "targets": [
  4954. {
  4955. "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"GET\"}[$__rate_interval])) by (verb, url, le))",
  4956. "format": "time_series",
  4957. "intervalFactor": 2,
  4958. "legendFormat": "{{verb}} {{url}}",
  4959. "refId": "A"
  4960. }
  4961. ],
  4962. "thresholds": [
  4963. ],
  4964. "timeFrom": null,
  4965. "timeShift": null,
  4966. "title": "Get Request Latency 99th Quantile",
  4967. "tooltip": {
  4968. "shared": false,
  4969. "sort": 0,
  4970. "value_type": "individual"
  4971. },
  4972. "type": "graph",
  4973. "xaxis": {
  4974. "buckets": null,
  4975. "mode": "time",
  4976. "name": null,
  4977. "show": true,
  4978. "values": [
  4979. ]
  4980. },
  4981. "yaxes": [
  4982. {
  4983. "format": "s",
  4984. "label": null,
  4985. "logBase": 1,
  4986. "max": null,
  4987. "min": 0,
  4988. "show": true
  4989. },
  4990. {
  4991. "format": "s",
  4992. "label": null,
  4993. "logBase": 1,
  4994. "max": null,
  4995. "min": 0,
  4996. "show": true
  4997. }
  4998. ]
  4999. }
  5000. ],
  5001. "repeat": null,
  5002. "repeatIteration": null,
  5003. "repeatRowId": null,
  5004. "showTitle": false,
  5005. "title": "Dashboard Row",
  5006. "titleSize": "h6",
  5007. "type": "row"
  5008. },
  5009. {
  5010. "collapse": false,
  5011. "collapsed": false,
  5012. "panels": [
  5013. {
  5014. "aliasColors": {
  5015. },
  5016. "bars": false,
  5017. "dashLength": 10,
  5018. "dashes": false,
  5019. "datasource": "$datasource",
  5020. "fill": 1,
  5021. "fillGradient": 0,
  5022. "gridPos": {
  5023. },
  5024. "id": 9,
  5025. "interval": "1m",
  5026. "legend": {
  5027. "alignAsTable": true,
  5028. "avg": false,
  5029. "current": false,
  5030. "max": false,
  5031. "min": false,
  5032. "rightSide": true,
  5033. "show": true,
  5034. "sideWidth": null,
  5035. "total": false,
  5036. "values": false
  5037. },
  5038. "lines": true,
  5039. "linewidth": 1,
  5040. "links": [
  5041. ],
  5042. "nullPointMode": "null",
  5043. "percentage": false,
  5044. "pointradius": 5,
  5045. "points": false,
  5046. "renderer": "flot",
  5047. "repeat": null,
  5048. "seriesOverrides": [
  5049. ],
  5050. "spaceLength": 10,
  5051. "span": 4,
  5052. "stack": false,
  5053. "steppedLine": false,
  5054. "targets": [
  5055. {
  5056. "expr": "process_resident_memory_bytes{cluster=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}",
  5057. "format": "time_series",
  5058. "intervalFactor": 2,
  5059. "legendFormat": "{{instance}}",
  5060. "refId": "A"
  5061. }
  5062. ],
  5063. "thresholds": [
  5064. ],
  5065. "timeFrom": null,
  5066. "timeShift": null,
  5067. "title": "Memory",
  5068. "tooltip": {
  5069. "shared": false,
  5070. "sort": 0,
  5071. "value_type": "individual"
  5072. },
  5073. "type": "graph",
  5074. "xaxis": {
  5075. "buckets": null,
  5076. "mode": "time",
  5077. "name": null,
  5078. "show": true,
  5079. "values": [
  5080. ]
  5081. },
  5082. "yaxes": [
  5083. {
  5084. "format": "bytes",
  5085. "label": null,
  5086. "logBase": 1,
  5087. "max": null,
  5088. "min": null,
  5089. "show": true
  5090. },
  5091. {
  5092. "format": "bytes",
  5093. "label": null,
  5094. "logBase": 1,
  5095. "max": null,
  5096. "min": null,
  5097. "show": true
  5098. }
  5099. ]
  5100. },
  5101. {
  5102. "aliasColors": {
  5103. },
  5104. "bars": false,
  5105. "dashLength": 10,
  5106. "dashes": false,
  5107. "datasource": "$datasource",
  5108. "fill": 1,
  5109. "fillGradient": 0,
  5110. "gridPos": {
  5111. },
  5112. "id": 10,
  5113. "interval": "1m",
  5114. "legend": {
  5115. "alignAsTable": true,
  5116. "avg": false,
  5117. "current": false,
  5118. "max": false,
  5119. "min": false,
  5120. "rightSide": true,
  5121. "show": true,
  5122. "sideWidth": null,
  5123. "total": false,
  5124. "values": false
  5125. },
  5126. "lines": true,
  5127. "linewidth": 1,
  5128. "links": [
  5129. ],
  5130. "nullPointMode": "null",
  5131. "percentage": false,
  5132. "pointradius": 5,
  5133. "points": false,
  5134. "renderer": "flot",
  5135. "repeat": null,
  5136. "seriesOverrides": [
  5137. ],
  5138. "spaceLength": 10,
  5139. "span": 4,
  5140. "stack": false,
  5141. "steppedLine": false,
  5142. "targets": [
  5143. {
  5144. "expr": "rate(process_cpu_seconds_total{cluster=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}[$__rate_interval])",
  5145. "format": "time_series",
  5146. "intervalFactor": 2,
  5147. "legendFormat": "{{instance}}",
  5148. "refId": "A"
  5149. }
  5150. ],
  5151. "thresholds": [
  5152. ],
  5153. "timeFrom": null,
  5154. "timeShift": null,
  5155. "title": "CPU usage",
  5156. "tooltip": {
  5157. "shared": false,
  5158. "sort": 0,
  5159. "value_type": "individual"
  5160. },
  5161. "type": "graph",
  5162. "xaxis": {
  5163. "buckets": null,
  5164. "mode": "time",
  5165. "name": null,
  5166. "show": true,
  5167. "values": [
  5168. ]
  5169. },
  5170. "yaxes": [
  5171. {
  5172. "format": "short",
  5173. "label": null,
  5174. "logBase": 1,
  5175. "max": null,
  5176. "min": 0,
  5177. "show": true
  5178. },
  5179. {
  5180. "format": "short",
  5181. "label": null,
  5182. "logBase": 1,
  5183. "max": null,
  5184. "min": 0,
  5185. "show": true
  5186. }
  5187. ]
  5188. },
  5189. {
  5190. "aliasColors": {
  5191. },
  5192. "bars": false,
  5193. "dashLength": 10,
  5194. "dashes": false,
  5195. "datasource": "$datasource",
  5196. "fill": 1,
  5197. "fillGradient": 0,
  5198. "gridPos": {
  5199. },
  5200. "id": 11,
  5201. "interval": "1m",
  5202. "legend": {
  5203. "alignAsTable": true,
  5204. "avg": false,
  5205. "current": false,
  5206. "max": false,
  5207. "min": false,
  5208. "rightSide": true,
  5209. "show": true,
  5210. "sideWidth": null,
  5211. "total": false,
  5212. "values": false
  5213. },
  5214. "lines": true,
  5215. "linewidth": 1,
  5216. "links": [
  5217. ],
  5218. "nullPointMode": "null",
  5219. "percentage": false,
  5220. "pointradius": 5,
  5221. "points": false,
  5222. "renderer": "flot",
  5223. "repeat": null,
  5224. "seriesOverrides": [
  5225. ],
  5226. "spaceLength": 10,
  5227. "span": 4,
  5228. "stack": false,
  5229. "steppedLine": false,
  5230. "targets": [
  5231. {
  5232. "expr": "go_goroutines{cluster=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}",
  5233. "format": "time_series",
  5234. "intervalFactor": 2,
  5235. "legendFormat": "{{instance}}",
  5236. "refId": "A"
  5237. }
  5238. ],
  5239. "thresholds": [
  5240. ],
  5241. "timeFrom": null,
  5242. "timeShift": null,
  5243. "title": "Goroutines",
  5244. "tooltip": {
  5245. "shared": false,
  5246. "sort": 0,
  5247. "value_type": "individual"
  5248. },
  5249. "type": "graph",
  5250. "xaxis": {
  5251. "buckets": null,
  5252. "mode": "time",
  5253. "name": null,
  5254. "show": true,
  5255. "values": [
  5256. ]
  5257. },
  5258. "yaxes": [
  5259. {
  5260. "format": "short",
  5261. "label": null,
  5262. "logBase": 1,
  5263. "max": null,
  5264. "min": null,
  5265. "show": true
  5266. },
  5267. {
  5268. "format": "short",
  5269. "label": null,
  5270. "logBase": 1,
  5271. "max": null,
  5272. "min": null,
  5273. "show": true
  5274. }
  5275. ]
  5276. }
  5277. ],
  5278. "repeat": null,
  5279. "repeatIteration": null,
  5280. "repeatRowId": null,
  5281. "showTitle": false,
  5282. "title": "Dashboard Row",
  5283. "titleSize": "h6",
  5284. "type": "row"
  5285. }
  5286. ],
  5287. "schemaVersion": 14,
  5288. "style": "dark",
  5289. "tags": [
  5290. "kubernetes-mixin"
  5291. ],
  5292. "templating": {
  5293. "list": [
  5294. {
  5295. "current": {
  5296. "text": "default",
  5297. "value": "default"
  5298. },
  5299. "hide": 0,
  5300. "label": "Data Source",
  5301. "name": "datasource",
  5302. "options": [
  5303. ],
  5304. "query": "prometheus",
  5305. "refresh": 1,
  5306. "regex": "",
  5307. "type": "datasource"
  5308. },
  5309. {
  5310. "allValue": null,
  5311. "current": {
  5312. },
  5313. "datasource": "$datasource",
  5314. "hide": 2,
  5315. "includeAll": false,
  5316. "label": "cluster",
  5317. "multi": false,
  5318. "name": "cluster",
  5319. "options": [
  5320. ],
  5321. "query": "label_values(up{job=\"kube-controller-manager\"}, cluster)",
  5322. "refresh": 2,
  5323. "regex": "",
  5324. "sort": 1,
  5325. "tagValuesQuery": "",
  5326. "tags": [
  5327. ],
  5328. "tagsQuery": "",
  5329. "type": "query",
  5330. "useTags": false
  5331. },
  5332. {
  5333. "allValue": null,
  5334. "current": {
  5335. },
  5336. "datasource": "$datasource",
  5337. "hide": 0,
  5338. "includeAll": true,
  5339. "label": null,
  5340. "multi": false,
  5341. "name": "instance",
  5342. "options": [
  5343. ],
  5344. "query": "label_values(up{cluster=\"$cluster\", job=\"kube-controller-manager\"}, instance)",
  5345. "refresh": 2,
  5346. "regex": "",
  5347. "sort": 1,
  5348. "tagValuesQuery": "",
  5349. "tags": [
  5350. ],
  5351. "tagsQuery": "",
  5352. "type": "query",
  5353. "useTags": false
  5354. }
  5355. ]
  5356. },
  5357. "time": {
  5358. "from": "now-1h",
  5359. "to": "now"
  5360. },
  5361. "timepicker": {
  5362. "refresh_intervals": [
  5363. "5s",
  5364. "10s",
  5365. "30s",
  5366. "1m",
  5367. "5m",
  5368. "15m",
  5369. "30m",
  5370. "1h",
  5371. "2h",
  5372. "1d"
  5373. ],
  5374. "time_options": [
  5375. "5m",
  5376. "15m",
  5377. "1h",
  5378. "6h",
  5379. "12h",
  5380. "24h",
  5381. "2d",
  5382. "7d",
  5383. "30d"
  5384. ]
  5385. },
  5386. "timezone": "utc",
  5387. "title": "Kubernetes / Controller Manager",
  5388. "uid": "72e0e05bef5099e5f049b05fdc429ed4",
  5389. "version": 0
  5390. }
  5391. ---
  5392. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/etcd.yaml
  5393. apiVersion: v1
  5394. kind: ConfigMap
  5395. metadata:
  5396. namespace: monitoring
  5397. name: prometheus-kube-prometheus-etcd
  5398. annotations:
  5399. {}
  5400. labels:
  5401. grafana_dashboard: "1"
  5402. app: kube-prometheus-stack-grafana
  5403. app.kubernetes.io/managed-by: Helm
  5404. app.kubernetes.io/instance: prometheus
  5405. app.kubernetes.io/version: "44.3.0"
  5406. app.kubernetes.io/part-of: kube-prometheus-stack
  5407. chart: kube-prometheus-stack-44.3.0
  5408. release: "prometheus"
  5409. heritage: "Helm"
  5410. data:
  5411. etcd.json: |-
  5412. {
  5413. "annotations": {
  5414. "list": []
  5415. },
  5416. "description": "etcd sample Grafana dashboard with Prometheus",
  5417. "editable": true,
  5418. "gnetId": null,
  5419. "hideControls": false,
  5420. "links": [],
  5421. "refresh": "10s",
  5422. "rows": [
  5423. {
  5424. "collapse": false,
  5425. "editable": true,
  5426. "height": "250px",
  5427. "panels": [
  5428. {
  5429. "cacheTimeout": null,
  5430. "colorBackground": false,
  5431. "colorValue": false,
  5432. "colors": [
  5433. "rgba(245, 54, 54, 0.9)",
  5434. "rgba(237, 129, 40, 0.89)",
  5435. "rgba(50, 172, 45, 0.97)"
  5436. ],
  5437. "datasource": "$datasource",
  5438. "editable": true,
  5439. "error": false,
  5440. "format": "none",
  5441. "gauge": {
  5442. "maxValue": 100,
  5443. "minValue": 0,
  5444. "show": false,
  5445. "thresholdLabels": false,
  5446. "thresholdMarkers": true
  5447. },
  5448. "id": 28,
  5449. "interval": null,
  5450. "isNew": true,
  5451. "links": [],
  5452. "mappingType": 1,
  5453. "mappingTypes": [
  5454. {
  5455. "name": "value to text",
  5456. "value": 1
  5457. },
  5458. {
  5459. "name": "range to text",
  5460. "value": 2
  5461. }
  5462. ],
  5463. "maxDataPoints": 100,
  5464. "nullPointMode": "connected",
  5465. "nullText": null,
  5466. "postfix": "",
  5467. "postfixFontSize": "50%",
  5468. "prefix": "",
  5469. "prefixFontSize": "50%",
  5470. "rangeMaps": [
  5471. {
  5472. "from": "null",
  5473. "text": "N/A",
  5474. "to": "null"
  5475. }
  5476. ],
  5477. "span": 3,
  5478. "sparkline": {
  5479. "fillColor": "rgba(31, 118, 189, 0.18)",
  5480. "full": false,
  5481. "lineColor": "rgb(31, 120, 193)",
  5482. "show": false
  5483. },
  5484. "targets": [
  5485. {
  5486. "expr": "sum(etcd_server_has_leader{job=\"$cluster\"})",
  5487. "intervalFactor": 2,
  5488. "legendFormat": "",
  5489. "metric": "etcd_server_has_leader",
  5490. "refId": "A",
  5491. "step": 20
  5492. }
  5493. ],
  5494. "thresholds": "",
  5495. "title": "Up",
  5496. "type": "singlestat",
  5497. "valueFontSize": "200%",
  5498. "valueMaps": [
  5499. {
  5500. "op": "=",
  5501. "text": "N/A",
  5502. "value": "null"
  5503. }
  5504. ],
  5505. "valueName": "avg"
  5506. },
  5507. {
  5508. "aliasColors": {},
  5509. "bars": false,
  5510. "datasource": "$datasource",
  5511. "editable": true,
  5512. "error": false,
  5513. "fill": 0,
  5514. "id": 23,
  5515. "isNew": true,
  5516. "legend": {
  5517. "avg": false,
  5518. "current": false,
  5519. "max": false,
  5520. "min": false,
  5521. "show": false,
  5522. "total": false,
  5523. "values": false
  5524. },
  5525. "lines": true,
  5526. "linewidth": 2,
  5527. "links": [],
  5528. "nullPointMode": "connected",
  5529. "percentage": false,
  5530. "pointradius": 5,
  5531. "points": false,
  5532. "renderer": "flot",
  5533. "seriesOverrides": [],
  5534. "span": 5,
  5535. "stack": false,
  5536. "steppedLine": false,
  5537. "targets": [
  5538. {
  5539. "expr": "sum(rate(grpc_server_started_total{job=\"$cluster\",grpc_type=\"unary\"}[$__rate_interval]))",
  5540. "format": "time_series",
  5541. "intervalFactor": 2,
  5542. "legendFormat": "RPC Rate",
  5543. "metric": "grpc_server_started_total",
  5544. "refId": "A",
  5545. "step": 2
  5546. },
  5547. {
  5548. "expr": "sum(rate(grpc_server_handled_total{job=\"$cluster\",grpc_type=\"unary\",grpc_code=~\"Unknown|FailedPrecondition|ResourceExhausted|Internal|Unavailable|DataLoss|DeadlineExceeded\"}[$__rate_interval]))",
  5549. "format": "time_series",
  5550. "intervalFactor": 2,
  5551. "legendFormat": "RPC Failed Rate",
  5552. "metric": "grpc_server_handled_total",
  5553. "refId": "B",
  5554. "step": 2
  5555. }
  5556. ],
  5557. "thresholds": [],
  5558. "timeFrom": null,
  5559. "timeShift": null,
  5560. "title": "RPC Rate",
  5561. "tooltip": {
  5562. "msResolution": false,
  5563. "shared": true,
  5564. "sort": 0,
  5565. "value_type": "individual"
  5566. },
  5567. "type": "graph",
  5568. "xaxis": {
  5569. "mode": "time",
  5570. "name": null,
  5571. "show": true,
  5572. "values": []
  5573. },
  5574. "yaxes": [
  5575. {
  5576. "format": "ops",
  5577. "label": null,
  5578. "logBase": 1,
  5579. "max": null,
  5580. "min": null,
  5581. "show": true
  5582. },
  5583. {
  5584. "format": "short",
  5585. "label": null,
  5586. "logBase": 1,
  5587. "max": null,
  5588. "min": null,
  5589. "show": true
  5590. }
  5591. ]
  5592. },
  5593. {
  5594. "aliasColors": {},
  5595. "bars": false,
  5596. "datasource": "$datasource",
  5597. "editable": true,
  5598. "error": false,
  5599. "fill": 0,
  5600. "id": 41,
  5601. "isNew": true,
  5602. "legend": {
  5603. "avg": false,
  5604. "current": false,
  5605. "max": false,
  5606. "min": false,
  5607. "show": false,
  5608. "total": false,
  5609. "values": false
  5610. },
  5611. "lines": true,
  5612. "linewidth": 2,
  5613. "links": [],
  5614. "nullPointMode": "connected",
  5615. "percentage": false,
  5616. "pointradius": 5,
  5617. "points": false,
  5618. "renderer": "flot",
  5619. "seriesOverrides": [],
  5620. "span": 4,
  5621. "stack": true,
  5622. "steppedLine": false,
  5623. "targets": [
  5624. {
  5625. "expr": "sum(grpc_server_started_total{job=\"$cluster\",grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"}) - sum(grpc_server_handled_total{job=\"$cluster\",grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"})",
  5626. "intervalFactor": 2,
  5627. "legendFormat": "Watch Streams",
  5628. "metric": "grpc_server_handled_total",
  5629. "refId": "A",
  5630. "step": 4
  5631. },
  5632. {
  5633. "expr": "sum(grpc_server_started_total{job=\"$cluster\",grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"}) - sum(grpc_server_handled_total{job=\"$cluster\",grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"})",
  5634. "intervalFactor": 2,
  5635. "legendFormat": "Lease Streams",
  5636. "metric": "grpc_server_handled_total",
  5637. "refId": "B",
  5638. "step": 4
  5639. }
  5640. ],
  5641. "thresholds": [],
  5642. "timeFrom": null,
  5643. "timeShift": null,
  5644. "title": "Active Streams",
  5645. "tooltip": {
  5646. "msResolution": false,
  5647. "shared": true,
  5648. "sort": 0,
  5649. "value_type": "individual"
  5650. },
  5651. "type": "graph",
  5652. "xaxis": {
  5653. "mode": "time",
  5654. "name": null,
  5655. "show": true,
  5656. "values": []
  5657. },
  5658. "yaxes": [
  5659. {
  5660. "format": "short",
  5661. "label": "",
  5662. "logBase": 1,
  5663. "max": null,
  5664. "min": null,
  5665. "show": true
  5666. },
  5667. {
  5668. "format": "short",
  5669. "label": null,
  5670. "logBase": 1,
  5671. "max": null,
  5672. "min": null,
  5673. "show": true
  5674. }
  5675. ]
  5676. }
  5677. ],
  5678. "showTitle": false,
  5679. "title": "Row"
  5680. },
  5681. {
  5682. "collapse": false,
  5683. "editable": true,
  5684. "height": "250px",
  5685. "panels": [
  5686. {
  5687. "aliasColors": {},
  5688. "bars": false,
  5689. "datasource": "$datasource",
  5690. "decimals": null,
  5691. "editable": true,
  5692. "error": false,
  5693. "fill": 0,
  5694. "grid": {},
  5695. "id": 1,
  5696. "legend": {
  5697. "avg": false,
  5698. "current": false,
  5699. "max": false,
  5700. "min": false,
  5701. "show": false,
  5702. "total": false,
  5703. "values": false
  5704. },
  5705. "lines": true,
  5706. "linewidth": 2,
  5707. "links": [],
  5708. "nullPointMode": "connected",
  5709. "percentage": false,
  5710. "pointradius": 5,
  5711. "points": false,
  5712. "renderer": "flot",
  5713. "seriesOverrides": [],
  5714. "span": 4,
  5715. "stack": false,
  5716. "steppedLine": false,
  5717. "targets": [
  5718. {
  5719. "expr": "etcd_mvcc_db_total_size_in_bytes{job=\"$cluster\"}",
  5720. "hide": false,
  5721. "interval": "",
  5722. "intervalFactor": 2,
  5723. "legendFormat": "{{instance}} DB Size",
  5724. "metric": "",
  5725. "refId": "A",
  5726. "step": 4
  5727. }
  5728. ],
  5729. "thresholds": [],
  5730. "timeFrom": null,
  5731. "timeShift": null,
  5732. "title": "DB Size",
  5733. "tooltip": {
  5734. "msResolution": false,
  5735. "shared": true,
  5736. "sort": 0,
  5737. "value_type": "cumulative"
  5738. },
  5739. "type": "graph",
  5740. "xaxis": {
  5741. "mode": "time",
  5742. "name": null,
  5743. "show": true,
  5744. "values": []
  5745. },
  5746. "yaxes": [
  5747. {
  5748. "format": "bytes",
  5749. "logBase": 1,
  5750. "max": null,
  5751. "min": null,
  5752. "show": true
  5753. },
  5754. {
  5755. "format": "short",
  5756. "logBase": 1,
  5757. "max": null,
  5758. "min": null,
  5759. "show": false
  5760. }
  5761. ]
  5762. },
  5763. {
  5764. "aliasColors": {},
  5765. "bars": false,
  5766. "datasource": "$datasource",
  5767. "editable": true,
  5768. "error": false,
  5769. "fill": 0,
  5770. "grid": {},
  5771. "id": 3,
  5772. "legend": {
  5773. "avg": false,
  5774. "current": false,
  5775. "max": false,
  5776. "min": false,
  5777. "show": false,
  5778. "total": false,
  5779. "values": false
  5780. },
  5781. "lines": true,
  5782. "linewidth": 2,
  5783. "links": [],
  5784. "nullPointMode": "connected",
  5785. "percentage": false,
  5786. "pointradius": 1,
  5787. "points": false,
  5788. "renderer": "flot",
  5789. "seriesOverrides": [],
  5790. "span": 4,
  5791. "stack": false,
  5792. "steppedLine": true,
  5793. "targets": [
  5794. {
  5795. "expr": "histogram_quantile(0.99, sum(rate(etcd_disk_wal_fsync_duration_seconds_bucket{job=\"$cluster\"}[$__rate_interval])) by (instance, le))",
  5796. "hide": false,
  5797. "intervalFactor": 2,
  5798. "legendFormat": "{{instance}} WAL fsync",
  5799. "metric": "etcd_disk_wal_fsync_duration_seconds_bucket",
  5800. "refId": "A",
  5801. "step": 4
  5802. },
  5803. {
  5804. "expr": "histogram_quantile(0.99, sum(rate(etcd_disk_backend_commit_duration_seconds_bucket{job=\"$cluster\"}[$__rate_interval])) by (instance, le))",
  5805. "intervalFactor": 2,
  5806. "legendFormat": "{{instance}} DB fsync",
  5807. "metric": "etcd_disk_backend_commit_duration_seconds_bucket",
  5808. "refId": "B",
  5809. "step": 4
  5810. }
  5811. ],
  5812. "thresholds": [],
  5813. "timeFrom": null,
  5814. "timeShift": null,
  5815. "title": "Disk Sync Duration",
  5816. "tooltip": {
  5817. "msResolution": false,
  5818. "shared": true,
  5819. "sort": 0,
  5820. "value_type": "cumulative"
  5821. },
  5822. "type": "graph",
  5823. "xaxis": {
  5824. "mode": "time",
  5825. "name": null,
  5826. "show": true,
  5827. "values": []
  5828. },
  5829. "yaxes": [
  5830. {
  5831. "format": "s",
  5832. "logBase": 1,
  5833. "max": null,
  5834. "min": null,
  5835. "show": true
  5836. },
  5837. {
  5838. "format": "short",
  5839. "logBase": 1,
  5840. "max": null,
  5841. "min": null,
  5842. "show": false
  5843. }
  5844. ]
  5845. },
  5846. {
  5847. "aliasColors": {},
  5848. "bars": false,
  5849. "datasource": "$datasource",
  5850. "editable": true,
  5851. "error": false,
  5852. "fill": 0,
  5853. "id": 29,
  5854. "isNew": true,
  5855. "legend": {
  5856. "avg": false,
  5857. "current": false,
  5858. "max": false,
  5859. "min": false,
  5860. "show": false,
  5861. "total": false,
  5862. "values": false
  5863. },
  5864. "lines": true,
  5865. "linewidth": 2,
  5866. "links": [],
  5867. "nullPointMode": "connected",
  5868. "percentage": false,
  5869. "pointradius": 5,
  5870. "points": false,
  5871. "renderer": "flot",
  5872. "seriesOverrides": [],
  5873. "span": 4,
  5874. "stack": false,
  5875. "steppedLine": false,
  5876. "targets": [
  5877. {
  5878. "expr": "process_resident_memory_bytes{job=\"$cluster\"}",
  5879. "intervalFactor": 2,
  5880. "legendFormat": "{{instance}} Resident Memory",
  5881. "metric": "process_resident_memory_bytes",
  5882. "refId": "A",
  5883. "step": 4
  5884. }
  5885. ],
  5886. "thresholds": [],
  5887. "timeFrom": null,
  5888. "timeShift": null,
  5889. "title": "Memory",
  5890. "tooltip": {
  5891. "msResolution": false,
  5892. "shared": true,
  5893. "sort": 0,
  5894. "value_type": "individual"
  5895. },
  5896. "type": "graph",
  5897. "xaxis": {
  5898. "mode": "time",
  5899. "name": null,
  5900. "show": true,
  5901. "values": []
  5902. },
  5903. "yaxes": [
  5904. {
  5905. "format": "bytes",
  5906. "label": null,
  5907. "logBase": 1,
  5908. "max": null,
  5909. "min": null,
  5910. "show": true
  5911. },
  5912. {
  5913. "format": "short",
  5914. "label": null,
  5915. "logBase": 1,
  5916. "max": null,
  5917. "min": null,
  5918. "show": true
  5919. }
  5920. ]
  5921. }
  5922. ],
  5923. "title": "New row"
  5924. },
  5925. {
  5926. "collapse": false,
  5927. "editable": true,
  5928. "height": "250px",
  5929. "panels": [
  5930. {
  5931. "aliasColors": {},
  5932. "bars": false,
  5933. "datasource": "$datasource",
  5934. "editable": true,
  5935. "error": false,
  5936. "fill": 5,
  5937. "id": 22,
  5938. "isNew": true,
  5939. "legend": {
  5940. "avg": false,
  5941. "current": false,
  5942. "max": false,
  5943. "min": false,
  5944. "show": false,
  5945. "total": false,
  5946. "values": false
  5947. },
  5948. "lines": true,
  5949. "linewidth": 2,
  5950. "links": [],
  5951. "nullPointMode": "connected",
  5952. "percentage": false,
  5953. "pointradius": 5,
  5954. "points": false,
  5955. "renderer": "flot",
  5956. "seriesOverrides": [],
  5957. "span": 3,
  5958. "stack": true,
  5959. "steppedLine": false,
  5960. "targets": [
  5961. {
  5962. "expr": "rate(etcd_network_client_grpc_received_bytes_total{job=\"$cluster\"}[$__rate_interval])",
  5963. "intervalFactor": 2,
  5964. "legendFormat": "{{instance}} Client Traffic In",
  5965. "metric": "etcd_network_client_grpc_received_bytes_total",
  5966. "refId": "A",
  5967. "step": 4
  5968. }
  5969. ],
  5970. "thresholds": [],
  5971. "timeFrom": null,
  5972. "timeShift": null,
  5973. "title": "Client Traffic In",
  5974. "tooltip": {
  5975. "msResolution": false,
  5976. "shared": true,
  5977. "sort": 0,
  5978. "value_type": "individual"
  5979. },
  5980. "type": "graph",
  5981. "xaxis": {
  5982. "mode": "time",
  5983. "name": null,
  5984. "show": true,
  5985. "values": []
  5986. },
  5987. "yaxes": [
  5988. {
  5989. "format": "Bps",
  5990. "label": null,
  5991. "logBase": 1,
  5992. "max": null,
  5993. "min": null,
  5994. "show": true
  5995. },
  5996. {
  5997. "format": "short",
  5998. "label": null,
  5999. "logBase": 1,
  6000. "max": null,
  6001. "min": null,
  6002. "show": true
  6003. }
  6004. ]
  6005. },
  6006. {
  6007. "aliasColors": {},
  6008. "bars": false,
  6009. "datasource": "$datasource",
  6010. "editable": true,
  6011. "error": false,
  6012. "fill": 5,
  6013. "id": 21,
  6014. "isNew": true,
  6015. "legend": {
  6016. "avg": false,
  6017. "current": false,
  6018. "max": false,
  6019. "min": false,
  6020. "show": false,
  6021. "total": false,
  6022. "values": false
  6023. },
  6024. "lines": true,
  6025. "linewidth": 2,
  6026. "links": [],
  6027. "nullPointMode": "connected",
  6028. "percentage": false,
  6029. "pointradius": 5,
  6030. "points": false,
  6031. "renderer": "flot",
  6032. "seriesOverrides": [],
  6033. "span": 3,
  6034. "stack": true,
  6035. "steppedLine": false,
  6036. "targets": [
  6037. {
  6038. "expr": "rate(etcd_network_client_grpc_sent_bytes_total{job=\"$cluster\"}[$__rate_interval])",
  6039. "intervalFactor": 2,
  6040. "legendFormat": "{{instance}} Client Traffic Out",
  6041. "metric": "etcd_network_client_grpc_sent_bytes_total",
  6042. "refId": "A",
  6043. "step": 4
  6044. }
  6045. ],
  6046. "thresholds": [],
  6047. "timeFrom": null,
  6048. "timeShift": null,
  6049. "title": "Client Traffic Out",
  6050. "tooltip": {
  6051. "msResolution": false,
  6052. "shared": true,
  6053. "sort": 0,
  6054. "value_type": "individual"
  6055. },
  6056. "type": "graph",
  6057. "xaxis": {
  6058. "mode": "time",
  6059. "name": null,
  6060. "show": true,
  6061. "values": []
  6062. },
  6063. "yaxes": [
  6064. {
  6065. "format": "Bps",
  6066. "label": null,
  6067. "logBase": 1,
  6068. "max": null,
  6069. "min": null,
  6070. "show": true
  6071. },
  6072. {
  6073. "format": "short",
  6074. "label": null,
  6075. "logBase": 1,
  6076. "max": null,
  6077. "min": null,
  6078. "show": true
  6079. }
  6080. ]
  6081. },
  6082. {
  6083. "aliasColors": {},
  6084. "bars": false,
  6085. "datasource": "$datasource",
  6086. "editable": true,
  6087. "error": false,
  6088. "fill": 0,
  6089. "id": 20,
  6090. "isNew": true,
  6091. "legend": {
  6092. "avg": false,
  6093. "current": false,
  6094. "max": false,
  6095. "min": false,
  6096. "show": false,
  6097. "total": false,
  6098. "values": false
  6099. },
  6100. "lines": true,
  6101. "linewidth": 2,
  6102. "links": [],
  6103. "nullPointMode": "connected",
  6104. "percentage": false,
  6105. "pointradius": 5,
  6106. "points": false,
  6107. "renderer": "flot",
  6108. "seriesOverrides": [],
  6109. "span": 3,
  6110. "stack": false,
  6111. "steppedLine": false,
  6112. "targets": [
  6113. {
  6114. "expr": "sum(rate(etcd_network_peer_received_bytes_total{job=\"$cluster\"}[$__rate_interval])) by (instance)",
  6115. "intervalFactor": 2,
  6116. "legendFormat": "{{instance}} Peer Traffic In",
  6117. "metric": "etcd_network_peer_received_bytes_total",
  6118. "refId": "A",
  6119. "step": 4
  6120. }
  6121. ],
  6122. "thresholds": [],
  6123. "timeFrom": null,
  6124. "timeShift": null,
  6125. "title": "Peer Traffic In",
  6126. "tooltip": {
  6127. "msResolution": false,
  6128. "shared": true,
  6129. "sort": 0,
  6130. "value_type": "individual"
  6131. },
  6132. "type": "graph",
  6133. "xaxis": {
  6134. "mode": "time",
  6135. "name": null,
  6136. "show": true,
  6137. "values": []
  6138. },
  6139. "yaxes": [
  6140. {
  6141. "format": "Bps",
  6142. "label": null,
  6143. "logBase": 1,
  6144. "max": null,
  6145. "min": null,
  6146. "show": true
  6147. },
  6148. {
  6149. "format": "short",
  6150. "label": null,
  6151. "logBase": 1,
  6152. "max": null,
  6153. "min": null,
  6154. "show": true
  6155. }
  6156. ]
  6157. },
  6158. {
  6159. "aliasColors": {},
  6160. "bars": false,
  6161. "datasource": "$datasource",
  6162. "decimals": null,
  6163. "editable": true,
  6164. "error": false,
  6165. "fill": 0,
  6166. "grid": {},
  6167. "id": 16,
  6168. "legend": {
  6169. "avg": false,
  6170. "current": false,
  6171. "max": false,
  6172. "min": false,
  6173. "show": false,
  6174. "total": false,
  6175. "values": false
  6176. },
  6177. "lines": true,
  6178. "linewidth": 2,
  6179. "links": [],
  6180. "nullPointMode": "connected",
  6181. "percentage": false,
  6182. "pointradius": 5,
  6183. "points": false,
  6184. "renderer": "flot",
  6185. "seriesOverrides": [],
  6186. "span": 3,
  6187. "stack": false,
  6188. "steppedLine": false,
  6189. "targets": [
  6190. {
  6191. "expr": "sum(rate(etcd_network_peer_sent_bytes_total{job=\"$cluster\"}[$__rate_interval])) by (instance)",
  6192. "hide": false,
  6193. "interval": "",
  6194. "intervalFactor": 2,
  6195. "legendFormat": "{{instance}} Peer Traffic Out",
  6196. "metric": "etcd_network_peer_sent_bytes_total",
  6197. "refId": "A",
  6198. "step": 4
  6199. }
  6200. ],
  6201. "thresholds": [],
  6202. "timeFrom": null,
  6203. "timeShift": null,
  6204. "title": "Peer Traffic Out",
  6205. "tooltip": {
  6206. "msResolution": false,
  6207. "shared": true,
  6208. "sort": 0,
  6209. "value_type": "cumulative"
  6210. },
  6211. "type": "graph",
  6212. "xaxis": {
  6213. "mode": "time",
  6214. "name": null,
  6215. "show": true,
  6216. "values": []
  6217. },
  6218. "yaxes": [
  6219. {
  6220. "format": "Bps",
  6221. "logBase": 1,
  6222. "max": null,
  6223. "min": null,
  6224. "show": true
  6225. },
  6226. {
  6227. "format": "short",
  6228. "logBase": 1,
  6229. "max": null,
  6230. "min": null,
  6231. "show": true
  6232. }
  6233. ]
  6234. }
  6235. ],
  6236. "title": "New row"
  6237. },
  6238. {
  6239. "collapse": false,
  6240. "editable": true,
  6241. "height": "250px",
  6242. "panels": [
  6243. {
  6244. "aliasColors": {},
  6245. "bars": false,
  6246. "datasource": "$datasource",
  6247. "editable": true,
  6248. "error": false,
  6249. "fill": 0,
  6250. "id": 40,
  6251. "isNew": true,
  6252. "legend": {
  6253. "avg": false,
  6254. "current": false,
  6255. "max": false,
  6256. "min": false,
  6257. "show": false,
  6258. "total": false,
  6259. "values": false
  6260. },
  6261. "lines": true,
  6262. "linewidth": 2,
  6263. "links": [],
  6264. "nullPointMode": "connected",
  6265. "percentage": false,
  6266. "pointradius": 5,
  6267. "points": false,
  6268. "renderer": "flot",
  6269. "seriesOverrides": [],
  6270. "span": 6,
  6271. "stack": false,
  6272. "steppedLine": false,
  6273. "targets": [
  6274. {
  6275. "expr": "sum(rate(etcd_server_proposals_failed_total{job=\"$cluster\"}[$__rate_interval]))",
  6276. "intervalFactor": 2,
  6277. "legendFormat": "Proposal Failure Rate",
  6278. "metric": "etcd_server_proposals_failed_total",
  6279. "refId": "A",
  6280. "step": 2
  6281. },
  6282. {
  6283. "expr": "sum(etcd_server_proposals_pending{job=\"$cluster\"})",
  6284. "intervalFactor": 2,
  6285. "legendFormat": "Proposal Pending Total",
  6286. "metric": "etcd_server_proposals_pending",
  6287. "refId": "B",
  6288. "step": 2
  6289. },
  6290. {
  6291. "expr": "sum(rate(etcd_server_proposals_committed_total{job=\"$cluster\"}[$__rate_interval]))",
  6292. "intervalFactor": 2,
  6293. "legendFormat": "Proposal Commit Rate",
  6294. "metric": "etcd_server_proposals_committed_total",
  6295. "refId": "C",
  6296. "step": 2
  6297. },
  6298. {
  6299. "expr": "sum(rate(etcd_server_proposals_applied_total{job=\"$cluster\"}[$__rate_interval]))",
  6300. "intervalFactor": 2,
  6301. "legendFormat": "Proposal Apply Rate",
  6302. "refId": "D",
  6303. "step": 2
  6304. }
  6305. ],
  6306. "thresholds": [],
  6307. "timeFrom": null,
  6308. "timeShift": null,
  6309. "title": "Raft Proposals",
  6310. "tooltip": {
  6311. "msResolution": false,
  6312. "shared": true,
  6313. "sort": 0,
  6314. "value_type": "individual"
  6315. },
  6316. "type": "graph",
  6317. "xaxis": {
  6318. "mode": "time",
  6319. "name": null,
  6320. "show": true,
  6321. "values": []
  6322. },
  6323. "yaxes": [
  6324. {
  6325. "format": "short",
  6326. "label": "",
  6327. "logBase": 1,
  6328. "max": null,
  6329. "min": null,
  6330. "show": true
  6331. },
  6332. {
  6333. "format": "short",
  6334. "label": null,
  6335. "logBase": 1,
  6336. "max": null,
  6337. "min": null,
  6338. "show": true
  6339. }
  6340. ]
  6341. },
  6342. {
  6343. "aliasColors": {},
  6344. "bars": false,
  6345. "datasource": "$datasource",
  6346. "decimals": 0,
  6347. "editable": true,
  6348. "error": false,
  6349. "fill": 0,
  6350. "id": 19,
  6351. "isNew": true,
  6352. "legend": {
  6353. "alignAsTable": false,
  6354. "avg": false,
  6355. "current": false,
  6356. "max": false,
  6357. "min": false,
  6358. "rightSide": false,
  6359. "show": false,
  6360. "total": false,
  6361. "values": false
  6362. },
  6363. "lines": true,
  6364. "linewidth": 2,
  6365. "links": [],
  6366. "nullPointMode": "connected",
  6367. "percentage": false,
  6368. "pointradius": 5,
  6369. "points": false,
  6370. "renderer": "flot",
  6371. "seriesOverrides": [],
  6372. "span": 6,
  6373. "stack": false,
  6374. "steppedLine": false,
  6375. "targets": [
  6376. {
  6377. "expr": "changes(etcd_server_leader_changes_seen_total{job=\"$cluster\"}[1d])",
  6378. "intervalFactor": 2,
  6379. "legendFormat": "{{instance}} Total Leader Elections Per Day",
  6380. "metric": "etcd_server_leader_changes_seen_total",
  6381. "refId": "A",
  6382. "step": 2
  6383. }
  6384. ],
  6385. "thresholds": [],
  6386. "timeFrom": null,
  6387. "timeShift": null,
  6388. "title": "Total Leader Elections Per Day",
  6389. "tooltip": {
  6390. "msResolution": false,
  6391. "shared": true,
  6392. "sort": 0,
  6393. "value_type": "individual"
  6394. },
  6395. "type": "graph",
  6396. "xaxis": {
  6397. "mode": "time",
  6398. "name": null,
  6399. "show": true,
  6400. "values": []
  6401. },
  6402. "yaxes": [
  6403. {
  6404. "format": "short",
  6405. "label": null,
  6406. "logBase": 1,
  6407. "max": null,
  6408. "min": null,
  6409. "show": true
  6410. },
  6411. {
  6412. "format": "short",
  6413. "label": null,
  6414. "logBase": 1,
  6415. "max": null,
  6416. "min": null,
  6417. "show": true
  6418. }
  6419. ]
  6420. },
  6421. {
  6422. "aliasColors": {},
  6423. "bars": false,
  6424. "dashLength": 10,
  6425. "dashes": false,
  6426. "datasource": "$datasource",
  6427. "decimals": 0,
  6428. "editable": true,
  6429. "error": false,
  6430. "fieldConfig": {
  6431. "defaults": {
  6432. "custom": {}
  6433. },
  6434. "overrides": []
  6435. },
  6436. "fill": 0,
  6437. "fillGradient": 0,
  6438. "gridPos": {
  6439. "h": 7,
  6440. "w": 12,
  6441. "x": 0,
  6442. "y": 28
  6443. },
  6444. "hiddenSeries": false,
  6445. "id": 42,
  6446. "isNew": true,
  6447. "legend": {
  6448. "alignAsTable": false,
  6449. "avg": false,
  6450. "current": false,
  6451. "max": false,
  6452. "min": false,
  6453. "rightSide": false,
  6454. "show": false,
  6455. "total": false,
  6456. "values": false
  6457. },
  6458. "lines": true,
  6459. "linewidth": 2,
  6460. "links": [],
  6461. "nullPointMode": "connected",
  6462. "options": {
  6463. "alertThreshold": true
  6464. },
  6465. "percentage": false,
  6466. "pluginVersion": "7.4.3",
  6467. "pointradius": 5,
  6468. "points": false,
  6469. "renderer": "flot",
  6470. "seriesOverrides": [],
  6471. "spaceLength": 10,
  6472. "stack": false,
  6473. "steppedLine": false,
  6474. "targets": [
  6475. {
  6476. "expr": "histogram_quantile(0.99, sum by (instance, le) (rate(etcd_network_peer_round_trip_time_seconds_bucket{job=\"$cluster\"}[$__rate_interval])))",
  6477. "interval": "",
  6478. "intervalFactor": 2,
  6479. "legendFormat": "{{instance}} Peer round trip time",
  6480. "metric": "etcd_network_peer_round_trip_time_seconds_bucket",
  6481. "refId": "A",
  6482. "step": 2
  6483. }
  6484. ],
  6485. "thresholds": [],
  6486. "timeFrom": null,
  6487. "timeRegions": [],
  6488. "timeShift": null,
  6489. "title": "Peer round trip time",
  6490. "tooltip": {
  6491. "msResolution": false,
  6492. "shared": true,
  6493. "sort": 0,
  6494. "value_type": "individual"
  6495. },
  6496. "type": "graph",
  6497. "xaxis": {
  6498. "buckets": null,
  6499. "mode": "time",
  6500. "name": null,
  6501. "show": true,
  6502. "values": []
  6503. },
  6504. "yaxes": [
  6505. {
  6506. "$$hashKey": "object:925",
  6507. "decimals": null,
  6508. "format": "s",
  6509. "label": null,
  6510. "logBase": 1,
  6511. "max": null,
  6512. "min": null,
  6513. "show": true
  6514. },
  6515. {
  6516. "$$hashKey": "object:926",
  6517. "format": "short",
  6518. "label": null,
  6519. "logBase": 1,
  6520. "max": null,
  6521. "min": null,
  6522. "show": true
  6523. }
  6524. ],
  6525. "yaxis": {
  6526. "align": false,
  6527. "alignLevel": null
  6528. }
  6529. }
  6530. ],
  6531. "title": "New row"
  6532. }
  6533. ],
  6534. "schemaVersion": 13,
  6535. "sharedCrosshair": false,
  6536. "style": "dark",
  6537. "tags": [
  6538. "etcd-mixin"
  6539. ],
  6540. "templating": {
  6541. "list": [
  6542. {
  6543. "current": {
  6544. "text": "Prometheus",
  6545. "value": "Prometheus"
  6546. },
  6547. "hide": 0,
  6548. "label": "Data Source",
  6549. "name": "datasource",
  6550. "options": [],
  6551. "query": "prometheus",
  6552. "refresh": 1,
  6553. "regex": "",
  6554. "type": "datasource"
  6555. },
  6556. {
  6557. "allValue": null,
  6558. "current": {
  6559. "text": "prod",
  6560. "value": "prod"
  6561. },
  6562. "datasource": "$datasource",
  6563. "hide": 2,
  6564. "includeAll": false,
  6565. "label": "cluster",
  6566. "multi": false,
  6567. "name": "cluster",
  6568. "options": [],
  6569. "query": "label_values(etcd_server_has_leader, job)",
  6570. "refresh": 2,
  6571. "regex": "",
  6572. "sort": 2,
  6573. "tagValuesQuery": "",
  6574. "tags": [],
  6575. "tagsQuery": "",
  6576. "type": "query",
  6577. "useTags": false
  6578. }
  6579. ]
  6580. },
  6581. "time": {
  6582. "from": "now-15m",
  6583. "to": "now"
  6584. },
  6585. "timepicker": {
  6586. "now": true,
  6587. "refresh_intervals": [
  6588. "5s",
  6589. "10s",
  6590. "30s",
  6591. "1m",
  6592. "5m",
  6593. "15m",
  6594. "30m",
  6595. "1h",
  6596. "2h",
  6597. "1d"
  6598. ],
  6599. "time_options": [
  6600. "5m",
  6601. "15m",
  6602. "1h",
  6603. "6h",
  6604. "12h",
  6605. "24h",
  6606. "2d",
  6607. "7d",
  6608. "30d"
  6609. ]
  6610. },
  6611. "timezone": "utc",
  6612. "title": "etcd",
  6613. "uid": "c2f4e12cdf69feb95caa41a5a1b423d9",
  6614. "version": 215
  6615. }
  6616. ---
  6617. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/grafana-overview.yaml
  6618. apiVersion: v1
  6619. kind: ConfigMap
  6620. metadata:
  6621. namespace: monitoring
  6622. name: prometheus-kube-prometheus-grafana-overview
  6623. annotations:
  6624. {}
  6625. labels:
  6626. grafana_dashboard: "1"
  6627. app: kube-prometheus-stack-grafana
  6628. app.kubernetes.io/managed-by: Helm
  6629. app.kubernetes.io/instance: prometheus
  6630. app.kubernetes.io/version: "44.3.0"
  6631. app.kubernetes.io/part-of: kube-prometheus-stack
  6632. chart: kube-prometheus-stack-44.3.0
  6633. release: "prometheus"
  6634. heritage: "Helm"
  6635. data:
  6636. grafana-overview.json: |-
  6637. {
  6638. "annotations": {
  6639. "list": [
  6640. {
  6641. "builtIn": 1,
  6642. "datasource": "-- Grafana --",
  6643. "enable": true,
  6644. "hide": true,
  6645. "iconColor": "rgba(0, 211, 255, 1)",
  6646. "name": "Annotations & Alerts",
  6647. "target": {
  6648. "limit": 100,
  6649. "matchAny": false,
  6650. "tags": [
  6651. ],
  6652. "type": "dashboard"
  6653. },
  6654. "type": "dashboard"
  6655. }
  6656. ]
  6657. },
  6658. "editable": true,
  6659. "gnetId": null,
  6660. "graphTooltip": 0,
  6661. "id": 3085,
  6662. "iteration": 1631554945276,
  6663. "links": [
  6664. ],
  6665. "panels": [
  6666. {
  6667. "datasource": "$datasource",
  6668. "fieldConfig": {
  6669. "defaults": {
  6670. "mappings": [
  6671. ],
  6672. "noValue": "0",
  6673. "thresholds": {
  6674. "mode": "absolute",
  6675. "steps": [
  6676. {
  6677. "color": "green",
  6678. "value": null
  6679. },
  6680. {
  6681. "color": "red",
  6682. "value": 80
  6683. }
  6684. ]
  6685. }
  6686. },
  6687. "overrides": [
  6688. ]
  6689. },
  6690. "gridPos": {
  6691. "h": 5,
  6692. "w": 6,
  6693. "x": 0,
  6694. "y": 0
  6695. },
  6696. "id": 6,
  6697. "options": {
  6698. "colorMode": "value",
  6699. "graphMode": "area",
  6700. "justifyMode": "auto",
  6701. "orientation": "auto",
  6702. "reduceOptions": {
  6703. "calcs": [
  6704. "mean"
  6705. ],
  6706. "fields": "",
  6707. "values": false
  6708. },
  6709. "text": {
  6710. },
  6711. "textMode": "auto"
  6712. },
  6713. "pluginVersion": "8.1.3",
  6714. "targets": [
  6715. {
  6716. "expr": "grafana_alerting_result_total{job=~\"$job\", instance=~\"$instance\", state=\"alerting\"}",
  6717. "instant": true,
  6718. "interval": "",
  6719. "legendFormat": "",
  6720. "refId": "A"
  6721. }
  6722. ],
  6723. "timeFrom": null,
  6724. "timeShift": null,
  6725. "title": "Firing Alerts",
  6726. "type": "stat"
  6727. },
  6728. {
  6729. "datasource": "$datasource",
  6730. "fieldConfig": {
  6731. "defaults": {
  6732. "mappings": [
  6733. ],
  6734. "thresholds": {
  6735. "mode": "absolute",
  6736. "steps": [
  6737. {
  6738. "color": "green",
  6739. "value": null
  6740. },
  6741. {
  6742. "color": "red",
  6743. "value": 80
  6744. }
  6745. ]
  6746. }
  6747. },
  6748. "overrides": [
  6749. ]
  6750. },
  6751. "gridPos": {
  6752. "h": 5,
  6753. "w": 6,
  6754. "x": 6,
  6755. "y": 0
  6756. },
  6757. "id": 8,
  6758. "options": {
  6759. "colorMode": "value",
  6760. "graphMode": "area",
  6761. "justifyMode": "auto",
  6762. "orientation": "auto",
  6763. "reduceOptions": {
  6764. "calcs": [
  6765. "mean"
  6766. ],
  6767. "fields": "",
  6768. "values": false
  6769. },
  6770. "text": {
  6771. },
  6772. "textMode": "auto"
  6773. },
  6774. "pluginVersion": "8.1.3",
  6775. "targets": [
  6776. {
  6777. "expr": "sum(grafana_stat_totals_dashboard{job=~\"$job\", instance=~\"$instance\"})",
  6778. "interval": "",
  6779. "legendFormat": "",
  6780. "refId": "A"
  6781. }
  6782. ],
  6783. "timeFrom": null,
  6784. "timeShift": null,
  6785. "title": "Dashboards",
  6786. "type": "stat"
  6787. },
  6788. {
  6789. "datasource": "$datasource",
  6790. "fieldConfig": {
  6791. "defaults": {
  6792. "custom": {
  6793. "align": null,
  6794. "displayMode": "auto"
  6795. },
  6796. "mappings": [
  6797. ],
  6798. "thresholds": {
  6799. "mode": "absolute",
  6800. "steps": [
  6801. {
  6802. "color": "green",
  6803. "value": null
  6804. },
  6805. {
  6806. "color": "red",
  6807. "value": 80
  6808. }
  6809. ]
  6810. }
  6811. },
  6812. "overrides": [
  6813. ]
  6814. },
  6815. "gridPos": {
  6816. "h": 5,
  6817. "w": 12,
  6818. "x": 12,
  6819. "y": 0
  6820. },
  6821. "id": 10,
  6822. "options": {
  6823. "showHeader": true
  6824. },
  6825. "pluginVersion": "8.1.3",
  6826. "targets": [
  6827. {
  6828. "expr": "grafana_build_info{job=~\"$job\", instance=~\"$instance\"}",
  6829. "instant": true,
  6830. "interval": "",
  6831. "legendFormat": "",
  6832. "refId": "A"
  6833. }
  6834. ],
  6835. "timeFrom": null,
  6836. "timeShift": null,
  6837. "title": "Build Info",
  6838. "transformations": [
  6839. {
  6840. "id": "labelsToFields",
  6841. "options": {
  6842. }
  6843. },
  6844. {
  6845. "id": "organize",
  6846. "options": {
  6847. "excludeByName": {
  6848. "Time": true,
  6849. "Value": true,
  6850. "branch": true,
  6851. "container": true,
  6852. "goversion": true,
  6853. "namespace": true,
  6854. "pod": true,
  6855. "revision": true
  6856. },
  6857. "indexByName": {
  6858. "Time": 7,
  6859. "Value": 11,
  6860. "branch": 4,
  6861. "container": 8,
  6862. "edition": 2,
  6863. "goversion": 6,
  6864. "instance": 1,
  6865. "job": 0,
  6866. "namespace": 9,
  6867. "pod": 10,
  6868. "revision": 5,
  6869. "version": 3
  6870. },
  6871. "renameByName": {
  6872. }
  6873. }
  6874. }
  6875. ],
  6876. "type": "table"
  6877. },
  6878. {
  6879. "aliasColors": {
  6880. },
  6881. "bars": false,
  6882. "dashLength": 10,
  6883. "dashes": false,
  6884. "datasource": "$datasource",
  6885. "fieldConfig": {
  6886. "defaults": {
  6887. "links": [
  6888. ]
  6889. },
  6890. "overrides": [
  6891. ]
  6892. },
  6893. "fill": 1,
  6894. "fillGradient": 0,
  6895. "gridPos": {
  6896. "h": 8,
  6897. "w": 12,
  6898. "x": 0,
  6899. "y": 5
  6900. },
  6901. "hiddenSeries": false,
  6902. "id": 2,
  6903. "legend": {
  6904. "avg": false,
  6905. "current": false,
  6906. "max": false,
  6907. "min": false,
  6908. "show": true,
  6909. "total": false,
  6910. "values": false
  6911. },
  6912. "lines": true,
  6913. "linewidth": 1,
  6914. "nullPointMode": "null",
  6915. "options": {
  6916. "alertThreshold": true
  6917. },
  6918. "percentage": false,
  6919. "pluginVersion": "8.1.3",
  6920. "pointradius": 2,
  6921. "points": false,
  6922. "renderer": "flot",
  6923. "seriesOverrides": [
  6924. ],
  6925. "spaceLength": 10,
  6926. "stack": true,
  6927. "steppedLine": false,
  6928. "targets": [
  6929. {
  6930. "expr": "sum by (status_code) (irate(grafana_http_request_duration_seconds_count{job=~\"$job\", instance=~\"$instance\"}[1m])) ",
  6931. "interval": "",
  6932. "legendFormat": "{{status_code}}",
  6933. "refId": "A"
  6934. }
  6935. ],
  6936. "thresholds": [
  6937. ],
  6938. "timeFrom": null,
  6939. "timeRegions": [
  6940. ],
  6941. "timeShift": null,
  6942. "title": "RPS",
  6943. "tooltip": {
  6944. "shared": true,
  6945. "sort": 0,
  6946. "value_type": "individual"
  6947. },
  6948. "type": "graph",
  6949. "xaxis": {
  6950. "buckets": null,
  6951. "mode": "time",
  6952. "name": null,
  6953. "show": true,
  6954. "values": [
  6955. ]
  6956. },
  6957. "yaxes": [
  6958. {
  6959. "$$hashKey": "object:157",
  6960. "format": "reqps",
  6961. "label": null,
  6962. "logBase": 1,
  6963. "max": null,
  6964. "min": null,
  6965. "show": true
  6966. },
  6967. {
  6968. "$$hashKey": "object:158",
  6969. "format": "short",
  6970. "label": null,
  6971. "logBase": 1,
  6972. "max": null,
  6973. "min": null,
  6974. "show": false
  6975. }
  6976. ],
  6977. "yaxis": {
  6978. "align": false,
  6979. "alignLevel": null
  6980. }
  6981. },
  6982. {
  6983. "aliasColors": {
  6984. },
  6985. "bars": false,
  6986. "dashLength": 10,
  6987. "dashes": false,
  6988. "datasource": "$datasource",
  6989. "fieldConfig": {
  6990. "defaults": {
  6991. "links": [
  6992. ]
  6993. },
  6994. "overrides": [
  6995. ]
  6996. },
  6997. "fill": 1,
  6998. "fillGradient": 0,
  6999. "gridPos": {
  7000. "h": 8,
  7001. "w": 12,
  7002. "x": 12,
  7003. "y": 5
  7004. },
  7005. "hiddenSeries": false,
  7006. "id": 4,
  7007. "legend": {
  7008. "avg": false,
  7009. "current": false,
  7010. "max": false,
  7011. "min": false,
  7012. "show": true,
  7013. "total": false,
  7014. "values": false
  7015. },
  7016. "lines": true,
  7017. "linewidth": 1,
  7018. "nullPointMode": "null",
  7019. "options": {
  7020. "alertThreshold": true
  7021. },
  7022. "percentage": false,
  7023. "pluginVersion": "8.1.3",
  7024. "pointradius": 2,
  7025. "points": false,
  7026. "renderer": "flot",
  7027. "seriesOverrides": [
  7028. ],
  7029. "spaceLength": 10,
  7030. "stack": false,
  7031. "steppedLine": false,
  7032. "targets": [
  7033. {
  7034. "exemplar": true,
  7035. "expr": "histogram_quantile(0.99, sum(irate(grafana_http_request_duration_seconds_bucket{instance=~\"$instance\", job=~\"$job\"}[$__rate_interval])) by (le)) * 1",
  7036. "interval": "",
  7037. "legendFormat": "99th Percentile",
  7038. "refId": "A"
  7039. },
  7040. {
  7041. "exemplar": true,
  7042. "expr": "histogram_quantile(0.50, sum(irate(grafana_http_request_duration_seconds_bucket{instance=~\"$instance\", job=~\"$job\"}[$__rate_interval])) by (le)) * 1",
  7043. "interval": "",
  7044. "legendFormat": "50th Percentile",
  7045. "refId": "B"
  7046. },
  7047. {
  7048. "exemplar": true,
  7049. "expr": "sum(irate(grafana_http_request_duration_seconds_sum{instance=~\"$instance\", job=~\"$job\"}[$__rate_interval])) * 1 / sum(irate(grafana_http_request_duration_seconds_count{instance=~\"$instance\", job=~\"$job\"}[$__rate_interval]))",
  7050. "interval": "",
  7051. "legendFormat": "Average",
  7052. "refId": "C"
  7053. }
  7054. ],
  7055. "thresholds": [
  7056. ],
  7057. "timeFrom": null,
  7058. "timeRegions": [
  7059. ],
  7060. "timeShift": null,
  7061. "title": "Request Latency",
  7062. "tooltip": {
  7063. "shared": true,
  7064. "sort": 0,
  7065. "value_type": "individual"
  7066. },
  7067. "type": "graph",
  7068. "xaxis": {
  7069. "buckets": null,
  7070. "mode": "time",
  7071. "name": null,
  7072. "show": true,
  7073. "values": [
  7074. ]
  7075. },
  7076. "yaxes": [
  7077. {
  7078. "$$hashKey": "object:210",
  7079. "format": "ms",
  7080. "label": null,
  7081. "logBase": 1,
  7082. "max": null,
  7083. "min": null,
  7084. "show": true
  7085. },
  7086. {
  7087. "$$hashKey": "object:211",
  7088. "format": "short",
  7089. "label": null,
  7090. "logBase": 1,
  7091. "max": null,
  7092. "min": null,
  7093. "show": true
  7094. }
  7095. ],
  7096. "yaxis": {
  7097. "align": false,
  7098. "alignLevel": null
  7099. }
  7100. }
  7101. ],
  7102. "schemaVersion": 30,
  7103. "style": "dark",
  7104. "tags": [
  7105. ],
  7106. "templating": {
  7107. "list": [
  7108. {
  7109. "current": {
  7110. "selected": true,
  7111. "text": "dev-cortex",
  7112. "value": "dev-cortex"
  7113. },
  7114. "description": null,
  7115. "error": null,
  7116. "hide": 0,
  7117. "includeAll": false,
  7118. "label": null,
  7119. "multi": false,
  7120. "name": "datasource",
  7121. "options": [
  7122. ],
  7123. "query": "prometheus",
  7124. "queryValue": "",
  7125. "refresh": 1,
  7126. "regex": "",
  7127. "skipUrlSync": false,
  7128. "type": "datasource"
  7129. },
  7130. {
  7131. "allValue": ".*",
  7132. "current": {
  7133. "selected": false,
  7134. "text": [
  7135. "default/grafana"
  7136. ],
  7137. "value": [
  7138. "default/grafana"
  7139. ]
  7140. },
  7141. "datasource": "$datasource",
  7142. "definition": "label_values(grafana_build_info, job)",
  7143. "description": null,
  7144. "error": null,
  7145. "hide": 0,
  7146. "includeAll": true,
  7147. "label": null,
  7148. "multi": true,
  7149. "name": "job",
  7150. "options": [
  7151. ],
  7152. "query": {
  7153. "query": "label_values(grafana_build_info, job)",
  7154. "refId": "Billing Admin-job-Variable-Query"
  7155. },
  7156. "refresh": 1,
  7157. "regex": "",
  7158. "skipUrlSync": false,
  7159. "sort": 0,
  7160. "tagValuesQuery": "",
  7161. "tagsQuery": "",
  7162. "type": "query",
  7163. "useTags": false
  7164. },
  7165. {
  7166. "allValue": ".*",
  7167. "current": {
  7168. "selected": false,
  7169. "text": "All",
  7170. "value": "$__all"
  7171. },
  7172. "datasource": "$datasource",
  7173. "definition": "label_values(grafana_build_info, instance)",
  7174. "description": null,
  7175. "error": null,
  7176. "hide": 0,
  7177. "includeAll": true,
  7178. "label": null,
  7179. "multi": true,
  7180. "name": "instance",
  7181. "options": [
  7182. ],
  7183. "query": {
  7184. "query": "label_values(grafana_build_info, instance)",
  7185. "refId": "Billing Admin-instance-Variable-Query"
  7186. },
  7187. "refresh": 1,
  7188. "regex": "",
  7189. "skipUrlSync": false,
  7190. "sort": 0,
  7191. "tagValuesQuery": "",
  7192. "tagsQuery": "",
  7193. "type": "query",
  7194. "useTags": false
  7195. }
  7196. ]
  7197. },
  7198. "time": {
  7199. "from": "now-6h",
  7200. "to": "now"
  7201. },
  7202. "timepicker": {
  7203. "refresh_intervals": [
  7204. "10s",
  7205. "30s",
  7206. "1m",
  7207. "5m",
  7208. "15m",
  7209. "30m",
  7210. "1h",
  7211. "2h",
  7212. "1d"
  7213. ]
  7214. },
  7215. "timezone": "utc",
  7216. "title": "Grafana Overview",
  7217. "uid": "6be0s85Mk",
  7218. "version": 2
  7219. }
  7220. ---
  7221. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/k8s-coredns.yaml
  7222. apiVersion: v1
  7223. kind: ConfigMap
  7224. metadata:
  7225. namespace: monitoring
  7226. name: prometheus-kube-prometheus-k8s-coredns
  7227. annotations:
  7228. {}
  7229. labels:
  7230. grafana_dashboard: "1"
  7231. app: kube-prometheus-stack-grafana
  7232. app.kubernetes.io/managed-by: Helm
  7233. app.kubernetes.io/instance: prometheus
  7234. app.kubernetes.io/version: "44.3.0"
  7235. app.kubernetes.io/part-of: kube-prometheus-stack
  7236. chart: kube-prometheus-stack-44.3.0
  7237. release: "prometheus"
  7238. heritage: "Helm"
  7239. data:
  7240. k8s-coredns.json: |-
  7241. {
  7242. "annotations": {
  7243. "list": [
  7244. {
  7245. "builtIn": 1,
  7246. "datasource": "-- Grafana --",
  7247. "enable": true,
  7248. "hide": true,
  7249. "iconColor": "rgba(0, 211, 255, 1)",
  7250. "name": "Annotations & Alerts",
  7251. "type": "dashboard"
  7252. }
  7253. ]
  7254. },
  7255. "description": "A dashboard for the CoreDNS DNS server with updated metrics for version 1.7.0+. Based on the CoreDNS dashboard by buhay.",
  7256. "editable": true,
  7257. "gnetId": 12539,
  7258. "graphTooltip": 0,
  7259. "iteration": 1603798405693,
  7260. "links": [
  7261. {
  7262. "icon": "external link",
  7263. "tags": [],
  7264. "targetBlank": true,
  7265. "title": "CoreDNS.io",
  7266. "type": "link",
  7267. "url": "https://coredns.io"
  7268. }
  7269. ],
  7270. "panels": [
  7271. {
  7272. "aliasColors": {},
  7273. "bars": false,
  7274. "dashLength": 10,
  7275. "dashes": false,
  7276. "datasource": "$datasource",
  7277. "editable": true,
  7278. "error": false,
  7279. "fieldConfig": {
  7280. "defaults": {
  7281. "custom": {},
  7282. "links": [],
  7283. "mappings": [],
  7284. "thresholds": {
  7285. "mode": "absolute",
  7286. "steps": [
  7287. {
  7288. "color": "green",
  7289. "value": null
  7290. },
  7291. {
  7292. "color": "red",
  7293. "value": 80
  7294. }
  7295. ]
  7296. }
  7297. },
  7298. "overrides": []
  7299. },
  7300. "fill": 1,
  7301. "fillGradient": 0,
  7302. "grid": {},
  7303. "gridPos": {
  7304. "h": 7,
  7305. "w": 8,
  7306. "x": 0,
  7307. "y": 0
  7308. },
  7309. "hiddenSeries": false,
  7310. "id": 2,
  7311. "legend": {
  7312. "avg": false,
  7313. "current": false,
  7314. "max": false,
  7315. "min": false,
  7316. "show": true,
  7317. "total": false,
  7318. "values": false
  7319. },
  7320. "lines": true,
  7321. "linewidth": 2,
  7322. "links": [],
  7323. "nullPointMode": "connected",
  7324. "options": {
  7325. "alertThreshold": true
  7326. },
  7327. "percentage": false,
  7328. "pluginVersion": "7.2.0",
  7329. "pointradius": 5,
  7330. "points": false,
  7331. "renderer": "flot",
  7332. "seriesOverrides": [
  7333. {
  7334. "alias": "total",
  7335. "yaxis": 2
  7336. }
  7337. ],
  7338. "spaceLength": 10,
  7339. "stack": true,
  7340. "steppedLine": false,
  7341. "targets": [
  7342. {
  7343. "expr": "sum(rate(coredns_dns_request_count_total{job=\"coredns\",instance=~\"$instance\"}[5m])) by (proto) or\nsum(rate(coredns_dns_requests_total{job=\"coredns\",instance=~\"$instance\"}[5m])) by (proto)",
  7344. "format": "time_series",
  7345. "interval": "",
  7346. "intervalFactor": 2,
  7347. "legendFormat": "{{proto}}",
  7348. "refId": "A",
  7349. "step": 60
  7350. }
  7351. ],
  7352. "thresholds": [],
  7353. "timeFrom": null,
  7354. "timeRegions": [],
  7355. "timeShift": null,
  7356. "title": "Requests (total)",
  7357. "tooltip": {
  7358. "shared": true,
  7359. "sort": 2,
  7360. "value_type": "individual"
  7361. },
  7362. "type": "graph",
  7363. "xaxis": {
  7364. "buckets": null,
  7365. "mode": "time",
  7366. "name": null,
  7367. "show": true,
  7368. "values": []
  7369. },
  7370. "yaxes": [
  7371. {
  7372. "format": "pps",
  7373. "logBase": 1,
  7374. "max": null,
  7375. "min": 0,
  7376. "show": true
  7377. },
  7378. {
  7379. "format": "pps",
  7380. "logBase": 1,
  7381. "max": null,
  7382. "min": 0,
  7383. "show": true
  7384. }
  7385. ],
  7386. "yaxis": {
  7387. "align": false,
  7388. "alignLevel": null
  7389. }
  7390. },
  7391. {
  7392. "aliasColors": {},
  7393. "bars": false,
  7394. "dashLength": 10,
  7395. "dashes": false,
  7396. "datasource": "$datasource",
  7397. "editable": true,
  7398. "error": false,
  7399. "fieldConfig": {
  7400. "defaults": {
  7401. "custom": {},
  7402. "links": []
  7403. },
  7404. "overrides": []
  7405. },
  7406. "fill": 1,
  7407. "fillGradient": 0,
  7408. "grid": {},
  7409. "gridPos": {
  7410. "h": 7,
  7411. "w": 8,
  7412. "x": 8,
  7413. "y": 0
  7414. },
  7415. "hiddenSeries": false,
  7416. "id": 4,
  7417. "legend": {
  7418. "avg": false,
  7419. "current": false,
  7420. "max": false,
  7421. "min": false,
  7422. "show": true,
  7423. "total": false,
  7424. "values": false
  7425. },
  7426. "lines": true,
  7427. "linewidth": 2,
  7428. "links": [],
  7429. "nullPointMode": "connected",
  7430. "options": {
  7431. "alertThreshold": true
  7432. },
  7433. "percentage": false,
  7434. "pluginVersion": "7.2.0",
  7435. "pointradius": 5,
  7436. "points": false,
  7437. "renderer": "flot",
  7438. "seriesOverrides": [
  7439. {
  7440. "alias": "total",
  7441. "yaxis": 2
  7442. },
  7443. {
  7444. "alias": "other",
  7445. "yaxis": 2
  7446. }
  7447. ],
  7448. "spaceLength": 10,
  7449. "stack": true,
  7450. "steppedLine": false,
  7451. "targets": [
  7452. {
  7453. "expr": "sum(rate(coredns_dns_request_type_count_total{job=\"coredns\",instance=~\"$instance\"}[5m])) by (type) or \nsum(rate(coredns_dns_requests_total{job=\"coredns\",instance=~\"$instance\"}[5m])) by (type)",
  7454. "interval": "",
  7455. "intervalFactor": 2,
  7456. "legendFormat": "{{type}}",
  7457. "refId": "A",
  7458. "step": 60
  7459. }
  7460. ],
  7461. "thresholds": [],
  7462. "timeFrom": null,
  7463. "timeRegions": [],
  7464. "timeShift": null,
  7465. "title": "Requests (by qtype)",
  7466. "tooltip": {
  7467. "shared": true,
  7468. "sort": 2,
  7469. "value_type": "individual"
  7470. },
  7471. "type": "graph",
  7472. "xaxis": {
  7473. "buckets": null,
  7474. "mode": "time",
  7475. "name": null,
  7476. "show": true,
  7477. "values": []
  7478. },
  7479. "yaxes": [
  7480. {
  7481. "format": "pps",
  7482. "logBase": 1,
  7483. "max": null,
  7484. "min": 0,
  7485. "show": true
  7486. },
  7487. {
  7488. "format": "pps",
  7489. "logBase": 1,
  7490. "max": null,
  7491. "min": 0,
  7492. "show": true
  7493. }
  7494. ],
  7495. "yaxis": {
  7496. "align": false,
  7497. "alignLevel": null
  7498. }
  7499. },
  7500. {
  7501. "aliasColors": {},
  7502. "bars": false,
  7503. "dashLength": 10,
  7504. "dashes": false,
  7505. "datasource": "$datasource",
  7506. "editable": true,
  7507. "error": false,
  7508. "fieldConfig": {
  7509. "defaults": {
  7510. "custom": {},
  7511. "links": []
  7512. },
  7513. "overrides": []
  7514. },
  7515. "fill": 1,
  7516. "fillGradient": 0,
  7517. "grid": {},
  7518. "gridPos": {
  7519. "h": 7,
  7520. "w": 8,
  7521. "x": 16,
  7522. "y": 0
  7523. },
  7524. "hiddenSeries": false,
  7525. "id": 6,
  7526. "legend": {
  7527. "avg": false,
  7528. "current": false,
  7529. "max": false,
  7530. "min": false,
  7531. "show": true,
  7532. "total": false,
  7533. "values": false
  7534. },
  7535. "lines": true,
  7536. "linewidth": 2,
  7537. "links": [],
  7538. "nullPointMode": "connected",
  7539. "options": {
  7540. "alertThreshold": true
  7541. },
  7542. "percentage": false,
  7543. "pluginVersion": "7.2.0",
  7544. "pointradius": 5,
  7545. "points": false,
  7546. "renderer": "flot",
  7547. "seriesOverrides": [
  7548. {
  7549. "alias": "total",
  7550. "yaxis": 2
  7551. }
  7552. ],
  7553. "spaceLength": 10,
  7554. "stack": true,
  7555. "steppedLine": false,
  7556. "targets": [
  7557. {
  7558. "expr": "sum(rate(coredns_dns_request_count_total{job=\"coredns\",instance=~\"$instance\"}[5m])) by (zone) or\nsum(rate(coredns_dns_requests_total{job=\"coredns\",instance=~\"$instance\"}[5m])) by (zone)",
  7559. "interval": "",
  7560. "intervalFactor": 2,
  7561. "legendFormat": "{{zone}}",
  7562. "refId": "A",
  7563. "step": 60
  7564. }
  7565. ],
  7566. "thresholds": [],
  7567. "timeFrom": null,
  7568. "timeRegions": [],
  7569. "timeShift": null,
  7570. "title": "Requests (by zone)",
  7571. "tooltip": {
  7572. "shared": true,
  7573. "sort": 2,
  7574. "value_type": "individual"
  7575. },
  7576. "type": "graph",
  7577. "xaxis": {
  7578. "buckets": null,
  7579. "mode": "time",
  7580. "name": null,
  7581. "show": true,
  7582. "values": []
  7583. },
  7584. "yaxes": [
  7585. {
  7586. "format": "pps",
  7587. "logBase": 1,
  7588. "max": null,
  7589. "min": 0,
  7590. "show": true
  7591. },
  7592. {
  7593. "format": "pps",
  7594. "logBase": 1,
  7595. "max": null,
  7596. "min": 0,
  7597. "show": true
  7598. }
  7599. ],
  7600. "yaxis": {
  7601. "align": false,
  7602. "alignLevel": null
  7603. }
  7604. },
  7605. {
  7606. "aliasColors": {},
  7607. "bars": false,
  7608. "dashLength": 10,
  7609. "dashes": false,
  7610. "datasource": "$datasource",
  7611. "editable": true,
  7612. "error": false,
  7613. "fieldConfig": {
  7614. "defaults": {
  7615. "custom": {},
  7616. "links": []
  7617. },
  7618. "overrides": []
  7619. },
  7620. "fill": 1,
  7621. "fillGradient": 0,
  7622. "grid": {},
  7623. "gridPos": {
  7624. "h": 7,
  7625. "w": 12,
  7626. "x": 0,
  7627. "y": 7
  7628. },
  7629. "hiddenSeries": false,
  7630. "id": 8,
  7631. "legend": {
  7632. "avg": false,
  7633. "current": false,
  7634. "max": false,
  7635. "min": false,
  7636. "show": true,
  7637. "total": false,
  7638. "values": false
  7639. },
  7640. "lines": true,
  7641. "linewidth": 2,
  7642. "links": [],
  7643. "nullPointMode": "connected",
  7644. "options": {
  7645. "alertThreshold": true
  7646. },
  7647. "percentage": false,
  7648. "pluginVersion": "7.2.0",
  7649. "pointradius": 5,
  7650. "points": false,
  7651. "renderer": "flot",
  7652. "seriesOverrides": [
  7653. {
  7654. "alias": "total",
  7655. "yaxis": 2
  7656. }
  7657. ],
  7658. "spaceLength": 10,
  7659. "stack": false,
  7660. "steppedLine": false,
  7661. "targets": [
  7662. {
  7663. "expr": "sum(rate(coredns_dns_request_do_count_total{job=\"coredns\",instance=~\"$instance\"}[5m])) or\nsum(rate(coredns_dns_do_requests_total{job=\"coredns\",instance=~\"$instance\"}[5m]))",
  7664. "interval": "",
  7665. "intervalFactor": 2,
  7666. "legendFormat": "DO",
  7667. "refId": "A",
  7668. "step": 40
  7669. },
  7670. {
  7671. "expr": "sum(rate(coredns_dns_request_count_total{job=\"coredns\",instance=~\"$instance\"}[5m])) or\nsum(rate(coredns_dns_requests_total{job=\"coredns\",instance=~\"$instance\"}[5m]))",
  7672. "interval": "",
  7673. "intervalFactor": 2,
  7674. "legendFormat": "total",
  7675. "refId": "B",
  7676. "step": 40
  7677. }
  7678. ],
  7679. "thresholds": [],
  7680. "timeFrom": null,
  7681. "timeRegions": [],
  7682. "timeShift": null,
  7683. "title": "Requests (DO bit)",
  7684. "tooltip": {
  7685. "shared": true,
  7686. "sort": 2,
  7687. "value_type": "cumulative"
  7688. },
  7689. "type": "graph",
  7690. "xaxis": {
  7691. "buckets": null,
  7692. "mode": "time",
  7693. "name": null,
  7694. "show": true,
  7695. "values": []
  7696. },
  7697. "yaxes": [
  7698. {
  7699. "format": "pps",
  7700. "logBase": 1,
  7701. "max": null,
  7702. "min": 0,
  7703. "show": true
  7704. },
  7705. {
  7706. "format": "pps",
  7707. "logBase": 1,
  7708. "max": null,
  7709. "min": null,
  7710. "show": true
  7711. }
  7712. ],
  7713. "yaxis": {
  7714. "align": false,
  7715. "alignLevel": null
  7716. }
  7717. },
  7718. {
  7719. "aliasColors": {},
  7720. "bars": false,
  7721. "dashLength": 10,
  7722. "dashes": false,
  7723. "datasource": "$datasource",
  7724. "editable": true,
  7725. "error": false,
  7726. "fieldConfig": {
  7727. "defaults": {
  7728. "custom": {},
  7729. "links": []
  7730. },
  7731. "overrides": []
  7732. },
  7733. "fill": 1,
  7734. "fillGradient": 0,
  7735. "grid": {},
  7736. "gridPos": {
  7737. "h": 7,
  7738. "w": 6,
  7739. "x": 12,
  7740. "y": 7
  7741. },
  7742. "hiddenSeries": false,
  7743. "id": 10,
  7744. "legend": {
  7745. "avg": false,
  7746. "current": false,
  7747. "max": false,
  7748. "min": false,
  7749. "show": true,
  7750. "total": false,
  7751. "values": false
  7752. },
  7753. "lines": true,
  7754. "linewidth": 2,
  7755. "links": [],
  7756. "nullPointMode": "connected",
  7757. "options": {
  7758. "alertThreshold": true
  7759. },
  7760. "percentage": false,
  7761. "pluginVersion": "7.2.0",
  7762. "pointradius": 5,
  7763. "points": false,
  7764. "renderer": "flot",
  7765. "seriesOverrides": [
  7766. {
  7767. "alias": "tcp:90",
  7768. "yaxis": 2
  7769. },
  7770. {
  7771. "alias": "tcp:99 ",
  7772. "yaxis": 2
  7773. },
  7774. {
  7775. "alias": "tcp:50",
  7776. "yaxis": 2
  7777. }
  7778. ],
  7779. "spaceLength": 10,
  7780. "stack": false,
  7781. "steppedLine": false,
  7782. "targets": [
  7783. {
  7784. "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_request_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto))",
  7785. "interval": "",
  7786. "intervalFactor": 2,
  7787. "legendFormat": "{{proto}}:99 ",
  7788. "refId": "A",
  7789. "step": 60
  7790. },
  7791. {
  7792. "expr": "histogram_quantile(0.90, sum(rate(coredns_dns_request_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto))",
  7793. "intervalFactor": 2,
  7794. "legendFormat": "{{proto}}:90",
  7795. "refId": "B",
  7796. "step": 60
  7797. },
  7798. {
  7799. "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_request_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto))",
  7800. "intervalFactor": 2,
  7801. "legendFormat": "{{proto}}:50",
  7802. "refId": "C",
  7803. "step": 60
  7804. }
  7805. ],
  7806. "thresholds": [],
  7807. "timeFrom": null,
  7808. "timeRegions": [],
  7809. "timeShift": null,
  7810. "title": "Requests (size, udp)",
  7811. "tooltip": {
  7812. "shared": true,
  7813. "sort": 0,
  7814. "value_type": "cumulative"
  7815. },
  7816. "type": "graph",
  7817. "xaxis": {
  7818. "buckets": null,
  7819. "mode": "time",
  7820. "name": null,
  7821. "show": true,
  7822. "values": []
  7823. },
  7824. "yaxes": [
  7825. {
  7826. "format": "bytes",
  7827. "logBase": 1,
  7828. "max": null,
  7829. "min": 0,
  7830. "show": true
  7831. },
  7832. {
  7833. "format": "short",
  7834. "logBase": 1,
  7835. "max": null,
  7836. "min": 0,
  7837. "show": true
  7838. }
  7839. ],
  7840. "yaxis": {
  7841. "align": false,
  7842. "alignLevel": null
  7843. }
  7844. },
  7845. {
  7846. "aliasColors": {},
  7847. "bars": false,
  7848. "dashLength": 10,
  7849. "dashes": false,
  7850. "datasource": "$datasource",
  7851. "editable": true,
  7852. "error": false,
  7853. "fieldConfig": {
  7854. "defaults": {
  7855. "custom": {},
  7856. "links": []
  7857. },
  7858. "overrides": []
  7859. },
  7860. "fill": 1,
  7861. "fillGradient": 0,
  7862. "grid": {},
  7863. "gridPos": {
  7864. "h": 7,
  7865. "w": 6,
  7866. "x": 18,
  7867. "y": 7
  7868. },
  7869. "hiddenSeries": false,
  7870. "id": 12,
  7871. "legend": {
  7872. "avg": false,
  7873. "current": false,
  7874. "max": false,
  7875. "min": false,
  7876. "show": true,
  7877. "total": false,
  7878. "values": false
  7879. },
  7880. "lines": true,
  7881. "linewidth": 2,
  7882. "links": [],
  7883. "nullPointMode": "connected",
  7884. "options": {
  7885. "alertThreshold": true
  7886. },
  7887. "percentage": false,
  7888. "pluginVersion": "7.2.0",
  7889. "pointradius": 5,
  7890. "points": false,
  7891. "renderer": "flot",
  7892. "seriesOverrides": [
  7893. {
  7894. "alias": "tcp:90",
  7895. "yaxis": 1
  7896. },
  7897. {
  7898. "alias": "tcp:99 ",
  7899. "yaxis": 1
  7900. },
  7901. {
  7902. "alias": "tcp:50",
  7903. "yaxis": 1
  7904. }
  7905. ],
  7906. "spaceLength": 10,
  7907. "stack": false,
  7908. "steppedLine": false,
  7909. "targets": [
  7910. {
  7911. "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_request_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le,proto))",
  7912. "format": "time_series",
  7913. "interval": "",
  7914. "intervalFactor": 2,
  7915. "legendFormat": "{{proto}}:99 ",
  7916. "refId": "A",
  7917. "step": 60
  7918. },
  7919. {
  7920. "expr": "histogram_quantile(0.90, sum(rate(coredns_dns_request_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le,proto))",
  7921. "format": "time_series",
  7922. "interval": "",
  7923. "intervalFactor": 2,
  7924. "legendFormat": "{{proto}}:90",
  7925. "refId": "B",
  7926. "step": 60
  7927. },
  7928. {
  7929. "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_request_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le,proto))",
  7930. "format": "time_series",
  7931. "interval": "",
  7932. "intervalFactor": 2,
  7933. "legendFormat": "{{proto}}:50",
  7934. "refId": "C",
  7935. "step": 60
  7936. }
  7937. ],
  7938. "thresholds": [],
  7939. "timeFrom": null,
  7940. "timeRegions": [],
  7941. "timeShift": null,
  7942. "title": "Requests (size,tcp)",
  7943. "tooltip": {
  7944. "shared": true,
  7945. "sort": 0,
  7946. "value_type": "cumulative"
  7947. },
  7948. "type": "graph",
  7949. "xaxis": {
  7950. "buckets": null,
  7951. "mode": "time",
  7952. "name": null,
  7953. "show": true,
  7954. "values": []
  7955. },
  7956. "yaxes": [
  7957. {
  7958. "format": "bytes",
  7959. "logBase": 1,
  7960. "max": null,
  7961. "min": 0,
  7962. "show": true
  7963. },
  7964. {
  7965. "format": "short",
  7966. "logBase": 1,
  7967. "max": null,
  7968. "min": 0,
  7969. "show": true
  7970. }
  7971. ],
  7972. "yaxis": {
  7973. "align": false,
  7974. "alignLevel": null
  7975. }
  7976. },
  7977. {
  7978. "aliasColors": {},
  7979. "bars": false,
  7980. "dashLength": 10,
  7981. "dashes": false,
  7982. "datasource": "$datasource",
  7983. "editable": true,
  7984. "error": false,
  7985. "fieldConfig": {
  7986. "defaults": {
  7987. "custom": {},
  7988. "links": []
  7989. },
  7990. "overrides": []
  7991. },
  7992. "fill": 1,
  7993. "fillGradient": 0,
  7994. "grid": {},
  7995. "gridPos": {
  7996. "h": 7,
  7997. "w": 12,
  7998. "x": 0,
  7999. "y": 14
  8000. },
  8001. "hiddenSeries": false,
  8002. "id": 14,
  8003. "legend": {
  8004. "avg": false,
  8005. "current": false,
  8006. "max": false,
  8007. "min": false,
  8008. "show": true,
  8009. "total": false,
  8010. "values": false
  8011. },
  8012. "lines": true,
  8013. "linewidth": 2,
  8014. "links": [],
  8015. "nullPointMode": "connected",
  8016. "options": {
  8017. "alertThreshold": true
  8018. },
  8019. "percentage": false,
  8020. "pluginVersion": "7.2.0",
  8021. "pointradius": 5,
  8022. "points": false,
  8023. "renderer": "flot",
  8024. "seriesOverrides": [],
  8025. "spaceLength": 10,
  8026. "stack": true,
  8027. "steppedLine": false,
  8028. "targets": [
  8029. {
  8030. "expr": "sum(rate(coredns_dns_response_rcode_count_total{job=\"coredns\",instance=~\"$instance\"}[5m])) by (rcode) or\nsum(rate(coredns_dns_responses_total{job=\"coredns\",instance=~\"$instance\"}[5m])) by (rcode)",
  8031. "interval": "",
  8032. "intervalFactor": 2,
  8033. "legendFormat": "{{rcode}}",
  8034. "refId": "A",
  8035. "step": 40
  8036. }
  8037. ],
  8038. "thresholds": [],
  8039. "timeFrom": null,
  8040. "timeRegions": [],
  8041. "timeShift": null,
  8042. "title": "Responses (by rcode)",
  8043. "tooltip": {
  8044. "shared": true,
  8045. "sort": 2,
  8046. "value_type": "individual"
  8047. },
  8048. "type": "graph",
  8049. "xaxis": {
  8050. "buckets": null,
  8051. "mode": "time",
  8052. "name": null,
  8053. "show": true,
  8054. "values": []
  8055. },
  8056. "yaxes": [
  8057. {
  8058. "format": "pps",
  8059. "logBase": 1,
  8060. "max": null,
  8061. "min": 0,
  8062. "show": true
  8063. },
  8064. {
  8065. "format": "short",
  8066. "logBase": 1,
  8067. "max": null,
  8068. "min": null,
  8069. "show": true
  8070. }
  8071. ],
  8072. "yaxis": {
  8073. "align": false,
  8074. "alignLevel": null
  8075. }
  8076. },
  8077. {
  8078. "aliasColors": {},
  8079. "bars": false,
  8080. "dashLength": 10,
  8081. "dashes": false,
  8082. "datasource": "$datasource",
  8083. "editable": true,
  8084. "error": false,
  8085. "fieldConfig": {
  8086. "defaults": {
  8087. "custom": {},
  8088. "links": []
  8089. },
  8090. "overrides": []
  8091. },
  8092. "fill": 1,
  8093. "fillGradient": 0,
  8094. "grid": {},
  8095. "gridPos": {
  8096. "h": 7,
  8097. "w": 12,
  8098. "x": 12,
  8099. "y": 14
  8100. },
  8101. "hiddenSeries": false,
  8102. "id": 32,
  8103. "legend": {
  8104. "avg": false,
  8105. "current": false,
  8106. "max": false,
  8107. "min": false,
  8108. "show": true,
  8109. "total": false,
  8110. "values": false
  8111. },
  8112. "lines": true,
  8113. "linewidth": 2,
  8114. "links": [],
  8115. "nullPointMode": "connected",
  8116. "options": {
  8117. "alertThreshold": true
  8118. },
  8119. "percentage": false,
  8120. "pluginVersion": "7.2.0",
  8121. "pointradius": 5,
  8122. "points": false,
  8123. "renderer": "flot",
  8124. "seriesOverrides": [],
  8125. "spaceLength": 10,
  8126. "stack": false,
  8127. "steppedLine": false,
  8128. "targets": [
  8129. {
  8130. "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_request_duration_seconds_bucket{job=\"coredns\",instance=~\"$instance\"}[5m])) by (le, job))",
  8131. "format": "time_series",
  8132. "intervalFactor": 2,
  8133. "legendFormat": "99%",
  8134. "refId": "A",
  8135. "step": 40
  8136. },
  8137. {
  8138. "expr": "histogram_quantile(0.90, sum(rate(coredns_dns_request_duration_seconds_bucket{job=\"coredns\",instance=~\"$instance\"}[5m])) by (le))",
  8139. "format": "time_series",
  8140. "intervalFactor": 2,
  8141. "legendFormat": "90%",
  8142. "refId": "B",
  8143. "step": 40
  8144. },
  8145. {
  8146. "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_request_duration_seconds_bucket{job=\"coredns\",instance=~\"$instance\"}[5m])) by (le))",
  8147. "format": "time_series",
  8148. "intervalFactor": 2,
  8149. "legendFormat": "50%",
  8150. "refId": "C",
  8151. "step": 40
  8152. }
  8153. ],
  8154. "thresholds": [],
  8155. "timeFrom": null,
  8156. "timeRegions": [],
  8157. "timeShift": null,
  8158. "title": "Responses (duration)",
  8159. "tooltip": {
  8160. "shared": true,
  8161. "sort": 0,
  8162. "value_type": "cumulative"
  8163. },
  8164. "type": "graph",
  8165. "xaxis": {
  8166. "buckets": null,
  8167. "mode": "time",
  8168. "name": null,
  8169. "show": true,
  8170. "values": []
  8171. },
  8172. "yaxes": [
  8173. {
  8174. "format": "s",
  8175. "logBase": 1,
  8176. "max": null,
  8177. "min": 0,
  8178. "show": true
  8179. },
  8180. {
  8181. "format": "short",
  8182. "logBase": 1,
  8183. "max": null,
  8184. "min": null,
  8185. "show": true
  8186. }
  8187. ],
  8188. "yaxis": {
  8189. "align": false,
  8190. "alignLevel": null
  8191. }
  8192. },
  8193. {
  8194. "aliasColors": {},
  8195. "bars": false,
  8196. "dashLength": 10,
  8197. "dashes": false,
  8198. "datasource": "$datasource",
  8199. "editable": true,
  8200. "error": false,
  8201. "fieldConfig": {
  8202. "defaults": {
  8203. "custom": {},
  8204. "links": []
  8205. },
  8206. "overrides": []
  8207. },
  8208. "fill": 1,
  8209. "fillGradient": 0,
  8210. "grid": {},
  8211. "gridPos": {
  8212. "h": 7,
  8213. "w": 12,
  8214. "x": 0,
  8215. "y": 21
  8216. },
  8217. "hiddenSeries": false,
  8218. "id": 18,
  8219. "legend": {
  8220. "avg": false,
  8221. "current": false,
  8222. "max": false,
  8223. "min": false,
  8224. "show": true,
  8225. "total": false,
  8226. "values": false
  8227. },
  8228. "lines": true,
  8229. "linewidth": 2,
  8230. "links": [],
  8231. "nullPointMode": "connected",
  8232. "options": {
  8233. "alertThreshold": true
  8234. },
  8235. "percentage": false,
  8236. "pluginVersion": "7.2.0",
  8237. "pointradius": 5,
  8238. "points": false,
  8239. "renderer": "flot",
  8240. "seriesOverrides": [
  8241. {
  8242. "alias": "udp:50%",
  8243. "yaxis": 1
  8244. },
  8245. {
  8246. "alias": "tcp:50%",
  8247. "yaxis": 2
  8248. },
  8249. {
  8250. "alias": "tcp:90%",
  8251. "yaxis": 2
  8252. },
  8253. {
  8254. "alias": "tcp:99%",
  8255. "yaxis": 2
  8256. }
  8257. ],
  8258. "spaceLength": 10,
  8259. "stack": false,
  8260. "steppedLine": false,
  8261. "targets": [
  8262. {
  8263. "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_response_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto)) ",
  8264. "interval": "",
  8265. "intervalFactor": 2,
  8266. "legendFormat": "{{proto}}:99%",
  8267. "refId": "A",
  8268. "step": 40
  8269. },
  8270. {
  8271. "expr": "histogram_quantile(0.90, sum(rate(coredns_dns_response_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto)) ",
  8272. "interval": "",
  8273. "intervalFactor": 2,
  8274. "legendFormat": "{{proto}}:90%",
  8275. "refId": "B",
  8276. "step": 40
  8277. },
  8278. {
  8279. "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_response_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto)) ",
  8280. "hide": false,
  8281. "intervalFactor": 2,
  8282. "legendFormat": "{{proto}}:50%",
  8283. "metric": "",
  8284. "refId": "C",
  8285. "step": 40
  8286. }
  8287. ],
  8288. "thresholds": [],
  8289. "timeFrom": null,
  8290. "timeRegions": [],
  8291. "timeShift": null,
  8292. "title": "Responses (size, udp)",
  8293. "tooltip": {
  8294. "shared": true,
  8295. "sort": 0,
  8296. "value_type": "cumulative"
  8297. },
  8298. "type": "graph",
  8299. "xaxis": {
  8300. "buckets": null,
  8301. "mode": "time",
  8302. "name": null,
  8303. "show": true,
  8304. "values": []
  8305. },
  8306. "yaxes": [
  8307. {
  8308. "format": "bytes",
  8309. "logBase": 1,
  8310. "max": null,
  8311. "min": 0,
  8312. "show": true
  8313. },
  8314. {
  8315. "format": "short",
  8316. "logBase": 1,
  8317. "max": null,
  8318. "min": 0,
  8319. "show": true
  8320. }
  8321. ],
  8322. "yaxis": {
  8323. "align": false,
  8324. "alignLevel": null
  8325. }
  8326. },
  8327. {
  8328. "aliasColors": {},
  8329. "bars": false,
  8330. "dashLength": 10,
  8331. "dashes": false,
  8332. "datasource": "$datasource",
  8333. "editable": true,
  8334. "error": false,
  8335. "fieldConfig": {
  8336. "defaults": {
  8337. "custom": {},
  8338. "links": []
  8339. },
  8340. "overrides": []
  8341. },
  8342. "fill": 1,
  8343. "fillGradient": 0,
  8344. "grid": {},
  8345. "gridPos": {
  8346. "h": 7,
  8347. "w": 12,
  8348. "x": 12,
  8349. "y": 21
  8350. },
  8351. "hiddenSeries": false,
  8352. "id": 20,
  8353. "legend": {
  8354. "avg": false,
  8355. "current": false,
  8356. "max": false,
  8357. "min": false,
  8358. "show": true,
  8359. "total": false,
  8360. "values": false
  8361. },
  8362. "lines": true,
  8363. "linewidth": 2,
  8364. "links": [],
  8365. "nullPointMode": "connected",
  8366. "options": {
  8367. "alertThreshold": true
  8368. },
  8369. "percentage": false,
  8370. "pluginVersion": "7.2.0",
  8371. "pointradius": 5,
  8372. "points": false,
  8373. "renderer": "flot",
  8374. "seriesOverrides": [
  8375. {
  8376. "alias": "udp:50%",
  8377. "yaxis": 1
  8378. },
  8379. {
  8380. "alias": "tcp:50%",
  8381. "yaxis": 1
  8382. },
  8383. {
  8384. "alias": "tcp:90%",
  8385. "yaxis": 1
  8386. },
  8387. {
  8388. "alias": "tcp:99%",
  8389. "yaxis": 1
  8390. }
  8391. ],
  8392. "spaceLength": 10,
  8393. "stack": false,
  8394. "steppedLine": false,
  8395. "targets": [
  8396. {
  8397. "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_response_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le,proto)) ",
  8398. "format": "time_series",
  8399. "intervalFactor": 2,
  8400. "legendFormat": "{{proto}}:99%",
  8401. "refId": "A",
  8402. "step": 40
  8403. },
  8404. {
  8405. "expr": "histogram_quantile(0.90, sum(rate(coredns_dns_response_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le,proto)) ",
  8406. "format": "time_series",
  8407. "intervalFactor": 2,
  8408. "legendFormat": "{{proto}}:90%",
  8409. "refId": "B",
  8410. "step": 40
  8411. },
  8412. {
  8413. "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_response_size_bytes_bucket{job=\"coredns\",instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le, proto)) ",
  8414. "format": "time_series",
  8415. "intervalFactor": 2,
  8416. "legendFormat": "{{proto}}:50%",
  8417. "metric": "",
  8418. "refId": "C",
  8419. "step": 40
  8420. }
  8421. ],
  8422. "thresholds": [],
  8423. "timeFrom": null,
  8424. "timeRegions": [],
  8425. "timeShift": null,
  8426. "title": "Responses (size, tcp)",
  8427. "tooltip": {
  8428. "shared": true,
  8429. "sort": 0,
  8430. "value_type": "cumulative"
  8431. },
  8432. "type": "graph",
  8433. "xaxis": {
  8434. "buckets": null,
  8435. "mode": "time",
  8436. "name": null,
  8437. "show": true,
  8438. "values": []
  8439. },
  8440. "yaxes": [
  8441. {
  8442. "format": "bytes",
  8443. "logBase": 1,
  8444. "max": null,
  8445. "min": 0,
  8446. "show": true
  8447. },
  8448. {
  8449. "format": "short",
  8450. "logBase": 1,
  8451. "max": null,
  8452. "min": 0,
  8453. "show": true
  8454. }
  8455. ],
  8456. "yaxis": {
  8457. "align": false,
  8458. "alignLevel": null
  8459. }
  8460. },
  8461. {
  8462. "aliasColors": {},
  8463. "bars": false,
  8464. "dashLength": 10,
  8465. "dashes": false,
  8466. "datasource": "$datasource",
  8467. "editable": true,
  8468. "error": false,
  8469. "fieldConfig": {
  8470. "defaults": {
  8471. "custom": {},
  8472. "links": []
  8473. },
  8474. "overrides": []
  8475. },
  8476. "fill": 1,
  8477. "fillGradient": 0,
  8478. "grid": {},
  8479. "gridPos": {
  8480. "h": 7,
  8481. "w": 12,
  8482. "x": 0,
  8483. "y": 28
  8484. },
  8485. "hiddenSeries": false,
  8486. "id": 22,
  8487. "legend": {
  8488. "avg": false,
  8489. "current": false,
  8490. "max": false,
  8491. "min": false,
  8492. "show": true,
  8493. "total": false,
  8494. "values": false
  8495. },
  8496. "lines": true,
  8497. "linewidth": 2,
  8498. "links": [],
  8499. "nullPointMode": "connected",
  8500. "options": {
  8501. "alertThreshold": true
  8502. },
  8503. "percentage": false,
  8504. "pluginVersion": "7.2.0",
  8505. "pointradius": 5,
  8506. "points": false,
  8507. "renderer": "flot",
  8508. "seriesOverrides": [],
  8509. "spaceLength": 10,
  8510. "stack": true,
  8511. "steppedLine": false,
  8512. "targets": [
  8513. {
  8514. "expr": "sum(coredns_cache_size{job=\"coredns\",instance=~\"$instance\"}) by (type) or\nsum(coredns_cache_entries{job=\"coredns\",instance=~\"$instance\"}) by (type)",
  8515. "interval": "",
  8516. "intervalFactor": 2,
  8517. "legendFormat": "{{type}}",
  8518. "refId": "A",
  8519. "step": 40
  8520. }
  8521. ],
  8522. "thresholds": [],
  8523. "timeFrom": null,
  8524. "timeRegions": [],
  8525. "timeShift": null,
  8526. "title": "Cache (size)",
  8527. "tooltip": {
  8528. "shared": true,
  8529. "sort": 2,
  8530. "value_type": "cumulative"
  8531. },
  8532. "type": "graph",
  8533. "xaxis": {
  8534. "buckets": null,
  8535. "mode": "time",
  8536. "name": null,
  8537. "show": true,
  8538. "values": []
  8539. },
  8540. "yaxes": [
  8541. {
  8542. "format": "decbytes",
  8543. "logBase": 1,
  8544. "max": null,
  8545. "min": 0,
  8546. "show": true
  8547. },
  8548. {
  8549. "format": "short",
  8550. "logBase": 1,
  8551. "max": null,
  8552. "min": 0,
  8553. "show": true
  8554. }
  8555. ],
  8556. "yaxis": {
  8557. "align": false,
  8558. "alignLevel": null
  8559. }
  8560. },
  8561. {
  8562. "aliasColors": {},
  8563. "bars": false,
  8564. "dashLength": 10,
  8565. "dashes": false,
  8566. "datasource": "$datasource",
  8567. "editable": true,
  8568. "error": false,
  8569. "fieldConfig": {
  8570. "defaults": {
  8571. "custom": {},
  8572. "links": []
  8573. },
  8574. "overrides": []
  8575. },
  8576. "fill": 1,
  8577. "fillGradient": 0,
  8578. "grid": {},
  8579. "gridPos": {
  8580. "h": 7,
  8581. "w": 12,
  8582. "x": 12,
  8583. "y": 28
  8584. },
  8585. "hiddenSeries": false,
  8586. "id": 24,
  8587. "legend": {
  8588. "avg": false,
  8589. "current": false,
  8590. "max": false,
  8591. "min": false,
  8592. "show": true,
  8593. "total": false,
  8594. "values": false
  8595. },
  8596. "lines": true,
  8597. "linewidth": 2,
  8598. "links": [],
  8599. "nullPointMode": "connected",
  8600. "options": {
  8601. "alertThreshold": true
  8602. },
  8603. "percentage": false,
  8604. "pluginVersion": "7.2.0",
  8605. "pointradius": 5,
  8606. "points": false,
  8607. "renderer": "flot",
  8608. "seriesOverrides": [
  8609. {
  8610. "alias": "misses",
  8611. "yaxis": 2
  8612. }
  8613. ],
  8614. "spaceLength": 10,
  8615. "stack": true,
  8616. "steppedLine": false,
  8617. "targets": [
  8618. {
  8619. "expr": "sum(rate(coredns_cache_hits_total{job=\"coredns\",instance=~\"$instance\"}[5m])) by (type)",
  8620. "hide": false,
  8621. "intervalFactor": 2,
  8622. "legendFormat": "hits:{{type}}",
  8623. "refId": "A",
  8624. "step": 40
  8625. },
  8626. {
  8627. "expr": "sum(rate(coredns_cache_misses_total{job=\"coredns\",instance=~\"$instance\"}[5m])) by (type)",
  8628. "hide": false,
  8629. "intervalFactor": 2,
  8630. "legendFormat": "misses",
  8631. "refId": "B",
  8632. "step": 40
  8633. }
  8634. ],
  8635. "thresholds": [],
  8636. "timeFrom": null,
  8637. "timeRegions": [],
  8638. "timeShift": null,
  8639. "title": "Cache (hitrate)",
  8640. "tooltip": {
  8641. "shared": true,
  8642. "sort": 2,
  8643. "value_type": "individual"
  8644. },
  8645. "type": "graph",
  8646. "xaxis": {
  8647. "buckets": null,
  8648. "mode": "time",
  8649. "name": null,
  8650. "show": true,
  8651. "values": []
  8652. },
  8653. "yaxes": [
  8654. {
  8655. "format": "pps",
  8656. "logBase": 1,
  8657. "max": null,
  8658. "min": 0,
  8659. "show": true
  8660. },
  8661. {
  8662. "format": "pps",
  8663. "logBase": 1,
  8664. "max": null,
  8665. "min": 0,
  8666. "show": true
  8667. }
  8668. ],
  8669. "yaxis": {
  8670. "align": false,
  8671. "alignLevel": null
  8672. }
  8673. }
  8674. ],
  8675. "refresh": "10s",
  8676. "schemaVersion": 26,
  8677. "style": "dark",
  8678. "tags": [
  8679. "dns",
  8680. "coredns"
  8681. ],
  8682. "templating": {
  8683. "list": [
  8684. {
  8685. "current": {
  8686. "selected": true,
  8687. "text": "default",
  8688. "value": "default"
  8689. },
  8690. "hide": 0,
  8691. "includeAll": false,
  8692. "label": null,
  8693. "multi": false,
  8694. "name": "datasource",
  8695. "options": [],
  8696. "query": "prometheus",
  8697. "queryValue": "",
  8698. "refresh": 1,
  8699. "regex": "",
  8700. "skipUrlSync": false,
  8701. "type": "datasource"
  8702. },
  8703. {
  8704. "allValue": ".*",
  8705. "current": {
  8706. "selected": true,
  8707. "text": "All",
  8708. "value": "$__all"
  8709. },
  8710. "datasource": "$datasource",
  8711. "definition": "label_values(up{job=\"coredns\"}, instance)",
  8712. "hide": 0,
  8713. "includeAll": true,
  8714. "label": "Instance",
  8715. "multi": false,
  8716. "name": "instance",
  8717. "options": [],
  8718. "query": "label_values(up{job=\"coredns\"}, instance)",
  8719. "refresh": 1,
  8720. "regex": "",
  8721. "skipUrlSync": false,
  8722. "sort": 3,
  8723. "tagValuesQuery": "",
  8724. "tags": [],
  8725. "tagsQuery": "",
  8726. "type": "query",
  8727. "useTags": false
  8728. }
  8729. ]
  8730. },
  8731. "time": {
  8732. "from": "now-3h",
  8733. "to": "now"
  8734. },
  8735. "timepicker": {
  8736. "refresh_intervals": [
  8737. "10s",
  8738. "30s",
  8739. "1m",
  8740. "5m",
  8741. "15m",
  8742. "30m",
  8743. "1h",
  8744. "2h",
  8745. "1d"
  8746. ]
  8747. },
  8748. "timezone": "utc",
  8749. "title": "CoreDNS",
  8750. "uid": "vkQ0UHxik",
  8751. "version": 2
  8752. }
  8753. ---
  8754. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/k8s-resources-cluster.yaml
  8755. apiVersion: v1
  8756. kind: ConfigMap
  8757. metadata:
  8758. namespace: monitoring
  8759. name: prometheus-kube-prometheus-k8s-resources-cluster
  8760. annotations:
  8761. {}
  8762. labels:
  8763. grafana_dashboard: "1"
  8764. app: kube-prometheus-stack-grafana
  8765. app.kubernetes.io/managed-by: Helm
  8766. app.kubernetes.io/instance: prometheus
  8767. app.kubernetes.io/version: "44.3.0"
  8768. app.kubernetes.io/part-of: kube-prometheus-stack
  8769. chart: kube-prometheus-stack-44.3.0
  8770. release: "prometheus"
  8771. heritage: "Helm"
  8772. data:
  8773. k8s-resources-cluster.json: |-
  8774. {
  8775. "annotations": {
  8776. "list": [
  8777. ]
  8778. },
  8779. "editable": true,
  8780. "gnetId": null,
  8781. "graphTooltip": 0,
  8782. "hideControls": false,
  8783. "links": [
  8784. ],
  8785. "refresh": "10s",
  8786. "rows": [
  8787. {
  8788. "collapse": false,
  8789. "height": "100px",
  8790. "panels": [
  8791. {
  8792. "aliasColors": {
  8793. },
  8794. "bars": false,
  8795. "dashLength": 10,
  8796. "dashes": false,
  8797. "datasource": "$datasource",
  8798. "fill": 1,
  8799. "format": "percentunit",
  8800. "id": 1,
  8801. "interval": "1m",
  8802. "legend": {
  8803. "alignAsTable": true,
  8804. "avg": false,
  8805. "current": false,
  8806. "max": false,
  8807. "min": false,
  8808. "rightSide": true,
  8809. "show": true,
  8810. "total": false,
  8811. "values": false
  8812. },
  8813. "lines": true,
  8814. "linewidth": 1,
  8815. "links": [
  8816. ],
  8817. "nullPointMode": "null as zero",
  8818. "percentage": false,
  8819. "pointradius": 5,
  8820. "points": false,
  8821. "renderer": "flot",
  8822. "seriesOverrides": [
  8823. ],
  8824. "spaceLength": 10,
  8825. "span": 2,
  8826. "stack": false,
  8827. "steppedLine": false,
  8828. "targets": [
  8829. {
  8830. "expr": "cluster:node_cpu:ratio_rate5m{cluster=\"$cluster\"}",
  8831. "format": "time_series",
  8832. "instant": true,
  8833. "intervalFactor": 2,
  8834. "refId": "A"
  8835. }
  8836. ],
  8837. "thresholds": "70,80",
  8838. "timeFrom": null,
  8839. "timeShift": null,
  8840. "title": "CPU Utilisation",
  8841. "tooltip": {
  8842. "shared": false,
  8843. "sort": 2,
  8844. "value_type": "individual"
  8845. },
  8846. "type": "singlestat",
  8847. "xaxis": {
  8848. "buckets": null,
  8849. "mode": "time",
  8850. "name": null,
  8851. "show": true,
  8852. "values": [
  8853. ]
  8854. },
  8855. "yaxes": [
  8856. {
  8857. "format": "short",
  8858. "label": null,
  8859. "logBase": 1,
  8860. "max": null,
  8861. "min": 0,
  8862. "show": true
  8863. },
  8864. {
  8865. "format": "short",
  8866. "label": null,
  8867. "logBase": 1,
  8868. "max": null,
  8869. "min": null,
  8870. "show": false
  8871. }
  8872. ]
  8873. },
  8874. {
  8875. "aliasColors": {
  8876. },
  8877. "bars": false,
  8878. "dashLength": 10,
  8879. "dashes": false,
  8880. "datasource": "$datasource",
  8881. "fill": 1,
  8882. "format": "percentunit",
  8883. "id": 2,
  8884. "interval": "1m",
  8885. "legend": {
  8886. "alignAsTable": true,
  8887. "avg": false,
  8888. "current": false,
  8889. "max": false,
  8890. "min": false,
  8891. "rightSide": true,
  8892. "show": true,
  8893. "total": false,
  8894. "values": false
  8895. },
  8896. "lines": true,
  8897. "linewidth": 1,
  8898. "links": [
  8899. ],
  8900. "nullPointMode": "null as zero",
  8901. "percentage": false,
  8902. "pointradius": 5,
  8903. "points": false,
  8904. "renderer": "flot",
  8905. "seriesOverrides": [
  8906. ],
  8907. "spaceLength": 10,
  8908. "span": 2,
  8909. "stack": false,
  8910. "steppedLine": false,
  8911. "targets": [
  8912. {
  8913. "expr": "sum(namespace_cpu:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable{job=\"kube-state-metrics\",resource=\"cpu\",cluster=\"$cluster\"})",
  8914. "format": "time_series",
  8915. "instant": true,
  8916. "intervalFactor": 2,
  8917. "refId": "A"
  8918. }
  8919. ],
  8920. "thresholds": "70,80",
  8921. "timeFrom": null,
  8922. "timeShift": null,
  8923. "title": "CPU Requests Commitment",
  8924. "tooltip": {
  8925. "shared": false,
  8926. "sort": 2,
  8927. "value_type": "individual"
  8928. },
  8929. "type": "singlestat",
  8930. "xaxis": {
  8931. "buckets": null,
  8932. "mode": "time",
  8933. "name": null,
  8934. "show": true,
  8935. "values": [
  8936. ]
  8937. },
  8938. "yaxes": [
  8939. {
  8940. "format": "short",
  8941. "label": null,
  8942. "logBase": 1,
  8943. "max": null,
  8944. "min": 0,
  8945. "show": true
  8946. },
  8947. {
  8948. "format": "short",
  8949. "label": null,
  8950. "logBase": 1,
  8951. "max": null,
  8952. "min": null,
  8953. "show": false
  8954. }
  8955. ]
  8956. },
  8957. {
  8958. "aliasColors": {
  8959. },
  8960. "bars": false,
  8961. "dashLength": 10,
  8962. "dashes": false,
  8963. "datasource": "$datasource",
  8964. "fill": 1,
  8965. "format": "percentunit",
  8966. "id": 3,
  8967. "interval": "1m",
  8968. "legend": {
  8969. "alignAsTable": true,
  8970. "avg": false,
  8971. "current": false,
  8972. "max": false,
  8973. "min": false,
  8974. "rightSide": true,
  8975. "show": true,
  8976. "total": false,
  8977. "values": false
  8978. },
  8979. "lines": true,
  8980. "linewidth": 1,
  8981. "links": [
  8982. ],
  8983. "nullPointMode": "null as zero",
  8984. "percentage": false,
  8985. "pointradius": 5,
  8986. "points": false,
  8987. "renderer": "flot",
  8988. "seriesOverrides": [
  8989. ],
  8990. "spaceLength": 10,
  8991. "span": 2,
  8992. "stack": false,
  8993. "steppedLine": false,
  8994. "targets": [
  8995. {
  8996. "expr": "sum(namespace_cpu:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable{job=\"kube-state-metrics\",resource=\"cpu\",cluster=\"$cluster\"})",
  8997. "format": "time_series",
  8998. "instant": true,
  8999. "intervalFactor": 2,
  9000. "refId": "A"
  9001. }
  9002. ],
  9003. "thresholds": "70,80",
  9004. "timeFrom": null,
  9005. "timeShift": null,
  9006. "title": "CPU Limits Commitment",
  9007. "tooltip": {
  9008. "shared": false,
  9009. "sort": 2,
  9010. "value_type": "individual"
  9011. },
  9012. "type": "singlestat",
  9013. "xaxis": {
  9014. "buckets": null,
  9015. "mode": "time",
  9016. "name": null,
  9017. "show": true,
  9018. "values": [
  9019. ]
  9020. },
  9021. "yaxes": [
  9022. {
  9023. "format": "short",
  9024. "label": null,
  9025. "logBase": 1,
  9026. "max": null,
  9027. "min": 0,
  9028. "show": true
  9029. },
  9030. {
  9031. "format": "short",
  9032. "label": null,
  9033. "logBase": 1,
  9034. "max": null,
  9035. "min": null,
  9036. "show": false
  9037. }
  9038. ]
  9039. },
  9040. {
  9041. "aliasColors": {
  9042. },
  9043. "bars": false,
  9044. "dashLength": 10,
  9045. "dashes": false,
  9046. "datasource": "$datasource",
  9047. "fill": 1,
  9048. "format": "percentunit",
  9049. "id": 4,
  9050. "interval": "1m",
  9051. "legend": {
  9052. "alignAsTable": true,
  9053. "avg": false,
  9054. "current": false,
  9055. "max": false,
  9056. "min": false,
  9057. "rightSide": true,
  9058. "show": true,
  9059. "total": false,
  9060. "values": false
  9061. },
  9062. "lines": true,
  9063. "linewidth": 1,
  9064. "links": [
  9065. ],
  9066. "nullPointMode": "null as zero",
  9067. "percentage": false,
  9068. "pointradius": 5,
  9069. "points": false,
  9070. "renderer": "flot",
  9071. "seriesOverrides": [
  9072. ],
  9073. "spaceLength": 10,
  9074. "span": 2,
  9075. "stack": false,
  9076. "steppedLine": false,
  9077. "targets": [
  9078. {
  9079. "expr": "1 - sum(:node_memory_MemAvailable_bytes:sum{cluster=\"$cluster\"}) / sum(node_memory_MemTotal_bytes{job=\"node-exporter\",cluster=\"$cluster\"})",
  9080. "format": "time_series",
  9081. "instant": true,
  9082. "intervalFactor": 2,
  9083. "refId": "A"
  9084. }
  9085. ],
  9086. "thresholds": "70,80",
  9087. "timeFrom": null,
  9088. "timeShift": null,
  9089. "title": "Memory Utilisation",
  9090. "tooltip": {
  9091. "shared": false,
  9092. "sort": 2,
  9093. "value_type": "individual"
  9094. },
  9095. "type": "singlestat",
  9096. "xaxis": {
  9097. "buckets": null,
  9098. "mode": "time",
  9099. "name": null,
  9100. "show": true,
  9101. "values": [
  9102. ]
  9103. },
  9104. "yaxes": [
  9105. {
  9106. "format": "short",
  9107. "label": null,
  9108. "logBase": 1,
  9109. "max": null,
  9110. "min": 0,
  9111. "show": true
  9112. },
  9113. {
  9114. "format": "short",
  9115. "label": null,
  9116. "logBase": 1,
  9117. "max": null,
  9118. "min": null,
  9119. "show": false
  9120. }
  9121. ]
  9122. },
  9123. {
  9124. "aliasColors": {
  9125. },
  9126. "bars": false,
  9127. "dashLength": 10,
  9128. "dashes": false,
  9129. "datasource": "$datasource",
  9130. "fill": 1,
  9131. "format": "percentunit",
  9132. "id": 5,
  9133. "interval": "1m",
  9134. "legend": {
  9135. "alignAsTable": true,
  9136. "avg": false,
  9137. "current": false,
  9138. "max": false,
  9139. "min": false,
  9140. "rightSide": true,
  9141. "show": true,
  9142. "total": false,
  9143. "values": false
  9144. },
  9145. "lines": true,
  9146. "linewidth": 1,
  9147. "links": [
  9148. ],
  9149. "nullPointMode": "null as zero",
  9150. "percentage": false,
  9151. "pointradius": 5,
  9152. "points": false,
  9153. "renderer": "flot",
  9154. "seriesOverrides": [
  9155. ],
  9156. "spaceLength": 10,
  9157. "span": 2,
  9158. "stack": false,
  9159. "steppedLine": false,
  9160. "targets": [
  9161. {
  9162. "expr": "sum(namespace_memory:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable{job=\"kube-state-metrics\",resource=\"memory\",cluster=\"$cluster\"})",
  9163. "format": "time_series",
  9164. "instant": true,
  9165. "intervalFactor": 2,
  9166. "refId": "A"
  9167. }
  9168. ],
  9169. "thresholds": "70,80",
  9170. "timeFrom": null,
  9171. "timeShift": null,
  9172. "title": "Memory Requests Commitment",
  9173. "tooltip": {
  9174. "shared": false,
  9175. "sort": 2,
  9176. "value_type": "individual"
  9177. },
  9178. "type": "singlestat",
  9179. "xaxis": {
  9180. "buckets": null,
  9181. "mode": "time",
  9182. "name": null,
  9183. "show": true,
  9184. "values": [
  9185. ]
  9186. },
  9187. "yaxes": [
  9188. {
  9189. "format": "short",
  9190. "label": null,
  9191. "logBase": 1,
  9192. "max": null,
  9193. "min": 0,
  9194. "show": true
  9195. },
  9196. {
  9197. "format": "short",
  9198. "label": null,
  9199. "logBase": 1,
  9200. "max": null,
  9201. "min": null,
  9202. "show": false
  9203. }
  9204. ]
  9205. },
  9206. {
  9207. "aliasColors": {
  9208. },
  9209. "bars": false,
  9210. "dashLength": 10,
  9211. "dashes": false,
  9212. "datasource": "$datasource",
  9213. "fill": 1,
  9214. "format": "percentunit",
  9215. "id": 6,
  9216. "interval": "1m",
  9217. "legend": {
  9218. "alignAsTable": true,
  9219. "avg": false,
  9220. "current": false,
  9221. "max": false,
  9222. "min": false,
  9223. "rightSide": true,
  9224. "show": true,
  9225. "total": false,
  9226. "values": false
  9227. },
  9228. "lines": true,
  9229. "linewidth": 1,
  9230. "links": [
  9231. ],
  9232. "nullPointMode": "null as zero",
  9233. "percentage": false,
  9234. "pointradius": 5,
  9235. "points": false,
  9236. "renderer": "flot",
  9237. "seriesOverrides": [
  9238. ],
  9239. "spaceLength": 10,
  9240. "span": 2,
  9241. "stack": false,
  9242. "steppedLine": false,
  9243. "targets": [
  9244. {
  9245. "expr": "sum(namespace_memory:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable{job=\"kube-state-metrics\",resource=\"memory\",cluster=\"$cluster\"})",
  9246. "format": "time_series",
  9247. "instant": true,
  9248. "intervalFactor": 2,
  9249. "refId": "A"
  9250. }
  9251. ],
  9252. "thresholds": "70,80",
  9253. "timeFrom": null,
  9254. "timeShift": null,
  9255. "title": "Memory Limits Commitment",
  9256. "tooltip": {
  9257. "shared": false,
  9258. "sort": 2,
  9259. "value_type": "individual"
  9260. },
  9261. "type": "singlestat",
  9262. "xaxis": {
  9263. "buckets": null,
  9264. "mode": "time",
  9265. "name": null,
  9266. "show": true,
  9267. "values": [
  9268. ]
  9269. },
  9270. "yaxes": [
  9271. {
  9272. "format": "short",
  9273. "label": null,
  9274. "logBase": 1,
  9275. "max": null,
  9276. "min": 0,
  9277. "show": true
  9278. },
  9279. {
  9280. "format": "short",
  9281. "label": null,
  9282. "logBase": 1,
  9283. "max": null,
  9284. "min": null,
  9285. "show": false
  9286. }
  9287. ]
  9288. }
  9289. ],
  9290. "repeat": null,
  9291. "repeatIteration": null,
  9292. "repeatRowId": null,
  9293. "showTitle": false,
  9294. "title": "Headlines",
  9295. "titleSize": "h6"
  9296. },
  9297. {
  9298. "collapse": false,
  9299. "height": "250px",
  9300. "panels": [
  9301. {
  9302. "aliasColors": {
  9303. },
  9304. "bars": false,
  9305. "dashLength": 10,
  9306. "dashes": false,
  9307. "datasource": "$datasource",
  9308. "fill": 10,
  9309. "id": 7,
  9310. "interval": "1m",
  9311. "legend": {
  9312. "alignAsTable": true,
  9313. "avg": false,
  9314. "current": false,
  9315. "max": false,
  9316. "min": false,
  9317. "rightSide": true,
  9318. "show": true,
  9319. "total": false,
  9320. "values": false
  9321. },
  9322. "lines": true,
  9323. "linewidth": 0,
  9324. "links": [
  9325. ],
  9326. "nullPointMode": "null as zero",
  9327. "percentage": false,
  9328. "pointradius": 5,
  9329. "points": false,
  9330. "renderer": "flot",
  9331. "seriesOverrides": [
  9332. ],
  9333. "spaceLength": 10,
  9334. "span": 12,
  9335. "stack": true,
  9336. "steppedLine": false,
  9337. "targets": [
  9338. {
  9339. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\"}) by (namespace)",
  9340. "format": "time_series",
  9341. "intervalFactor": 2,
  9342. "legendFormat": "{{namespace}}",
  9343. "legendLink": null,
  9344. "step": 10
  9345. }
  9346. ],
  9347. "thresholds": [
  9348. ],
  9349. "timeFrom": null,
  9350. "timeShift": null,
  9351. "title": "CPU Usage",
  9352. "tooltip": {
  9353. "shared": false,
  9354. "sort": 2,
  9355. "value_type": "individual"
  9356. },
  9357. "type": "graph",
  9358. "xaxis": {
  9359. "buckets": null,
  9360. "mode": "time",
  9361. "name": null,
  9362. "show": true,
  9363. "values": [
  9364. ]
  9365. },
  9366. "yaxes": [
  9367. {
  9368. "format": "short",
  9369. "label": null,
  9370. "logBase": 1,
  9371. "max": null,
  9372. "min": 0,
  9373. "show": true
  9374. },
  9375. {
  9376. "format": "short",
  9377. "label": null,
  9378. "logBase": 1,
  9379. "max": null,
  9380. "min": null,
  9381. "show": false
  9382. }
  9383. ]
  9384. }
  9385. ],
  9386. "repeat": null,
  9387. "repeatIteration": null,
  9388. "repeatRowId": null,
  9389. "showTitle": true,
  9390. "title": "CPU",
  9391. "titleSize": "h6"
  9392. },
  9393. {
  9394. "collapse": false,
  9395. "height": "250px",
  9396. "panels": [
  9397. {
  9398. "aliasColors": {
  9399. },
  9400. "bars": false,
  9401. "dashLength": 10,
  9402. "dashes": false,
  9403. "datasource": "$datasource",
  9404. "fill": 1,
  9405. "id": 8,
  9406. "interval": "1m",
  9407. "legend": {
  9408. "alignAsTable": true,
  9409. "avg": false,
  9410. "current": false,
  9411. "max": false,
  9412. "min": false,
  9413. "rightSide": true,
  9414. "show": true,
  9415. "total": false,
  9416. "values": false
  9417. },
  9418. "lines": true,
  9419. "linewidth": 1,
  9420. "links": [
  9421. ],
  9422. "nullPointMode": "null as zero",
  9423. "percentage": false,
  9424. "pointradius": 5,
  9425. "points": false,
  9426. "renderer": "flot",
  9427. "seriesOverrides": [
  9428. ],
  9429. "spaceLength": 10,
  9430. "span": 12,
  9431. "stack": false,
  9432. "steppedLine": false,
  9433. "styles": [
  9434. {
  9435. "alias": "Time",
  9436. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9437. "pattern": "Time",
  9438. "type": "hidden"
  9439. },
  9440. {
  9441. "alias": "Pods",
  9442. "colorMode": null,
  9443. "colors": [
  9444. ],
  9445. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9446. "decimals": 0,
  9447. "link": true,
  9448. "linkTargetBlank": false,
  9449. "linkTooltip": "Drill down to pods",
  9450. "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
  9451. "pattern": "Value #A",
  9452. "thresholds": [
  9453. ],
  9454. "type": "number",
  9455. "unit": "short"
  9456. },
  9457. {
  9458. "alias": "Workloads",
  9459. "colorMode": null,
  9460. "colors": [
  9461. ],
  9462. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9463. "decimals": 0,
  9464. "link": true,
  9465. "linkTargetBlank": false,
  9466. "linkTooltip": "Drill down to workloads",
  9467. "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
  9468. "pattern": "Value #B",
  9469. "thresholds": [
  9470. ],
  9471. "type": "number",
  9472. "unit": "short"
  9473. },
  9474. {
  9475. "alias": "CPU Usage",
  9476. "colorMode": null,
  9477. "colors": [
  9478. ],
  9479. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9480. "decimals": 2,
  9481. "link": false,
  9482. "linkTargetBlank": false,
  9483. "linkTooltip": "Drill down",
  9484. "linkUrl": "",
  9485. "pattern": "Value #C",
  9486. "thresholds": [
  9487. ],
  9488. "type": "number",
  9489. "unit": "short"
  9490. },
  9491. {
  9492. "alias": "CPU Requests",
  9493. "colorMode": null,
  9494. "colors": [
  9495. ],
  9496. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9497. "decimals": 2,
  9498. "link": false,
  9499. "linkTargetBlank": false,
  9500. "linkTooltip": "Drill down",
  9501. "linkUrl": "",
  9502. "pattern": "Value #D",
  9503. "thresholds": [
  9504. ],
  9505. "type": "number",
  9506. "unit": "short"
  9507. },
  9508. {
  9509. "alias": "CPU Requests %",
  9510. "colorMode": null,
  9511. "colors": [
  9512. ],
  9513. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9514. "decimals": 2,
  9515. "link": false,
  9516. "linkTargetBlank": false,
  9517. "linkTooltip": "Drill down",
  9518. "linkUrl": "",
  9519. "pattern": "Value #E",
  9520. "thresholds": [
  9521. ],
  9522. "type": "number",
  9523. "unit": "percentunit"
  9524. },
  9525. {
  9526. "alias": "CPU Limits",
  9527. "colorMode": null,
  9528. "colors": [
  9529. ],
  9530. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9531. "decimals": 2,
  9532. "link": false,
  9533. "linkTargetBlank": false,
  9534. "linkTooltip": "Drill down",
  9535. "linkUrl": "",
  9536. "pattern": "Value #F",
  9537. "thresholds": [
  9538. ],
  9539. "type": "number",
  9540. "unit": "short"
  9541. },
  9542. {
  9543. "alias": "CPU Limits %",
  9544. "colorMode": null,
  9545. "colors": [
  9546. ],
  9547. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9548. "decimals": 2,
  9549. "link": false,
  9550. "linkTargetBlank": false,
  9551. "linkTooltip": "Drill down",
  9552. "linkUrl": "",
  9553. "pattern": "Value #G",
  9554. "thresholds": [
  9555. ],
  9556. "type": "number",
  9557. "unit": "percentunit"
  9558. },
  9559. {
  9560. "alias": "Namespace",
  9561. "colorMode": null,
  9562. "colors": [
  9563. ],
  9564. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9565. "decimals": 2,
  9566. "link": true,
  9567. "linkTargetBlank": false,
  9568. "linkTooltip": "Drill down to pods",
  9569. "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell",
  9570. "pattern": "namespace",
  9571. "thresholds": [
  9572. ],
  9573. "type": "number",
  9574. "unit": "short"
  9575. },
  9576. {
  9577. "alias": "",
  9578. "colorMode": null,
  9579. "colors": [
  9580. ],
  9581. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9582. "decimals": 2,
  9583. "pattern": "/.*/",
  9584. "thresholds": [
  9585. ],
  9586. "type": "string",
  9587. "unit": "short"
  9588. }
  9589. ],
  9590. "targets": [
  9591. {
  9592. "expr": "sum(kube_pod_owner{job=\"kube-state-metrics\", cluster=\"$cluster\"}) by (namespace)",
  9593. "format": "table",
  9594. "instant": true,
  9595. "intervalFactor": 2,
  9596. "legendFormat": "",
  9597. "refId": "A",
  9598. "step": 10
  9599. },
  9600. {
  9601. "expr": "count(avg(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\"}) by (workload, namespace)) by (namespace)",
  9602. "format": "table",
  9603. "instant": true,
  9604. "intervalFactor": 2,
  9605. "legendFormat": "",
  9606. "refId": "B",
  9607. "step": 10
  9608. },
  9609. {
  9610. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\"}) by (namespace)",
  9611. "format": "table",
  9612. "instant": true,
  9613. "intervalFactor": 2,
  9614. "legendFormat": "",
  9615. "refId": "C",
  9616. "step": 10
  9617. },
  9618. {
  9619. "expr": "sum(namespace_cpu:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)",
  9620. "format": "table",
  9621. "instant": true,
  9622. "intervalFactor": 2,
  9623. "legendFormat": "",
  9624. "refId": "D",
  9625. "step": 10
  9626. },
  9627. {
  9628. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\"}) by (namespace) / sum(namespace_cpu:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)",
  9629. "format": "table",
  9630. "instant": true,
  9631. "intervalFactor": 2,
  9632. "legendFormat": "",
  9633. "refId": "E",
  9634. "step": 10
  9635. },
  9636. {
  9637. "expr": "sum(namespace_cpu:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)",
  9638. "format": "table",
  9639. "instant": true,
  9640. "intervalFactor": 2,
  9641. "legendFormat": "",
  9642. "refId": "F",
  9643. "step": 10
  9644. },
  9645. {
  9646. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\"}) by (namespace) / sum(namespace_cpu:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)",
  9647. "format": "table",
  9648. "instant": true,
  9649. "intervalFactor": 2,
  9650. "legendFormat": "",
  9651. "refId": "G",
  9652. "step": 10
  9653. }
  9654. ],
  9655. "thresholds": [
  9656. ],
  9657. "timeFrom": null,
  9658. "timeShift": null,
  9659. "title": "CPU Quota",
  9660. "tooltip": {
  9661. "shared": false,
  9662. "sort": 2,
  9663. "value_type": "individual"
  9664. },
  9665. "transform": "table",
  9666. "type": "table",
  9667. "xaxis": {
  9668. "buckets": null,
  9669. "mode": "time",
  9670. "name": null,
  9671. "show": true,
  9672. "values": [
  9673. ]
  9674. },
  9675. "yaxes": [
  9676. {
  9677. "format": "short",
  9678. "label": null,
  9679. "logBase": 1,
  9680. "max": null,
  9681. "min": 0,
  9682. "show": true
  9683. },
  9684. {
  9685. "format": "short",
  9686. "label": null,
  9687. "logBase": 1,
  9688. "max": null,
  9689. "min": null,
  9690. "show": false
  9691. }
  9692. ]
  9693. }
  9694. ],
  9695. "repeat": null,
  9696. "repeatIteration": null,
  9697. "repeatRowId": null,
  9698. "showTitle": true,
  9699. "title": "CPU Quota",
  9700. "titleSize": "h6"
  9701. },
  9702. {
  9703. "collapse": false,
  9704. "height": "250px",
  9705. "panels": [
  9706. {
  9707. "aliasColors": {
  9708. },
  9709. "bars": false,
  9710. "dashLength": 10,
  9711. "dashes": false,
  9712. "datasource": "$datasource",
  9713. "fill": 10,
  9714. "id": 9,
  9715. "interval": "1m",
  9716. "legend": {
  9717. "alignAsTable": true,
  9718. "avg": false,
  9719. "current": false,
  9720. "max": false,
  9721. "min": false,
  9722. "rightSide": true,
  9723. "show": true,
  9724. "total": false,
  9725. "values": false
  9726. },
  9727. "lines": true,
  9728. "linewidth": 0,
  9729. "links": [
  9730. ],
  9731. "nullPointMode": "null as zero",
  9732. "percentage": false,
  9733. "pointradius": 5,
  9734. "points": false,
  9735. "renderer": "flot",
  9736. "seriesOverrides": [
  9737. ],
  9738. "spaceLength": 10,
  9739. "span": 12,
  9740. "stack": true,
  9741. "steppedLine": false,
  9742. "targets": [
  9743. {
  9744. "expr": "sum(container_memory_rss{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", container!=\"\"}) by (namespace)",
  9745. "format": "time_series",
  9746. "intervalFactor": 2,
  9747. "legendFormat": "{{namespace}}",
  9748. "legendLink": null,
  9749. "step": 10
  9750. }
  9751. ],
  9752. "thresholds": [
  9753. ],
  9754. "timeFrom": null,
  9755. "timeShift": null,
  9756. "title": "Memory Usage (w/o cache)",
  9757. "tooltip": {
  9758. "shared": false,
  9759. "sort": 2,
  9760. "value_type": "individual"
  9761. },
  9762. "type": "graph",
  9763. "xaxis": {
  9764. "buckets": null,
  9765. "mode": "time",
  9766. "name": null,
  9767. "show": true,
  9768. "values": [
  9769. ]
  9770. },
  9771. "yaxes": [
  9772. {
  9773. "format": "bytes",
  9774. "label": null,
  9775. "logBase": 1,
  9776. "max": null,
  9777. "min": 0,
  9778. "show": true
  9779. },
  9780. {
  9781. "format": "short",
  9782. "label": null,
  9783. "logBase": 1,
  9784. "max": null,
  9785. "min": null,
  9786. "show": false
  9787. }
  9788. ]
  9789. }
  9790. ],
  9791. "repeat": null,
  9792. "repeatIteration": null,
  9793. "repeatRowId": null,
  9794. "showTitle": true,
  9795. "title": "Memory",
  9796. "titleSize": "h6"
  9797. },
  9798. {
  9799. "collapse": false,
  9800. "height": "250px",
  9801. "panels": [
  9802. {
  9803. "aliasColors": {
  9804. },
  9805. "bars": false,
  9806. "dashLength": 10,
  9807. "dashes": false,
  9808. "datasource": "$datasource",
  9809. "fill": 1,
  9810. "id": 10,
  9811. "interval": "1m",
  9812. "legend": {
  9813. "alignAsTable": true,
  9814. "avg": false,
  9815. "current": false,
  9816. "max": false,
  9817. "min": false,
  9818. "rightSide": true,
  9819. "show": true,
  9820. "total": false,
  9821. "values": false
  9822. },
  9823. "lines": true,
  9824. "linewidth": 1,
  9825. "links": [
  9826. ],
  9827. "nullPointMode": "null as zero",
  9828. "percentage": false,
  9829. "pointradius": 5,
  9830. "points": false,
  9831. "renderer": "flot",
  9832. "seriesOverrides": [
  9833. ],
  9834. "spaceLength": 10,
  9835. "span": 12,
  9836. "stack": false,
  9837. "steppedLine": false,
  9838. "styles": [
  9839. {
  9840. "alias": "Time",
  9841. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9842. "pattern": "Time",
  9843. "type": "hidden"
  9844. },
  9845. {
  9846. "alias": "Pods",
  9847. "colorMode": null,
  9848. "colors": [
  9849. ],
  9850. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9851. "decimals": 0,
  9852. "link": true,
  9853. "linkTargetBlank": false,
  9854. "linkTooltip": "Drill down to pods",
  9855. "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
  9856. "pattern": "Value #A",
  9857. "thresholds": [
  9858. ],
  9859. "type": "number",
  9860. "unit": "short"
  9861. },
  9862. {
  9863. "alias": "Workloads",
  9864. "colorMode": null,
  9865. "colors": [
  9866. ],
  9867. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9868. "decimals": 0,
  9869. "link": true,
  9870. "linkTargetBlank": false,
  9871. "linkTooltip": "Drill down to workloads",
  9872. "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
  9873. "pattern": "Value #B",
  9874. "thresholds": [
  9875. ],
  9876. "type": "number",
  9877. "unit": "short"
  9878. },
  9879. {
  9880. "alias": "Memory Usage",
  9881. "colorMode": null,
  9882. "colors": [
  9883. ],
  9884. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9885. "decimals": 2,
  9886. "link": false,
  9887. "linkTargetBlank": false,
  9888. "linkTooltip": "Drill down",
  9889. "linkUrl": "",
  9890. "pattern": "Value #C",
  9891. "thresholds": [
  9892. ],
  9893. "type": "number",
  9894. "unit": "bytes"
  9895. },
  9896. {
  9897. "alias": "Memory Requests",
  9898. "colorMode": null,
  9899. "colors": [
  9900. ],
  9901. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9902. "decimals": 2,
  9903. "link": false,
  9904. "linkTargetBlank": false,
  9905. "linkTooltip": "Drill down",
  9906. "linkUrl": "",
  9907. "pattern": "Value #D",
  9908. "thresholds": [
  9909. ],
  9910. "type": "number",
  9911. "unit": "bytes"
  9912. },
  9913. {
  9914. "alias": "Memory Requests %",
  9915. "colorMode": null,
  9916. "colors": [
  9917. ],
  9918. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9919. "decimals": 2,
  9920. "link": false,
  9921. "linkTargetBlank": false,
  9922. "linkTooltip": "Drill down",
  9923. "linkUrl": "",
  9924. "pattern": "Value #E",
  9925. "thresholds": [
  9926. ],
  9927. "type": "number",
  9928. "unit": "percentunit"
  9929. },
  9930. {
  9931. "alias": "Memory Limits",
  9932. "colorMode": null,
  9933. "colors": [
  9934. ],
  9935. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9936. "decimals": 2,
  9937. "link": false,
  9938. "linkTargetBlank": false,
  9939. "linkTooltip": "Drill down",
  9940. "linkUrl": "",
  9941. "pattern": "Value #F",
  9942. "thresholds": [
  9943. ],
  9944. "type": "number",
  9945. "unit": "bytes"
  9946. },
  9947. {
  9948. "alias": "Memory Limits %",
  9949. "colorMode": null,
  9950. "colors": [
  9951. ],
  9952. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9953. "decimals": 2,
  9954. "link": false,
  9955. "linkTargetBlank": false,
  9956. "linkTooltip": "Drill down",
  9957. "linkUrl": "",
  9958. "pattern": "Value #G",
  9959. "thresholds": [
  9960. ],
  9961. "type": "number",
  9962. "unit": "percentunit"
  9963. },
  9964. {
  9965. "alias": "Namespace",
  9966. "colorMode": null,
  9967. "colors": [
  9968. ],
  9969. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9970. "decimals": 2,
  9971. "link": true,
  9972. "linkTargetBlank": false,
  9973. "linkTooltip": "Drill down to pods",
  9974. "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell",
  9975. "pattern": "namespace",
  9976. "thresholds": [
  9977. ],
  9978. "type": "number",
  9979. "unit": "short"
  9980. },
  9981. {
  9982. "alias": "",
  9983. "colorMode": null,
  9984. "colors": [
  9985. ],
  9986. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  9987. "decimals": 2,
  9988. "pattern": "/.*/",
  9989. "thresholds": [
  9990. ],
  9991. "type": "string",
  9992. "unit": "short"
  9993. }
  9994. ],
  9995. "targets": [
  9996. {
  9997. "expr": "sum(kube_pod_owner{job=\"kube-state-metrics\", cluster=\"$cluster\"}) by (namespace)",
  9998. "format": "table",
  9999. "instant": true,
  10000. "intervalFactor": 2,
  10001. "legendFormat": "",
  10002. "refId": "A",
  10003. "step": 10
  10004. },
  10005. {
  10006. "expr": "count(avg(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\"}) by (workload, namespace)) by (namespace)",
  10007. "format": "table",
  10008. "instant": true,
  10009. "intervalFactor": 2,
  10010. "legendFormat": "",
  10011. "refId": "B",
  10012. "step": 10
  10013. },
  10014. {
  10015. "expr": "sum(container_memory_rss{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", container!=\"\"}) by (namespace)",
  10016. "format": "table",
  10017. "instant": true,
  10018. "intervalFactor": 2,
  10019. "legendFormat": "",
  10020. "refId": "C",
  10021. "step": 10
  10022. },
  10023. {
  10024. "expr": "sum(namespace_memory:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)",
  10025. "format": "table",
  10026. "instant": true,
  10027. "intervalFactor": 2,
  10028. "legendFormat": "",
  10029. "refId": "D",
  10030. "step": 10
  10031. },
  10032. {
  10033. "expr": "sum(container_memory_rss{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", container!=\"\"}) by (namespace) / sum(namespace_memory:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)",
  10034. "format": "table",
  10035. "instant": true,
  10036. "intervalFactor": 2,
  10037. "legendFormat": "",
  10038. "refId": "E",
  10039. "step": 10
  10040. },
  10041. {
  10042. "expr": "sum(namespace_memory:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)",
  10043. "format": "table",
  10044. "instant": true,
  10045. "intervalFactor": 2,
  10046. "legendFormat": "",
  10047. "refId": "F",
  10048. "step": 10
  10049. },
  10050. {
  10051. "expr": "sum(container_memory_rss{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", container!=\"\"}) by (namespace) / sum(namespace_memory:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)",
  10052. "format": "table",
  10053. "instant": true,
  10054. "intervalFactor": 2,
  10055. "legendFormat": "",
  10056. "refId": "G",
  10057. "step": 10
  10058. }
  10059. ],
  10060. "thresholds": [
  10061. ],
  10062. "timeFrom": null,
  10063. "timeShift": null,
  10064. "title": "Requests by Namespace",
  10065. "tooltip": {
  10066. "shared": false,
  10067. "sort": 2,
  10068. "value_type": "individual"
  10069. },
  10070. "transform": "table",
  10071. "type": "table",
  10072. "xaxis": {
  10073. "buckets": null,
  10074. "mode": "time",
  10075. "name": null,
  10076. "show": true,
  10077. "values": [
  10078. ]
  10079. },
  10080. "yaxes": [
  10081. {
  10082. "format": "short",
  10083. "label": null,
  10084. "logBase": 1,
  10085. "max": null,
  10086. "min": 0,
  10087. "show": true
  10088. },
  10089. {
  10090. "format": "short",
  10091. "label": null,
  10092. "logBase": 1,
  10093. "max": null,
  10094. "min": null,
  10095. "show": false
  10096. }
  10097. ]
  10098. }
  10099. ],
  10100. "repeat": null,
  10101. "repeatIteration": null,
  10102. "repeatRowId": null,
  10103. "showTitle": true,
  10104. "title": "Memory Requests",
  10105. "titleSize": "h6"
  10106. },
  10107. {
  10108. "collapse": false,
  10109. "height": "250px",
  10110. "panels": [
  10111. {
  10112. "aliasColors": {
  10113. },
  10114. "bars": false,
  10115. "dashLength": 10,
  10116. "dashes": false,
  10117. "datasource": "$datasource",
  10118. "fill": 1,
  10119. "id": 11,
  10120. "interval": "1m",
  10121. "legend": {
  10122. "alignAsTable": true,
  10123. "avg": false,
  10124. "current": false,
  10125. "max": false,
  10126. "min": false,
  10127. "rightSide": true,
  10128. "show": true,
  10129. "total": false,
  10130. "values": false
  10131. },
  10132. "lines": true,
  10133. "linewidth": 1,
  10134. "links": [
  10135. ],
  10136. "nullPointMode": "null as zero",
  10137. "percentage": false,
  10138. "pointradius": 5,
  10139. "points": false,
  10140. "renderer": "flot",
  10141. "seriesOverrides": [
  10142. ],
  10143. "spaceLength": 10,
  10144. "span": 12,
  10145. "stack": false,
  10146. "steppedLine": false,
  10147. "styles": [
  10148. {
  10149. "alias": "Time",
  10150. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  10151. "pattern": "Time",
  10152. "type": "hidden"
  10153. },
  10154. {
  10155. "alias": "Current Receive Bandwidth",
  10156. "colorMode": null,
  10157. "colors": [
  10158. ],
  10159. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  10160. "decimals": 2,
  10161. "link": false,
  10162. "linkTargetBlank": false,
  10163. "linkTooltip": "Drill down",
  10164. "linkUrl": "",
  10165. "pattern": "Value #A",
  10166. "thresholds": [
  10167. ],
  10168. "type": "number",
  10169. "unit": "Bps"
  10170. },
  10171. {
  10172. "alias": "Current Transmit Bandwidth",
  10173. "colorMode": null,
  10174. "colors": [
  10175. ],
  10176. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  10177. "decimals": 2,
  10178. "link": false,
  10179. "linkTargetBlank": false,
  10180. "linkTooltip": "Drill down",
  10181. "linkUrl": "",
  10182. "pattern": "Value #B",
  10183. "thresholds": [
  10184. ],
  10185. "type": "number",
  10186. "unit": "Bps"
  10187. },
  10188. {
  10189. "alias": "Rate of Received Packets",
  10190. "colorMode": null,
  10191. "colors": [
  10192. ],
  10193. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  10194. "decimals": 2,
  10195. "link": false,
  10196. "linkTargetBlank": false,
  10197. "linkTooltip": "Drill down",
  10198. "linkUrl": "",
  10199. "pattern": "Value #C",
  10200. "thresholds": [
  10201. ],
  10202. "type": "number",
  10203. "unit": "pps"
  10204. },
  10205. {
  10206. "alias": "Rate of Transmitted Packets",
  10207. "colorMode": null,
  10208. "colors": [
  10209. ],
  10210. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  10211. "decimals": 2,
  10212. "link": false,
  10213. "linkTargetBlank": false,
  10214. "linkTooltip": "Drill down",
  10215. "linkUrl": "",
  10216. "pattern": "Value #D",
  10217. "thresholds": [
  10218. ],
  10219. "type": "number",
  10220. "unit": "pps"
  10221. },
  10222. {
  10223. "alias": "Rate of Received Packets Dropped",
  10224. "colorMode": null,
  10225. "colors": [
  10226. ],
  10227. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  10228. "decimals": 2,
  10229. "link": false,
  10230. "linkTargetBlank": false,
  10231. "linkTooltip": "Drill down",
  10232. "linkUrl": "",
  10233. "pattern": "Value #E",
  10234. "thresholds": [
  10235. ],
  10236. "type": "number",
  10237. "unit": "pps"
  10238. },
  10239. {
  10240. "alias": "Rate of Transmitted Packets Dropped",
  10241. "colorMode": null,
  10242. "colors": [
  10243. ],
  10244. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  10245. "decimals": 2,
  10246. "link": false,
  10247. "linkTargetBlank": false,
  10248. "linkTooltip": "Drill down",
  10249. "linkUrl": "",
  10250. "pattern": "Value #F",
  10251. "thresholds": [
  10252. ],
  10253. "type": "number",
  10254. "unit": "pps"
  10255. },
  10256. {
  10257. "alias": "Namespace",
  10258. "colorMode": null,
  10259. "colors": [
  10260. ],
  10261. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  10262. "decimals": 2,
  10263. "link": true,
  10264. "linkTargetBlank": false,
  10265. "linkTooltip": "Drill down to pods",
  10266. "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell",
  10267. "pattern": "namespace",
  10268. "thresholds": [
  10269. ],
  10270. "type": "number",
  10271. "unit": "short"
  10272. },
  10273. {
  10274. "alias": "",
  10275. "colorMode": null,
  10276. "colors": [
  10277. ],
  10278. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  10279. "decimals": 2,
  10280. "pattern": "/.*/",
  10281. "thresholds": [
  10282. ],
  10283. "type": "string",
  10284. "unit": "short"
  10285. }
  10286. ],
  10287. "targets": [
  10288. {
  10289. "expr": "sum(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10290. "format": "table",
  10291. "instant": true,
  10292. "intervalFactor": 2,
  10293. "legendFormat": "",
  10294. "refId": "A",
  10295. "step": 10
  10296. },
  10297. {
  10298. "expr": "sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10299. "format": "table",
  10300. "instant": true,
  10301. "intervalFactor": 2,
  10302. "legendFormat": "",
  10303. "refId": "B",
  10304. "step": 10
  10305. },
  10306. {
  10307. "expr": "sum(irate(container_network_receive_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10308. "format": "table",
  10309. "instant": true,
  10310. "intervalFactor": 2,
  10311. "legendFormat": "",
  10312. "refId": "C",
  10313. "step": 10
  10314. },
  10315. {
  10316. "expr": "sum(irate(container_network_transmit_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10317. "format": "table",
  10318. "instant": true,
  10319. "intervalFactor": 2,
  10320. "legendFormat": "",
  10321. "refId": "D",
  10322. "step": 10
  10323. },
  10324. {
  10325. "expr": "sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10326. "format": "table",
  10327. "instant": true,
  10328. "intervalFactor": 2,
  10329. "legendFormat": "",
  10330. "refId": "E",
  10331. "step": 10
  10332. },
  10333. {
  10334. "expr": "sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10335. "format": "table",
  10336. "instant": true,
  10337. "intervalFactor": 2,
  10338. "legendFormat": "",
  10339. "refId": "F",
  10340. "step": 10
  10341. }
  10342. ],
  10343. "thresholds": [
  10344. ],
  10345. "timeFrom": null,
  10346. "timeShift": null,
  10347. "title": "Current Network Usage",
  10348. "tooltip": {
  10349. "shared": false,
  10350. "sort": 2,
  10351. "value_type": "individual"
  10352. },
  10353. "transform": "table",
  10354. "type": "table",
  10355. "xaxis": {
  10356. "buckets": null,
  10357. "mode": "time",
  10358. "name": null,
  10359. "show": true,
  10360. "values": [
  10361. ]
  10362. },
  10363. "yaxes": [
  10364. {
  10365. "format": "short",
  10366. "label": null,
  10367. "logBase": 1,
  10368. "max": null,
  10369. "min": 0,
  10370. "show": true
  10371. },
  10372. {
  10373. "format": "short",
  10374. "label": null,
  10375. "logBase": 1,
  10376. "max": null,
  10377. "min": null,
  10378. "show": false
  10379. }
  10380. ]
  10381. }
  10382. ],
  10383. "repeat": null,
  10384. "repeatIteration": null,
  10385. "repeatRowId": null,
  10386. "showTitle": true,
  10387. "title": "Current Network Usage",
  10388. "titleSize": "h6"
  10389. },
  10390. {
  10391. "collapse": false,
  10392. "height": "250px",
  10393. "panels": [
  10394. {
  10395. "aliasColors": {
  10396. },
  10397. "bars": false,
  10398. "dashLength": 10,
  10399. "dashes": false,
  10400. "datasource": "$datasource",
  10401. "fill": 10,
  10402. "id": 12,
  10403. "interval": "1m",
  10404. "legend": {
  10405. "alignAsTable": true,
  10406. "avg": false,
  10407. "current": false,
  10408. "max": false,
  10409. "min": false,
  10410. "rightSide": true,
  10411. "show": true,
  10412. "total": false,
  10413. "values": false
  10414. },
  10415. "lines": true,
  10416. "linewidth": 0,
  10417. "links": [
  10418. ],
  10419. "nullPointMode": "null as zero",
  10420. "percentage": false,
  10421. "pointradius": 5,
  10422. "points": false,
  10423. "renderer": "flot",
  10424. "seriesOverrides": [
  10425. ],
  10426. "spaceLength": 10,
  10427. "span": 6,
  10428. "stack": true,
  10429. "steppedLine": false,
  10430. "targets": [
  10431. {
  10432. "expr": "sum(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10433. "format": "time_series",
  10434. "intervalFactor": 2,
  10435. "legendFormat": "{{namespace}}",
  10436. "legendLink": null,
  10437. "step": 10
  10438. }
  10439. ],
  10440. "thresholds": [
  10441. ],
  10442. "timeFrom": null,
  10443. "timeShift": null,
  10444. "title": "Receive Bandwidth",
  10445. "tooltip": {
  10446. "shared": false,
  10447. "sort": 2,
  10448. "value_type": "individual"
  10449. },
  10450. "type": "graph",
  10451. "xaxis": {
  10452. "buckets": null,
  10453. "mode": "time",
  10454. "name": null,
  10455. "show": true,
  10456. "values": [
  10457. ]
  10458. },
  10459. "yaxes": [
  10460. {
  10461. "format": "Bps",
  10462. "label": null,
  10463. "logBase": 1,
  10464. "max": null,
  10465. "min": 0,
  10466. "show": true
  10467. },
  10468. {
  10469. "format": "short",
  10470. "label": null,
  10471. "logBase": 1,
  10472. "max": null,
  10473. "min": null,
  10474. "show": false
  10475. }
  10476. ]
  10477. },
  10478. {
  10479. "aliasColors": {
  10480. },
  10481. "bars": false,
  10482. "dashLength": 10,
  10483. "dashes": false,
  10484. "datasource": "$datasource",
  10485. "fill": 10,
  10486. "id": 13,
  10487. "interval": "1m",
  10488. "legend": {
  10489. "alignAsTable": true,
  10490. "avg": false,
  10491. "current": false,
  10492. "max": false,
  10493. "min": false,
  10494. "rightSide": true,
  10495. "show": true,
  10496. "total": false,
  10497. "values": false
  10498. },
  10499. "lines": true,
  10500. "linewidth": 0,
  10501. "links": [
  10502. ],
  10503. "nullPointMode": "null as zero",
  10504. "percentage": false,
  10505. "pointradius": 5,
  10506. "points": false,
  10507. "renderer": "flot",
  10508. "seriesOverrides": [
  10509. ],
  10510. "spaceLength": 10,
  10511. "span": 6,
  10512. "stack": true,
  10513. "steppedLine": false,
  10514. "targets": [
  10515. {
  10516. "expr": "sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10517. "format": "time_series",
  10518. "intervalFactor": 2,
  10519. "legendFormat": "{{namespace}}",
  10520. "legendLink": null,
  10521. "step": 10
  10522. }
  10523. ],
  10524. "thresholds": [
  10525. ],
  10526. "timeFrom": null,
  10527. "timeShift": null,
  10528. "title": "Transmit Bandwidth",
  10529. "tooltip": {
  10530. "shared": false,
  10531. "sort": 2,
  10532. "value_type": "individual"
  10533. },
  10534. "type": "graph",
  10535. "xaxis": {
  10536. "buckets": null,
  10537. "mode": "time",
  10538. "name": null,
  10539. "show": true,
  10540. "values": [
  10541. ]
  10542. },
  10543. "yaxes": [
  10544. {
  10545. "format": "Bps",
  10546. "label": null,
  10547. "logBase": 1,
  10548. "max": null,
  10549. "min": 0,
  10550. "show": true
  10551. },
  10552. {
  10553. "format": "short",
  10554. "label": null,
  10555. "logBase": 1,
  10556. "max": null,
  10557. "min": null,
  10558. "show": false
  10559. }
  10560. ]
  10561. }
  10562. ],
  10563. "repeat": null,
  10564. "repeatIteration": null,
  10565. "repeatRowId": null,
  10566. "showTitle": true,
  10567. "title": "Bandwidth",
  10568. "titleSize": "h6"
  10569. },
  10570. {
  10571. "collapse": false,
  10572. "height": "250px",
  10573. "panels": [
  10574. {
  10575. "aliasColors": {
  10576. },
  10577. "bars": false,
  10578. "dashLength": 10,
  10579. "dashes": false,
  10580. "datasource": "$datasource",
  10581. "fill": 10,
  10582. "id": 14,
  10583. "interval": "1m",
  10584. "legend": {
  10585. "alignAsTable": true,
  10586. "avg": false,
  10587. "current": false,
  10588. "max": false,
  10589. "min": false,
  10590. "rightSide": true,
  10591. "show": true,
  10592. "total": false,
  10593. "values": false
  10594. },
  10595. "lines": true,
  10596. "linewidth": 0,
  10597. "links": [
  10598. ],
  10599. "nullPointMode": "null as zero",
  10600. "percentage": false,
  10601. "pointradius": 5,
  10602. "points": false,
  10603. "renderer": "flot",
  10604. "seriesOverrides": [
  10605. ],
  10606. "spaceLength": 10,
  10607. "span": 6,
  10608. "stack": true,
  10609. "steppedLine": false,
  10610. "targets": [
  10611. {
  10612. "expr": "avg(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10613. "format": "time_series",
  10614. "intervalFactor": 2,
  10615. "legendFormat": "{{namespace}}",
  10616. "legendLink": null,
  10617. "step": 10
  10618. }
  10619. ],
  10620. "thresholds": [
  10621. ],
  10622. "timeFrom": null,
  10623. "timeShift": null,
  10624. "title": "Average Container Bandwidth by Namespace: Received",
  10625. "tooltip": {
  10626. "shared": false,
  10627. "sort": 2,
  10628. "value_type": "individual"
  10629. },
  10630. "type": "graph",
  10631. "xaxis": {
  10632. "buckets": null,
  10633. "mode": "time",
  10634. "name": null,
  10635. "show": true,
  10636. "values": [
  10637. ]
  10638. },
  10639. "yaxes": [
  10640. {
  10641. "format": "Bps",
  10642. "label": null,
  10643. "logBase": 1,
  10644. "max": null,
  10645. "min": 0,
  10646. "show": true
  10647. },
  10648. {
  10649. "format": "short",
  10650. "label": null,
  10651. "logBase": 1,
  10652. "max": null,
  10653. "min": null,
  10654. "show": false
  10655. }
  10656. ]
  10657. },
  10658. {
  10659. "aliasColors": {
  10660. },
  10661. "bars": false,
  10662. "dashLength": 10,
  10663. "dashes": false,
  10664. "datasource": "$datasource",
  10665. "fill": 10,
  10666. "id": 15,
  10667. "interval": "1m",
  10668. "legend": {
  10669. "alignAsTable": true,
  10670. "avg": false,
  10671. "current": false,
  10672. "max": false,
  10673. "min": false,
  10674. "rightSide": true,
  10675. "show": true,
  10676. "total": false,
  10677. "values": false
  10678. },
  10679. "lines": true,
  10680. "linewidth": 0,
  10681. "links": [
  10682. ],
  10683. "nullPointMode": "null as zero",
  10684. "percentage": false,
  10685. "pointradius": 5,
  10686. "points": false,
  10687. "renderer": "flot",
  10688. "seriesOverrides": [
  10689. ],
  10690. "spaceLength": 10,
  10691. "span": 6,
  10692. "stack": true,
  10693. "steppedLine": false,
  10694. "targets": [
  10695. {
  10696. "expr": "avg(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10697. "format": "time_series",
  10698. "intervalFactor": 2,
  10699. "legendFormat": "{{namespace}}",
  10700. "legendLink": null,
  10701. "step": 10
  10702. }
  10703. ],
  10704. "thresholds": [
  10705. ],
  10706. "timeFrom": null,
  10707. "timeShift": null,
  10708. "title": "Average Container Bandwidth by Namespace: Transmitted",
  10709. "tooltip": {
  10710. "shared": false,
  10711. "sort": 2,
  10712. "value_type": "individual"
  10713. },
  10714. "type": "graph",
  10715. "xaxis": {
  10716. "buckets": null,
  10717. "mode": "time",
  10718. "name": null,
  10719. "show": true,
  10720. "values": [
  10721. ]
  10722. },
  10723. "yaxes": [
  10724. {
  10725. "format": "Bps",
  10726. "label": null,
  10727. "logBase": 1,
  10728. "max": null,
  10729. "min": 0,
  10730. "show": true
  10731. },
  10732. {
  10733. "format": "short",
  10734. "label": null,
  10735. "logBase": 1,
  10736. "max": null,
  10737. "min": null,
  10738. "show": false
  10739. }
  10740. ]
  10741. }
  10742. ],
  10743. "repeat": null,
  10744. "repeatIteration": null,
  10745. "repeatRowId": null,
  10746. "showTitle": true,
  10747. "title": "Average Container Bandwidth by Namespace",
  10748. "titleSize": "h6"
  10749. },
  10750. {
  10751. "collapse": false,
  10752. "height": "250px",
  10753. "panels": [
  10754. {
  10755. "aliasColors": {
  10756. },
  10757. "bars": false,
  10758. "dashLength": 10,
  10759. "dashes": false,
  10760. "datasource": "$datasource",
  10761. "fill": 10,
  10762. "id": 16,
  10763. "interval": "1m",
  10764. "legend": {
  10765. "alignAsTable": true,
  10766. "avg": false,
  10767. "current": false,
  10768. "max": false,
  10769. "min": false,
  10770. "rightSide": true,
  10771. "show": true,
  10772. "total": false,
  10773. "values": false
  10774. },
  10775. "lines": true,
  10776. "linewidth": 0,
  10777. "links": [
  10778. ],
  10779. "nullPointMode": "null as zero",
  10780. "percentage": false,
  10781. "pointradius": 5,
  10782. "points": false,
  10783. "renderer": "flot",
  10784. "seriesOverrides": [
  10785. ],
  10786. "spaceLength": 10,
  10787. "span": 6,
  10788. "stack": true,
  10789. "steppedLine": false,
  10790. "targets": [
  10791. {
  10792. "expr": "sum(irate(container_network_receive_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10793. "format": "time_series",
  10794. "intervalFactor": 2,
  10795. "legendFormat": "{{namespace}}",
  10796. "legendLink": null,
  10797. "step": 10
  10798. }
  10799. ],
  10800. "thresholds": [
  10801. ],
  10802. "timeFrom": null,
  10803. "timeShift": null,
  10804. "title": "Rate of Received Packets",
  10805. "tooltip": {
  10806. "shared": false,
  10807. "sort": 2,
  10808. "value_type": "individual"
  10809. },
  10810. "type": "graph",
  10811. "xaxis": {
  10812. "buckets": null,
  10813. "mode": "time",
  10814. "name": null,
  10815. "show": true,
  10816. "values": [
  10817. ]
  10818. },
  10819. "yaxes": [
  10820. {
  10821. "format": "pps",
  10822. "label": null,
  10823. "logBase": 1,
  10824. "max": null,
  10825. "min": 0,
  10826. "show": true
  10827. },
  10828. {
  10829. "format": "short",
  10830. "label": null,
  10831. "logBase": 1,
  10832. "max": null,
  10833. "min": null,
  10834. "show": false
  10835. }
  10836. ]
  10837. },
  10838. {
  10839. "aliasColors": {
  10840. },
  10841. "bars": false,
  10842. "dashLength": 10,
  10843. "dashes": false,
  10844. "datasource": "$datasource",
  10845. "fill": 10,
  10846. "id": 17,
  10847. "interval": "1m",
  10848. "legend": {
  10849. "alignAsTable": true,
  10850. "avg": false,
  10851. "current": false,
  10852. "max": false,
  10853. "min": false,
  10854. "rightSide": true,
  10855. "show": true,
  10856. "total": false,
  10857. "values": false
  10858. },
  10859. "lines": true,
  10860. "linewidth": 0,
  10861. "links": [
  10862. ],
  10863. "nullPointMode": "null as zero",
  10864. "percentage": false,
  10865. "pointradius": 5,
  10866. "points": false,
  10867. "renderer": "flot",
  10868. "seriesOverrides": [
  10869. ],
  10870. "spaceLength": 10,
  10871. "span": 6,
  10872. "stack": true,
  10873. "steppedLine": false,
  10874. "targets": [
  10875. {
  10876. "expr": "sum(irate(container_network_transmit_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10877. "format": "time_series",
  10878. "intervalFactor": 2,
  10879. "legendFormat": "{{namespace}}",
  10880. "legendLink": null,
  10881. "step": 10
  10882. }
  10883. ],
  10884. "thresholds": [
  10885. ],
  10886. "timeFrom": null,
  10887. "timeShift": null,
  10888. "title": "Rate of Transmitted Packets",
  10889. "tooltip": {
  10890. "shared": false,
  10891. "sort": 2,
  10892. "value_type": "individual"
  10893. },
  10894. "type": "graph",
  10895. "xaxis": {
  10896. "buckets": null,
  10897. "mode": "time",
  10898. "name": null,
  10899. "show": true,
  10900. "values": [
  10901. ]
  10902. },
  10903. "yaxes": [
  10904. {
  10905. "format": "pps",
  10906. "label": null,
  10907. "logBase": 1,
  10908. "max": null,
  10909. "min": 0,
  10910. "show": true
  10911. },
  10912. {
  10913. "format": "short",
  10914. "label": null,
  10915. "logBase": 1,
  10916. "max": null,
  10917. "min": null,
  10918. "show": false
  10919. }
  10920. ]
  10921. }
  10922. ],
  10923. "repeat": null,
  10924. "repeatIteration": null,
  10925. "repeatRowId": null,
  10926. "showTitle": true,
  10927. "title": "Rate of Packets",
  10928. "titleSize": "h6"
  10929. },
  10930. {
  10931. "collapse": false,
  10932. "height": "250px",
  10933. "panels": [
  10934. {
  10935. "aliasColors": {
  10936. },
  10937. "bars": false,
  10938. "dashLength": 10,
  10939. "dashes": false,
  10940. "datasource": "$datasource",
  10941. "fill": 10,
  10942. "id": 18,
  10943. "interval": "1m",
  10944. "legend": {
  10945. "alignAsTable": true,
  10946. "avg": false,
  10947. "current": false,
  10948. "max": false,
  10949. "min": false,
  10950. "rightSide": true,
  10951. "show": true,
  10952. "total": false,
  10953. "values": false
  10954. },
  10955. "lines": true,
  10956. "linewidth": 0,
  10957. "links": [
  10958. ],
  10959. "nullPointMode": "null as zero",
  10960. "percentage": false,
  10961. "pointradius": 5,
  10962. "points": false,
  10963. "renderer": "flot",
  10964. "seriesOverrides": [
  10965. ],
  10966. "spaceLength": 10,
  10967. "span": 6,
  10968. "stack": true,
  10969. "steppedLine": false,
  10970. "targets": [
  10971. {
  10972. "expr": "sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  10973. "format": "time_series",
  10974. "intervalFactor": 2,
  10975. "legendFormat": "{{namespace}}",
  10976. "legendLink": null,
  10977. "step": 10
  10978. }
  10979. ],
  10980. "thresholds": [
  10981. ],
  10982. "timeFrom": null,
  10983. "timeShift": null,
  10984. "title": "Rate of Received Packets Dropped",
  10985. "tooltip": {
  10986. "shared": false,
  10987. "sort": 2,
  10988. "value_type": "individual"
  10989. },
  10990. "type": "graph",
  10991. "xaxis": {
  10992. "buckets": null,
  10993. "mode": "time",
  10994. "name": null,
  10995. "show": true,
  10996. "values": [
  10997. ]
  10998. },
  10999. "yaxes": [
  11000. {
  11001. "format": "pps",
  11002. "label": null,
  11003. "logBase": 1,
  11004. "max": null,
  11005. "min": 0,
  11006. "show": true
  11007. },
  11008. {
  11009. "format": "short",
  11010. "label": null,
  11011. "logBase": 1,
  11012. "max": null,
  11013. "min": null,
  11014. "show": false
  11015. }
  11016. ]
  11017. },
  11018. {
  11019. "aliasColors": {
  11020. },
  11021. "bars": false,
  11022. "dashLength": 10,
  11023. "dashes": false,
  11024. "datasource": "$datasource",
  11025. "fill": 10,
  11026. "id": 19,
  11027. "interval": "1m",
  11028. "legend": {
  11029. "alignAsTable": true,
  11030. "avg": false,
  11031. "current": false,
  11032. "max": false,
  11033. "min": false,
  11034. "rightSide": true,
  11035. "show": true,
  11036. "total": false,
  11037. "values": false
  11038. },
  11039. "lines": true,
  11040. "linewidth": 0,
  11041. "links": [
  11042. ],
  11043. "nullPointMode": "null as zero",
  11044. "percentage": false,
  11045. "pointradius": 5,
  11046. "points": false,
  11047. "renderer": "flot",
  11048. "seriesOverrides": [
  11049. ],
  11050. "spaceLength": 10,
  11051. "span": 6,
  11052. "stack": true,
  11053. "steppedLine": false,
  11054. "targets": [
  11055. {
  11056. "expr": "sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
  11057. "format": "time_series",
  11058. "intervalFactor": 2,
  11059. "legendFormat": "{{namespace}}",
  11060. "legendLink": null,
  11061. "step": 10
  11062. }
  11063. ],
  11064. "thresholds": [
  11065. ],
  11066. "timeFrom": null,
  11067. "timeShift": null,
  11068. "title": "Rate of Transmitted Packets Dropped",
  11069. "tooltip": {
  11070. "shared": false,
  11071. "sort": 2,
  11072. "value_type": "individual"
  11073. },
  11074. "type": "graph",
  11075. "xaxis": {
  11076. "buckets": null,
  11077. "mode": "time",
  11078. "name": null,
  11079. "show": true,
  11080. "values": [
  11081. ]
  11082. },
  11083. "yaxes": [
  11084. {
  11085. "format": "pps",
  11086. "label": null,
  11087. "logBase": 1,
  11088. "max": null,
  11089. "min": 0,
  11090. "show": true
  11091. },
  11092. {
  11093. "format": "short",
  11094. "label": null,
  11095. "logBase": 1,
  11096. "max": null,
  11097. "min": null,
  11098. "show": false
  11099. }
  11100. ]
  11101. }
  11102. ],
  11103. "repeat": null,
  11104. "repeatIteration": null,
  11105. "repeatRowId": null,
  11106. "showTitle": true,
  11107. "title": "Rate of Packets Dropped",
  11108. "titleSize": "h6"
  11109. },
  11110. {
  11111. "collapse": false,
  11112. "height": "250px",
  11113. "panels": [
  11114. {
  11115. "aliasColors": {
  11116. },
  11117. "bars": false,
  11118. "dashLength": 10,
  11119. "dashes": false,
  11120. "datasource": "$datasource",
  11121. "decimals": -1,
  11122. "fill": 10,
  11123. "id": 20,
  11124. "interval": "1m",
  11125. "legend": {
  11126. "alignAsTable": true,
  11127. "avg": false,
  11128. "current": false,
  11129. "max": false,
  11130. "min": false,
  11131. "rightSide": true,
  11132. "show": true,
  11133. "total": false,
  11134. "values": false
  11135. },
  11136. "lines": true,
  11137. "linewidth": 0,
  11138. "links": [
  11139. ],
  11140. "nullPointMode": "null as zero",
  11141. "percentage": false,
  11142. "pointradius": 5,
  11143. "points": false,
  11144. "renderer": "flot",
  11145. "seriesOverrides": [
  11146. ],
  11147. "spaceLength": 10,
  11148. "span": 6,
  11149. "stack": true,
  11150. "steppedLine": false,
  11151. "targets": [
  11152. {
  11153. "expr": "ceil(sum by(namespace) (rate(container_fs_reads_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", container!=\"\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval])))",
  11154. "format": "time_series",
  11155. "intervalFactor": 2,
  11156. "legendFormat": "{{namespace}}",
  11157. "legendLink": null,
  11158. "step": 10
  11159. }
  11160. ],
  11161. "thresholds": [
  11162. ],
  11163. "timeFrom": null,
  11164. "timeShift": null,
  11165. "title": "IOPS(Reads+Writes)",
  11166. "tooltip": {
  11167. "shared": false,
  11168. "sort": 2,
  11169. "value_type": "individual"
  11170. },
  11171. "type": "graph",
  11172. "xaxis": {
  11173. "buckets": null,
  11174. "mode": "time",
  11175. "name": null,
  11176. "show": true,
  11177. "values": [
  11178. ]
  11179. },
  11180. "yaxes": [
  11181. {
  11182. "format": "short",
  11183. "label": null,
  11184. "logBase": 1,
  11185. "max": null,
  11186. "min": 0,
  11187. "show": true
  11188. },
  11189. {
  11190. "format": "short",
  11191. "label": null,
  11192. "logBase": 1,
  11193. "max": null,
  11194. "min": null,
  11195. "show": false
  11196. }
  11197. ]
  11198. },
  11199. {
  11200. "aliasColors": {
  11201. },
  11202. "bars": false,
  11203. "dashLength": 10,
  11204. "dashes": false,
  11205. "datasource": "$datasource",
  11206. "fill": 10,
  11207. "id": 21,
  11208. "interval": "1m",
  11209. "legend": {
  11210. "alignAsTable": true,
  11211. "avg": false,
  11212. "current": false,
  11213. "max": false,
  11214. "min": false,
  11215. "rightSide": true,
  11216. "show": true,
  11217. "total": false,
  11218. "values": false
  11219. },
  11220. "lines": true,
  11221. "linewidth": 0,
  11222. "links": [
  11223. ],
  11224. "nullPointMode": "null as zero",
  11225. "percentage": false,
  11226. "pointradius": 5,
  11227. "points": false,
  11228. "renderer": "flot",
  11229. "seriesOverrides": [
  11230. ],
  11231. "spaceLength": 10,
  11232. "span": 6,
  11233. "stack": true,
  11234. "steppedLine": false,
  11235. "targets": [
  11236. {
  11237. "expr": "sum by(namespace) (rate(container_fs_reads_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", container!=\"\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))",
  11238. "format": "time_series",
  11239. "intervalFactor": 2,
  11240. "legendFormat": "{{namespace}}",
  11241. "legendLink": null,
  11242. "step": 10
  11243. }
  11244. ],
  11245. "thresholds": [
  11246. ],
  11247. "timeFrom": null,
  11248. "timeShift": null,
  11249. "title": "ThroughPut(Read+Write)",
  11250. "tooltip": {
  11251. "shared": false,
  11252. "sort": 2,
  11253. "value_type": "individual"
  11254. },
  11255. "type": "graph",
  11256. "xaxis": {
  11257. "buckets": null,
  11258. "mode": "time",
  11259. "name": null,
  11260. "show": true,
  11261. "values": [
  11262. ]
  11263. },
  11264. "yaxes": [
  11265. {
  11266. "format": "Bps",
  11267. "label": null,
  11268. "logBase": 1,
  11269. "max": null,
  11270. "min": 0,
  11271. "show": true
  11272. },
  11273. {
  11274. "format": "short",
  11275. "label": null,
  11276. "logBase": 1,
  11277. "max": null,
  11278. "min": null,
  11279. "show": false
  11280. }
  11281. ]
  11282. }
  11283. ],
  11284. "repeat": null,
  11285. "repeatIteration": null,
  11286. "repeatRowId": null,
  11287. "showTitle": true,
  11288. "title": "Storage IO",
  11289. "titleSize": "h6"
  11290. },
  11291. {
  11292. "collapse": false,
  11293. "height": "250px",
  11294. "panels": [
  11295. {
  11296. "aliasColors": {
  11297. },
  11298. "bars": false,
  11299. "dashLength": 10,
  11300. "dashes": false,
  11301. "datasource": "$datasource",
  11302. "fill": 1,
  11303. "id": 22,
  11304. "interval": "1m",
  11305. "legend": {
  11306. "alignAsTable": true,
  11307. "avg": false,
  11308. "current": false,
  11309. "max": false,
  11310. "min": false,
  11311. "rightSide": true,
  11312. "show": true,
  11313. "total": false,
  11314. "values": false
  11315. },
  11316. "lines": true,
  11317. "linewidth": 1,
  11318. "links": [
  11319. ],
  11320. "nullPointMode": "null as zero",
  11321. "percentage": false,
  11322. "pointradius": 5,
  11323. "points": false,
  11324. "renderer": "flot",
  11325. "seriesOverrides": [
  11326. ],
  11327. "sort": {
  11328. "col": 4,
  11329. "desc": true
  11330. },
  11331. "spaceLength": 10,
  11332. "span": 12,
  11333. "stack": false,
  11334. "steppedLine": false,
  11335. "styles": [
  11336. {
  11337. "alias": "Time",
  11338. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  11339. "pattern": "Time",
  11340. "type": "hidden"
  11341. },
  11342. {
  11343. "alias": "IOPS(Reads)",
  11344. "colorMode": null,
  11345. "colors": [
  11346. ],
  11347. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  11348. "decimals": -1,
  11349. "link": false,
  11350. "linkTargetBlank": false,
  11351. "linkTooltip": "Drill down",
  11352. "linkUrl": "",
  11353. "pattern": "Value #A",
  11354. "thresholds": [
  11355. ],
  11356. "type": "number",
  11357. "unit": "short"
  11358. },
  11359. {
  11360. "alias": "IOPS(Writes)",
  11361. "colorMode": null,
  11362. "colors": [
  11363. ],
  11364. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  11365. "decimals": -1,
  11366. "link": false,
  11367. "linkTargetBlank": false,
  11368. "linkTooltip": "Drill down",
  11369. "linkUrl": "",
  11370. "pattern": "Value #B",
  11371. "thresholds": [
  11372. ],
  11373. "type": "number",
  11374. "unit": "short"
  11375. },
  11376. {
  11377. "alias": "IOPS(Reads + Writes)",
  11378. "colorMode": null,
  11379. "colors": [
  11380. ],
  11381. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  11382. "decimals": -1,
  11383. "link": false,
  11384. "linkTargetBlank": false,
  11385. "linkTooltip": "Drill down",
  11386. "linkUrl": "",
  11387. "pattern": "Value #C",
  11388. "thresholds": [
  11389. ],
  11390. "type": "number",
  11391. "unit": "short"
  11392. },
  11393. {
  11394. "alias": "Throughput(Read)",
  11395. "colorMode": null,
  11396. "colors": [
  11397. ],
  11398. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  11399. "decimals": 2,
  11400. "link": false,
  11401. "linkTargetBlank": false,
  11402. "linkTooltip": "Drill down",
  11403. "linkUrl": "",
  11404. "pattern": "Value #D",
  11405. "thresholds": [
  11406. ],
  11407. "type": "number",
  11408. "unit": "Bps"
  11409. },
  11410. {
  11411. "alias": "Throughput(Write)",
  11412. "colorMode": null,
  11413. "colors": [
  11414. ],
  11415. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  11416. "decimals": 2,
  11417. "link": false,
  11418. "linkTargetBlank": false,
  11419. "linkTooltip": "Drill down",
  11420. "linkUrl": "",
  11421. "pattern": "Value #E",
  11422. "thresholds": [
  11423. ],
  11424. "type": "number",
  11425. "unit": "Bps"
  11426. },
  11427. {
  11428. "alias": "Throughput(Read + Write)",
  11429. "colorMode": null,
  11430. "colors": [
  11431. ],
  11432. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  11433. "decimals": 2,
  11434. "link": false,
  11435. "linkTargetBlank": false,
  11436. "linkTooltip": "Drill down",
  11437. "linkUrl": "",
  11438. "pattern": "Value #F",
  11439. "thresholds": [
  11440. ],
  11441. "type": "number",
  11442. "unit": "Bps"
  11443. },
  11444. {
  11445. "alias": "Namespace",
  11446. "colorMode": null,
  11447. "colors": [
  11448. ],
  11449. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  11450. "decimals": 2,
  11451. "link": true,
  11452. "linkTargetBlank": false,
  11453. "linkTooltip": "Drill down to pods",
  11454. "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell",
  11455. "pattern": "namespace",
  11456. "thresholds": [
  11457. ],
  11458. "type": "number",
  11459. "unit": "short"
  11460. },
  11461. {
  11462. "alias": "",
  11463. "colorMode": null,
  11464. "colors": [
  11465. ],
  11466. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  11467. "decimals": 2,
  11468. "pattern": "/.*/",
  11469. "thresholds": [
  11470. ],
  11471. "type": "string",
  11472. "unit": "short"
  11473. }
  11474. ],
  11475. "targets": [
  11476. {
  11477. "expr": "sum by(namespace) (rate(container_fs_reads_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))",
  11478. "format": "table",
  11479. "instant": true,
  11480. "intervalFactor": 2,
  11481. "legendFormat": "",
  11482. "refId": "A",
  11483. "step": 10
  11484. },
  11485. {
  11486. "expr": "sum by(namespace) (rate(container_fs_writes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))",
  11487. "format": "table",
  11488. "instant": true,
  11489. "intervalFactor": 2,
  11490. "legendFormat": "",
  11491. "refId": "B",
  11492. "step": 10
  11493. },
  11494. {
  11495. "expr": "sum by(namespace) (rate(container_fs_reads_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))",
  11496. "format": "table",
  11497. "instant": true,
  11498. "intervalFactor": 2,
  11499. "legendFormat": "",
  11500. "refId": "C",
  11501. "step": 10
  11502. },
  11503. {
  11504. "expr": "sum by(namespace) (rate(container_fs_reads_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))",
  11505. "format": "table",
  11506. "instant": true,
  11507. "intervalFactor": 2,
  11508. "legendFormat": "",
  11509. "refId": "D",
  11510. "step": 10
  11511. },
  11512. {
  11513. "expr": "sum by(namespace) (rate(container_fs_writes_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))",
  11514. "format": "table",
  11515. "instant": true,
  11516. "intervalFactor": 2,
  11517. "legendFormat": "",
  11518. "refId": "E",
  11519. "step": 10
  11520. },
  11521. {
  11522. "expr": "sum by(namespace) (rate(container_fs_reads_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))",
  11523. "format": "table",
  11524. "instant": true,
  11525. "intervalFactor": 2,
  11526. "legendFormat": "",
  11527. "refId": "F",
  11528. "step": 10
  11529. }
  11530. ],
  11531. "thresholds": [
  11532. ],
  11533. "timeFrom": null,
  11534. "timeShift": null,
  11535. "title": "Current Storage IO",
  11536. "tooltip": {
  11537. "shared": false,
  11538. "sort": 2,
  11539. "value_type": "individual"
  11540. },
  11541. "transform": "table",
  11542. "type": "table",
  11543. "xaxis": {
  11544. "buckets": null,
  11545. "mode": "time",
  11546. "name": null,
  11547. "show": true,
  11548. "values": [
  11549. ]
  11550. },
  11551. "yaxes": [
  11552. {
  11553. "format": "short",
  11554. "label": null,
  11555. "logBase": 1,
  11556. "max": null,
  11557. "min": 0,
  11558. "show": true
  11559. },
  11560. {
  11561. "format": "short",
  11562. "label": null,
  11563. "logBase": 1,
  11564. "max": null,
  11565. "min": null,
  11566. "show": false
  11567. }
  11568. ]
  11569. }
  11570. ],
  11571. "repeat": null,
  11572. "repeatIteration": null,
  11573. "repeatRowId": null,
  11574. "showTitle": true,
  11575. "title": "Storage IO - Distribution",
  11576. "titleSize": "h6"
  11577. }
  11578. ],
  11579. "schemaVersion": 14,
  11580. "style": "dark",
  11581. "tags": [
  11582. "kubernetes-mixin"
  11583. ],
  11584. "templating": {
  11585. "list": [
  11586. {
  11587. "current": {
  11588. "text": "default",
  11589. "value": "default"
  11590. },
  11591. "hide": 0,
  11592. "label": "Data Source",
  11593. "name": "datasource",
  11594. "options": [
  11595. ],
  11596. "query": "prometheus",
  11597. "refresh": 1,
  11598. "regex": "",
  11599. "type": "datasource"
  11600. },
  11601. {
  11602. "allValue": null,
  11603. "current": {
  11604. "text": "",
  11605. "value": ""
  11606. },
  11607. "datasource": "$datasource",
  11608. "hide": 2,
  11609. "includeAll": false,
  11610. "label": null,
  11611. "multi": false,
  11612. "name": "cluster",
  11613. "options": [
  11614. ],
  11615. "query": "label_values(up{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\"}, cluster)",
  11616. "refresh": 2,
  11617. "regex": "",
  11618. "sort": 1,
  11619. "tagValuesQuery": "",
  11620. "tags": [
  11621. ],
  11622. "tagsQuery": "",
  11623. "type": "query",
  11624. "useTags": false
  11625. }
  11626. ]
  11627. },
  11628. "time": {
  11629. "from": "now-1h",
  11630. "to": "now"
  11631. },
  11632. "timepicker": {
  11633. "refresh_intervals": [
  11634. "5s",
  11635. "10s",
  11636. "30s",
  11637. "1m",
  11638. "5m",
  11639. "15m",
  11640. "30m",
  11641. "1h",
  11642. "2h",
  11643. "1d"
  11644. ],
  11645. "time_options": [
  11646. "5m",
  11647. "15m",
  11648. "1h",
  11649. "6h",
  11650. "12h",
  11651. "24h",
  11652. "2d",
  11653. "7d",
  11654. "30d"
  11655. ]
  11656. },
  11657. "timezone": "utc",
  11658. "title": "Kubernetes / Compute Resources / Cluster",
  11659. "uid": "efa86fd1d0c121a26444b636a3f509a8",
  11660. "version": 0
  11661. }
  11662. ---
  11663. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/k8s-resources-namespace.yaml
  11664. apiVersion: v1
  11665. kind: ConfigMap
  11666. metadata:
  11667. namespace: monitoring
  11668. name: prometheus-kube-prometheus-k8s-resources-namespace
  11669. annotations:
  11670. {}
  11671. labels:
  11672. grafana_dashboard: "1"
  11673. app: kube-prometheus-stack-grafana
  11674. app.kubernetes.io/managed-by: Helm
  11675. app.kubernetes.io/instance: prometheus
  11676. app.kubernetes.io/version: "44.3.0"
  11677. app.kubernetes.io/part-of: kube-prometheus-stack
  11678. chart: kube-prometheus-stack-44.3.0
  11679. release: "prometheus"
  11680. heritage: "Helm"
  11681. data:
  11682. k8s-resources-namespace.json: |-
  11683. {
  11684. "annotations": {
  11685. "list": [
  11686. ]
  11687. },
  11688. "editable": true,
  11689. "gnetId": null,
  11690. "graphTooltip": 0,
  11691. "hideControls": false,
  11692. "links": [
  11693. ],
  11694. "refresh": "10s",
  11695. "rows": [
  11696. {
  11697. "collapse": false,
  11698. "height": "100px",
  11699. "panels": [
  11700. {
  11701. "aliasColors": {
  11702. },
  11703. "bars": false,
  11704. "dashLength": 10,
  11705. "dashes": false,
  11706. "datasource": "$datasource",
  11707. "fill": 1,
  11708. "format": "percentunit",
  11709. "id": 1,
  11710. "interval": "1m",
  11711. "legend": {
  11712. "alignAsTable": true,
  11713. "avg": false,
  11714. "current": false,
  11715. "max": false,
  11716. "min": false,
  11717. "rightSide": true,
  11718. "show": true,
  11719. "total": false,
  11720. "values": false
  11721. },
  11722. "lines": true,
  11723. "linewidth": 1,
  11724. "links": [
  11725. ],
  11726. "nullPointMode": "null as zero",
  11727. "percentage": false,
  11728. "pointradius": 5,
  11729. "points": false,
  11730. "renderer": "flot",
  11731. "seriesOverrides": [
  11732. ],
  11733. "spaceLength": 10,
  11734. "span": 3,
  11735. "stack": false,
  11736. "steppedLine": false,
  11737. "targets": [
  11738. {
  11739. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) / sum(kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"})",
  11740. "format": "time_series",
  11741. "instant": true,
  11742. "intervalFactor": 2,
  11743. "refId": "A"
  11744. }
  11745. ],
  11746. "thresholds": "70,80",
  11747. "timeFrom": null,
  11748. "timeShift": null,
  11749. "title": "CPU Utilisation (from requests)",
  11750. "tooltip": {
  11751. "shared": false,
  11752. "sort": 2,
  11753. "value_type": "individual"
  11754. },
  11755. "type": "singlestat",
  11756. "xaxis": {
  11757. "buckets": null,
  11758. "mode": "time",
  11759. "name": null,
  11760. "show": true,
  11761. "values": [
  11762. ]
  11763. },
  11764. "yaxes": [
  11765. {
  11766. "format": "short",
  11767. "label": null,
  11768. "logBase": 1,
  11769. "max": null,
  11770. "min": 0,
  11771. "show": true
  11772. },
  11773. {
  11774. "format": "short",
  11775. "label": null,
  11776. "logBase": 1,
  11777. "max": null,
  11778. "min": null,
  11779. "show": false
  11780. }
  11781. ]
  11782. },
  11783. {
  11784. "aliasColors": {
  11785. },
  11786. "bars": false,
  11787. "dashLength": 10,
  11788. "dashes": false,
  11789. "datasource": "$datasource",
  11790. "fill": 1,
  11791. "format": "percentunit",
  11792. "id": 2,
  11793. "interval": "1m",
  11794. "legend": {
  11795. "alignAsTable": true,
  11796. "avg": false,
  11797. "current": false,
  11798. "max": false,
  11799. "min": false,
  11800. "rightSide": true,
  11801. "show": true,
  11802. "total": false,
  11803. "values": false
  11804. },
  11805. "lines": true,
  11806. "linewidth": 1,
  11807. "links": [
  11808. ],
  11809. "nullPointMode": "null as zero",
  11810. "percentage": false,
  11811. "pointradius": 5,
  11812. "points": false,
  11813. "renderer": "flot",
  11814. "seriesOverrides": [
  11815. ],
  11816. "spaceLength": 10,
  11817. "span": 3,
  11818. "stack": false,
  11819. "steppedLine": false,
  11820. "targets": [
  11821. {
  11822. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) / sum(kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"})",
  11823. "format": "time_series",
  11824. "instant": true,
  11825. "intervalFactor": 2,
  11826. "refId": "A"
  11827. }
  11828. ],
  11829. "thresholds": "70,80",
  11830. "timeFrom": null,
  11831. "timeShift": null,
  11832. "title": "CPU Utilisation (from limits)",
  11833. "tooltip": {
  11834. "shared": false,
  11835. "sort": 2,
  11836. "value_type": "individual"
  11837. },
  11838. "type": "singlestat",
  11839. "xaxis": {
  11840. "buckets": null,
  11841. "mode": "time",
  11842. "name": null,
  11843. "show": true,
  11844. "values": [
  11845. ]
  11846. },
  11847. "yaxes": [
  11848. {
  11849. "format": "short",
  11850. "label": null,
  11851. "logBase": 1,
  11852. "max": null,
  11853. "min": 0,
  11854. "show": true
  11855. },
  11856. {
  11857. "format": "short",
  11858. "label": null,
  11859. "logBase": 1,
  11860. "max": null,
  11861. "min": null,
  11862. "show": false
  11863. }
  11864. ]
  11865. },
  11866. {
  11867. "aliasColors": {
  11868. },
  11869. "bars": false,
  11870. "dashLength": 10,
  11871. "dashes": false,
  11872. "datasource": "$datasource",
  11873. "fill": 1,
  11874. "format": "percentunit",
  11875. "id": 3,
  11876. "interval": "1m",
  11877. "legend": {
  11878. "alignAsTable": true,
  11879. "avg": false,
  11880. "current": false,
  11881. "max": false,
  11882. "min": false,
  11883. "rightSide": true,
  11884. "show": true,
  11885. "total": false,
  11886. "values": false
  11887. },
  11888. "lines": true,
  11889. "linewidth": 1,
  11890. "links": [
  11891. ],
  11892. "nullPointMode": "null as zero",
  11893. "percentage": false,
  11894. "pointradius": 5,
  11895. "points": false,
  11896. "renderer": "flot",
  11897. "seriesOverrides": [
  11898. ],
  11899. "spaceLength": 10,
  11900. "span": 3,
  11901. "stack": false,
  11902. "steppedLine": false,
  11903. "targets": [
  11904. {
  11905. "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) / sum(kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"})",
  11906. "format": "time_series",
  11907. "instant": true,
  11908. "intervalFactor": 2,
  11909. "refId": "A"
  11910. }
  11911. ],
  11912. "thresholds": "70,80",
  11913. "timeFrom": null,
  11914. "timeShift": null,
  11915. "title": "Memory Utilisation (from requests)",
  11916. "tooltip": {
  11917. "shared": false,
  11918. "sort": 2,
  11919. "value_type": "individual"
  11920. },
  11921. "type": "singlestat",
  11922. "xaxis": {
  11923. "buckets": null,
  11924. "mode": "time",
  11925. "name": null,
  11926. "show": true,
  11927. "values": [
  11928. ]
  11929. },
  11930. "yaxes": [
  11931. {
  11932. "format": "short",
  11933. "label": null,
  11934. "logBase": 1,
  11935. "max": null,
  11936. "min": 0,
  11937. "show": true
  11938. },
  11939. {
  11940. "format": "short",
  11941. "label": null,
  11942. "logBase": 1,
  11943. "max": null,
  11944. "min": null,
  11945. "show": false
  11946. }
  11947. ]
  11948. },
  11949. {
  11950. "aliasColors": {
  11951. },
  11952. "bars": false,
  11953. "dashLength": 10,
  11954. "dashes": false,
  11955. "datasource": "$datasource",
  11956. "fill": 1,
  11957. "format": "percentunit",
  11958. "id": 4,
  11959. "interval": "1m",
  11960. "legend": {
  11961. "alignAsTable": true,
  11962. "avg": false,
  11963. "current": false,
  11964. "max": false,
  11965. "min": false,
  11966. "rightSide": true,
  11967. "show": true,
  11968. "total": false,
  11969. "values": false
  11970. },
  11971. "lines": true,
  11972. "linewidth": 1,
  11973. "links": [
  11974. ],
  11975. "nullPointMode": "null as zero",
  11976. "percentage": false,
  11977. "pointradius": 5,
  11978. "points": false,
  11979. "renderer": "flot",
  11980. "seriesOverrides": [
  11981. ],
  11982. "spaceLength": 10,
  11983. "span": 3,
  11984. "stack": false,
  11985. "steppedLine": false,
  11986. "targets": [
  11987. {
  11988. "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) / sum(kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"})",
  11989. "format": "time_series",
  11990. "instant": true,
  11991. "intervalFactor": 2,
  11992. "refId": "A"
  11993. }
  11994. ],
  11995. "thresholds": "70,80",
  11996. "timeFrom": null,
  11997. "timeShift": null,
  11998. "title": "Memory Utilisation (from limits)",
  11999. "tooltip": {
  12000. "shared": false,
  12001. "sort": 2,
  12002. "value_type": "individual"
  12003. },
  12004. "type": "singlestat",
  12005. "xaxis": {
  12006. "buckets": null,
  12007. "mode": "time",
  12008. "name": null,
  12009. "show": true,
  12010. "values": [
  12011. ]
  12012. },
  12013. "yaxes": [
  12014. {
  12015. "format": "short",
  12016. "label": null,
  12017. "logBase": 1,
  12018. "max": null,
  12019. "min": 0,
  12020. "show": true
  12021. },
  12022. {
  12023. "format": "short",
  12024. "label": null,
  12025. "logBase": 1,
  12026. "max": null,
  12027. "min": null,
  12028. "show": false
  12029. }
  12030. ]
  12031. }
  12032. ],
  12033. "repeat": null,
  12034. "repeatIteration": null,
  12035. "repeatRowId": null,
  12036. "showTitle": false,
  12037. "title": "Headlines",
  12038. "titleSize": "h6"
  12039. },
  12040. {
  12041. "collapse": false,
  12042. "height": "250px",
  12043. "panels": [
  12044. {
  12045. "aliasColors": {
  12046. },
  12047. "bars": false,
  12048. "dashLength": 10,
  12049. "dashes": false,
  12050. "datasource": "$datasource",
  12051. "fill": 10,
  12052. "id": 5,
  12053. "interval": "1m",
  12054. "legend": {
  12055. "alignAsTable": true,
  12056. "avg": false,
  12057. "current": false,
  12058. "max": false,
  12059. "min": false,
  12060. "rightSide": true,
  12061. "show": true,
  12062. "total": false,
  12063. "values": false
  12064. },
  12065. "lines": true,
  12066. "linewidth": 0,
  12067. "links": [
  12068. ],
  12069. "nullPointMode": "null as zero",
  12070. "percentage": false,
  12071. "pointradius": 5,
  12072. "points": false,
  12073. "renderer": "flot",
  12074. "seriesOverrides": [
  12075. {
  12076. "alias": "quota - requests",
  12077. "color": "#F2495C",
  12078. "dashes": true,
  12079. "fill": 0,
  12080. "hiddenSeries": true,
  12081. "hideTooltip": true,
  12082. "legend": true,
  12083. "linewidth": 2,
  12084. "stack": false
  12085. },
  12086. {
  12087. "alias": "quota - limits",
  12088. "color": "#FF9830",
  12089. "dashes": true,
  12090. "fill": 0,
  12091. "hiddenSeries": true,
  12092. "hideTooltip": true,
  12093. "legend": true,
  12094. "linewidth": 2,
  12095. "stack": false
  12096. }
  12097. ],
  12098. "spaceLength": 10,
  12099. "span": 12,
  12100. "stack": true,
  12101. "steppedLine": false,
  12102. "targets": [
  12103. {
  12104. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)",
  12105. "format": "time_series",
  12106. "intervalFactor": 2,
  12107. "legendFormat": "{{pod}}",
  12108. "legendLink": null,
  12109. "step": 10
  12110. },
  12111. {
  12112. "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.cpu\"})",
  12113. "format": "time_series",
  12114. "intervalFactor": 2,
  12115. "legendFormat": "quota - requests",
  12116. "legendLink": null,
  12117. "step": 10
  12118. },
  12119. {
  12120. "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.cpu\"})",
  12121. "format": "time_series",
  12122. "intervalFactor": 2,
  12123. "legendFormat": "quota - limits",
  12124. "legendLink": null,
  12125. "step": 10
  12126. }
  12127. ],
  12128. "thresholds": [
  12129. ],
  12130. "timeFrom": null,
  12131. "timeShift": null,
  12132. "title": "CPU Usage",
  12133. "tooltip": {
  12134. "shared": false,
  12135. "sort": 2,
  12136. "value_type": "individual"
  12137. },
  12138. "type": "graph",
  12139. "xaxis": {
  12140. "buckets": null,
  12141. "mode": "time",
  12142. "name": null,
  12143. "show": true,
  12144. "values": [
  12145. ]
  12146. },
  12147. "yaxes": [
  12148. {
  12149. "format": "short",
  12150. "label": null,
  12151. "logBase": 1,
  12152. "max": null,
  12153. "min": 0,
  12154. "show": true
  12155. },
  12156. {
  12157. "format": "short",
  12158. "label": null,
  12159. "logBase": 1,
  12160. "max": null,
  12161. "min": null,
  12162. "show": false
  12163. }
  12164. ]
  12165. }
  12166. ],
  12167. "repeat": null,
  12168. "repeatIteration": null,
  12169. "repeatRowId": null,
  12170. "showTitle": true,
  12171. "title": "CPU Usage",
  12172. "titleSize": "h6"
  12173. },
  12174. {
  12175. "collapse": false,
  12176. "height": "250px",
  12177. "panels": [
  12178. {
  12179. "aliasColors": {
  12180. },
  12181. "bars": false,
  12182. "dashLength": 10,
  12183. "dashes": false,
  12184. "datasource": "$datasource",
  12185. "fill": 1,
  12186. "id": 6,
  12187. "interval": "1m",
  12188. "legend": {
  12189. "alignAsTable": true,
  12190. "avg": false,
  12191. "current": false,
  12192. "max": false,
  12193. "min": false,
  12194. "rightSide": true,
  12195. "show": true,
  12196. "total": false,
  12197. "values": false
  12198. },
  12199. "lines": true,
  12200. "linewidth": 1,
  12201. "links": [
  12202. ],
  12203. "nullPointMode": "null as zero",
  12204. "percentage": false,
  12205. "pointradius": 5,
  12206. "points": false,
  12207. "renderer": "flot",
  12208. "seriesOverrides": [
  12209. ],
  12210. "spaceLength": 10,
  12211. "span": 12,
  12212. "stack": false,
  12213. "steppedLine": false,
  12214. "styles": [
  12215. {
  12216. "alias": "Time",
  12217. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12218. "pattern": "Time",
  12219. "type": "hidden"
  12220. },
  12221. {
  12222. "alias": "CPU Usage",
  12223. "colorMode": null,
  12224. "colors": [
  12225. ],
  12226. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12227. "decimals": 2,
  12228. "link": false,
  12229. "linkTargetBlank": false,
  12230. "linkTooltip": "Drill down",
  12231. "linkUrl": "",
  12232. "pattern": "Value #A",
  12233. "thresholds": [
  12234. ],
  12235. "type": "number",
  12236. "unit": "short"
  12237. },
  12238. {
  12239. "alias": "CPU Requests",
  12240. "colorMode": null,
  12241. "colors": [
  12242. ],
  12243. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12244. "decimals": 2,
  12245. "link": false,
  12246. "linkTargetBlank": false,
  12247. "linkTooltip": "Drill down",
  12248. "linkUrl": "",
  12249. "pattern": "Value #B",
  12250. "thresholds": [
  12251. ],
  12252. "type": "number",
  12253. "unit": "short"
  12254. },
  12255. {
  12256. "alias": "CPU Requests %",
  12257. "colorMode": null,
  12258. "colors": [
  12259. ],
  12260. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12261. "decimals": 2,
  12262. "link": false,
  12263. "linkTargetBlank": false,
  12264. "linkTooltip": "Drill down",
  12265. "linkUrl": "",
  12266. "pattern": "Value #C",
  12267. "thresholds": [
  12268. ],
  12269. "type": "number",
  12270. "unit": "percentunit"
  12271. },
  12272. {
  12273. "alias": "CPU Limits",
  12274. "colorMode": null,
  12275. "colors": [
  12276. ],
  12277. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12278. "decimals": 2,
  12279. "link": false,
  12280. "linkTargetBlank": false,
  12281. "linkTooltip": "Drill down",
  12282. "linkUrl": "",
  12283. "pattern": "Value #D",
  12284. "thresholds": [
  12285. ],
  12286. "type": "number",
  12287. "unit": "short"
  12288. },
  12289. {
  12290. "alias": "CPU Limits %",
  12291. "colorMode": null,
  12292. "colors": [
  12293. ],
  12294. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12295. "decimals": 2,
  12296. "link": false,
  12297. "linkTargetBlank": false,
  12298. "linkTooltip": "Drill down",
  12299. "linkUrl": "",
  12300. "pattern": "Value #E",
  12301. "thresholds": [
  12302. ],
  12303. "type": "number",
  12304. "unit": "percentunit"
  12305. },
  12306. {
  12307. "alias": "Pod",
  12308. "colorMode": null,
  12309. "colors": [
  12310. ],
  12311. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12312. "decimals": 2,
  12313. "link": true,
  12314. "linkTargetBlank": false,
  12315. "linkTooltip": "Drill down",
  12316. "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell",
  12317. "pattern": "pod",
  12318. "thresholds": [
  12319. ],
  12320. "type": "number",
  12321. "unit": "short"
  12322. },
  12323. {
  12324. "alias": "",
  12325. "colorMode": null,
  12326. "colors": [
  12327. ],
  12328. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12329. "decimals": 2,
  12330. "pattern": "/.*/",
  12331. "thresholds": [
  12332. ],
  12333. "type": "string",
  12334. "unit": "short"
  12335. }
  12336. ],
  12337. "targets": [
  12338. {
  12339. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)",
  12340. "format": "table",
  12341. "instant": true,
  12342. "intervalFactor": 2,
  12343. "legendFormat": "",
  12344. "refId": "A",
  12345. "step": 10
  12346. },
  12347. {
  12348. "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)",
  12349. "format": "table",
  12350. "instant": true,
  12351. "intervalFactor": 2,
  12352. "legendFormat": "",
  12353. "refId": "B",
  12354. "step": 10
  12355. },
  12356. {
  12357. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)",
  12358. "format": "table",
  12359. "instant": true,
  12360. "intervalFactor": 2,
  12361. "legendFormat": "",
  12362. "refId": "C",
  12363. "step": 10
  12364. },
  12365. {
  12366. "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)",
  12367. "format": "table",
  12368. "instant": true,
  12369. "intervalFactor": 2,
  12370. "legendFormat": "",
  12371. "refId": "D",
  12372. "step": 10
  12373. },
  12374. {
  12375. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)",
  12376. "format": "table",
  12377. "instant": true,
  12378. "intervalFactor": 2,
  12379. "legendFormat": "",
  12380. "refId": "E",
  12381. "step": 10
  12382. }
  12383. ],
  12384. "thresholds": [
  12385. ],
  12386. "timeFrom": null,
  12387. "timeShift": null,
  12388. "title": "CPU Quota",
  12389. "tooltip": {
  12390. "shared": false,
  12391. "sort": 2,
  12392. "value_type": "individual"
  12393. },
  12394. "transform": "table",
  12395. "type": "table",
  12396. "xaxis": {
  12397. "buckets": null,
  12398. "mode": "time",
  12399. "name": null,
  12400. "show": true,
  12401. "values": [
  12402. ]
  12403. },
  12404. "yaxes": [
  12405. {
  12406. "format": "short",
  12407. "label": null,
  12408. "logBase": 1,
  12409. "max": null,
  12410. "min": 0,
  12411. "show": true
  12412. },
  12413. {
  12414. "format": "short",
  12415. "label": null,
  12416. "logBase": 1,
  12417. "max": null,
  12418. "min": null,
  12419. "show": false
  12420. }
  12421. ]
  12422. }
  12423. ],
  12424. "repeat": null,
  12425. "repeatIteration": null,
  12426. "repeatRowId": null,
  12427. "showTitle": true,
  12428. "title": "CPU Quota",
  12429. "titleSize": "h6"
  12430. },
  12431. {
  12432. "collapse": false,
  12433. "height": "250px",
  12434. "panels": [
  12435. {
  12436. "aliasColors": {
  12437. },
  12438. "bars": false,
  12439. "dashLength": 10,
  12440. "dashes": false,
  12441. "datasource": "$datasource",
  12442. "fill": 10,
  12443. "id": 7,
  12444. "interval": "1m",
  12445. "legend": {
  12446. "alignAsTable": true,
  12447. "avg": false,
  12448. "current": false,
  12449. "max": false,
  12450. "min": false,
  12451. "rightSide": true,
  12452. "show": true,
  12453. "total": false,
  12454. "values": false
  12455. },
  12456. "lines": true,
  12457. "linewidth": 0,
  12458. "links": [
  12459. ],
  12460. "nullPointMode": "null as zero",
  12461. "percentage": false,
  12462. "pointradius": 5,
  12463. "points": false,
  12464. "renderer": "flot",
  12465. "seriesOverrides": [
  12466. {
  12467. "alias": "quota - requests",
  12468. "color": "#F2495C",
  12469. "dashes": true,
  12470. "fill": 0,
  12471. "hiddenSeries": true,
  12472. "hideTooltip": true,
  12473. "legend": true,
  12474. "linewidth": 2,
  12475. "stack": false
  12476. },
  12477. {
  12478. "alias": "quota - limits",
  12479. "color": "#FF9830",
  12480. "dashes": true,
  12481. "fill": 0,
  12482. "hiddenSeries": true,
  12483. "hideTooltip": true,
  12484. "legend": true,
  12485. "linewidth": 2,
  12486. "stack": false
  12487. }
  12488. ],
  12489. "spaceLength": 10,
  12490. "span": 12,
  12491. "stack": true,
  12492. "steppedLine": false,
  12493. "targets": [
  12494. {
  12495. "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}) by (pod)",
  12496. "format": "time_series",
  12497. "intervalFactor": 2,
  12498. "legendFormat": "{{pod}}",
  12499. "legendLink": null,
  12500. "step": 10
  12501. },
  12502. {
  12503. "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.memory\"})",
  12504. "format": "time_series",
  12505. "intervalFactor": 2,
  12506. "legendFormat": "quota - requests",
  12507. "legendLink": null,
  12508. "step": 10
  12509. },
  12510. {
  12511. "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.memory\"})",
  12512. "format": "time_series",
  12513. "intervalFactor": 2,
  12514. "legendFormat": "quota - limits",
  12515. "legendLink": null,
  12516. "step": 10
  12517. }
  12518. ],
  12519. "thresholds": [
  12520. ],
  12521. "timeFrom": null,
  12522. "timeShift": null,
  12523. "title": "Memory Usage (w/o cache)",
  12524. "tooltip": {
  12525. "shared": false,
  12526. "sort": 2,
  12527. "value_type": "individual"
  12528. },
  12529. "type": "graph",
  12530. "xaxis": {
  12531. "buckets": null,
  12532. "mode": "time",
  12533. "name": null,
  12534. "show": true,
  12535. "values": [
  12536. ]
  12537. },
  12538. "yaxes": [
  12539. {
  12540. "format": "bytes",
  12541. "label": null,
  12542. "logBase": 1,
  12543. "max": null,
  12544. "min": 0,
  12545. "show": true
  12546. },
  12547. {
  12548. "format": "short",
  12549. "label": null,
  12550. "logBase": 1,
  12551. "max": null,
  12552. "min": null,
  12553. "show": false
  12554. }
  12555. ]
  12556. }
  12557. ],
  12558. "repeat": null,
  12559. "repeatIteration": null,
  12560. "repeatRowId": null,
  12561. "showTitle": true,
  12562. "title": "Memory Usage",
  12563. "titleSize": "h6"
  12564. },
  12565. {
  12566. "collapse": false,
  12567. "height": "250px",
  12568. "panels": [
  12569. {
  12570. "aliasColors": {
  12571. },
  12572. "bars": false,
  12573. "dashLength": 10,
  12574. "dashes": false,
  12575. "datasource": "$datasource",
  12576. "fill": 1,
  12577. "id": 8,
  12578. "interval": "1m",
  12579. "legend": {
  12580. "alignAsTable": true,
  12581. "avg": false,
  12582. "current": false,
  12583. "max": false,
  12584. "min": false,
  12585. "rightSide": true,
  12586. "show": true,
  12587. "total": false,
  12588. "values": false
  12589. },
  12590. "lines": true,
  12591. "linewidth": 1,
  12592. "links": [
  12593. ],
  12594. "nullPointMode": "null as zero",
  12595. "percentage": false,
  12596. "pointradius": 5,
  12597. "points": false,
  12598. "renderer": "flot",
  12599. "seriesOverrides": [
  12600. ],
  12601. "spaceLength": 10,
  12602. "span": 12,
  12603. "stack": false,
  12604. "steppedLine": false,
  12605. "styles": [
  12606. {
  12607. "alias": "Time",
  12608. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12609. "pattern": "Time",
  12610. "type": "hidden"
  12611. },
  12612. {
  12613. "alias": "Memory Usage",
  12614. "colorMode": null,
  12615. "colors": [
  12616. ],
  12617. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12618. "decimals": 2,
  12619. "link": false,
  12620. "linkTargetBlank": false,
  12621. "linkTooltip": "Drill down",
  12622. "linkUrl": "",
  12623. "pattern": "Value #A",
  12624. "thresholds": [
  12625. ],
  12626. "type": "number",
  12627. "unit": "bytes"
  12628. },
  12629. {
  12630. "alias": "Memory Requests",
  12631. "colorMode": null,
  12632. "colors": [
  12633. ],
  12634. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12635. "decimals": 2,
  12636. "link": false,
  12637. "linkTargetBlank": false,
  12638. "linkTooltip": "Drill down",
  12639. "linkUrl": "",
  12640. "pattern": "Value #B",
  12641. "thresholds": [
  12642. ],
  12643. "type": "number",
  12644. "unit": "bytes"
  12645. },
  12646. {
  12647. "alias": "Memory Requests %",
  12648. "colorMode": null,
  12649. "colors": [
  12650. ],
  12651. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12652. "decimals": 2,
  12653. "link": false,
  12654. "linkTargetBlank": false,
  12655. "linkTooltip": "Drill down",
  12656. "linkUrl": "",
  12657. "pattern": "Value #C",
  12658. "thresholds": [
  12659. ],
  12660. "type": "number",
  12661. "unit": "percentunit"
  12662. },
  12663. {
  12664. "alias": "Memory Limits",
  12665. "colorMode": null,
  12666. "colors": [
  12667. ],
  12668. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12669. "decimals": 2,
  12670. "link": false,
  12671. "linkTargetBlank": false,
  12672. "linkTooltip": "Drill down",
  12673. "linkUrl": "",
  12674. "pattern": "Value #D",
  12675. "thresholds": [
  12676. ],
  12677. "type": "number",
  12678. "unit": "bytes"
  12679. },
  12680. {
  12681. "alias": "Memory Limits %",
  12682. "colorMode": null,
  12683. "colors": [
  12684. ],
  12685. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12686. "decimals": 2,
  12687. "link": false,
  12688. "linkTargetBlank": false,
  12689. "linkTooltip": "Drill down",
  12690. "linkUrl": "",
  12691. "pattern": "Value #E",
  12692. "thresholds": [
  12693. ],
  12694. "type": "number",
  12695. "unit": "percentunit"
  12696. },
  12697. {
  12698. "alias": "Memory Usage (RSS)",
  12699. "colorMode": null,
  12700. "colors": [
  12701. ],
  12702. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12703. "decimals": 2,
  12704. "link": false,
  12705. "linkTargetBlank": false,
  12706. "linkTooltip": "Drill down",
  12707. "linkUrl": "",
  12708. "pattern": "Value #F",
  12709. "thresholds": [
  12710. ],
  12711. "type": "number",
  12712. "unit": "bytes"
  12713. },
  12714. {
  12715. "alias": "Memory Usage (Cache)",
  12716. "colorMode": null,
  12717. "colors": [
  12718. ],
  12719. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12720. "decimals": 2,
  12721. "link": false,
  12722. "linkTargetBlank": false,
  12723. "linkTooltip": "Drill down",
  12724. "linkUrl": "",
  12725. "pattern": "Value #G",
  12726. "thresholds": [
  12727. ],
  12728. "type": "number",
  12729. "unit": "bytes"
  12730. },
  12731. {
  12732. "alias": "Memory Usage (Swap)",
  12733. "colorMode": null,
  12734. "colors": [
  12735. ],
  12736. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12737. "decimals": 2,
  12738. "link": false,
  12739. "linkTargetBlank": false,
  12740. "linkTooltip": "Drill down",
  12741. "linkUrl": "",
  12742. "pattern": "Value #H",
  12743. "thresholds": [
  12744. ],
  12745. "type": "number",
  12746. "unit": "bytes"
  12747. },
  12748. {
  12749. "alias": "Pod",
  12750. "colorMode": null,
  12751. "colors": [
  12752. ],
  12753. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12754. "decimals": 2,
  12755. "link": true,
  12756. "linkTargetBlank": false,
  12757. "linkTooltip": "Drill down",
  12758. "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell",
  12759. "pattern": "pod",
  12760. "thresholds": [
  12761. ],
  12762. "type": "number",
  12763. "unit": "short"
  12764. },
  12765. {
  12766. "alias": "",
  12767. "colorMode": null,
  12768. "colors": [
  12769. ],
  12770. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12771. "decimals": 2,
  12772. "pattern": "/.*/",
  12773. "thresholds": [
  12774. ],
  12775. "type": "string",
  12776. "unit": "short"
  12777. }
  12778. ],
  12779. "targets": [
  12780. {
  12781. "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) by (pod)",
  12782. "format": "table",
  12783. "instant": true,
  12784. "intervalFactor": 2,
  12785. "legendFormat": "",
  12786. "refId": "A",
  12787. "step": 10
  12788. },
  12789. {
  12790. "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)",
  12791. "format": "table",
  12792. "instant": true,
  12793. "intervalFactor": 2,
  12794. "legendFormat": "",
  12795. "refId": "B",
  12796. "step": 10
  12797. },
  12798. {
  12799. "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)",
  12800. "format": "table",
  12801. "instant": true,
  12802. "intervalFactor": 2,
  12803. "legendFormat": "",
  12804. "refId": "C",
  12805. "step": 10
  12806. },
  12807. {
  12808. "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)",
  12809. "format": "table",
  12810. "instant": true,
  12811. "intervalFactor": 2,
  12812. "legendFormat": "",
  12813. "refId": "D",
  12814. "step": 10
  12815. },
  12816. {
  12817. "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)",
  12818. "format": "table",
  12819. "instant": true,
  12820. "intervalFactor": 2,
  12821. "legendFormat": "",
  12822. "refId": "E",
  12823. "step": 10
  12824. },
  12825. {
  12826. "expr": "sum(container_memory_rss{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)",
  12827. "format": "table",
  12828. "instant": true,
  12829. "intervalFactor": 2,
  12830. "legendFormat": "",
  12831. "refId": "F",
  12832. "step": 10
  12833. },
  12834. {
  12835. "expr": "sum(container_memory_cache{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)",
  12836. "format": "table",
  12837. "instant": true,
  12838. "intervalFactor": 2,
  12839. "legendFormat": "",
  12840. "refId": "G",
  12841. "step": 10
  12842. },
  12843. {
  12844. "expr": "sum(container_memory_swap{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)",
  12845. "format": "table",
  12846. "instant": true,
  12847. "intervalFactor": 2,
  12848. "legendFormat": "",
  12849. "refId": "H",
  12850. "step": 10
  12851. }
  12852. ],
  12853. "thresholds": [
  12854. ],
  12855. "timeFrom": null,
  12856. "timeShift": null,
  12857. "title": "Memory Quota",
  12858. "tooltip": {
  12859. "shared": false,
  12860. "sort": 2,
  12861. "value_type": "individual"
  12862. },
  12863. "transform": "table",
  12864. "type": "table",
  12865. "xaxis": {
  12866. "buckets": null,
  12867. "mode": "time",
  12868. "name": null,
  12869. "show": true,
  12870. "values": [
  12871. ]
  12872. },
  12873. "yaxes": [
  12874. {
  12875. "format": "short",
  12876. "label": null,
  12877. "logBase": 1,
  12878. "max": null,
  12879. "min": 0,
  12880. "show": true
  12881. },
  12882. {
  12883. "format": "short",
  12884. "label": null,
  12885. "logBase": 1,
  12886. "max": null,
  12887. "min": null,
  12888. "show": false
  12889. }
  12890. ]
  12891. }
  12892. ],
  12893. "repeat": null,
  12894. "repeatIteration": null,
  12895. "repeatRowId": null,
  12896. "showTitle": true,
  12897. "title": "Memory Quota",
  12898. "titleSize": "h6"
  12899. },
  12900. {
  12901. "collapse": false,
  12902. "height": "250px",
  12903. "panels": [
  12904. {
  12905. "aliasColors": {
  12906. },
  12907. "bars": false,
  12908. "dashLength": 10,
  12909. "dashes": false,
  12910. "datasource": "$datasource",
  12911. "fill": 1,
  12912. "id": 9,
  12913. "interval": "1m",
  12914. "legend": {
  12915. "alignAsTable": true,
  12916. "avg": false,
  12917. "current": false,
  12918. "max": false,
  12919. "min": false,
  12920. "rightSide": true,
  12921. "show": true,
  12922. "total": false,
  12923. "values": false
  12924. },
  12925. "lines": true,
  12926. "linewidth": 1,
  12927. "links": [
  12928. ],
  12929. "nullPointMode": "null as zero",
  12930. "percentage": false,
  12931. "pointradius": 5,
  12932. "points": false,
  12933. "renderer": "flot",
  12934. "seriesOverrides": [
  12935. ],
  12936. "spaceLength": 10,
  12937. "span": 12,
  12938. "stack": false,
  12939. "steppedLine": false,
  12940. "styles": [
  12941. {
  12942. "alias": "Time",
  12943. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12944. "pattern": "Time",
  12945. "type": "hidden"
  12946. },
  12947. {
  12948. "alias": "Current Receive Bandwidth",
  12949. "colorMode": null,
  12950. "colors": [
  12951. ],
  12952. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12953. "decimals": 2,
  12954. "link": false,
  12955. "linkTargetBlank": false,
  12956. "linkTooltip": "Drill down",
  12957. "linkUrl": "",
  12958. "pattern": "Value #A",
  12959. "thresholds": [
  12960. ],
  12961. "type": "number",
  12962. "unit": "Bps"
  12963. },
  12964. {
  12965. "alias": "Current Transmit Bandwidth",
  12966. "colorMode": null,
  12967. "colors": [
  12968. ],
  12969. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12970. "decimals": 2,
  12971. "link": false,
  12972. "linkTargetBlank": false,
  12973. "linkTooltip": "Drill down",
  12974. "linkUrl": "",
  12975. "pattern": "Value #B",
  12976. "thresholds": [
  12977. ],
  12978. "type": "number",
  12979. "unit": "Bps"
  12980. },
  12981. {
  12982. "alias": "Rate of Received Packets",
  12983. "colorMode": null,
  12984. "colors": [
  12985. ],
  12986. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  12987. "decimals": 2,
  12988. "link": false,
  12989. "linkTargetBlank": false,
  12990. "linkTooltip": "Drill down",
  12991. "linkUrl": "",
  12992. "pattern": "Value #C",
  12993. "thresholds": [
  12994. ],
  12995. "type": "number",
  12996. "unit": "pps"
  12997. },
  12998. {
  12999. "alias": "Rate of Transmitted Packets",
  13000. "colorMode": null,
  13001. "colors": [
  13002. ],
  13003. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  13004. "decimals": 2,
  13005. "link": false,
  13006. "linkTargetBlank": false,
  13007. "linkTooltip": "Drill down",
  13008. "linkUrl": "",
  13009. "pattern": "Value #D",
  13010. "thresholds": [
  13011. ],
  13012. "type": "number",
  13013. "unit": "pps"
  13014. },
  13015. {
  13016. "alias": "Rate of Received Packets Dropped",
  13017. "colorMode": null,
  13018. "colors": [
  13019. ],
  13020. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  13021. "decimals": 2,
  13022. "link": false,
  13023. "linkTargetBlank": false,
  13024. "linkTooltip": "Drill down",
  13025. "linkUrl": "",
  13026. "pattern": "Value #E",
  13027. "thresholds": [
  13028. ],
  13029. "type": "number",
  13030. "unit": "pps"
  13031. },
  13032. {
  13033. "alias": "Rate of Transmitted Packets Dropped",
  13034. "colorMode": null,
  13035. "colors": [
  13036. ],
  13037. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  13038. "decimals": 2,
  13039. "link": false,
  13040. "linkTargetBlank": false,
  13041. "linkTooltip": "Drill down",
  13042. "linkUrl": "",
  13043. "pattern": "Value #F",
  13044. "thresholds": [
  13045. ],
  13046. "type": "number",
  13047. "unit": "pps"
  13048. },
  13049. {
  13050. "alias": "Pod",
  13051. "colorMode": null,
  13052. "colors": [
  13053. ],
  13054. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  13055. "decimals": 2,
  13056. "link": true,
  13057. "linkTargetBlank": false,
  13058. "linkTooltip": "Drill down to pods",
  13059. "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell",
  13060. "pattern": "pod",
  13061. "thresholds": [
  13062. ],
  13063. "type": "number",
  13064. "unit": "short"
  13065. },
  13066. {
  13067. "alias": "",
  13068. "colorMode": null,
  13069. "colors": [
  13070. ],
  13071. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  13072. "decimals": 2,
  13073. "pattern": "/.*/",
  13074. "thresholds": [
  13075. ],
  13076. "type": "string",
  13077. "unit": "short"
  13078. }
  13079. ],
  13080. "targets": [
  13081. {
  13082. "expr": "sum(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13083. "format": "table",
  13084. "instant": true,
  13085. "intervalFactor": 2,
  13086. "legendFormat": "",
  13087. "refId": "A",
  13088. "step": 10
  13089. },
  13090. {
  13091. "expr": "sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13092. "format": "table",
  13093. "instant": true,
  13094. "intervalFactor": 2,
  13095. "legendFormat": "",
  13096. "refId": "B",
  13097. "step": 10
  13098. },
  13099. {
  13100. "expr": "sum(irate(container_network_receive_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13101. "format": "table",
  13102. "instant": true,
  13103. "intervalFactor": 2,
  13104. "legendFormat": "",
  13105. "refId": "C",
  13106. "step": 10
  13107. },
  13108. {
  13109. "expr": "sum(irate(container_network_transmit_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13110. "format": "table",
  13111. "instant": true,
  13112. "intervalFactor": 2,
  13113. "legendFormat": "",
  13114. "refId": "D",
  13115. "step": 10
  13116. },
  13117. {
  13118. "expr": "sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13119. "format": "table",
  13120. "instant": true,
  13121. "intervalFactor": 2,
  13122. "legendFormat": "",
  13123. "refId": "E",
  13124. "step": 10
  13125. },
  13126. {
  13127. "expr": "sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13128. "format": "table",
  13129. "instant": true,
  13130. "intervalFactor": 2,
  13131. "legendFormat": "",
  13132. "refId": "F",
  13133. "step": 10
  13134. }
  13135. ],
  13136. "thresholds": [
  13137. ],
  13138. "timeFrom": null,
  13139. "timeShift": null,
  13140. "title": "Current Network Usage",
  13141. "tooltip": {
  13142. "shared": false,
  13143. "sort": 2,
  13144. "value_type": "individual"
  13145. },
  13146. "transform": "table",
  13147. "type": "table",
  13148. "xaxis": {
  13149. "buckets": null,
  13150. "mode": "time",
  13151. "name": null,
  13152. "show": true,
  13153. "values": [
  13154. ]
  13155. },
  13156. "yaxes": [
  13157. {
  13158. "format": "short",
  13159. "label": null,
  13160. "logBase": 1,
  13161. "max": null,
  13162. "min": 0,
  13163. "show": true
  13164. },
  13165. {
  13166. "format": "short",
  13167. "label": null,
  13168. "logBase": 1,
  13169. "max": null,
  13170. "min": null,
  13171. "show": false
  13172. }
  13173. ]
  13174. }
  13175. ],
  13176. "repeat": null,
  13177. "repeatIteration": null,
  13178. "repeatRowId": null,
  13179. "showTitle": true,
  13180. "title": "Current Network Usage",
  13181. "titleSize": "h6"
  13182. },
  13183. {
  13184. "collapse": false,
  13185. "height": "250px",
  13186. "panels": [
  13187. {
  13188. "aliasColors": {
  13189. },
  13190. "bars": false,
  13191. "dashLength": 10,
  13192. "dashes": false,
  13193. "datasource": "$datasource",
  13194. "fill": 10,
  13195. "id": 10,
  13196. "interval": "1m",
  13197. "legend": {
  13198. "alignAsTable": true,
  13199. "avg": false,
  13200. "current": false,
  13201. "max": false,
  13202. "min": false,
  13203. "rightSide": true,
  13204. "show": true,
  13205. "total": false,
  13206. "values": false
  13207. },
  13208. "lines": true,
  13209. "linewidth": 0,
  13210. "links": [
  13211. ],
  13212. "nullPointMode": "null as zero",
  13213. "percentage": false,
  13214. "pointradius": 5,
  13215. "points": false,
  13216. "renderer": "flot",
  13217. "seriesOverrides": [
  13218. ],
  13219. "spaceLength": 10,
  13220. "span": 6,
  13221. "stack": true,
  13222. "steppedLine": false,
  13223. "targets": [
  13224. {
  13225. "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13226. "format": "time_series",
  13227. "intervalFactor": 2,
  13228. "legendFormat": "{{pod}}",
  13229. "legendLink": null,
  13230. "step": 10
  13231. }
  13232. ],
  13233. "thresholds": [
  13234. ],
  13235. "timeFrom": null,
  13236. "timeShift": null,
  13237. "title": "Receive Bandwidth",
  13238. "tooltip": {
  13239. "shared": false,
  13240. "sort": 2,
  13241. "value_type": "individual"
  13242. },
  13243. "type": "graph",
  13244. "xaxis": {
  13245. "buckets": null,
  13246. "mode": "time",
  13247. "name": null,
  13248. "show": true,
  13249. "values": [
  13250. ]
  13251. },
  13252. "yaxes": [
  13253. {
  13254. "format": "Bps",
  13255. "label": null,
  13256. "logBase": 1,
  13257. "max": null,
  13258. "min": 0,
  13259. "show": true
  13260. },
  13261. {
  13262. "format": "short",
  13263. "label": null,
  13264. "logBase": 1,
  13265. "max": null,
  13266. "min": null,
  13267. "show": false
  13268. }
  13269. ]
  13270. },
  13271. {
  13272. "aliasColors": {
  13273. },
  13274. "bars": false,
  13275. "dashLength": 10,
  13276. "dashes": false,
  13277. "datasource": "$datasource",
  13278. "fill": 10,
  13279. "id": 11,
  13280. "interval": "1m",
  13281. "legend": {
  13282. "alignAsTable": true,
  13283. "avg": false,
  13284. "current": false,
  13285. "max": false,
  13286. "min": false,
  13287. "rightSide": true,
  13288. "show": true,
  13289. "total": false,
  13290. "values": false
  13291. },
  13292. "lines": true,
  13293. "linewidth": 0,
  13294. "links": [
  13295. ],
  13296. "nullPointMode": "null as zero",
  13297. "percentage": false,
  13298. "pointradius": 5,
  13299. "points": false,
  13300. "renderer": "flot",
  13301. "seriesOverrides": [
  13302. ],
  13303. "spaceLength": 10,
  13304. "span": 6,
  13305. "stack": true,
  13306. "steppedLine": false,
  13307. "targets": [
  13308. {
  13309. "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13310. "format": "time_series",
  13311. "intervalFactor": 2,
  13312. "legendFormat": "{{pod}}",
  13313. "legendLink": null,
  13314. "step": 10
  13315. }
  13316. ],
  13317. "thresholds": [
  13318. ],
  13319. "timeFrom": null,
  13320. "timeShift": null,
  13321. "title": "Transmit Bandwidth",
  13322. "tooltip": {
  13323. "shared": false,
  13324. "sort": 2,
  13325. "value_type": "individual"
  13326. },
  13327. "type": "graph",
  13328. "xaxis": {
  13329. "buckets": null,
  13330. "mode": "time",
  13331. "name": null,
  13332. "show": true,
  13333. "values": [
  13334. ]
  13335. },
  13336. "yaxes": [
  13337. {
  13338. "format": "Bps",
  13339. "label": null,
  13340. "logBase": 1,
  13341. "max": null,
  13342. "min": 0,
  13343. "show": true
  13344. },
  13345. {
  13346. "format": "short",
  13347. "label": null,
  13348. "logBase": 1,
  13349. "max": null,
  13350. "min": null,
  13351. "show": false
  13352. }
  13353. ]
  13354. }
  13355. ],
  13356. "repeat": null,
  13357. "repeatIteration": null,
  13358. "repeatRowId": null,
  13359. "showTitle": true,
  13360. "title": "Bandwidth",
  13361. "titleSize": "h6"
  13362. },
  13363. {
  13364. "collapse": false,
  13365. "height": "250px",
  13366. "panels": [
  13367. {
  13368. "aliasColors": {
  13369. },
  13370. "bars": false,
  13371. "dashLength": 10,
  13372. "dashes": false,
  13373. "datasource": "$datasource",
  13374. "fill": 10,
  13375. "id": 12,
  13376. "interval": "1m",
  13377. "legend": {
  13378. "alignAsTable": true,
  13379. "avg": false,
  13380. "current": false,
  13381. "max": false,
  13382. "min": false,
  13383. "rightSide": true,
  13384. "show": true,
  13385. "total": false,
  13386. "values": false
  13387. },
  13388. "lines": true,
  13389. "linewidth": 0,
  13390. "links": [
  13391. ],
  13392. "nullPointMode": "null as zero",
  13393. "percentage": false,
  13394. "pointradius": 5,
  13395. "points": false,
  13396. "renderer": "flot",
  13397. "seriesOverrides": [
  13398. ],
  13399. "spaceLength": 10,
  13400. "span": 6,
  13401. "stack": true,
  13402. "steppedLine": false,
  13403. "targets": [
  13404. {
  13405. "expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13406. "format": "time_series",
  13407. "intervalFactor": 2,
  13408. "legendFormat": "{{pod}}",
  13409. "legendLink": null,
  13410. "step": 10
  13411. }
  13412. ],
  13413. "thresholds": [
  13414. ],
  13415. "timeFrom": null,
  13416. "timeShift": null,
  13417. "title": "Rate of Received Packets",
  13418. "tooltip": {
  13419. "shared": false,
  13420. "sort": 2,
  13421. "value_type": "individual"
  13422. },
  13423. "type": "graph",
  13424. "xaxis": {
  13425. "buckets": null,
  13426. "mode": "time",
  13427. "name": null,
  13428. "show": true,
  13429. "values": [
  13430. ]
  13431. },
  13432. "yaxes": [
  13433. {
  13434. "format": "pps",
  13435. "label": null,
  13436. "logBase": 1,
  13437. "max": null,
  13438. "min": 0,
  13439. "show": true
  13440. },
  13441. {
  13442. "format": "short",
  13443. "label": null,
  13444. "logBase": 1,
  13445. "max": null,
  13446. "min": null,
  13447. "show": false
  13448. }
  13449. ]
  13450. },
  13451. {
  13452. "aliasColors": {
  13453. },
  13454. "bars": false,
  13455. "dashLength": 10,
  13456. "dashes": false,
  13457. "datasource": "$datasource",
  13458. "fill": 10,
  13459. "id": 13,
  13460. "interval": "1m",
  13461. "legend": {
  13462. "alignAsTable": true,
  13463. "avg": false,
  13464. "current": false,
  13465. "max": false,
  13466. "min": false,
  13467. "rightSide": true,
  13468. "show": true,
  13469. "total": false,
  13470. "values": false
  13471. },
  13472. "lines": true,
  13473. "linewidth": 0,
  13474. "links": [
  13475. ],
  13476. "nullPointMode": "null as zero",
  13477. "percentage": false,
  13478. "pointradius": 5,
  13479. "points": false,
  13480. "renderer": "flot",
  13481. "seriesOverrides": [
  13482. ],
  13483. "spaceLength": 10,
  13484. "span": 6,
  13485. "stack": true,
  13486. "steppedLine": false,
  13487. "targets": [
  13488. {
  13489. "expr": "sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13490. "format": "time_series",
  13491. "intervalFactor": 2,
  13492. "legendFormat": "{{pod}}",
  13493. "legendLink": null,
  13494. "step": 10
  13495. }
  13496. ],
  13497. "thresholds": [
  13498. ],
  13499. "timeFrom": null,
  13500. "timeShift": null,
  13501. "title": "Rate of Transmitted Packets",
  13502. "tooltip": {
  13503. "shared": false,
  13504. "sort": 2,
  13505. "value_type": "individual"
  13506. },
  13507. "type": "graph",
  13508. "xaxis": {
  13509. "buckets": null,
  13510. "mode": "time",
  13511. "name": null,
  13512. "show": true,
  13513. "values": [
  13514. ]
  13515. },
  13516. "yaxes": [
  13517. {
  13518. "format": "pps",
  13519. "label": null,
  13520. "logBase": 1,
  13521. "max": null,
  13522. "min": 0,
  13523. "show": true
  13524. },
  13525. {
  13526. "format": "short",
  13527. "label": null,
  13528. "logBase": 1,
  13529. "max": null,
  13530. "min": null,
  13531. "show": false
  13532. }
  13533. ]
  13534. }
  13535. ],
  13536. "repeat": null,
  13537. "repeatIteration": null,
  13538. "repeatRowId": null,
  13539. "showTitle": true,
  13540. "title": "Rate of Packets",
  13541. "titleSize": "h6"
  13542. },
  13543. {
  13544. "collapse": false,
  13545. "height": "250px",
  13546. "panels": [
  13547. {
  13548. "aliasColors": {
  13549. },
  13550. "bars": false,
  13551. "dashLength": 10,
  13552. "dashes": false,
  13553. "datasource": "$datasource",
  13554. "fill": 10,
  13555. "id": 14,
  13556. "interval": "1m",
  13557. "legend": {
  13558. "alignAsTable": true,
  13559. "avg": false,
  13560. "current": false,
  13561. "max": false,
  13562. "min": false,
  13563. "rightSide": true,
  13564. "show": true,
  13565. "total": false,
  13566. "values": false
  13567. },
  13568. "lines": true,
  13569. "linewidth": 0,
  13570. "links": [
  13571. ],
  13572. "nullPointMode": "null as zero",
  13573. "percentage": false,
  13574. "pointradius": 5,
  13575. "points": false,
  13576. "renderer": "flot",
  13577. "seriesOverrides": [
  13578. ],
  13579. "spaceLength": 10,
  13580. "span": 6,
  13581. "stack": true,
  13582. "steppedLine": false,
  13583. "targets": [
  13584. {
  13585. "expr": "sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13586. "format": "time_series",
  13587. "intervalFactor": 2,
  13588. "legendFormat": "{{pod}}",
  13589. "legendLink": null,
  13590. "step": 10
  13591. }
  13592. ],
  13593. "thresholds": [
  13594. ],
  13595. "timeFrom": null,
  13596. "timeShift": null,
  13597. "title": "Rate of Received Packets Dropped",
  13598. "tooltip": {
  13599. "shared": false,
  13600. "sort": 2,
  13601. "value_type": "individual"
  13602. },
  13603. "type": "graph",
  13604. "xaxis": {
  13605. "buckets": null,
  13606. "mode": "time",
  13607. "name": null,
  13608. "show": true,
  13609. "values": [
  13610. ]
  13611. },
  13612. "yaxes": [
  13613. {
  13614. "format": "pps",
  13615. "label": null,
  13616. "logBase": 1,
  13617. "max": null,
  13618. "min": 0,
  13619. "show": true
  13620. },
  13621. {
  13622. "format": "short",
  13623. "label": null,
  13624. "logBase": 1,
  13625. "max": null,
  13626. "min": null,
  13627. "show": false
  13628. }
  13629. ]
  13630. },
  13631. {
  13632. "aliasColors": {
  13633. },
  13634. "bars": false,
  13635. "dashLength": 10,
  13636. "dashes": false,
  13637. "datasource": "$datasource",
  13638. "fill": 10,
  13639. "id": 15,
  13640. "interval": "1m",
  13641. "legend": {
  13642. "alignAsTable": true,
  13643. "avg": false,
  13644. "current": false,
  13645. "max": false,
  13646. "min": false,
  13647. "rightSide": true,
  13648. "show": true,
  13649. "total": false,
  13650. "values": false
  13651. },
  13652. "lines": true,
  13653. "linewidth": 0,
  13654. "links": [
  13655. ],
  13656. "nullPointMode": "null as zero",
  13657. "percentage": false,
  13658. "pointradius": 5,
  13659. "points": false,
  13660. "renderer": "flot",
  13661. "seriesOverrides": [
  13662. ],
  13663. "spaceLength": 10,
  13664. "span": 6,
  13665. "stack": true,
  13666. "steppedLine": false,
  13667. "targets": [
  13668. {
  13669. "expr": "sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)",
  13670. "format": "time_series",
  13671. "intervalFactor": 2,
  13672. "legendFormat": "{{pod}}",
  13673. "legendLink": null,
  13674. "step": 10
  13675. }
  13676. ],
  13677. "thresholds": [
  13678. ],
  13679. "timeFrom": null,
  13680. "timeShift": null,
  13681. "title": "Rate of Transmitted Packets Dropped",
  13682. "tooltip": {
  13683. "shared": false,
  13684. "sort": 2,
  13685. "value_type": "individual"
  13686. },
  13687. "type": "graph",
  13688. "xaxis": {
  13689. "buckets": null,
  13690. "mode": "time",
  13691. "name": null,
  13692. "show": true,
  13693. "values": [
  13694. ]
  13695. },
  13696. "yaxes": [
  13697. {
  13698. "format": "pps",
  13699. "label": null,
  13700. "logBase": 1,
  13701. "max": null,
  13702. "min": 0,
  13703. "show": true
  13704. },
  13705. {
  13706. "format": "short",
  13707. "label": null,
  13708. "logBase": 1,
  13709. "max": null,
  13710. "min": null,
  13711. "show": false
  13712. }
  13713. ]
  13714. }
  13715. ],
  13716. "repeat": null,
  13717. "repeatIteration": null,
  13718. "repeatRowId": null,
  13719. "showTitle": true,
  13720. "title": "Rate of Packets Dropped",
  13721. "titleSize": "h6"
  13722. },
  13723. {
  13724. "collapse": false,
  13725. "height": "250px",
  13726. "panels": [
  13727. {
  13728. "aliasColors": {
  13729. },
  13730. "bars": false,
  13731. "dashLength": 10,
  13732. "dashes": false,
  13733. "datasource": "$datasource",
  13734. "decimals": -1,
  13735. "fill": 10,
  13736. "id": 16,
  13737. "interval": "1m",
  13738. "legend": {
  13739. "alignAsTable": true,
  13740. "avg": false,
  13741. "current": false,
  13742. "max": false,
  13743. "min": false,
  13744. "rightSide": true,
  13745. "show": true,
  13746. "total": false,
  13747. "values": false
  13748. },
  13749. "lines": true,
  13750. "linewidth": 0,
  13751. "links": [
  13752. ],
  13753. "nullPointMode": "null as zero",
  13754. "percentage": false,
  13755. "pointradius": 5,
  13756. "points": false,
  13757. "renderer": "flot",
  13758. "seriesOverrides": [
  13759. ],
  13760. "spaceLength": 10,
  13761. "span": 6,
  13762. "stack": true,
  13763. "steppedLine": false,
  13764. "targets": [
  13765. {
  13766. "expr": "ceil(sum by(pod) (rate(container_fs_reads_total{container!=\"\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]) + rate(container_fs_writes_total{container!=\"\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])))",
  13767. "format": "time_series",
  13768. "intervalFactor": 2,
  13769. "legendFormat": "{{pod}}",
  13770. "legendLink": null,
  13771. "step": 10
  13772. }
  13773. ],
  13774. "thresholds": [
  13775. ],
  13776. "timeFrom": null,
  13777. "timeShift": null,
  13778. "title": "IOPS(Reads+Writes)",
  13779. "tooltip": {
  13780. "shared": false,
  13781. "sort": 2,
  13782. "value_type": "individual"
  13783. },
  13784. "type": "graph",
  13785. "xaxis": {
  13786. "buckets": null,
  13787. "mode": "time",
  13788. "name": null,
  13789. "show": true,
  13790. "values": [
  13791. ]
  13792. },
  13793. "yaxes": [
  13794. {
  13795. "format": "short",
  13796. "label": null,
  13797. "logBase": 1,
  13798. "max": null,
  13799. "min": 0,
  13800. "show": true
  13801. },
  13802. {
  13803. "format": "short",
  13804. "label": null,
  13805. "logBase": 1,
  13806. "max": null,
  13807. "min": null,
  13808. "show": false
  13809. }
  13810. ]
  13811. },
  13812. {
  13813. "aliasColors": {
  13814. },
  13815. "bars": false,
  13816. "dashLength": 10,
  13817. "dashes": false,
  13818. "datasource": "$datasource",
  13819. "fill": 10,
  13820. "id": 17,
  13821. "interval": "1m",
  13822. "legend": {
  13823. "alignAsTable": true,
  13824. "avg": false,
  13825. "current": false,
  13826. "max": false,
  13827. "min": false,
  13828. "rightSide": true,
  13829. "show": true,
  13830. "total": false,
  13831. "values": false
  13832. },
  13833. "lines": true,
  13834. "linewidth": 0,
  13835. "links": [
  13836. ],
  13837. "nullPointMode": "null as zero",
  13838. "percentage": false,
  13839. "pointradius": 5,
  13840. "points": false,
  13841. "renderer": "flot",
  13842. "seriesOverrides": [
  13843. ],
  13844. "spaceLength": 10,
  13845. "span": 6,
  13846. "stack": true,
  13847. "steppedLine": false,
  13848. "targets": [
  13849. {
  13850. "expr": "sum by(pod) (rate(container_fs_reads_bytes_total{container!=\"\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{container!=\"\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))",
  13851. "format": "time_series",
  13852. "intervalFactor": 2,
  13853. "legendFormat": "{{pod}}",
  13854. "legendLink": null,
  13855. "step": 10
  13856. }
  13857. ],
  13858. "thresholds": [
  13859. ],
  13860. "timeFrom": null,
  13861. "timeShift": null,
  13862. "title": "ThroughPut(Read+Write)",
  13863. "tooltip": {
  13864. "shared": false,
  13865. "sort": 2,
  13866. "value_type": "individual"
  13867. },
  13868. "type": "graph",
  13869. "xaxis": {
  13870. "buckets": null,
  13871. "mode": "time",
  13872. "name": null,
  13873. "show": true,
  13874. "values": [
  13875. ]
  13876. },
  13877. "yaxes": [
  13878. {
  13879. "format": "Bps",
  13880. "label": null,
  13881. "logBase": 1,
  13882. "max": null,
  13883. "min": 0,
  13884. "show": true
  13885. },
  13886. {
  13887. "format": "short",
  13888. "label": null,
  13889. "logBase": 1,
  13890. "max": null,
  13891. "min": null,
  13892. "show": false
  13893. }
  13894. ]
  13895. }
  13896. ],
  13897. "repeat": null,
  13898. "repeatIteration": null,
  13899. "repeatRowId": null,
  13900. "showTitle": true,
  13901. "title": "Storage IO",
  13902. "titleSize": "h6"
  13903. },
  13904. {
  13905. "collapse": false,
  13906. "height": "250px",
  13907. "panels": [
  13908. {
  13909. "aliasColors": {
  13910. },
  13911. "bars": false,
  13912. "dashLength": 10,
  13913. "dashes": false,
  13914. "datasource": "$datasource",
  13915. "fill": 1,
  13916. "id": 18,
  13917. "interval": "1m",
  13918. "legend": {
  13919. "alignAsTable": true,
  13920. "avg": false,
  13921. "current": false,
  13922. "max": false,
  13923. "min": false,
  13924. "rightSide": true,
  13925. "show": true,
  13926. "total": false,
  13927. "values": false
  13928. },
  13929. "lines": true,
  13930. "linewidth": 1,
  13931. "links": [
  13932. ],
  13933. "nullPointMode": "null as zero",
  13934. "percentage": false,
  13935. "pointradius": 5,
  13936. "points": false,
  13937. "renderer": "flot",
  13938. "seriesOverrides": [
  13939. ],
  13940. "sort": {
  13941. "col": 4,
  13942. "desc": true
  13943. },
  13944. "spaceLength": 10,
  13945. "span": 12,
  13946. "stack": false,
  13947. "steppedLine": false,
  13948. "styles": [
  13949. {
  13950. "alias": "Time",
  13951. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  13952. "pattern": "Time",
  13953. "type": "hidden"
  13954. },
  13955. {
  13956. "alias": "IOPS(Reads)",
  13957. "colorMode": null,
  13958. "colors": [
  13959. ],
  13960. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  13961. "decimals": -1,
  13962. "link": false,
  13963. "linkTargetBlank": false,
  13964. "linkTooltip": "Drill down",
  13965. "linkUrl": "",
  13966. "pattern": "Value #A",
  13967. "thresholds": [
  13968. ],
  13969. "type": "number",
  13970. "unit": "short"
  13971. },
  13972. {
  13973. "alias": "IOPS(Writes)",
  13974. "colorMode": null,
  13975. "colors": [
  13976. ],
  13977. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  13978. "decimals": -1,
  13979. "link": false,
  13980. "linkTargetBlank": false,
  13981. "linkTooltip": "Drill down",
  13982. "linkUrl": "",
  13983. "pattern": "Value #B",
  13984. "thresholds": [
  13985. ],
  13986. "type": "number",
  13987. "unit": "short"
  13988. },
  13989. {
  13990. "alias": "IOPS(Reads + Writes)",
  13991. "colorMode": null,
  13992. "colors": [
  13993. ],
  13994. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  13995. "decimals": -1,
  13996. "link": false,
  13997. "linkTargetBlank": false,
  13998. "linkTooltip": "Drill down",
  13999. "linkUrl": "",
  14000. "pattern": "Value #C",
  14001. "thresholds": [
  14002. ],
  14003. "type": "number",
  14004. "unit": "short"
  14005. },
  14006. {
  14007. "alias": "Throughput(Read)",
  14008. "colorMode": null,
  14009. "colors": [
  14010. ],
  14011. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14012. "decimals": 2,
  14013. "link": false,
  14014. "linkTargetBlank": false,
  14015. "linkTooltip": "Drill down",
  14016. "linkUrl": "",
  14017. "pattern": "Value #D",
  14018. "thresholds": [
  14019. ],
  14020. "type": "number",
  14021. "unit": "Bps"
  14022. },
  14023. {
  14024. "alias": "Throughput(Write)",
  14025. "colorMode": null,
  14026. "colors": [
  14027. ],
  14028. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14029. "decimals": 2,
  14030. "link": false,
  14031. "linkTargetBlank": false,
  14032. "linkTooltip": "Drill down",
  14033. "linkUrl": "",
  14034. "pattern": "Value #E",
  14035. "thresholds": [
  14036. ],
  14037. "type": "number",
  14038. "unit": "Bps"
  14039. },
  14040. {
  14041. "alias": "Throughput(Read + Write)",
  14042. "colorMode": null,
  14043. "colors": [
  14044. ],
  14045. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14046. "decimals": 2,
  14047. "link": false,
  14048. "linkTargetBlank": false,
  14049. "linkTooltip": "Drill down",
  14050. "linkUrl": "",
  14051. "pattern": "Value #F",
  14052. "thresholds": [
  14053. ],
  14054. "type": "number",
  14055. "unit": "Bps"
  14056. },
  14057. {
  14058. "alias": "Pod",
  14059. "colorMode": null,
  14060. "colors": [
  14061. ],
  14062. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14063. "decimals": 2,
  14064. "link": true,
  14065. "linkTargetBlank": false,
  14066. "linkTooltip": "Drill down to pods",
  14067. "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell",
  14068. "pattern": "pod",
  14069. "thresholds": [
  14070. ],
  14071. "type": "number",
  14072. "unit": "short"
  14073. },
  14074. {
  14075. "alias": "",
  14076. "colorMode": null,
  14077. "colors": [
  14078. ],
  14079. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14080. "decimals": 2,
  14081. "pattern": "/.*/",
  14082. "thresholds": [
  14083. ],
  14084. "type": "string",
  14085. "unit": "short"
  14086. }
  14087. ],
  14088. "targets": [
  14089. {
  14090. "expr": "sum by(pod) (rate(container_fs_reads_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))",
  14091. "format": "table",
  14092. "instant": true,
  14093. "intervalFactor": 2,
  14094. "legendFormat": "",
  14095. "refId": "A",
  14096. "step": 10
  14097. },
  14098. {
  14099. "expr": "sum by(pod) (rate(container_fs_writes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))",
  14100. "format": "table",
  14101. "instant": true,
  14102. "intervalFactor": 2,
  14103. "legendFormat": "",
  14104. "refId": "B",
  14105. "step": 10
  14106. },
  14107. {
  14108. "expr": "sum by(pod) (rate(container_fs_reads_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))",
  14109. "format": "table",
  14110. "instant": true,
  14111. "intervalFactor": 2,
  14112. "legendFormat": "",
  14113. "refId": "C",
  14114. "step": 10
  14115. },
  14116. {
  14117. "expr": "sum by(pod) (rate(container_fs_reads_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))",
  14118. "format": "table",
  14119. "instant": true,
  14120. "intervalFactor": 2,
  14121. "legendFormat": "",
  14122. "refId": "D",
  14123. "step": 10
  14124. },
  14125. {
  14126. "expr": "sum by(pod) (rate(container_fs_writes_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))",
  14127. "format": "table",
  14128. "instant": true,
  14129. "intervalFactor": 2,
  14130. "legendFormat": "",
  14131. "refId": "E",
  14132. "step": 10
  14133. },
  14134. {
  14135. "expr": "sum by(pod) (rate(container_fs_reads_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))",
  14136. "format": "table",
  14137. "instant": true,
  14138. "intervalFactor": 2,
  14139. "legendFormat": "",
  14140. "refId": "F",
  14141. "step": 10
  14142. }
  14143. ],
  14144. "thresholds": [
  14145. ],
  14146. "timeFrom": null,
  14147. "timeShift": null,
  14148. "title": "Current Storage IO",
  14149. "tooltip": {
  14150. "shared": false,
  14151. "sort": 2,
  14152. "value_type": "individual"
  14153. },
  14154. "transform": "table",
  14155. "type": "table",
  14156. "xaxis": {
  14157. "buckets": null,
  14158. "mode": "time",
  14159. "name": null,
  14160. "show": true,
  14161. "values": [
  14162. ]
  14163. },
  14164. "yaxes": [
  14165. {
  14166. "format": "short",
  14167. "label": null,
  14168. "logBase": 1,
  14169. "max": null,
  14170. "min": 0,
  14171. "show": true
  14172. },
  14173. {
  14174. "format": "short",
  14175. "label": null,
  14176. "logBase": 1,
  14177. "max": null,
  14178. "min": null,
  14179. "show": false
  14180. }
  14181. ]
  14182. }
  14183. ],
  14184. "repeat": null,
  14185. "repeatIteration": null,
  14186. "repeatRowId": null,
  14187. "showTitle": true,
  14188. "title": "Storage IO - Distribution",
  14189. "titleSize": "h6"
  14190. }
  14191. ],
  14192. "schemaVersion": 14,
  14193. "style": "dark",
  14194. "tags": [
  14195. "kubernetes-mixin"
  14196. ],
  14197. "templating": {
  14198. "list": [
  14199. {
  14200. "current": {
  14201. "text": "default",
  14202. "value": "default"
  14203. },
  14204. "hide": 0,
  14205. "label": "Data Source",
  14206. "name": "datasource",
  14207. "options": [
  14208. ],
  14209. "query": "prometheus",
  14210. "refresh": 1,
  14211. "regex": "",
  14212. "type": "datasource"
  14213. },
  14214. {
  14215. "allValue": null,
  14216. "current": {
  14217. "text": "",
  14218. "value": ""
  14219. },
  14220. "datasource": "$datasource",
  14221. "hide": 2,
  14222. "includeAll": false,
  14223. "label": null,
  14224. "multi": false,
  14225. "name": "cluster",
  14226. "options": [
  14227. ],
  14228. "query": "label_values(up{job=\"kube-state-metrics\"}, cluster)",
  14229. "refresh": 2,
  14230. "regex": "",
  14231. "sort": 1,
  14232. "tagValuesQuery": "",
  14233. "tags": [
  14234. ],
  14235. "tagsQuery": "",
  14236. "type": "query",
  14237. "useTags": false
  14238. },
  14239. {
  14240. "allValue": null,
  14241. "current": {
  14242. "text": "",
  14243. "value": ""
  14244. },
  14245. "datasource": "$datasource",
  14246. "hide": 0,
  14247. "includeAll": false,
  14248. "label": null,
  14249. "multi": false,
  14250. "name": "namespace",
  14251. "options": [
  14252. ],
  14253. "query": "label_values(kube_namespace_status_phase{job=\"kube-state-metrics\", cluster=\"$cluster\"}, namespace)",
  14254. "refresh": 2,
  14255. "regex": "",
  14256. "sort": 1,
  14257. "tagValuesQuery": "",
  14258. "tags": [
  14259. ],
  14260. "tagsQuery": "",
  14261. "type": "query",
  14262. "useTags": false
  14263. }
  14264. ]
  14265. },
  14266. "time": {
  14267. "from": "now-1h",
  14268. "to": "now"
  14269. },
  14270. "timepicker": {
  14271. "refresh_intervals": [
  14272. "5s",
  14273. "10s",
  14274. "30s",
  14275. "1m",
  14276. "5m",
  14277. "15m",
  14278. "30m",
  14279. "1h",
  14280. "2h",
  14281. "1d"
  14282. ],
  14283. "time_options": [
  14284. "5m",
  14285. "15m",
  14286. "1h",
  14287. "6h",
  14288. "12h",
  14289. "24h",
  14290. "2d",
  14291. "7d",
  14292. "30d"
  14293. ]
  14294. },
  14295. "timezone": "utc",
  14296. "title": "Kubernetes / Compute Resources / Namespace (Pods)",
  14297. "uid": "85a562078cdf77779eaa1add43ccec1e",
  14298. "version": 0
  14299. }
  14300. ---
  14301. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/k8s-resources-node.yaml
  14302. apiVersion: v1
  14303. kind: ConfigMap
  14304. metadata:
  14305. namespace: monitoring
  14306. name: prometheus-kube-prometheus-k8s-resources-node
  14307. annotations:
  14308. {}
  14309. labels:
  14310. grafana_dashboard: "1"
  14311. app: kube-prometheus-stack-grafana
  14312. app.kubernetes.io/managed-by: Helm
  14313. app.kubernetes.io/instance: prometheus
  14314. app.kubernetes.io/version: "44.3.0"
  14315. app.kubernetes.io/part-of: kube-prometheus-stack
  14316. chart: kube-prometheus-stack-44.3.0
  14317. release: "prometheus"
  14318. heritage: "Helm"
  14319. data:
  14320. k8s-resources-node.json: |-
  14321. {
  14322. "annotations": {
  14323. "list": [
  14324. ]
  14325. },
  14326. "editable": true,
  14327. "gnetId": null,
  14328. "graphTooltip": 0,
  14329. "hideControls": false,
  14330. "links": [
  14331. ],
  14332. "refresh": "10s",
  14333. "rows": [
  14334. {
  14335. "collapse": false,
  14336. "height": "250px",
  14337. "panels": [
  14338. {
  14339. "aliasColors": {
  14340. },
  14341. "bars": false,
  14342. "dashLength": 10,
  14343. "dashes": false,
  14344. "datasource": "$datasource",
  14345. "fill": 10,
  14346. "id": 1,
  14347. "interval": "1m",
  14348. "legend": {
  14349. "alignAsTable": true,
  14350. "avg": false,
  14351. "current": false,
  14352. "max": false,
  14353. "min": false,
  14354. "rightSide": true,
  14355. "show": true,
  14356. "total": false,
  14357. "values": false
  14358. },
  14359. "lines": true,
  14360. "linewidth": 0,
  14361. "links": [
  14362. ],
  14363. "nullPointMode": "null as zero",
  14364. "percentage": false,
  14365. "pointradius": 5,
  14366. "points": false,
  14367. "renderer": "flot",
  14368. "seriesOverrides": [
  14369. {
  14370. "alias": "max capacity",
  14371. "color": "#F2495C",
  14372. "dashes": true,
  14373. "fill": 0,
  14374. "hiddenSeries": true,
  14375. "hideTooltip": true,
  14376. "legend": true,
  14377. "linewidth": 2,
  14378. "stack": false
  14379. }
  14380. ],
  14381. "spaceLength": 10,
  14382. "span": 12,
  14383. "stack": true,
  14384. "steppedLine": false,
  14385. "targets": [
  14386. {
  14387. "expr": "sum(kube_node_status_capacity{cluster=\"$cluster\", node=~\"$node\", resource=\"cpu\"})",
  14388. "format": "time_series",
  14389. "intervalFactor": 2,
  14390. "legendFormat": "max capacity",
  14391. "legendLink": null,
  14392. "step": 10
  14393. },
  14394. {
  14395. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", node=~\"$node\"}) by (pod)",
  14396. "format": "time_series",
  14397. "intervalFactor": 2,
  14398. "legendFormat": "{{pod}}",
  14399. "legendLink": null,
  14400. "step": 10
  14401. }
  14402. ],
  14403. "thresholds": [
  14404. ],
  14405. "timeFrom": null,
  14406. "timeShift": null,
  14407. "title": "CPU Usage",
  14408. "tooltip": {
  14409. "shared": false,
  14410. "sort": 2,
  14411. "value_type": "individual"
  14412. },
  14413. "type": "graph",
  14414. "xaxis": {
  14415. "buckets": null,
  14416. "mode": "time",
  14417. "name": null,
  14418. "show": true,
  14419. "values": [
  14420. ]
  14421. },
  14422. "yaxes": [
  14423. {
  14424. "format": "short",
  14425. "label": null,
  14426. "logBase": 1,
  14427. "max": null,
  14428. "min": 0,
  14429. "show": true
  14430. },
  14431. {
  14432. "format": "short",
  14433. "label": null,
  14434. "logBase": 1,
  14435. "max": null,
  14436. "min": null,
  14437. "show": false
  14438. }
  14439. ]
  14440. }
  14441. ],
  14442. "repeat": null,
  14443. "repeatIteration": null,
  14444. "repeatRowId": null,
  14445. "showTitle": true,
  14446. "title": "CPU Usage",
  14447. "titleSize": "h6"
  14448. },
  14449. {
  14450. "collapse": false,
  14451. "height": "250px",
  14452. "panels": [
  14453. {
  14454. "aliasColors": {
  14455. },
  14456. "bars": false,
  14457. "dashLength": 10,
  14458. "dashes": false,
  14459. "datasource": "$datasource",
  14460. "fill": 1,
  14461. "id": 2,
  14462. "interval": "1m",
  14463. "legend": {
  14464. "alignAsTable": true,
  14465. "avg": false,
  14466. "current": false,
  14467. "max": false,
  14468. "min": false,
  14469. "rightSide": true,
  14470. "show": true,
  14471. "total": false,
  14472. "values": false
  14473. },
  14474. "lines": true,
  14475. "linewidth": 1,
  14476. "links": [
  14477. ],
  14478. "nullPointMode": "null as zero",
  14479. "percentage": false,
  14480. "pointradius": 5,
  14481. "points": false,
  14482. "renderer": "flot",
  14483. "seriesOverrides": [
  14484. ],
  14485. "spaceLength": 10,
  14486. "span": 12,
  14487. "stack": false,
  14488. "steppedLine": false,
  14489. "styles": [
  14490. {
  14491. "alias": "Time",
  14492. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14493. "pattern": "Time",
  14494. "type": "hidden"
  14495. },
  14496. {
  14497. "alias": "CPU Usage",
  14498. "colorMode": null,
  14499. "colors": [
  14500. ],
  14501. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14502. "decimals": 2,
  14503. "link": false,
  14504. "linkTargetBlank": false,
  14505. "linkTooltip": "Drill down",
  14506. "linkUrl": "",
  14507. "pattern": "Value #A",
  14508. "thresholds": [
  14509. ],
  14510. "type": "number",
  14511. "unit": "short"
  14512. },
  14513. {
  14514. "alias": "CPU Requests",
  14515. "colorMode": null,
  14516. "colors": [
  14517. ],
  14518. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14519. "decimals": 2,
  14520. "link": false,
  14521. "linkTargetBlank": false,
  14522. "linkTooltip": "Drill down",
  14523. "linkUrl": "",
  14524. "pattern": "Value #B",
  14525. "thresholds": [
  14526. ],
  14527. "type": "number",
  14528. "unit": "short"
  14529. },
  14530. {
  14531. "alias": "CPU Requests %",
  14532. "colorMode": null,
  14533. "colors": [
  14534. ],
  14535. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14536. "decimals": 2,
  14537. "link": false,
  14538. "linkTargetBlank": false,
  14539. "linkTooltip": "Drill down",
  14540. "linkUrl": "",
  14541. "pattern": "Value #C",
  14542. "thresholds": [
  14543. ],
  14544. "type": "number",
  14545. "unit": "percentunit"
  14546. },
  14547. {
  14548. "alias": "CPU Limits",
  14549. "colorMode": null,
  14550. "colors": [
  14551. ],
  14552. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14553. "decimals": 2,
  14554. "link": false,
  14555. "linkTargetBlank": false,
  14556. "linkTooltip": "Drill down",
  14557. "linkUrl": "",
  14558. "pattern": "Value #D",
  14559. "thresholds": [
  14560. ],
  14561. "type": "number",
  14562. "unit": "short"
  14563. },
  14564. {
  14565. "alias": "CPU Limits %",
  14566. "colorMode": null,
  14567. "colors": [
  14568. ],
  14569. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14570. "decimals": 2,
  14571. "link": false,
  14572. "linkTargetBlank": false,
  14573. "linkTooltip": "Drill down",
  14574. "linkUrl": "",
  14575. "pattern": "Value #E",
  14576. "thresholds": [
  14577. ],
  14578. "type": "number",
  14579. "unit": "percentunit"
  14580. },
  14581. {
  14582. "alias": "Pod",
  14583. "colorMode": null,
  14584. "colors": [
  14585. ],
  14586. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14587. "decimals": 2,
  14588. "link": false,
  14589. "linkTargetBlank": false,
  14590. "linkTooltip": "Drill down",
  14591. "linkUrl": "",
  14592. "pattern": "pod",
  14593. "thresholds": [
  14594. ],
  14595. "type": "number",
  14596. "unit": "short"
  14597. },
  14598. {
  14599. "alias": "",
  14600. "colorMode": null,
  14601. "colors": [
  14602. ],
  14603. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14604. "decimals": 2,
  14605. "pattern": "/.*/",
  14606. "thresholds": [
  14607. ],
  14608. "type": "string",
  14609. "unit": "short"
  14610. }
  14611. ],
  14612. "targets": [
  14613. {
  14614. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", node=~\"$node\"}) by (pod)",
  14615. "format": "table",
  14616. "instant": true,
  14617. "intervalFactor": 2,
  14618. "legendFormat": "",
  14619. "refId": "A",
  14620. "step": 10
  14621. },
  14622. {
  14623. "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)",
  14624. "format": "table",
  14625. "instant": true,
  14626. "intervalFactor": 2,
  14627. "legendFormat": "",
  14628. "refId": "B",
  14629. "step": 10
  14630. },
  14631. {
  14632. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", node=~\"$node\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)",
  14633. "format": "table",
  14634. "instant": true,
  14635. "intervalFactor": 2,
  14636. "legendFormat": "",
  14637. "refId": "C",
  14638. "step": 10
  14639. },
  14640. {
  14641. "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)",
  14642. "format": "table",
  14643. "instant": true,
  14644. "intervalFactor": 2,
  14645. "legendFormat": "",
  14646. "refId": "D",
  14647. "step": 10
  14648. },
  14649. {
  14650. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", node=~\"$node\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)",
  14651. "format": "table",
  14652. "instant": true,
  14653. "intervalFactor": 2,
  14654. "legendFormat": "",
  14655. "refId": "E",
  14656. "step": 10
  14657. }
  14658. ],
  14659. "thresholds": [
  14660. ],
  14661. "timeFrom": null,
  14662. "timeShift": null,
  14663. "title": "CPU Quota",
  14664. "tooltip": {
  14665. "shared": false,
  14666. "sort": 2,
  14667. "value_type": "individual"
  14668. },
  14669. "transform": "table",
  14670. "type": "table",
  14671. "xaxis": {
  14672. "buckets": null,
  14673. "mode": "time",
  14674. "name": null,
  14675. "show": true,
  14676. "values": [
  14677. ]
  14678. },
  14679. "yaxes": [
  14680. {
  14681. "format": "short",
  14682. "label": null,
  14683. "logBase": 1,
  14684. "max": null,
  14685. "min": 0,
  14686. "show": true
  14687. },
  14688. {
  14689. "format": "short",
  14690. "label": null,
  14691. "logBase": 1,
  14692. "max": null,
  14693. "min": null,
  14694. "show": false
  14695. }
  14696. ]
  14697. }
  14698. ],
  14699. "repeat": null,
  14700. "repeatIteration": null,
  14701. "repeatRowId": null,
  14702. "showTitle": true,
  14703. "title": "CPU Quota",
  14704. "titleSize": "h6"
  14705. },
  14706. {
  14707. "collapse": false,
  14708. "height": "250px",
  14709. "panels": [
  14710. {
  14711. "aliasColors": {
  14712. },
  14713. "bars": false,
  14714. "dashLength": 10,
  14715. "dashes": false,
  14716. "datasource": "$datasource",
  14717. "fill": 10,
  14718. "id": 3,
  14719. "interval": "1m",
  14720. "legend": {
  14721. "alignAsTable": true,
  14722. "avg": false,
  14723. "current": false,
  14724. "max": false,
  14725. "min": false,
  14726. "rightSide": true,
  14727. "show": true,
  14728. "total": false,
  14729. "values": false
  14730. },
  14731. "lines": true,
  14732. "linewidth": 0,
  14733. "links": [
  14734. ],
  14735. "nullPointMode": "null as zero",
  14736. "percentage": false,
  14737. "pointradius": 5,
  14738. "points": false,
  14739. "renderer": "flot",
  14740. "seriesOverrides": [
  14741. {
  14742. "alias": "max capacity",
  14743. "color": "#F2495C",
  14744. "dashes": true,
  14745. "fill": 0,
  14746. "hiddenSeries": true,
  14747. "hideTooltip": true,
  14748. "legend": true,
  14749. "linewidth": 2,
  14750. "stack": false
  14751. }
  14752. ],
  14753. "spaceLength": 10,
  14754. "span": 12,
  14755. "stack": true,
  14756. "steppedLine": false,
  14757. "targets": [
  14758. {
  14759. "expr": "sum(kube_node_status_capacity{cluster=\"$cluster\", node=~\"$node\", resource=\"memory\"})",
  14760. "format": "time_series",
  14761. "intervalFactor": 2,
  14762. "legendFormat": "max capacity",
  14763. "legendLink": null,
  14764. "step": 10
  14765. },
  14766. {
  14767. "expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=~\"$node\", container!=\"\"}) by (pod)",
  14768. "format": "time_series",
  14769. "intervalFactor": 2,
  14770. "legendFormat": "{{pod}}",
  14771. "legendLink": null,
  14772. "step": 10
  14773. }
  14774. ],
  14775. "thresholds": [
  14776. ],
  14777. "timeFrom": null,
  14778. "timeShift": null,
  14779. "title": "Memory Usage (w/o cache)",
  14780. "tooltip": {
  14781. "shared": false,
  14782. "sort": 2,
  14783. "value_type": "individual"
  14784. },
  14785. "type": "graph",
  14786. "xaxis": {
  14787. "buckets": null,
  14788. "mode": "time",
  14789. "name": null,
  14790. "show": true,
  14791. "values": [
  14792. ]
  14793. },
  14794. "yaxes": [
  14795. {
  14796. "format": "bytes",
  14797. "label": null,
  14798. "logBase": 1,
  14799. "max": null,
  14800. "min": 0,
  14801. "show": true
  14802. },
  14803. {
  14804. "format": "short",
  14805. "label": null,
  14806. "logBase": 1,
  14807. "max": null,
  14808. "min": null,
  14809. "show": false
  14810. }
  14811. ]
  14812. }
  14813. ],
  14814. "repeat": null,
  14815. "repeatIteration": null,
  14816. "repeatRowId": null,
  14817. "showTitle": true,
  14818. "title": "Memory Usage",
  14819. "titleSize": "h6"
  14820. },
  14821. {
  14822. "collapse": false,
  14823. "height": "250px",
  14824. "panels": [
  14825. {
  14826. "aliasColors": {
  14827. },
  14828. "bars": false,
  14829. "dashLength": 10,
  14830. "dashes": false,
  14831. "datasource": "$datasource",
  14832. "fill": 1,
  14833. "id": 4,
  14834. "interval": "1m",
  14835. "legend": {
  14836. "alignAsTable": true,
  14837. "avg": false,
  14838. "current": false,
  14839. "max": false,
  14840. "min": false,
  14841. "rightSide": true,
  14842. "show": true,
  14843. "total": false,
  14844. "values": false
  14845. },
  14846. "lines": true,
  14847. "linewidth": 1,
  14848. "links": [
  14849. ],
  14850. "nullPointMode": "null as zero",
  14851. "percentage": false,
  14852. "pointradius": 5,
  14853. "points": false,
  14854. "renderer": "flot",
  14855. "seriesOverrides": [
  14856. ],
  14857. "spaceLength": 10,
  14858. "span": 12,
  14859. "stack": false,
  14860. "steppedLine": false,
  14861. "styles": [
  14862. {
  14863. "alias": "Time",
  14864. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14865. "pattern": "Time",
  14866. "type": "hidden"
  14867. },
  14868. {
  14869. "alias": "Memory Usage",
  14870. "colorMode": null,
  14871. "colors": [
  14872. ],
  14873. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14874. "decimals": 2,
  14875. "link": false,
  14876. "linkTargetBlank": false,
  14877. "linkTooltip": "Drill down",
  14878. "linkUrl": "",
  14879. "pattern": "Value #A",
  14880. "thresholds": [
  14881. ],
  14882. "type": "number",
  14883. "unit": "bytes"
  14884. },
  14885. {
  14886. "alias": "Memory Requests",
  14887. "colorMode": null,
  14888. "colors": [
  14889. ],
  14890. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14891. "decimals": 2,
  14892. "link": false,
  14893. "linkTargetBlank": false,
  14894. "linkTooltip": "Drill down",
  14895. "linkUrl": "",
  14896. "pattern": "Value #B",
  14897. "thresholds": [
  14898. ],
  14899. "type": "number",
  14900. "unit": "bytes"
  14901. },
  14902. {
  14903. "alias": "Memory Requests %",
  14904. "colorMode": null,
  14905. "colors": [
  14906. ],
  14907. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14908. "decimals": 2,
  14909. "link": false,
  14910. "linkTargetBlank": false,
  14911. "linkTooltip": "Drill down",
  14912. "linkUrl": "",
  14913. "pattern": "Value #C",
  14914. "thresholds": [
  14915. ],
  14916. "type": "number",
  14917. "unit": "percentunit"
  14918. },
  14919. {
  14920. "alias": "Memory Limits",
  14921. "colorMode": null,
  14922. "colors": [
  14923. ],
  14924. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14925. "decimals": 2,
  14926. "link": false,
  14927. "linkTargetBlank": false,
  14928. "linkTooltip": "Drill down",
  14929. "linkUrl": "",
  14930. "pattern": "Value #D",
  14931. "thresholds": [
  14932. ],
  14933. "type": "number",
  14934. "unit": "bytes"
  14935. },
  14936. {
  14937. "alias": "Memory Limits %",
  14938. "colorMode": null,
  14939. "colors": [
  14940. ],
  14941. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14942. "decimals": 2,
  14943. "link": false,
  14944. "linkTargetBlank": false,
  14945. "linkTooltip": "Drill down",
  14946. "linkUrl": "",
  14947. "pattern": "Value #E",
  14948. "thresholds": [
  14949. ],
  14950. "type": "number",
  14951. "unit": "percentunit"
  14952. },
  14953. {
  14954. "alias": "Memory Usage (RSS)",
  14955. "colorMode": null,
  14956. "colors": [
  14957. ],
  14958. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14959. "decimals": 2,
  14960. "link": false,
  14961. "linkTargetBlank": false,
  14962. "linkTooltip": "Drill down",
  14963. "linkUrl": "",
  14964. "pattern": "Value #F",
  14965. "thresholds": [
  14966. ],
  14967. "type": "number",
  14968. "unit": "bytes"
  14969. },
  14970. {
  14971. "alias": "Memory Usage (Cache)",
  14972. "colorMode": null,
  14973. "colors": [
  14974. ],
  14975. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14976. "decimals": 2,
  14977. "link": false,
  14978. "linkTargetBlank": false,
  14979. "linkTooltip": "Drill down",
  14980. "linkUrl": "",
  14981. "pattern": "Value #G",
  14982. "thresholds": [
  14983. ],
  14984. "type": "number",
  14985. "unit": "bytes"
  14986. },
  14987. {
  14988. "alias": "Memory Usage (Swap)",
  14989. "colorMode": null,
  14990. "colors": [
  14991. ],
  14992. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  14993. "decimals": 2,
  14994. "link": false,
  14995. "linkTargetBlank": false,
  14996. "linkTooltip": "Drill down",
  14997. "linkUrl": "",
  14998. "pattern": "Value #H",
  14999. "thresholds": [
  15000. ],
  15001. "type": "number",
  15002. "unit": "bytes"
  15003. },
  15004. {
  15005. "alias": "Pod",
  15006. "colorMode": null,
  15007. "colors": [
  15008. ],
  15009. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15010. "decimals": 2,
  15011. "link": false,
  15012. "linkTargetBlank": false,
  15013. "linkTooltip": "Drill down",
  15014. "linkUrl": "",
  15015. "pattern": "pod",
  15016. "thresholds": [
  15017. ],
  15018. "type": "number",
  15019. "unit": "short"
  15020. },
  15021. {
  15022. "alias": "",
  15023. "colorMode": null,
  15024. "colors": [
  15025. ],
  15026. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15027. "decimals": 2,
  15028. "pattern": "/.*/",
  15029. "thresholds": [
  15030. ],
  15031. "type": "string",
  15032. "unit": "short"
  15033. }
  15034. ],
  15035. "targets": [
  15036. {
  15037. "expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod)",
  15038. "format": "table",
  15039. "instant": true,
  15040. "intervalFactor": 2,
  15041. "legendFormat": "",
  15042. "refId": "A",
  15043. "step": 10
  15044. },
  15045. {
  15046. "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)",
  15047. "format": "table",
  15048. "instant": true,
  15049. "intervalFactor": 2,
  15050. "legendFormat": "",
  15051. "refId": "B",
  15052. "step": 10
  15053. },
  15054. {
  15055. "expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)",
  15056. "format": "table",
  15057. "instant": true,
  15058. "intervalFactor": 2,
  15059. "legendFormat": "",
  15060. "refId": "C",
  15061. "step": 10
  15062. },
  15063. {
  15064. "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)",
  15065. "format": "table",
  15066. "instant": true,
  15067. "intervalFactor": 2,
  15068. "legendFormat": "",
  15069. "refId": "D",
  15070. "step": 10
  15071. },
  15072. {
  15073. "expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)",
  15074. "format": "table",
  15075. "instant": true,
  15076. "intervalFactor": 2,
  15077. "legendFormat": "",
  15078. "refId": "E",
  15079. "step": 10
  15080. },
  15081. {
  15082. "expr": "sum(node_namespace_pod_container:container_memory_rss{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod)",
  15083. "format": "table",
  15084. "instant": true,
  15085. "intervalFactor": 2,
  15086. "legendFormat": "",
  15087. "refId": "F",
  15088. "step": 10
  15089. },
  15090. {
  15091. "expr": "sum(node_namespace_pod_container:container_memory_cache{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod)",
  15092. "format": "table",
  15093. "instant": true,
  15094. "intervalFactor": 2,
  15095. "legendFormat": "",
  15096. "refId": "G",
  15097. "step": 10
  15098. },
  15099. {
  15100. "expr": "sum(node_namespace_pod_container:container_memory_swap{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod)",
  15101. "format": "table",
  15102. "instant": true,
  15103. "intervalFactor": 2,
  15104. "legendFormat": "",
  15105. "refId": "H",
  15106. "step": 10
  15107. }
  15108. ],
  15109. "thresholds": [
  15110. ],
  15111. "timeFrom": null,
  15112. "timeShift": null,
  15113. "title": "Memory Quota",
  15114. "tooltip": {
  15115. "shared": false,
  15116. "sort": 2,
  15117. "value_type": "individual"
  15118. },
  15119. "transform": "table",
  15120. "type": "table",
  15121. "xaxis": {
  15122. "buckets": null,
  15123. "mode": "time",
  15124. "name": null,
  15125. "show": true,
  15126. "values": [
  15127. ]
  15128. },
  15129. "yaxes": [
  15130. {
  15131. "format": "short",
  15132. "label": null,
  15133. "logBase": 1,
  15134. "max": null,
  15135. "min": 0,
  15136. "show": true
  15137. },
  15138. {
  15139. "format": "short",
  15140. "label": null,
  15141. "logBase": 1,
  15142. "max": null,
  15143. "min": null,
  15144. "show": false
  15145. }
  15146. ]
  15147. }
  15148. ],
  15149. "repeat": null,
  15150. "repeatIteration": null,
  15151. "repeatRowId": null,
  15152. "showTitle": true,
  15153. "title": "Memory Quota",
  15154. "titleSize": "h6"
  15155. }
  15156. ],
  15157. "schemaVersion": 14,
  15158. "style": "dark",
  15159. "tags": [
  15160. "kubernetes-mixin"
  15161. ],
  15162. "templating": {
  15163. "list": [
  15164. {
  15165. "current": {
  15166. "text": "default",
  15167. "value": "default"
  15168. },
  15169. "hide": 0,
  15170. "label": "Data Source",
  15171. "name": "datasource",
  15172. "options": [
  15173. ],
  15174. "query": "prometheus",
  15175. "refresh": 1,
  15176. "regex": "",
  15177. "type": "datasource"
  15178. },
  15179. {
  15180. "allValue": null,
  15181. "current": {
  15182. "text": "",
  15183. "value": ""
  15184. },
  15185. "datasource": "$datasource",
  15186. "hide": 2,
  15187. "includeAll": false,
  15188. "label": null,
  15189. "multi": false,
  15190. "name": "cluster",
  15191. "options": [
  15192. ],
  15193. "query": "label_values(up{job=\"kube-state-metrics\"}, cluster)",
  15194. "refresh": 2,
  15195. "regex": "",
  15196. "sort": 1,
  15197. "tagValuesQuery": "",
  15198. "tags": [
  15199. ],
  15200. "tagsQuery": "",
  15201. "type": "query",
  15202. "useTags": false
  15203. },
  15204. {
  15205. "allValue": null,
  15206. "current": {
  15207. "text": "",
  15208. "value": ""
  15209. },
  15210. "datasource": "$datasource",
  15211. "hide": 0,
  15212. "includeAll": false,
  15213. "label": null,
  15214. "multi": true,
  15215. "name": "node",
  15216. "options": [
  15217. ],
  15218. "query": "label_values(kube_node_info{cluster=\"$cluster\"}, node)",
  15219. "refresh": 2,
  15220. "regex": "",
  15221. "sort": 1,
  15222. "tagValuesQuery": "",
  15223. "tags": [
  15224. ],
  15225. "tagsQuery": "",
  15226. "type": "query",
  15227. "useTags": false
  15228. }
  15229. ]
  15230. },
  15231. "time": {
  15232. "from": "now-1h",
  15233. "to": "now"
  15234. },
  15235. "timepicker": {
  15236. "refresh_intervals": [
  15237. "5s",
  15238. "10s",
  15239. "30s",
  15240. "1m",
  15241. "5m",
  15242. "15m",
  15243. "30m",
  15244. "1h",
  15245. "2h",
  15246. "1d"
  15247. ],
  15248. "time_options": [
  15249. "5m",
  15250. "15m",
  15251. "1h",
  15252. "6h",
  15253. "12h",
  15254. "24h",
  15255. "2d",
  15256. "7d",
  15257. "30d"
  15258. ]
  15259. },
  15260. "timezone": "utc",
  15261. "title": "Kubernetes / Compute Resources / Node (Pods)",
  15262. "uid": "200ac8fdbfbb74b39aff88118e4d1c2c",
  15263. "version": 0
  15264. }
  15265. ---
  15266. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/k8s-resources-pod.yaml
  15267. apiVersion: v1
  15268. kind: ConfigMap
  15269. metadata:
  15270. namespace: monitoring
  15271. name: prometheus-kube-prometheus-k8s-resources-pod
  15272. annotations:
  15273. {}
  15274. labels:
  15275. grafana_dashboard: "1"
  15276. app: kube-prometheus-stack-grafana
  15277. app.kubernetes.io/managed-by: Helm
  15278. app.kubernetes.io/instance: prometheus
  15279. app.kubernetes.io/version: "44.3.0"
  15280. app.kubernetes.io/part-of: kube-prometheus-stack
  15281. chart: kube-prometheus-stack-44.3.0
  15282. release: "prometheus"
  15283. heritage: "Helm"
  15284. data:
  15285. k8s-resources-pod.json: |-
  15286. {
  15287. "annotations": {
  15288. "list": [
  15289. ]
  15290. },
  15291. "editable": true,
  15292. "gnetId": null,
  15293. "graphTooltip": 0,
  15294. "hideControls": false,
  15295. "links": [
  15296. ],
  15297. "refresh": "10s",
  15298. "rows": [
  15299. {
  15300. "collapse": false,
  15301. "height": "250px",
  15302. "panels": [
  15303. {
  15304. "aliasColors": {
  15305. },
  15306. "bars": false,
  15307. "dashLength": 10,
  15308. "dashes": false,
  15309. "datasource": "$datasource",
  15310. "fill": 10,
  15311. "id": 1,
  15312. "interval": "1m",
  15313. "legend": {
  15314. "alignAsTable": true,
  15315. "avg": false,
  15316. "current": false,
  15317. "max": false,
  15318. "min": false,
  15319. "rightSide": true,
  15320. "show": true,
  15321. "total": false,
  15322. "values": false
  15323. },
  15324. "lines": true,
  15325. "linewidth": 0,
  15326. "links": [
  15327. ],
  15328. "nullPointMode": "null as zero",
  15329. "percentage": false,
  15330. "pointradius": 5,
  15331. "points": false,
  15332. "renderer": "flot",
  15333. "seriesOverrides": [
  15334. {
  15335. "alias": "requests",
  15336. "color": "#F2495C",
  15337. "fill": 0,
  15338. "hideTooltip": true,
  15339. "legend": true,
  15340. "linewidth": 2,
  15341. "stack": false
  15342. },
  15343. {
  15344. "alias": "limits",
  15345. "color": "#FF9830",
  15346. "fill": 0,
  15347. "hideTooltip": true,
  15348. "legend": true,
  15349. "linewidth": 2,
  15350. "stack": false
  15351. }
  15352. ],
  15353. "spaceLength": 10,
  15354. "span": 12,
  15355. "stack": true,
  15356. "steppedLine": false,
  15357. "targets": [
  15358. {
  15359. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{namespace=\"$namespace\", pod=\"$pod\", cluster=\"$cluster\"}) by (container)",
  15360. "format": "time_series",
  15361. "intervalFactor": 2,
  15362. "legendFormat": "{{container}}",
  15363. "legendLink": null,
  15364. "step": 10
  15365. },
  15366. {
  15367. "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"cpu\"}\n)\n",
  15368. "format": "time_series",
  15369. "intervalFactor": 2,
  15370. "legendFormat": "requests",
  15371. "legendLink": null,
  15372. "step": 10
  15373. },
  15374. {
  15375. "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"cpu\"}\n)\n",
  15376. "format": "time_series",
  15377. "intervalFactor": 2,
  15378. "legendFormat": "limits",
  15379. "legendLink": null,
  15380. "step": 10
  15381. }
  15382. ],
  15383. "thresholds": [
  15384. ],
  15385. "timeFrom": null,
  15386. "timeShift": null,
  15387. "title": "CPU Usage",
  15388. "tooltip": {
  15389. "shared": false,
  15390. "sort": 2,
  15391. "value_type": "individual"
  15392. },
  15393. "type": "graph",
  15394. "xaxis": {
  15395. "buckets": null,
  15396. "mode": "time",
  15397. "name": null,
  15398. "show": true,
  15399. "values": [
  15400. ]
  15401. },
  15402. "yaxes": [
  15403. {
  15404. "format": "short",
  15405. "label": null,
  15406. "logBase": 1,
  15407. "max": null,
  15408. "min": 0,
  15409. "show": true
  15410. },
  15411. {
  15412. "format": "short",
  15413. "label": null,
  15414. "logBase": 1,
  15415. "max": null,
  15416. "min": null,
  15417. "show": false
  15418. }
  15419. ]
  15420. }
  15421. ],
  15422. "repeat": null,
  15423. "repeatIteration": null,
  15424. "repeatRowId": null,
  15425. "showTitle": true,
  15426. "title": "CPU Usage",
  15427. "titleSize": "h6"
  15428. },
  15429. {
  15430. "collapse": false,
  15431. "height": "250px",
  15432. "panels": [
  15433. {
  15434. "aliasColors": {
  15435. },
  15436. "bars": false,
  15437. "dashLength": 10,
  15438. "dashes": false,
  15439. "datasource": "$datasource",
  15440. "fill": 10,
  15441. "id": 2,
  15442. "interval": "1m",
  15443. "legend": {
  15444. "alignAsTable": true,
  15445. "avg": false,
  15446. "current": true,
  15447. "max": true,
  15448. "min": false,
  15449. "rightSide": true,
  15450. "show": true,
  15451. "total": false,
  15452. "values": false
  15453. },
  15454. "lines": true,
  15455. "linewidth": 0,
  15456. "links": [
  15457. ],
  15458. "nullPointMode": "null as zero",
  15459. "percentage": false,
  15460. "pointradius": 5,
  15461. "points": false,
  15462. "renderer": "flot",
  15463. "seriesOverrides": [
  15464. ],
  15465. "spaceLength": 10,
  15466. "span": 12,
  15467. "stack": true,
  15468. "steppedLine": false,
  15469. "targets": [
  15470. {
  15471. "expr": "sum(increase(container_cpu_cfs_throttled_periods_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\", cluster=\"$cluster\"}[$__rate_interval])) by (container) /sum(increase(container_cpu_cfs_periods_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\", cluster=\"$cluster\"}[$__rate_interval])) by (container)",
  15472. "format": "time_series",
  15473. "intervalFactor": 2,
  15474. "legendFormat": "{{container}}",
  15475. "legendLink": null,
  15476. "step": 10
  15477. }
  15478. ],
  15479. "thresholds": [
  15480. {
  15481. "colorMode": "critical",
  15482. "fill": true,
  15483. "line": true,
  15484. "op": "gt",
  15485. "value": 0.25,
  15486. "yaxis": "left"
  15487. }
  15488. ],
  15489. "timeFrom": null,
  15490. "timeShift": null,
  15491. "title": "CPU Throttling",
  15492. "tooltip": {
  15493. "shared": false,
  15494. "sort": 2,
  15495. "value_type": "individual"
  15496. },
  15497. "type": "graph",
  15498. "xaxis": {
  15499. "buckets": null,
  15500. "mode": "time",
  15501. "name": null,
  15502. "show": true,
  15503. "values": [
  15504. ]
  15505. },
  15506. "yaxes": [
  15507. {
  15508. "format": "percentunit",
  15509. "label": null,
  15510. "logBase": 1,
  15511. "max": 1,
  15512. "min": 0,
  15513. "show": true
  15514. },
  15515. {
  15516. "format": "short",
  15517. "label": null,
  15518. "logBase": 1,
  15519. "max": null,
  15520. "min": null,
  15521. "show": false
  15522. }
  15523. ]
  15524. }
  15525. ],
  15526. "repeat": null,
  15527. "repeatIteration": null,
  15528. "repeatRowId": null,
  15529. "showTitle": true,
  15530. "title": "CPU Throttling",
  15531. "titleSize": "h6"
  15532. },
  15533. {
  15534. "collapse": false,
  15535. "height": "250px",
  15536. "panels": [
  15537. {
  15538. "aliasColors": {
  15539. },
  15540. "bars": false,
  15541. "dashLength": 10,
  15542. "dashes": false,
  15543. "datasource": "$datasource",
  15544. "fill": 1,
  15545. "id": 3,
  15546. "interval": "1m",
  15547. "legend": {
  15548. "alignAsTable": true,
  15549. "avg": false,
  15550. "current": false,
  15551. "max": false,
  15552. "min": false,
  15553. "rightSide": true,
  15554. "show": true,
  15555. "total": false,
  15556. "values": false
  15557. },
  15558. "lines": true,
  15559. "linewidth": 1,
  15560. "links": [
  15561. ],
  15562. "nullPointMode": "null as zero",
  15563. "percentage": false,
  15564. "pointradius": 5,
  15565. "points": false,
  15566. "renderer": "flot",
  15567. "seriesOverrides": [
  15568. ],
  15569. "spaceLength": 10,
  15570. "span": 12,
  15571. "stack": false,
  15572. "steppedLine": false,
  15573. "styles": [
  15574. {
  15575. "alias": "Time",
  15576. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15577. "pattern": "Time",
  15578. "type": "hidden"
  15579. },
  15580. {
  15581. "alias": "CPU Usage",
  15582. "colorMode": null,
  15583. "colors": [
  15584. ],
  15585. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15586. "decimals": 2,
  15587. "link": false,
  15588. "linkTargetBlank": false,
  15589. "linkTooltip": "Drill down",
  15590. "linkUrl": "",
  15591. "pattern": "Value #A",
  15592. "thresholds": [
  15593. ],
  15594. "type": "number",
  15595. "unit": "short"
  15596. },
  15597. {
  15598. "alias": "CPU Requests",
  15599. "colorMode": null,
  15600. "colors": [
  15601. ],
  15602. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15603. "decimals": 2,
  15604. "link": false,
  15605. "linkTargetBlank": false,
  15606. "linkTooltip": "Drill down",
  15607. "linkUrl": "",
  15608. "pattern": "Value #B",
  15609. "thresholds": [
  15610. ],
  15611. "type": "number",
  15612. "unit": "short"
  15613. },
  15614. {
  15615. "alias": "CPU Requests %",
  15616. "colorMode": null,
  15617. "colors": [
  15618. ],
  15619. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15620. "decimals": 2,
  15621. "link": false,
  15622. "linkTargetBlank": false,
  15623. "linkTooltip": "Drill down",
  15624. "linkUrl": "",
  15625. "pattern": "Value #C",
  15626. "thresholds": [
  15627. ],
  15628. "type": "number",
  15629. "unit": "percentunit"
  15630. },
  15631. {
  15632. "alias": "CPU Limits",
  15633. "colorMode": null,
  15634. "colors": [
  15635. ],
  15636. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15637. "decimals": 2,
  15638. "link": false,
  15639. "linkTargetBlank": false,
  15640. "linkTooltip": "Drill down",
  15641. "linkUrl": "",
  15642. "pattern": "Value #D",
  15643. "thresholds": [
  15644. ],
  15645. "type": "number",
  15646. "unit": "short"
  15647. },
  15648. {
  15649. "alias": "CPU Limits %",
  15650. "colorMode": null,
  15651. "colors": [
  15652. ],
  15653. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15654. "decimals": 2,
  15655. "link": false,
  15656. "linkTargetBlank": false,
  15657. "linkTooltip": "Drill down",
  15658. "linkUrl": "",
  15659. "pattern": "Value #E",
  15660. "thresholds": [
  15661. ],
  15662. "type": "number",
  15663. "unit": "percentunit"
  15664. },
  15665. {
  15666. "alias": "Container",
  15667. "colorMode": null,
  15668. "colors": [
  15669. ],
  15670. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15671. "decimals": 2,
  15672. "link": false,
  15673. "linkTargetBlank": false,
  15674. "linkTooltip": "Drill down",
  15675. "linkUrl": "",
  15676. "pattern": "container",
  15677. "thresholds": [
  15678. ],
  15679. "type": "number",
  15680. "unit": "short"
  15681. },
  15682. {
  15683. "alias": "",
  15684. "colorMode": null,
  15685. "colors": [
  15686. ],
  15687. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15688. "decimals": 2,
  15689. "pattern": "/.*/",
  15690. "thresholds": [
  15691. ],
  15692. "type": "string",
  15693. "unit": "short"
  15694. }
  15695. ],
  15696. "targets": [
  15697. {
  15698. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  15699. "format": "table",
  15700. "instant": true,
  15701. "intervalFactor": 2,
  15702. "legendFormat": "",
  15703. "refId": "A",
  15704. "step": 10
  15705. },
  15706. {
  15707. "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  15708. "format": "table",
  15709. "instant": true,
  15710. "intervalFactor": 2,
  15711. "legendFormat": "",
  15712. "refId": "B",
  15713. "step": 10
  15714. },
  15715. {
  15716. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  15717. "format": "table",
  15718. "instant": true,
  15719. "intervalFactor": 2,
  15720. "legendFormat": "",
  15721. "refId": "C",
  15722. "step": 10
  15723. },
  15724. {
  15725. "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  15726. "format": "table",
  15727. "instant": true,
  15728. "intervalFactor": 2,
  15729. "legendFormat": "",
  15730. "refId": "D",
  15731. "step": 10
  15732. },
  15733. {
  15734. "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  15735. "format": "table",
  15736. "instant": true,
  15737. "intervalFactor": 2,
  15738. "legendFormat": "",
  15739. "refId": "E",
  15740. "step": 10
  15741. }
  15742. ],
  15743. "thresholds": [
  15744. ],
  15745. "timeFrom": null,
  15746. "timeShift": null,
  15747. "title": "CPU Quota",
  15748. "tooltip": {
  15749. "shared": false,
  15750. "sort": 2,
  15751. "value_type": "individual"
  15752. },
  15753. "transform": "table",
  15754. "type": "table",
  15755. "xaxis": {
  15756. "buckets": null,
  15757. "mode": "time",
  15758. "name": null,
  15759. "show": true,
  15760. "values": [
  15761. ]
  15762. },
  15763. "yaxes": [
  15764. {
  15765. "format": "short",
  15766. "label": null,
  15767. "logBase": 1,
  15768. "max": null,
  15769. "min": 0,
  15770. "show": true
  15771. },
  15772. {
  15773. "format": "short",
  15774. "label": null,
  15775. "logBase": 1,
  15776. "max": null,
  15777. "min": null,
  15778. "show": false
  15779. }
  15780. ]
  15781. }
  15782. ],
  15783. "repeat": null,
  15784. "repeatIteration": null,
  15785. "repeatRowId": null,
  15786. "showTitle": true,
  15787. "title": "CPU Quota",
  15788. "titleSize": "h6"
  15789. },
  15790. {
  15791. "collapse": false,
  15792. "height": "250px",
  15793. "panels": [
  15794. {
  15795. "aliasColors": {
  15796. },
  15797. "bars": false,
  15798. "dashLength": 10,
  15799. "dashes": false,
  15800. "datasource": "$datasource",
  15801. "fill": 10,
  15802. "id": 4,
  15803. "interval": "1m",
  15804. "legend": {
  15805. "alignAsTable": true,
  15806. "avg": false,
  15807. "current": false,
  15808. "max": false,
  15809. "min": false,
  15810. "rightSide": true,
  15811. "show": true,
  15812. "total": false,
  15813. "values": false
  15814. },
  15815. "lines": true,
  15816. "linewidth": 0,
  15817. "links": [
  15818. ],
  15819. "nullPointMode": "null as zero",
  15820. "percentage": false,
  15821. "pointradius": 5,
  15822. "points": false,
  15823. "renderer": "flot",
  15824. "seriesOverrides": [
  15825. {
  15826. "alias": "requests",
  15827. "color": "#F2495C",
  15828. "dashes": true,
  15829. "fill": 0,
  15830. "hideTooltip": true,
  15831. "legend": true,
  15832. "linewidth": 2,
  15833. "stack": false
  15834. },
  15835. {
  15836. "alias": "limits",
  15837. "color": "#FF9830",
  15838. "dashes": true,
  15839. "fill": 0,
  15840. "hideTooltip": true,
  15841. "legend": true,
  15842. "linewidth": 2,
  15843. "stack": false
  15844. }
  15845. ],
  15846. "spaceLength": 10,
  15847. "span": 12,
  15848. "stack": true,
  15849. "steppedLine": false,
  15850. "targets": [
  15851. {
  15852. "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\", image!=\"\"}) by (container)",
  15853. "format": "time_series",
  15854. "intervalFactor": 2,
  15855. "legendFormat": "{{container}}",
  15856. "legendLink": null,
  15857. "step": 10
  15858. },
  15859. {
  15860. "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"memory\"}\n)\n",
  15861. "format": "time_series",
  15862. "intervalFactor": 2,
  15863. "legendFormat": "requests",
  15864. "legendLink": null,
  15865. "step": 10
  15866. },
  15867. {
  15868. "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"memory\"}\n)\n",
  15869. "format": "time_series",
  15870. "intervalFactor": 2,
  15871. "legendFormat": "limits",
  15872. "legendLink": null,
  15873. "step": 10
  15874. }
  15875. ],
  15876. "thresholds": [
  15877. ],
  15878. "timeFrom": null,
  15879. "timeShift": null,
  15880. "title": "Memory Usage (WSS)",
  15881. "tooltip": {
  15882. "shared": false,
  15883. "sort": 2,
  15884. "value_type": "individual"
  15885. },
  15886. "type": "graph",
  15887. "xaxis": {
  15888. "buckets": null,
  15889. "mode": "time",
  15890. "name": null,
  15891. "show": true,
  15892. "values": [
  15893. ]
  15894. },
  15895. "yaxes": [
  15896. {
  15897. "format": "bytes",
  15898. "label": null,
  15899. "logBase": 1,
  15900. "max": null,
  15901. "min": 0,
  15902. "show": true
  15903. },
  15904. {
  15905. "format": "short",
  15906. "label": null,
  15907. "logBase": 1,
  15908. "max": null,
  15909. "min": null,
  15910. "show": false
  15911. }
  15912. ]
  15913. }
  15914. ],
  15915. "repeat": null,
  15916. "repeatIteration": null,
  15917. "repeatRowId": null,
  15918. "showTitle": true,
  15919. "title": "Memory Usage",
  15920. "titleSize": "h6"
  15921. },
  15922. {
  15923. "collapse": false,
  15924. "height": "250px",
  15925. "panels": [
  15926. {
  15927. "aliasColors": {
  15928. },
  15929. "bars": false,
  15930. "dashLength": 10,
  15931. "dashes": false,
  15932. "datasource": "$datasource",
  15933. "fill": 1,
  15934. "id": 5,
  15935. "interval": "1m",
  15936. "legend": {
  15937. "alignAsTable": true,
  15938. "avg": false,
  15939. "current": false,
  15940. "max": false,
  15941. "min": false,
  15942. "rightSide": true,
  15943. "show": true,
  15944. "total": false,
  15945. "values": false
  15946. },
  15947. "lines": true,
  15948. "linewidth": 1,
  15949. "links": [
  15950. ],
  15951. "nullPointMode": "null as zero",
  15952. "percentage": false,
  15953. "pointradius": 5,
  15954. "points": false,
  15955. "renderer": "flot",
  15956. "seriesOverrides": [
  15957. ],
  15958. "spaceLength": 10,
  15959. "span": 12,
  15960. "stack": false,
  15961. "steppedLine": false,
  15962. "styles": [
  15963. {
  15964. "alias": "Time",
  15965. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15966. "pattern": "Time",
  15967. "type": "hidden"
  15968. },
  15969. {
  15970. "alias": "Memory Usage (WSS)",
  15971. "colorMode": null,
  15972. "colors": [
  15973. ],
  15974. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15975. "decimals": 2,
  15976. "link": false,
  15977. "linkTargetBlank": false,
  15978. "linkTooltip": "Drill down",
  15979. "linkUrl": "",
  15980. "pattern": "Value #A",
  15981. "thresholds": [
  15982. ],
  15983. "type": "number",
  15984. "unit": "bytes"
  15985. },
  15986. {
  15987. "alias": "Memory Requests",
  15988. "colorMode": null,
  15989. "colors": [
  15990. ],
  15991. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  15992. "decimals": 2,
  15993. "link": false,
  15994. "linkTargetBlank": false,
  15995. "linkTooltip": "Drill down",
  15996. "linkUrl": "",
  15997. "pattern": "Value #B",
  15998. "thresholds": [
  15999. ],
  16000. "type": "number",
  16001. "unit": "bytes"
  16002. },
  16003. {
  16004. "alias": "Memory Requests %",
  16005. "colorMode": null,
  16006. "colors": [
  16007. ],
  16008. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  16009. "decimals": 2,
  16010. "link": false,
  16011. "linkTargetBlank": false,
  16012. "linkTooltip": "Drill down",
  16013. "linkUrl": "",
  16014. "pattern": "Value #C",
  16015. "thresholds": [
  16016. ],
  16017. "type": "number",
  16018. "unit": "percentunit"
  16019. },
  16020. {
  16021. "alias": "Memory Limits",
  16022. "colorMode": null,
  16023. "colors": [
  16024. ],
  16025. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  16026. "decimals": 2,
  16027. "link": false,
  16028. "linkTargetBlank": false,
  16029. "linkTooltip": "Drill down",
  16030. "linkUrl": "",
  16031. "pattern": "Value #D",
  16032. "thresholds": [
  16033. ],
  16034. "type": "number",
  16035. "unit": "bytes"
  16036. },
  16037. {
  16038. "alias": "Memory Limits %",
  16039. "colorMode": null,
  16040. "colors": [
  16041. ],
  16042. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  16043. "decimals": 2,
  16044. "link": false,
  16045. "linkTargetBlank": false,
  16046. "linkTooltip": "Drill down",
  16047. "linkUrl": "",
  16048. "pattern": "Value #E",
  16049. "thresholds": [
  16050. ],
  16051. "type": "number",
  16052. "unit": "percentunit"
  16053. },
  16054. {
  16055. "alias": "Memory Usage (RSS)",
  16056. "colorMode": null,
  16057. "colors": [
  16058. ],
  16059. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  16060. "decimals": 2,
  16061. "link": false,
  16062. "linkTargetBlank": false,
  16063. "linkTooltip": "Drill down",
  16064. "linkUrl": "",
  16065. "pattern": "Value #F",
  16066. "thresholds": [
  16067. ],
  16068. "type": "number",
  16069. "unit": "bytes"
  16070. },
  16071. {
  16072. "alias": "Memory Usage (Cache)",
  16073. "colorMode": null,
  16074. "colors": [
  16075. ],
  16076. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  16077. "decimals": 2,
  16078. "link": false,
  16079. "linkTargetBlank": false,
  16080. "linkTooltip": "Drill down",
  16081. "linkUrl": "",
  16082. "pattern": "Value #G",
  16083. "thresholds": [
  16084. ],
  16085. "type": "number",
  16086. "unit": "bytes"
  16087. },
  16088. {
  16089. "alias": "Memory Usage (Swap)",
  16090. "colorMode": null,
  16091. "colors": [
  16092. ],
  16093. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  16094. "decimals": 2,
  16095. "link": false,
  16096. "linkTargetBlank": false,
  16097. "linkTooltip": "Drill down",
  16098. "linkUrl": "",
  16099. "pattern": "Value #H",
  16100. "thresholds": [
  16101. ],
  16102. "type": "number",
  16103. "unit": "bytes"
  16104. },
  16105. {
  16106. "alias": "Container",
  16107. "colorMode": null,
  16108. "colors": [
  16109. ],
  16110. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  16111. "decimals": 2,
  16112. "link": false,
  16113. "linkTargetBlank": false,
  16114. "linkTooltip": "Drill down",
  16115. "linkUrl": "",
  16116. "pattern": "container",
  16117. "thresholds": [
  16118. ],
  16119. "type": "number",
  16120. "unit": "short"
  16121. },
  16122. {
  16123. "alias": "",
  16124. "colorMode": null,
  16125. "colors": [
  16126. ],
  16127. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  16128. "decimals": 2,
  16129. "pattern": "/.*/",
  16130. "thresholds": [
  16131. ],
  16132. "type": "string",
  16133. "unit": "short"
  16134. }
  16135. ],
  16136. "targets": [
  16137. {
  16138. "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\", image!=\"\"}) by (container)",
  16139. "format": "table",
  16140. "instant": true,
  16141. "intervalFactor": 2,
  16142. "legendFormat": "",
  16143. "refId": "A",
  16144. "step": 10
  16145. },
  16146. {
  16147. "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  16148. "format": "table",
  16149. "instant": true,
  16150. "intervalFactor": 2,
  16151. "legendFormat": "",
  16152. "refId": "B",
  16153. "step": 10
  16154. },
  16155. {
  16156. "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", image!=\"\"}) by (container) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  16157. "format": "table",
  16158. "instant": true,
  16159. "intervalFactor": 2,
  16160. "legendFormat": "",
  16161. "refId": "C",
  16162. "step": 10
  16163. },
  16164. {
  16165. "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  16166. "format": "table",
  16167. "instant": true,
  16168. "intervalFactor": 2,
  16169. "legendFormat": "",
  16170. "refId": "D",
  16171. "step": 10
  16172. },
  16173. {
  16174. "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\", image!=\"\"}) by (container) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)",
  16175. "format": "table",
  16176. "instant": true,
  16177. "intervalFactor": 2,
  16178. "legendFormat": "",
  16179. "refId": "E",
  16180. "step": 10
  16181. },
  16182. {
  16183. "expr": "sum(container_memory_rss{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)",
  16184. "format": "table",
  16185. "instant": true,
  16186. "intervalFactor": 2,
  16187. "legendFormat": "",
  16188. "refId": "F",
  16189. "step": 10
  16190. },
  16191. {
  16192. "expr": "sum(container_memory_cache{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)",
  16193. "format": "table",
  16194. "instant": true,
  16195. "intervalFactor": 2,
  16196. "legendFormat": "",
  16197. "refId": "G",
  16198. "step": 10
  16199. },
  16200. {
  16201. "expr": "sum(container_memory_swap{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)",
  16202. "format": "table",
  16203. "instant": true,
  16204. "intervalFactor": 2,
  16205. "legendFormat": "",
  16206. "refId": "H",
  16207. "step": 10
  16208. }
  16209. ],
  16210. "thresholds": [
  16211. ],
  16212. "timeFrom": null,
  16213. "timeShift": null,
  16214. "title": "Memory Quota",
  16215. "tooltip": {
  16216. "shared": false,
  16217. "sort": 2,
  16218. "value_type": "individual"
  16219. },
  16220. "transform": "table",
  16221. "type": "table",
  16222. "xaxis": {
  16223. "buckets": null,
  16224. "mode": "time",
  16225. "name": null,
  16226. "show": true,
  16227. "values": [
  16228. ]
  16229. },
  16230. "yaxes": [
  16231. {
  16232. "format": "short",
  16233. "label": null,
  16234. "logBase": 1,
  16235. "max": null,
  16236. "min": 0,
  16237. "show": true
  16238. },
  16239. {
  16240. "format": "short",
  16241. "label": null,
  16242. "logBase": 1,
  16243. "max": null,
  16244. "min": null,
  16245. "show": false
  16246. }
  16247. ]
  16248. }
  16249. ],
  16250. "repeat": null,
  16251. "repeatIteration": null,
  16252. "repeatRowId": null,
  16253. "showTitle": true,
  16254. "title": "Memory Quota",
  16255. "titleSize": "h6"
  16256. },
  16257. {
  16258. "collapse": false,
  16259. "height": "250px",
  16260. "panels": [
  16261. {
  16262. "aliasColors": {
  16263. },
  16264. "bars": false,
  16265. "dashLength": 10,
  16266. "dashes": false,
  16267. "datasource": "$datasource",
  16268. "fill": 10,
  16269. "id": 6,
  16270. "interval": "1m",
  16271. "legend": {
  16272. "alignAsTable": true,
  16273. "avg": false,
  16274. "current": false,
  16275. "max": false,
  16276. "min": false,
  16277. "rightSide": true,
  16278. "show": true,
  16279. "total": false,
  16280. "values": false
  16281. },
  16282. "lines": true,
  16283. "linewidth": 0,
  16284. "links": [
  16285. ],
  16286. "nullPointMode": "null as zero",
  16287. "percentage": false,
  16288. "pointradius": 5,
  16289. "points": false,
  16290. "renderer": "flot",
  16291. "seriesOverrides": [
  16292. ],
  16293. "spaceLength": 10,
  16294. "span": 6,
  16295. "stack": true,
  16296. "steppedLine": false,
  16297. "targets": [
  16298. {
  16299. "expr": "sum(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)",
  16300. "format": "time_series",
  16301. "intervalFactor": 2,
  16302. "legendFormat": "{{pod}}",
  16303. "legendLink": null,
  16304. "step": 10
  16305. }
  16306. ],
  16307. "thresholds": [
  16308. ],
  16309. "timeFrom": null,
  16310. "timeShift": null,
  16311. "title": "Receive Bandwidth",
  16312. "tooltip": {
  16313. "shared": false,
  16314. "sort": 2,
  16315. "value_type": "individual"
  16316. },
  16317. "type": "graph",
  16318. "xaxis": {
  16319. "buckets": null,
  16320. "mode": "time",
  16321. "name": null,
  16322. "show": true,
  16323. "values": [
  16324. ]
  16325. },
  16326. "yaxes": [
  16327. {
  16328. "format": "Bps",
  16329. "label": null,
  16330. "logBase": 1,
  16331. "max": null,
  16332. "min": 0,
  16333. "show": true
  16334. },
  16335. {
  16336. "format": "short",
  16337. "label": null,
  16338. "logBase": 1,
  16339. "max": null,
  16340. "min": null,
  16341. "show": false
  16342. }
  16343. ]
  16344. },
  16345. {
  16346. "aliasColors": {
  16347. },
  16348. "bars": false,
  16349. "dashLength": 10,
  16350. "dashes": false,
  16351. "datasource": "$datasource",
  16352. "fill": 10,
  16353. "id": 7,
  16354. "interval": "1m",
  16355. "legend": {
  16356. "alignAsTable": true,
  16357. "avg": false,
  16358. "current": false,
  16359. "max": false,
  16360. "min": false,
  16361. "rightSide": true,
  16362. "show": true,
  16363. "total": false,
  16364. "values": false
  16365. },
  16366. "lines": true,
  16367. "linewidth": 0,
  16368. "links": [
  16369. ],
  16370. "nullPointMode": "null as zero",
  16371. "percentage": false,
  16372. "pointradius": 5,
  16373. "points": false,
  16374. "renderer": "flot",
  16375. "seriesOverrides": [
  16376. ],
  16377. "spaceLength": 10,
  16378. "span": 6,
  16379. "stack": true,
  16380. "steppedLine": false,
  16381. "targets": [
  16382. {
  16383. "expr": "sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)",
  16384. "format": "time_series",
  16385. "intervalFactor": 2,
  16386. "legendFormat": "{{pod}}",
  16387. "legendLink": null,
  16388. "step": 10
  16389. }
  16390. ],
  16391. "thresholds": [
  16392. ],
  16393. "timeFrom": null,
  16394. "timeShift": null,
  16395. "title": "Transmit Bandwidth",
  16396. "tooltip": {
  16397. "shared": false,
  16398. "sort": 2,
  16399. "value_type": "individual"
  16400. },
  16401. "type": "graph",
  16402. "xaxis": {
  16403. "buckets": null,
  16404. "mode": "time",
  16405. "name": null,
  16406. "show": true,
  16407. "values": [
  16408. ]
  16409. },
  16410. "yaxes": [
  16411. {
  16412. "format": "Bps",
  16413. "label": null,
  16414. "logBase": 1,
  16415. "max": null,
  16416. "min": 0,
  16417. "show": true
  16418. },
  16419. {
  16420. "format": "short",
  16421. "label": null,
  16422. "logBase": 1,
  16423. "max": null,
  16424. "min": null,
  16425. "show": false
  16426. }
  16427. ]
  16428. }
  16429. ],
  16430. "repeat": null,
  16431. "repeatIteration": null,
  16432. "repeatRowId": null,
  16433. "showTitle": true,
  16434. "title": "Bandwidth",
  16435. "titleSize": "h6"
  16436. },
  16437. {
  16438. "collapse": false,
  16439. "height": "250px",
  16440. "panels": [
  16441. {
  16442. "aliasColors": {
  16443. },
  16444. "bars": false,
  16445. "dashLength": 10,
  16446. "dashes": false,
  16447. "datasource": "$datasource",
  16448. "fill": 10,
  16449. "id": 8,
  16450. "interval": "1m",
  16451. "legend": {
  16452. "alignAsTable": true,
  16453. "avg": false,
  16454. "current": false,
  16455. "max": false,
  16456. "min": false,
  16457. "rightSide": true,
  16458. "show": true,
  16459. "total": false,
  16460. "values": false
  16461. },
  16462. "lines": true,
  16463. "linewidth": 0,
  16464. "links": [
  16465. ],
  16466. "nullPointMode": "null as zero",
  16467. "percentage": false,
  16468. "pointradius": 5,
  16469. "points": false,
  16470. "renderer": "flot",
  16471. "seriesOverrides": [
  16472. ],
  16473. "spaceLength": 10,
  16474. "span": 6,
  16475. "stack": true,
  16476. "steppedLine": false,
  16477. "targets": [
  16478. {
  16479. "expr": "sum(irate(container_network_receive_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)",
  16480. "format": "time_series",
  16481. "intervalFactor": 2,
  16482. "legendFormat": "{{pod}}",
  16483. "legendLink": null,
  16484. "step": 10
  16485. }
  16486. ],
  16487. "thresholds": [
  16488. ],
  16489. "timeFrom": null,
  16490. "timeShift": null,
  16491. "title": "Rate of Received Packets",
  16492. "tooltip": {
  16493. "shared": false,
  16494. "sort": 2,
  16495. "value_type": "individual"
  16496. },
  16497. "type": "graph",
  16498. "xaxis": {
  16499. "buckets": null,
  16500. "mode": "time",
  16501. "name": null,
  16502. "show": true,
  16503. "values": [
  16504. ]
  16505. },
  16506. "yaxes": [
  16507. {
  16508. "format": "pps",
  16509. "label": null,
  16510. "logBase": 1,
  16511. "max": null,
  16512. "min": 0,
  16513. "show": true
  16514. },
  16515. {
  16516. "format": "short",
  16517. "label": null,
  16518. "logBase": 1,
  16519. "max": null,
  16520. "min": null,
  16521. "show": false
  16522. }
  16523. ]
  16524. },
  16525. {
  16526. "aliasColors": {
  16527. },
  16528. "bars": false,
  16529. "dashLength": 10,
  16530. "dashes": false,
  16531. "datasource": "$datasource",
  16532. "fill": 10,
  16533. "id": 9,
  16534. "interval": "1m",
  16535. "legend": {
  16536. "alignAsTable": true,
  16537. "avg": false,
  16538. "current": false,
  16539. "max": false,
  16540. "min": false,
  16541. "rightSide": true,
  16542. "show": true,
  16543. "total": false,
  16544. "values": false
  16545. },
  16546. "lines": true,
  16547. "linewidth": 0,
  16548. "links": [
  16549. ],
  16550. "nullPointMode": "null as zero",
  16551. "percentage": false,
  16552. "pointradius": 5,
  16553. "points": false,
  16554. "renderer": "flot",
  16555. "seriesOverrides": [
  16556. ],
  16557. "spaceLength": 10,
  16558. "span": 6,
  16559. "stack": true,
  16560. "steppedLine": false,
  16561. "targets": [
  16562. {
  16563. "expr": "sum(irate(container_network_transmit_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)",
  16564. "format": "time_series",
  16565. "intervalFactor": 2,
  16566. "legendFormat": "{{pod}}",
  16567. "legendLink": null,
  16568. "step": 10
  16569. }
  16570. ],
  16571. "thresholds": [
  16572. ],
  16573. "timeFrom": null,
  16574. "timeShift": null,
  16575. "title": "Rate of Transmitted Packets",
  16576. "tooltip": {
  16577. "shared": false,
  16578. "sort": 2,
  16579. "value_type": "individual"
  16580. },
  16581. "type": "graph",
  16582. "xaxis": {
  16583. "buckets": null,
  16584. "mode": "time",
  16585. "name": null,
  16586. "show": true,
  16587. "values": [
  16588. ]
  16589. },
  16590. "yaxes": [
  16591. {
  16592. "format": "pps",
  16593. "label": null,
  16594. "logBase": 1,
  16595. "max": null,
  16596. "min": 0,
  16597. "show": true
  16598. },
  16599. {
  16600. "format": "short",
  16601. "label": null,
  16602. "logBase": 1,
  16603. "max": null,
  16604. "min": null,
  16605. "show": false
  16606. }
  16607. ]
  16608. }
  16609. ],
  16610. "repeat": null,
  16611. "repeatIteration": null,
  16612. "repeatRowId": null,
  16613. "showTitle": true,
  16614. "title": "Rate of Packets",
  16615. "titleSize": "h6"
  16616. },
  16617. {
  16618. "collapse": false,
  16619. "height": "250px",
  16620. "panels": [
  16621. {
  16622. "aliasColors": {
  16623. },
  16624. "bars": false,
  16625. "dashLength": 10,
  16626. "dashes": false,
  16627. "datasource": "$datasource",
  16628. "fill": 10,
  16629. "id": 10,
  16630. "interval": "1m",
  16631. "legend": {
  16632. "alignAsTable": true,
  16633. "avg": false,
  16634. "current": false,
  16635. "max": false,
  16636. "min": false,
  16637. "rightSide": true,
  16638. "show": true,
  16639. "total": false,
  16640. "values": false
  16641. },
  16642. "lines": true,
  16643. "linewidth": 0,
  16644. "links": [
  16645. ],
  16646. "nullPointMode": "null as zero",
  16647. "percentage": false,
  16648. "pointradius": 5,
  16649. "points": false,
  16650. "renderer": "flot",
  16651. "seriesOverrides": [
  16652. ],
  16653. "spaceLength": 10,
  16654. "span": 6,
  16655. "stack": true,
  16656. "steppedLine": false,
  16657. "targets": [
  16658. {
  16659. "expr": "sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)",
  16660. "format": "time_series",
  16661. "intervalFactor": 2,
  16662. "legendFormat": "{{pod}}",
  16663. "legendLink": null,
  16664. "step": 10
  16665. }
  16666. ],
  16667. "thresholds": [
  16668. ],
  16669. "timeFrom": null,
  16670. "timeShift": null,
  16671. "title": "Rate of Received Packets Dropped",
  16672. "tooltip": {
  16673. "shared": false,
  16674. "sort": 2,
  16675. "value_type": "individual"
  16676. },
  16677. "type": "graph",
  16678. "xaxis": {
  16679. "buckets": null,
  16680. "mode": "time",
  16681. "name": null,
  16682. "show": true,
  16683. "values": [
  16684. ]
  16685. },
  16686. "yaxes": [
  16687. {
  16688. "format": "pps",
  16689. "label": null,
  16690. "logBase": 1,
  16691. "max": null,
  16692. "min": 0,
  16693. "show": true
  16694. },
  16695. {
  16696. "format": "short",
  16697. "label": null,
  16698. "logBase": 1,
  16699. "max": null,
  16700. "min": null,
  16701. "show": false
  16702. }
  16703. ]
  16704. },
  16705. {
  16706. "aliasColors": {
  16707. },
  16708. "bars": false,
  16709. "dashLength": 10,
  16710. "dashes": false,
  16711. "datasource": "$datasource",
  16712. "fill": 10,
  16713. "id": 11,
  16714. "interval": "1m",
  16715. "legend": {
  16716. "alignAsTable": true,
  16717. "avg": false,
  16718. "current": false,
  16719. "max": false,
  16720. "min": false,
  16721. "rightSide": true,
  16722. "show": true,
  16723. "total": false,
  16724. "values": false
  16725. },
  16726. "lines": true,
  16727. "linewidth": 0,
  16728. "links": [
  16729. ],
  16730. "nullPointMode": "null as zero",
  16731. "percentage": false,
  16732. "pointradius": 5,
  16733. "points": false,
  16734. "renderer": "flot",
  16735. "seriesOverrides": [
  16736. ],
  16737. "spaceLength": 10,
  16738. "span": 6,
  16739. "stack": true,
  16740. "steppedLine": false,
  16741. "targets": [
  16742. {
  16743. "expr": "sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)",
  16744. "format": "time_series",
  16745. "intervalFactor": 2,
  16746. "legendFormat": "{{pod}}",
  16747. "legendLink": null,
  16748. "step": 10
  16749. }
  16750. ],
  16751. "thresholds": [
  16752. ],
  16753. "timeFrom": null,
  16754. "timeShift": null,
  16755. "title": "Rate of Transmitted Packets Dropped",
  16756. "tooltip": {
  16757. "shared": false,
  16758. "sort": 2,
  16759. "value_type": "individual"
  16760. },
  16761. "type": "graph",
  16762. "xaxis": {
  16763. "buckets": null,
  16764. "mode": "time",
  16765. "name": null,
  16766. "show": true,
  16767. "values": [
  16768. ]
  16769. },
  16770. "yaxes": [
  16771. {
  16772. "format": "pps",
  16773. "label": null,
  16774. "logBase": 1,
  16775. "max": null,
  16776. "min": 0,
  16777. "show": true
  16778. },
  16779. {
  16780. "format": "short",
  16781. "label": null,
  16782. "logBase": 1,
  16783. "max": null,
  16784. "min": null,
  16785. "show": false
  16786. }
  16787. ]
  16788. }
  16789. ],
  16790. "repeat": null,
  16791. "repeatIteration": null,
  16792. "repeatRowId": null,
  16793. "showTitle": true,
  16794. "title": "Rate of Packets Dropped",
  16795. "titleSize": "h6"
  16796. },
  16797. {
  16798. "collapse": false,
  16799. "height": "250px",
  16800. "panels": [
  16801. {
  16802. "aliasColors": {
  16803. },
  16804. "bars": false,
  16805. "dashLength": 10,
  16806. "dashes": false,
  16807. "datasource": "$datasource",
  16808. "decimals": -1,
  16809. "fill": 10,
  16810. "id": 12,
  16811. "interval": "1m",
  16812. "legend": {
  16813. "alignAsTable": true,
  16814. "avg": false,
  16815. "current": false,
  16816. "max": false,
  16817. "min": false,
  16818. "rightSide": true,
  16819. "show": true,
  16820. "total": false,
  16821. "values": false
  16822. },
  16823. "lines": true,
  16824. "linewidth": 0,
  16825. "links": [
  16826. ],
  16827. "nullPointMode": "null as zero",
  16828. "percentage": false,
  16829. "pointradius": 5,
  16830. "points": false,
  16831. "renderer": "flot",
  16832. "seriesOverrides": [
  16833. ],
  16834. "spaceLength": 10,
  16835. "span": 6,
  16836. "stack": true,
  16837. "steppedLine": false,
  16838. "targets": [
  16839. {
  16840. "expr": "ceil(sum by(pod) (rate(container_fs_reads_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])))",
  16841. "format": "time_series",
  16842. "intervalFactor": 2,
  16843. "legendFormat": "Reads",
  16844. "legendLink": null,
  16845. "step": 10
  16846. },
  16847. {
  16848. "expr": "ceil(sum by(pod) (rate(container_fs_writes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\",namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])))",
  16849. "format": "time_series",
  16850. "intervalFactor": 2,
  16851. "legendFormat": "Writes",
  16852. "legendLink": null,
  16853. "step": 10
  16854. }
  16855. ],
  16856. "thresholds": [
  16857. ],
  16858. "timeFrom": null,
  16859. "timeShift": null,
  16860. "title": "IOPS",
  16861. "tooltip": {
  16862. "shared": false,
  16863. "sort": 2,
  16864. "value_type": "individual"
  16865. },
  16866. "type": "graph",
  16867. "xaxis": {
  16868. "buckets": null,
  16869. "mode": "time",
  16870. "name": null,
  16871. "show": true,
  16872. "values": [
  16873. ]
  16874. },
  16875. "yaxes": [
  16876. {
  16877. "format": "short",
  16878. "label": null,
  16879. "logBase": 1,
  16880. "max": null,
  16881. "min": 0,
  16882. "show": true
  16883. },
  16884. {
  16885. "format": "short",
  16886. "label": null,
  16887. "logBase": 1,
  16888. "max": null,
  16889. "min": null,
  16890. "show": false
  16891. }
  16892. ]
  16893. },
  16894. {
  16895. "aliasColors": {
  16896. },
  16897. "bars": false,
  16898. "dashLength": 10,
  16899. "dashes": false,
  16900. "datasource": "$datasource",
  16901. "fill": 10,
  16902. "id": 13,
  16903. "interval": "1m",
  16904. "legend": {
  16905. "alignAsTable": true,
  16906. "avg": false,
  16907. "current": false,
  16908. "max": false,
  16909. "min": false,
  16910. "rightSide": true,
  16911. "show": true,
  16912. "total": false,
  16913. "values": false
  16914. },
  16915. "lines": true,
  16916. "linewidth": 0,
  16917. "links": [
  16918. ],
  16919. "nullPointMode": "null as zero",
  16920. "percentage": false,
  16921. "pointradius": 5,
  16922. "points": false,
  16923. "renderer": "flot",
  16924. "seriesOverrides": [
  16925. ],
  16926. "spaceLength": 10,
  16927. "span": 6,
  16928. "stack": true,
  16929. "steppedLine": false,
  16930. "targets": [
  16931. {
  16932. "expr": "sum by(pod) (rate(container_fs_reads_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval]))",
  16933. "format": "time_series",
  16934. "intervalFactor": 2,
  16935. "legendFormat": "Reads",
  16936. "legendLink": null,
  16937. "step": 10
  16938. },
  16939. {
  16940. "expr": "sum by(pod) (rate(container_fs_writes_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval]))",
  16941. "format": "time_series",
  16942. "intervalFactor": 2,
  16943. "legendFormat": "Writes",
  16944. "legendLink": null,
  16945. "step": 10
  16946. }
  16947. ],
  16948. "thresholds": [
  16949. ],
  16950. "timeFrom": null,
  16951. "timeShift": null,
  16952. "title": "ThroughPut",
  16953. "tooltip": {
  16954. "shared": false,
  16955. "sort": 2,
  16956. "value_type": "individual"
  16957. },
  16958. "type": "graph",
  16959. "xaxis": {
  16960. "buckets": null,
  16961. "mode": "time",
  16962. "name": null,
  16963. "show": true,
  16964. "values": [
  16965. ]
  16966. },
  16967. "yaxes": [
  16968. {
  16969. "format": "Bps",
  16970. "label": null,
  16971. "logBase": 1,
  16972. "max": null,
  16973. "min": 0,
  16974. "show": true
  16975. },
  16976. {
  16977. "format": "short",
  16978. "label": null,
  16979. "logBase": 1,
  16980. "max": null,
  16981. "min": null,
  16982. "show": false
  16983. }
  16984. ]
  16985. }
  16986. ],
  16987. "repeat": null,
  16988. "repeatIteration": null,
  16989. "repeatRowId": null,
  16990. "showTitle": true,
  16991. "title": "Storage IO - Distribution(Pod - Read & Writes)",
  16992. "titleSize": "h6"
  16993. },
  16994. {
  16995. "collapse": false,
  16996. "height": "250px",
  16997. "panels": [
  16998. {
  16999. "aliasColors": {
  17000. },
  17001. "bars": false,
  17002. "dashLength": 10,
  17003. "dashes": false,
  17004. "datasource": "$datasource",
  17005. "decimals": -1,
  17006. "fill": 10,
  17007. "id": 14,
  17008. "interval": "1m",
  17009. "legend": {
  17010. "alignAsTable": true,
  17011. "avg": false,
  17012. "current": false,
  17013. "max": false,
  17014. "min": false,
  17015. "rightSide": true,
  17016. "show": true,
  17017. "total": false,
  17018. "values": false
  17019. },
  17020. "lines": true,
  17021. "linewidth": 0,
  17022. "links": [
  17023. ],
  17024. "nullPointMode": "null as zero",
  17025. "percentage": false,
  17026. "pointradius": 5,
  17027. "points": false,
  17028. "renderer": "flot",
  17029. "seriesOverrides": [
  17030. ],
  17031. "spaceLength": 10,
  17032. "span": 6,
  17033. "stack": true,
  17034. "steppedLine": false,
  17035. "targets": [
  17036. {
  17037. "expr": "ceil(sum by(container) (rate(container_fs_reads_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval])))",
  17038. "format": "time_series",
  17039. "intervalFactor": 2,
  17040. "legendFormat": "{{container}}",
  17041. "legendLink": null,
  17042. "step": 10
  17043. }
  17044. ],
  17045. "thresholds": [
  17046. ],
  17047. "timeFrom": null,
  17048. "timeShift": null,
  17049. "title": "IOPS(Reads+Writes)",
  17050. "tooltip": {
  17051. "shared": false,
  17052. "sort": 2,
  17053. "value_type": "individual"
  17054. },
  17055. "type": "graph",
  17056. "xaxis": {
  17057. "buckets": null,
  17058. "mode": "time",
  17059. "name": null,
  17060. "show": true,
  17061. "values": [
  17062. ]
  17063. },
  17064. "yaxes": [
  17065. {
  17066. "format": "short",
  17067. "label": null,
  17068. "logBase": 1,
  17069. "max": null,
  17070. "min": 0,
  17071. "show": true
  17072. },
  17073. {
  17074. "format": "short",
  17075. "label": null,
  17076. "logBase": 1,
  17077. "max": null,
  17078. "min": null,
  17079. "show": false
  17080. }
  17081. ]
  17082. },
  17083. {
  17084. "aliasColors": {
  17085. },
  17086. "bars": false,
  17087. "dashLength": 10,
  17088. "dashes": false,
  17089. "datasource": "$datasource",
  17090. "fill": 10,
  17091. "id": 15,
  17092. "interval": "1m",
  17093. "legend": {
  17094. "alignAsTable": true,
  17095. "avg": false,
  17096. "current": false,
  17097. "max": false,
  17098. "min": false,
  17099. "rightSide": true,
  17100. "show": true,
  17101. "total": false,
  17102. "values": false
  17103. },
  17104. "lines": true,
  17105. "linewidth": 0,
  17106. "links": [
  17107. ],
  17108. "nullPointMode": "null as zero",
  17109. "percentage": false,
  17110. "pointradius": 5,
  17111. "points": false,
  17112. "renderer": "flot",
  17113. "seriesOverrides": [
  17114. ],
  17115. "spaceLength": 10,
  17116. "span": 6,
  17117. "stack": true,
  17118. "steppedLine": false,
  17119. "targets": [
  17120. {
  17121. "expr": "sum by(container) (rate(container_fs_reads_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))",
  17122. "format": "time_series",
  17123. "intervalFactor": 2,
  17124. "legendFormat": "{{container}}",
  17125. "legendLink": null,
  17126. "step": 10
  17127. }
  17128. ],
  17129. "thresholds": [
  17130. ],
  17131. "timeFrom": null,
  17132. "timeShift": null,
  17133. "title": "ThroughPut(Read+Write)",
  17134. "tooltip": {
  17135. "shared": false,
  17136. "sort": 2,
  17137. "value_type": "individual"
  17138. },
  17139. "type": "graph",
  17140. "xaxis": {
  17141. "buckets": null,
  17142. "mode": "time",
  17143. "name": null,
  17144. "show": true,
  17145. "values": [
  17146. ]
  17147. },
  17148. "yaxes": [
  17149. {
  17150. "format": "Bps",
  17151. "label": null,
  17152. "logBase": 1,
  17153. "max": null,
  17154. "min": 0,
  17155. "show": true
  17156. },
  17157. {
  17158. "format": "short",
  17159. "label": null,
  17160. "logBase": 1,
  17161. "max": null,
  17162. "min": null,
  17163. "show": false
  17164. }
  17165. ]
  17166. }
  17167. ],
  17168. "repeat": null,
  17169. "repeatIteration": null,
  17170. "repeatRowId": null,
  17171. "showTitle": true,
  17172. "title": "Storage IO - Distribution(Containers)",
  17173. "titleSize": "h6"
  17174. },
  17175. {
  17176. "collapse": false,
  17177. "height": "250px",
  17178. "panels": [
  17179. {
  17180. "aliasColors": {
  17181. },
  17182. "bars": false,
  17183. "dashLength": 10,
  17184. "dashes": false,
  17185. "datasource": "$datasource",
  17186. "fill": 1,
  17187. "id": 16,
  17188. "interval": "1m",
  17189. "legend": {
  17190. "alignAsTable": true,
  17191. "avg": false,
  17192. "current": false,
  17193. "max": false,
  17194. "min": false,
  17195. "rightSide": true,
  17196. "show": true,
  17197. "total": false,
  17198. "values": false
  17199. },
  17200. "lines": true,
  17201. "linewidth": 1,
  17202. "links": [
  17203. ],
  17204. "nullPointMode": "null as zero",
  17205. "percentage": false,
  17206. "pointradius": 5,
  17207. "points": false,
  17208. "renderer": "flot",
  17209. "seriesOverrides": [
  17210. ],
  17211. "sort": {
  17212. "col": 4,
  17213. "desc": true
  17214. },
  17215. "spaceLength": 10,
  17216. "span": 12,
  17217. "stack": false,
  17218. "steppedLine": false,
  17219. "styles": [
  17220. {
  17221. "alias": "Time",
  17222. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17223. "pattern": "Time",
  17224. "type": "hidden"
  17225. },
  17226. {
  17227. "alias": "IOPS(Reads)",
  17228. "colorMode": null,
  17229. "colors": [
  17230. ],
  17231. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17232. "decimals": -1,
  17233. "link": false,
  17234. "linkTargetBlank": false,
  17235. "linkTooltip": "Drill down",
  17236. "linkUrl": "",
  17237. "pattern": "Value #A",
  17238. "thresholds": [
  17239. ],
  17240. "type": "number",
  17241. "unit": "short"
  17242. },
  17243. {
  17244. "alias": "IOPS(Writes)",
  17245. "colorMode": null,
  17246. "colors": [
  17247. ],
  17248. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17249. "decimals": -1,
  17250. "link": false,
  17251. "linkTargetBlank": false,
  17252. "linkTooltip": "Drill down",
  17253. "linkUrl": "",
  17254. "pattern": "Value #B",
  17255. "thresholds": [
  17256. ],
  17257. "type": "number",
  17258. "unit": "short"
  17259. },
  17260. {
  17261. "alias": "IOPS(Reads + Writes)",
  17262. "colorMode": null,
  17263. "colors": [
  17264. ],
  17265. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17266. "decimals": -1,
  17267. "link": false,
  17268. "linkTargetBlank": false,
  17269. "linkTooltip": "Drill down",
  17270. "linkUrl": "",
  17271. "pattern": "Value #C",
  17272. "thresholds": [
  17273. ],
  17274. "type": "number",
  17275. "unit": "short"
  17276. },
  17277. {
  17278. "alias": "Throughput(Read)",
  17279. "colorMode": null,
  17280. "colors": [
  17281. ],
  17282. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17283. "decimals": 2,
  17284. "link": false,
  17285. "linkTargetBlank": false,
  17286. "linkTooltip": "Drill down",
  17287. "linkUrl": "",
  17288. "pattern": "Value #D",
  17289. "thresholds": [
  17290. ],
  17291. "type": "number",
  17292. "unit": "Bps"
  17293. },
  17294. {
  17295. "alias": "Throughput(Write)",
  17296. "colorMode": null,
  17297. "colors": [
  17298. ],
  17299. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17300. "decimals": 2,
  17301. "link": false,
  17302. "linkTargetBlank": false,
  17303. "linkTooltip": "Drill down",
  17304. "linkUrl": "",
  17305. "pattern": "Value #E",
  17306. "thresholds": [
  17307. ],
  17308. "type": "number",
  17309. "unit": "Bps"
  17310. },
  17311. {
  17312. "alias": "Throughput(Read + Write)",
  17313. "colorMode": null,
  17314. "colors": [
  17315. ],
  17316. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17317. "decimals": 2,
  17318. "link": false,
  17319. "linkTargetBlank": false,
  17320. "linkTooltip": "Drill down",
  17321. "linkUrl": "",
  17322. "pattern": "Value #F",
  17323. "thresholds": [
  17324. ],
  17325. "type": "number",
  17326. "unit": "Bps"
  17327. },
  17328. {
  17329. "alias": "Container",
  17330. "colorMode": null,
  17331. "colors": [
  17332. ],
  17333. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17334. "decimals": 2,
  17335. "link": false,
  17336. "linkTargetBlank": false,
  17337. "linkTooltip": "Drill down",
  17338. "linkUrl": "",
  17339. "pattern": "container",
  17340. "thresholds": [
  17341. ],
  17342. "type": "number",
  17343. "unit": "short"
  17344. },
  17345. {
  17346. "alias": "",
  17347. "colorMode": null,
  17348. "colors": [
  17349. ],
  17350. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17351. "decimals": 2,
  17352. "pattern": "/.*/",
  17353. "thresholds": [
  17354. ],
  17355. "type": "string",
  17356. "unit": "short"
  17357. }
  17358. ],
  17359. "targets": [
  17360. {
  17361. "expr": "sum by(container) (rate(container_fs_reads_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))",
  17362. "format": "table",
  17363. "instant": true,
  17364. "intervalFactor": 2,
  17365. "legendFormat": "",
  17366. "refId": "A",
  17367. "step": 10
  17368. },
  17369. {
  17370. "expr": "sum by(container) (rate(container_fs_writes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\",device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))",
  17371. "format": "table",
  17372. "instant": true,
  17373. "intervalFactor": 2,
  17374. "legendFormat": "",
  17375. "refId": "B",
  17376. "step": 10
  17377. },
  17378. {
  17379. "expr": "sum by(container) (rate(container_fs_reads_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))",
  17380. "format": "table",
  17381. "instant": true,
  17382. "intervalFactor": 2,
  17383. "legendFormat": "",
  17384. "refId": "C",
  17385. "step": 10
  17386. },
  17387. {
  17388. "expr": "sum by(container) (rate(container_fs_reads_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))",
  17389. "format": "table",
  17390. "instant": true,
  17391. "intervalFactor": 2,
  17392. "legendFormat": "",
  17393. "refId": "D",
  17394. "step": 10
  17395. },
  17396. {
  17397. "expr": "sum by(container) (rate(container_fs_writes_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))",
  17398. "format": "table",
  17399. "instant": true,
  17400. "intervalFactor": 2,
  17401. "legendFormat": "",
  17402. "refId": "E",
  17403. "step": 10
  17404. },
  17405. {
  17406. "expr": "sum by(container) (rate(container_fs_reads_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))",
  17407. "format": "table",
  17408. "instant": true,
  17409. "intervalFactor": 2,
  17410. "legendFormat": "",
  17411. "refId": "F",
  17412. "step": 10
  17413. }
  17414. ],
  17415. "thresholds": [
  17416. ],
  17417. "timeFrom": null,
  17418. "timeShift": null,
  17419. "title": "Current Storage IO",
  17420. "tooltip": {
  17421. "shared": false,
  17422. "sort": 2,
  17423. "value_type": "individual"
  17424. },
  17425. "transform": "table",
  17426. "type": "table",
  17427. "xaxis": {
  17428. "buckets": null,
  17429. "mode": "time",
  17430. "name": null,
  17431. "show": true,
  17432. "values": [
  17433. ]
  17434. },
  17435. "yaxes": [
  17436. {
  17437. "format": "short",
  17438. "label": null,
  17439. "logBase": 1,
  17440. "max": null,
  17441. "min": 0,
  17442. "show": true
  17443. },
  17444. {
  17445. "format": "short",
  17446. "label": null,
  17447. "logBase": 1,
  17448. "max": null,
  17449. "min": null,
  17450. "show": false
  17451. }
  17452. ]
  17453. }
  17454. ],
  17455. "repeat": null,
  17456. "repeatIteration": null,
  17457. "repeatRowId": null,
  17458. "showTitle": true,
  17459. "title": "Storage IO - Distribution",
  17460. "titleSize": "h6"
  17461. }
  17462. ],
  17463. "schemaVersion": 14,
  17464. "style": "dark",
  17465. "tags": [
  17466. "kubernetes-mixin"
  17467. ],
  17468. "templating": {
  17469. "list": [
  17470. {
  17471. "current": {
  17472. "text": "default",
  17473. "value": "default"
  17474. },
  17475. "hide": 0,
  17476. "label": "Data Source",
  17477. "name": "datasource",
  17478. "options": [
  17479. ],
  17480. "query": "prometheus",
  17481. "refresh": 1,
  17482. "regex": "",
  17483. "type": "datasource"
  17484. },
  17485. {
  17486. "allValue": null,
  17487. "current": {
  17488. "text": "",
  17489. "value": ""
  17490. },
  17491. "datasource": "$datasource",
  17492. "hide": 2,
  17493. "includeAll": false,
  17494. "label": null,
  17495. "multi": false,
  17496. "name": "cluster",
  17497. "options": [
  17498. ],
  17499. "query": "label_values(up{job=\"kube-state-metrics\"}, cluster)",
  17500. "refresh": 2,
  17501. "regex": "",
  17502. "sort": 1,
  17503. "tagValuesQuery": "",
  17504. "tags": [
  17505. ],
  17506. "tagsQuery": "",
  17507. "type": "query",
  17508. "useTags": false
  17509. },
  17510. {
  17511. "allValue": null,
  17512. "current": {
  17513. "text": "",
  17514. "value": ""
  17515. },
  17516. "datasource": "$datasource",
  17517. "hide": 0,
  17518. "includeAll": false,
  17519. "label": null,
  17520. "multi": false,
  17521. "name": "namespace",
  17522. "options": [
  17523. ],
  17524. "query": "label_values(kube_namespace_status_phase{job=\"kube-state-metrics\", cluster=\"$cluster\"}, namespace)",
  17525. "refresh": 2,
  17526. "regex": "",
  17527. "sort": 1,
  17528. "tagValuesQuery": "",
  17529. "tags": [
  17530. ],
  17531. "tagsQuery": "",
  17532. "type": "query",
  17533. "useTags": false
  17534. },
  17535. {
  17536. "allValue": null,
  17537. "current": {
  17538. "text": "",
  17539. "value": ""
  17540. },
  17541. "datasource": "$datasource",
  17542. "hide": 0,
  17543. "includeAll": false,
  17544. "label": null,
  17545. "multi": false,
  17546. "name": "pod",
  17547. "options": [
  17548. ],
  17549. "query": "label_values(kube_pod_info{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\"}, pod)",
  17550. "refresh": 2,
  17551. "regex": "",
  17552. "sort": 1,
  17553. "tagValuesQuery": "",
  17554. "tags": [
  17555. ],
  17556. "tagsQuery": "",
  17557. "type": "query",
  17558. "useTags": false
  17559. }
  17560. ]
  17561. },
  17562. "time": {
  17563. "from": "now-1h",
  17564. "to": "now"
  17565. },
  17566. "timepicker": {
  17567. "refresh_intervals": [
  17568. "5s",
  17569. "10s",
  17570. "30s",
  17571. "1m",
  17572. "5m",
  17573. "15m",
  17574. "30m",
  17575. "1h",
  17576. "2h",
  17577. "1d"
  17578. ],
  17579. "time_options": [
  17580. "5m",
  17581. "15m",
  17582. "1h",
  17583. "6h",
  17584. "12h",
  17585. "24h",
  17586. "2d",
  17587. "7d",
  17588. "30d"
  17589. ]
  17590. },
  17591. "timezone": "utc",
  17592. "title": "Kubernetes / Compute Resources / Pod",
  17593. "uid": "6581e46e4e5c7ba40a07646395ef7b23",
  17594. "version": 0
  17595. }
  17596. ---
  17597. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/k8s-resources-workload.yaml
  17598. apiVersion: v1
  17599. kind: ConfigMap
  17600. metadata:
  17601. namespace: monitoring
  17602. name: prometheus-kube-prometheus-k8s-resources-workload
  17603. annotations:
  17604. {}
  17605. labels:
  17606. grafana_dashboard: "1"
  17607. app: kube-prometheus-stack-grafana
  17608. app.kubernetes.io/managed-by: Helm
  17609. app.kubernetes.io/instance: prometheus
  17610. app.kubernetes.io/version: "44.3.0"
  17611. app.kubernetes.io/part-of: kube-prometheus-stack
  17612. chart: kube-prometheus-stack-44.3.0
  17613. release: "prometheus"
  17614. heritage: "Helm"
  17615. data:
  17616. k8s-resources-workload.json: |-
  17617. {
  17618. "annotations": {
  17619. "list": [
  17620. ]
  17621. },
  17622. "editable": true,
  17623. "gnetId": null,
  17624. "graphTooltip": 0,
  17625. "hideControls": false,
  17626. "links": [
  17627. ],
  17628. "refresh": "10s",
  17629. "rows": [
  17630. {
  17631. "collapse": false,
  17632. "height": "250px",
  17633. "panels": [
  17634. {
  17635. "aliasColors": {
  17636. },
  17637. "bars": false,
  17638. "dashLength": 10,
  17639. "dashes": false,
  17640. "datasource": "$datasource",
  17641. "fill": 10,
  17642. "id": 1,
  17643. "interval": "1m",
  17644. "legend": {
  17645. "alignAsTable": true,
  17646. "avg": false,
  17647. "current": false,
  17648. "max": false,
  17649. "min": false,
  17650. "rightSide": true,
  17651. "show": true,
  17652. "total": false,
  17653. "values": false
  17654. },
  17655. "lines": true,
  17656. "linewidth": 0,
  17657. "links": [
  17658. ],
  17659. "nullPointMode": "null as zero",
  17660. "percentage": false,
  17661. "pointradius": 5,
  17662. "points": false,
  17663. "renderer": "flot",
  17664. "seriesOverrides": [
  17665. ],
  17666. "spaceLength": 10,
  17667. "span": 12,
  17668. "stack": true,
  17669. "steppedLine": false,
  17670. "targets": [
  17671. {
  17672. "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  17673. "format": "time_series",
  17674. "intervalFactor": 2,
  17675. "legendFormat": "{{pod}}",
  17676. "legendLink": null,
  17677. "step": 10
  17678. }
  17679. ],
  17680. "thresholds": [
  17681. ],
  17682. "timeFrom": null,
  17683. "timeShift": null,
  17684. "title": "CPU Usage",
  17685. "tooltip": {
  17686. "shared": false,
  17687. "sort": 2,
  17688. "value_type": "individual"
  17689. },
  17690. "type": "graph",
  17691. "xaxis": {
  17692. "buckets": null,
  17693. "mode": "time",
  17694. "name": null,
  17695. "show": true,
  17696. "values": [
  17697. ]
  17698. },
  17699. "yaxes": [
  17700. {
  17701. "format": "short",
  17702. "label": null,
  17703. "logBase": 1,
  17704. "max": null,
  17705. "min": 0,
  17706. "show": true
  17707. },
  17708. {
  17709. "format": "short",
  17710. "label": null,
  17711. "logBase": 1,
  17712. "max": null,
  17713. "min": null,
  17714. "show": false
  17715. }
  17716. ]
  17717. }
  17718. ],
  17719. "repeat": null,
  17720. "repeatIteration": null,
  17721. "repeatRowId": null,
  17722. "showTitle": true,
  17723. "title": "CPU Usage",
  17724. "titleSize": "h6"
  17725. },
  17726. {
  17727. "collapse": false,
  17728. "height": "250px",
  17729. "panels": [
  17730. {
  17731. "aliasColors": {
  17732. },
  17733. "bars": false,
  17734. "dashLength": 10,
  17735. "dashes": false,
  17736. "datasource": "$datasource",
  17737. "fill": 1,
  17738. "id": 2,
  17739. "interval": "1m",
  17740. "legend": {
  17741. "alignAsTable": true,
  17742. "avg": false,
  17743. "current": false,
  17744. "max": false,
  17745. "min": false,
  17746. "rightSide": true,
  17747. "show": true,
  17748. "total": false,
  17749. "values": false
  17750. },
  17751. "lines": true,
  17752. "linewidth": 1,
  17753. "links": [
  17754. ],
  17755. "nullPointMode": "null as zero",
  17756. "percentage": false,
  17757. "pointradius": 5,
  17758. "points": false,
  17759. "renderer": "flot",
  17760. "seriesOverrides": [
  17761. ],
  17762. "spaceLength": 10,
  17763. "span": 12,
  17764. "stack": false,
  17765. "steppedLine": false,
  17766. "styles": [
  17767. {
  17768. "alias": "Time",
  17769. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17770. "pattern": "Time",
  17771. "type": "hidden"
  17772. },
  17773. {
  17774. "alias": "CPU Usage",
  17775. "colorMode": null,
  17776. "colors": [
  17777. ],
  17778. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17779. "decimals": 2,
  17780. "link": false,
  17781. "linkTargetBlank": false,
  17782. "linkTooltip": "Drill down",
  17783. "linkUrl": "",
  17784. "pattern": "Value #A",
  17785. "thresholds": [
  17786. ],
  17787. "type": "number",
  17788. "unit": "short"
  17789. },
  17790. {
  17791. "alias": "CPU Requests",
  17792. "colorMode": null,
  17793. "colors": [
  17794. ],
  17795. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17796. "decimals": 2,
  17797. "link": false,
  17798. "linkTargetBlank": false,
  17799. "linkTooltip": "Drill down",
  17800. "linkUrl": "",
  17801. "pattern": "Value #B",
  17802. "thresholds": [
  17803. ],
  17804. "type": "number",
  17805. "unit": "short"
  17806. },
  17807. {
  17808. "alias": "CPU Requests %",
  17809. "colorMode": null,
  17810. "colors": [
  17811. ],
  17812. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17813. "decimals": 2,
  17814. "link": false,
  17815. "linkTargetBlank": false,
  17816. "linkTooltip": "Drill down",
  17817. "linkUrl": "",
  17818. "pattern": "Value #C",
  17819. "thresholds": [
  17820. ],
  17821. "type": "number",
  17822. "unit": "percentunit"
  17823. },
  17824. {
  17825. "alias": "CPU Limits",
  17826. "colorMode": null,
  17827. "colors": [
  17828. ],
  17829. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17830. "decimals": 2,
  17831. "link": false,
  17832. "linkTargetBlank": false,
  17833. "linkTooltip": "Drill down",
  17834. "linkUrl": "",
  17835. "pattern": "Value #D",
  17836. "thresholds": [
  17837. ],
  17838. "type": "number",
  17839. "unit": "short"
  17840. },
  17841. {
  17842. "alias": "CPU Limits %",
  17843. "colorMode": null,
  17844. "colors": [
  17845. ],
  17846. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17847. "decimals": 2,
  17848. "link": false,
  17849. "linkTargetBlank": false,
  17850. "linkTooltip": "Drill down",
  17851. "linkUrl": "",
  17852. "pattern": "Value #E",
  17853. "thresholds": [
  17854. ],
  17855. "type": "number",
  17856. "unit": "percentunit"
  17857. },
  17858. {
  17859. "alias": "Pod",
  17860. "colorMode": null,
  17861. "colors": [
  17862. ],
  17863. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17864. "decimals": 2,
  17865. "link": true,
  17866. "linkTargetBlank": false,
  17867. "linkTooltip": "Drill down",
  17868. "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell",
  17869. "pattern": "pod",
  17870. "thresholds": [
  17871. ],
  17872. "type": "number",
  17873. "unit": "short"
  17874. },
  17875. {
  17876. "alias": "",
  17877. "colorMode": null,
  17878. "colors": [
  17879. ],
  17880. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  17881. "decimals": 2,
  17882. "pattern": "/.*/",
  17883. "thresholds": [
  17884. ],
  17885. "type": "string",
  17886. "unit": "short"
  17887. }
  17888. ],
  17889. "targets": [
  17890. {
  17891. "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  17892. "format": "table",
  17893. "instant": true,
  17894. "intervalFactor": 2,
  17895. "legendFormat": "",
  17896. "refId": "A",
  17897. "step": 10
  17898. },
  17899. {
  17900. "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  17901. "format": "table",
  17902. "instant": true,
  17903. "intervalFactor": 2,
  17904. "legendFormat": "",
  17905. "refId": "B",
  17906. "step": 10
  17907. },
  17908. {
  17909. "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  17910. "format": "table",
  17911. "instant": true,
  17912. "intervalFactor": 2,
  17913. "legendFormat": "",
  17914. "refId": "C",
  17915. "step": 10
  17916. },
  17917. {
  17918. "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  17919. "format": "table",
  17920. "instant": true,
  17921. "intervalFactor": 2,
  17922. "legendFormat": "",
  17923. "refId": "D",
  17924. "step": 10
  17925. },
  17926. {
  17927. "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  17928. "format": "table",
  17929. "instant": true,
  17930. "intervalFactor": 2,
  17931. "legendFormat": "",
  17932. "refId": "E",
  17933. "step": 10
  17934. }
  17935. ],
  17936. "thresholds": [
  17937. ],
  17938. "timeFrom": null,
  17939. "timeShift": null,
  17940. "title": "CPU Quota",
  17941. "tooltip": {
  17942. "shared": false,
  17943. "sort": 2,
  17944. "value_type": "individual"
  17945. },
  17946. "transform": "table",
  17947. "type": "table",
  17948. "xaxis": {
  17949. "buckets": null,
  17950. "mode": "time",
  17951. "name": null,
  17952. "show": true,
  17953. "values": [
  17954. ]
  17955. },
  17956. "yaxes": [
  17957. {
  17958. "format": "short",
  17959. "label": null,
  17960. "logBase": 1,
  17961. "max": null,
  17962. "min": 0,
  17963. "show": true
  17964. },
  17965. {
  17966. "format": "short",
  17967. "label": null,
  17968. "logBase": 1,
  17969. "max": null,
  17970. "min": null,
  17971. "show": false
  17972. }
  17973. ]
  17974. }
  17975. ],
  17976. "repeat": null,
  17977. "repeatIteration": null,
  17978. "repeatRowId": null,
  17979. "showTitle": true,
  17980. "title": "CPU Quota",
  17981. "titleSize": "h6"
  17982. },
  17983. {
  17984. "collapse": false,
  17985. "height": "250px",
  17986. "panels": [
  17987. {
  17988. "aliasColors": {
  17989. },
  17990. "bars": false,
  17991. "dashLength": 10,
  17992. "dashes": false,
  17993. "datasource": "$datasource",
  17994. "fill": 10,
  17995. "id": 3,
  17996. "interval": "1m",
  17997. "legend": {
  17998. "alignAsTable": true,
  17999. "avg": false,
  18000. "current": false,
  18001. "max": false,
  18002. "min": false,
  18003. "rightSide": true,
  18004. "show": true,
  18005. "total": false,
  18006. "values": false
  18007. },
  18008. "lines": true,
  18009. "linewidth": 0,
  18010. "links": [
  18011. ],
  18012. "nullPointMode": "null as zero",
  18013. "percentage": false,
  18014. "pointradius": 5,
  18015. "points": false,
  18016. "renderer": "flot",
  18017. "seriesOverrides": [
  18018. ],
  18019. "spaceLength": 10,
  18020. "span": 12,
  18021. "stack": true,
  18022. "steppedLine": false,
  18023. "targets": [
  18024. {
  18025. "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  18026. "format": "time_series",
  18027. "intervalFactor": 2,
  18028. "legendFormat": "{{pod}}",
  18029. "legendLink": null,
  18030. "step": 10
  18031. }
  18032. ],
  18033. "thresholds": [
  18034. ],
  18035. "timeFrom": null,
  18036. "timeShift": null,
  18037. "title": "Memory Usage",
  18038. "tooltip": {
  18039. "shared": false,
  18040. "sort": 2,
  18041. "value_type": "individual"
  18042. },
  18043. "type": "graph",
  18044. "xaxis": {
  18045. "buckets": null,
  18046. "mode": "time",
  18047. "name": null,
  18048. "show": true,
  18049. "values": [
  18050. ]
  18051. },
  18052. "yaxes": [
  18053. {
  18054. "format": "bytes",
  18055. "label": null,
  18056. "logBase": 1,
  18057. "max": null,
  18058. "min": 0,
  18059. "show": true
  18060. },
  18061. {
  18062. "format": "short",
  18063. "label": null,
  18064. "logBase": 1,
  18065. "max": null,
  18066. "min": null,
  18067. "show": false
  18068. }
  18069. ]
  18070. }
  18071. ],
  18072. "repeat": null,
  18073. "repeatIteration": null,
  18074. "repeatRowId": null,
  18075. "showTitle": true,
  18076. "title": "Memory Usage",
  18077. "titleSize": "h6"
  18078. },
  18079. {
  18080. "collapse": false,
  18081. "height": "250px",
  18082. "panels": [
  18083. {
  18084. "aliasColors": {
  18085. },
  18086. "bars": false,
  18087. "dashLength": 10,
  18088. "dashes": false,
  18089. "datasource": "$datasource",
  18090. "fill": 1,
  18091. "id": 4,
  18092. "interval": "1m",
  18093. "legend": {
  18094. "alignAsTable": true,
  18095. "avg": false,
  18096. "current": false,
  18097. "max": false,
  18098. "min": false,
  18099. "rightSide": true,
  18100. "show": true,
  18101. "total": false,
  18102. "values": false
  18103. },
  18104. "lines": true,
  18105. "linewidth": 1,
  18106. "links": [
  18107. ],
  18108. "nullPointMode": "null as zero",
  18109. "percentage": false,
  18110. "pointradius": 5,
  18111. "points": false,
  18112. "renderer": "flot",
  18113. "seriesOverrides": [
  18114. ],
  18115. "spaceLength": 10,
  18116. "span": 12,
  18117. "stack": false,
  18118. "steppedLine": false,
  18119. "styles": [
  18120. {
  18121. "alias": "Time",
  18122. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18123. "pattern": "Time",
  18124. "type": "hidden"
  18125. },
  18126. {
  18127. "alias": "Memory Usage",
  18128. "colorMode": null,
  18129. "colors": [
  18130. ],
  18131. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18132. "decimals": 2,
  18133. "link": false,
  18134. "linkTargetBlank": false,
  18135. "linkTooltip": "Drill down",
  18136. "linkUrl": "",
  18137. "pattern": "Value #A",
  18138. "thresholds": [
  18139. ],
  18140. "type": "number",
  18141. "unit": "bytes"
  18142. },
  18143. {
  18144. "alias": "Memory Requests",
  18145. "colorMode": null,
  18146. "colors": [
  18147. ],
  18148. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18149. "decimals": 2,
  18150. "link": false,
  18151. "linkTargetBlank": false,
  18152. "linkTooltip": "Drill down",
  18153. "linkUrl": "",
  18154. "pattern": "Value #B",
  18155. "thresholds": [
  18156. ],
  18157. "type": "number",
  18158. "unit": "bytes"
  18159. },
  18160. {
  18161. "alias": "Memory Requests %",
  18162. "colorMode": null,
  18163. "colors": [
  18164. ],
  18165. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18166. "decimals": 2,
  18167. "link": false,
  18168. "linkTargetBlank": false,
  18169. "linkTooltip": "Drill down",
  18170. "linkUrl": "",
  18171. "pattern": "Value #C",
  18172. "thresholds": [
  18173. ],
  18174. "type": "number",
  18175. "unit": "percentunit"
  18176. },
  18177. {
  18178. "alias": "Memory Limits",
  18179. "colorMode": null,
  18180. "colors": [
  18181. ],
  18182. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18183. "decimals": 2,
  18184. "link": false,
  18185. "linkTargetBlank": false,
  18186. "linkTooltip": "Drill down",
  18187. "linkUrl": "",
  18188. "pattern": "Value #D",
  18189. "thresholds": [
  18190. ],
  18191. "type": "number",
  18192. "unit": "bytes"
  18193. },
  18194. {
  18195. "alias": "Memory Limits %",
  18196. "colorMode": null,
  18197. "colors": [
  18198. ],
  18199. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18200. "decimals": 2,
  18201. "link": false,
  18202. "linkTargetBlank": false,
  18203. "linkTooltip": "Drill down",
  18204. "linkUrl": "",
  18205. "pattern": "Value #E",
  18206. "thresholds": [
  18207. ],
  18208. "type": "number",
  18209. "unit": "percentunit"
  18210. },
  18211. {
  18212. "alias": "Pod",
  18213. "colorMode": null,
  18214. "colors": [
  18215. ],
  18216. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18217. "decimals": 2,
  18218. "link": true,
  18219. "linkTargetBlank": false,
  18220. "linkTooltip": "Drill down",
  18221. "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell",
  18222. "pattern": "pod",
  18223. "thresholds": [
  18224. ],
  18225. "type": "number",
  18226. "unit": "short"
  18227. },
  18228. {
  18229. "alias": "",
  18230. "colorMode": null,
  18231. "colors": [
  18232. ],
  18233. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18234. "decimals": 2,
  18235. "pattern": "/.*/",
  18236. "thresholds": [
  18237. ],
  18238. "type": "string",
  18239. "unit": "short"
  18240. }
  18241. ],
  18242. "targets": [
  18243. {
  18244. "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  18245. "format": "table",
  18246. "instant": true,
  18247. "intervalFactor": 2,
  18248. "legendFormat": "",
  18249. "refId": "A",
  18250. "step": 10
  18251. },
  18252. {
  18253. "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  18254. "format": "table",
  18255. "instant": true,
  18256. "intervalFactor": 2,
  18257. "legendFormat": "",
  18258. "refId": "B",
  18259. "step": 10
  18260. },
  18261. {
  18262. "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  18263. "format": "table",
  18264. "instant": true,
  18265. "intervalFactor": 2,
  18266. "legendFormat": "",
  18267. "refId": "C",
  18268. "step": 10
  18269. },
  18270. {
  18271. "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  18272. "format": "table",
  18273. "instant": true,
  18274. "intervalFactor": 2,
  18275. "legendFormat": "",
  18276. "refId": "D",
  18277. "step": 10
  18278. },
  18279. {
  18280. "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n",
  18281. "format": "table",
  18282. "instant": true,
  18283. "intervalFactor": 2,
  18284. "legendFormat": "",
  18285. "refId": "E",
  18286. "step": 10
  18287. }
  18288. ],
  18289. "thresholds": [
  18290. ],
  18291. "timeFrom": null,
  18292. "timeShift": null,
  18293. "title": "Memory Quota",
  18294. "tooltip": {
  18295. "shared": false,
  18296. "sort": 2,
  18297. "value_type": "individual"
  18298. },
  18299. "transform": "table",
  18300. "type": "table",
  18301. "xaxis": {
  18302. "buckets": null,
  18303. "mode": "time",
  18304. "name": null,
  18305. "show": true,
  18306. "values": [
  18307. ]
  18308. },
  18309. "yaxes": [
  18310. {
  18311. "format": "short",
  18312. "label": null,
  18313. "logBase": 1,
  18314. "max": null,
  18315. "min": 0,
  18316. "show": true
  18317. },
  18318. {
  18319. "format": "short",
  18320. "label": null,
  18321. "logBase": 1,
  18322. "max": null,
  18323. "min": null,
  18324. "show": false
  18325. }
  18326. ]
  18327. }
  18328. ],
  18329. "repeat": null,
  18330. "repeatIteration": null,
  18331. "repeatRowId": null,
  18332. "showTitle": true,
  18333. "title": "Memory Quota",
  18334. "titleSize": "h6"
  18335. },
  18336. {
  18337. "collapse": false,
  18338. "height": "250px",
  18339. "panels": [
  18340. {
  18341. "aliasColors": {
  18342. },
  18343. "bars": false,
  18344. "dashLength": 10,
  18345. "dashes": false,
  18346. "datasource": "$datasource",
  18347. "fill": 1,
  18348. "id": 5,
  18349. "interval": "1m",
  18350. "legend": {
  18351. "alignAsTable": true,
  18352. "avg": false,
  18353. "current": false,
  18354. "max": false,
  18355. "min": false,
  18356. "rightSide": true,
  18357. "show": true,
  18358. "total": false,
  18359. "values": false
  18360. },
  18361. "lines": true,
  18362. "linewidth": 1,
  18363. "links": [
  18364. ],
  18365. "nullPointMode": "null as zero",
  18366. "percentage": false,
  18367. "pointradius": 5,
  18368. "points": false,
  18369. "renderer": "flot",
  18370. "seriesOverrides": [
  18371. ],
  18372. "spaceLength": 10,
  18373. "span": 12,
  18374. "stack": false,
  18375. "steppedLine": false,
  18376. "styles": [
  18377. {
  18378. "alias": "Time",
  18379. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18380. "pattern": "Time",
  18381. "type": "hidden"
  18382. },
  18383. {
  18384. "alias": "Current Receive Bandwidth",
  18385. "colorMode": null,
  18386. "colors": [
  18387. ],
  18388. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18389. "decimals": 2,
  18390. "link": false,
  18391. "linkTargetBlank": false,
  18392. "linkTooltip": "Drill down",
  18393. "linkUrl": "",
  18394. "pattern": "Value #A",
  18395. "thresholds": [
  18396. ],
  18397. "type": "number",
  18398. "unit": "Bps"
  18399. },
  18400. {
  18401. "alias": "Current Transmit Bandwidth",
  18402. "colorMode": null,
  18403. "colors": [
  18404. ],
  18405. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18406. "decimals": 2,
  18407. "link": false,
  18408. "linkTargetBlank": false,
  18409. "linkTooltip": "Drill down",
  18410. "linkUrl": "",
  18411. "pattern": "Value #B",
  18412. "thresholds": [
  18413. ],
  18414. "type": "number",
  18415. "unit": "Bps"
  18416. },
  18417. {
  18418. "alias": "Rate of Received Packets",
  18419. "colorMode": null,
  18420. "colors": [
  18421. ],
  18422. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18423. "decimals": 2,
  18424. "link": false,
  18425. "linkTargetBlank": false,
  18426. "linkTooltip": "Drill down",
  18427. "linkUrl": "",
  18428. "pattern": "Value #C",
  18429. "thresholds": [
  18430. ],
  18431. "type": "number",
  18432. "unit": "pps"
  18433. },
  18434. {
  18435. "alias": "Rate of Transmitted Packets",
  18436. "colorMode": null,
  18437. "colors": [
  18438. ],
  18439. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18440. "decimals": 2,
  18441. "link": false,
  18442. "linkTargetBlank": false,
  18443. "linkTooltip": "Drill down",
  18444. "linkUrl": "",
  18445. "pattern": "Value #D",
  18446. "thresholds": [
  18447. ],
  18448. "type": "number",
  18449. "unit": "pps"
  18450. },
  18451. {
  18452. "alias": "Rate of Received Packets Dropped",
  18453. "colorMode": null,
  18454. "colors": [
  18455. ],
  18456. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18457. "decimals": 2,
  18458. "link": false,
  18459. "linkTargetBlank": false,
  18460. "linkTooltip": "Drill down",
  18461. "linkUrl": "",
  18462. "pattern": "Value #E",
  18463. "thresholds": [
  18464. ],
  18465. "type": "number",
  18466. "unit": "pps"
  18467. },
  18468. {
  18469. "alias": "Rate of Transmitted Packets Dropped",
  18470. "colorMode": null,
  18471. "colors": [
  18472. ],
  18473. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18474. "decimals": 2,
  18475. "link": false,
  18476. "linkTargetBlank": false,
  18477. "linkTooltip": "Drill down",
  18478. "linkUrl": "",
  18479. "pattern": "Value #F",
  18480. "thresholds": [
  18481. ],
  18482. "type": "number",
  18483. "unit": "pps"
  18484. },
  18485. {
  18486. "alias": "Pod",
  18487. "colorMode": null,
  18488. "colors": [
  18489. ],
  18490. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18491. "decimals": 2,
  18492. "link": true,
  18493. "linkTargetBlank": false,
  18494. "linkTooltip": "Drill down",
  18495. "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell",
  18496. "pattern": "pod",
  18497. "thresholds": [
  18498. ],
  18499. "type": "number",
  18500. "unit": "short"
  18501. },
  18502. {
  18503. "alias": "",
  18504. "colorMode": null,
  18505. "colors": [
  18506. ],
  18507. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  18508. "decimals": 2,
  18509. "pattern": "/.*/",
  18510. "thresholds": [
  18511. ],
  18512. "type": "string",
  18513. "unit": "short"
  18514. }
  18515. ],
  18516. "targets": [
  18517. {
  18518. "expr": "(sum(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  18519. "format": "table",
  18520. "instant": true,
  18521. "intervalFactor": 2,
  18522. "legendFormat": "",
  18523. "refId": "A",
  18524. "step": 10
  18525. },
  18526. {
  18527. "expr": "(sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  18528. "format": "table",
  18529. "instant": true,
  18530. "intervalFactor": 2,
  18531. "legendFormat": "",
  18532. "refId": "B",
  18533. "step": 10
  18534. },
  18535. {
  18536. "expr": "(sum(irate(container_network_receive_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  18537. "format": "table",
  18538. "instant": true,
  18539. "intervalFactor": 2,
  18540. "legendFormat": "",
  18541. "refId": "C",
  18542. "step": 10
  18543. },
  18544. {
  18545. "expr": "(sum(irate(container_network_transmit_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  18546. "format": "table",
  18547. "instant": true,
  18548. "intervalFactor": 2,
  18549. "legendFormat": "",
  18550. "refId": "D",
  18551. "step": 10
  18552. },
  18553. {
  18554. "expr": "(sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  18555. "format": "table",
  18556. "instant": true,
  18557. "intervalFactor": 2,
  18558. "legendFormat": "",
  18559. "refId": "E",
  18560. "step": 10
  18561. },
  18562. {
  18563. "expr": "(sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  18564. "format": "table",
  18565. "instant": true,
  18566. "intervalFactor": 2,
  18567. "legendFormat": "",
  18568. "refId": "F",
  18569. "step": 10
  18570. }
  18571. ],
  18572. "thresholds": [
  18573. ],
  18574. "timeFrom": null,
  18575. "timeShift": null,
  18576. "title": "Current Network Usage",
  18577. "tooltip": {
  18578. "shared": false,
  18579. "sort": 2,
  18580. "value_type": "individual"
  18581. },
  18582. "transform": "table",
  18583. "type": "table",
  18584. "xaxis": {
  18585. "buckets": null,
  18586. "mode": "time",
  18587. "name": null,
  18588. "show": true,
  18589. "values": [
  18590. ]
  18591. },
  18592. "yaxes": [
  18593. {
  18594. "format": "short",
  18595. "label": null,
  18596. "logBase": 1,
  18597. "max": null,
  18598. "min": 0,
  18599. "show": true
  18600. },
  18601. {
  18602. "format": "short",
  18603. "label": null,
  18604. "logBase": 1,
  18605. "max": null,
  18606. "min": null,
  18607. "show": false
  18608. }
  18609. ]
  18610. }
  18611. ],
  18612. "repeat": null,
  18613. "repeatIteration": null,
  18614. "repeatRowId": null,
  18615. "showTitle": true,
  18616. "title": "Current Network Usage",
  18617. "titleSize": "h6"
  18618. },
  18619. {
  18620. "collapse": false,
  18621. "height": "250px",
  18622. "panels": [
  18623. {
  18624. "aliasColors": {
  18625. },
  18626. "bars": false,
  18627. "dashLength": 10,
  18628. "dashes": false,
  18629. "datasource": "$datasource",
  18630. "fill": 10,
  18631. "id": 6,
  18632. "interval": "1m",
  18633. "legend": {
  18634. "alignAsTable": true,
  18635. "avg": false,
  18636. "current": false,
  18637. "max": false,
  18638. "min": false,
  18639. "rightSide": true,
  18640. "show": true,
  18641. "total": false,
  18642. "values": false
  18643. },
  18644. "lines": true,
  18645. "linewidth": 0,
  18646. "links": [
  18647. ],
  18648. "nullPointMode": "null as zero",
  18649. "percentage": false,
  18650. "pointradius": 5,
  18651. "points": false,
  18652. "renderer": "flot",
  18653. "seriesOverrides": [
  18654. ],
  18655. "spaceLength": 10,
  18656. "span": 6,
  18657. "stack": true,
  18658. "steppedLine": false,
  18659. "targets": [
  18660. {
  18661. "expr": "(sum(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  18662. "format": "time_series",
  18663. "intervalFactor": 2,
  18664. "legendFormat": "{{pod}}",
  18665. "legendLink": null,
  18666. "step": 10
  18667. }
  18668. ],
  18669. "thresholds": [
  18670. ],
  18671. "timeFrom": null,
  18672. "timeShift": null,
  18673. "title": "Receive Bandwidth",
  18674. "tooltip": {
  18675. "shared": false,
  18676. "sort": 2,
  18677. "value_type": "individual"
  18678. },
  18679. "type": "graph",
  18680. "xaxis": {
  18681. "buckets": null,
  18682. "mode": "time",
  18683. "name": null,
  18684. "show": true,
  18685. "values": [
  18686. ]
  18687. },
  18688. "yaxes": [
  18689. {
  18690. "format": "Bps",
  18691. "label": null,
  18692. "logBase": 1,
  18693. "max": null,
  18694. "min": 0,
  18695. "show": true
  18696. },
  18697. {
  18698. "format": "short",
  18699. "label": null,
  18700. "logBase": 1,
  18701. "max": null,
  18702. "min": null,
  18703. "show": false
  18704. }
  18705. ]
  18706. },
  18707. {
  18708. "aliasColors": {
  18709. },
  18710. "bars": false,
  18711. "dashLength": 10,
  18712. "dashes": false,
  18713. "datasource": "$datasource",
  18714. "fill": 10,
  18715. "id": 7,
  18716. "interval": "1m",
  18717. "legend": {
  18718. "alignAsTable": true,
  18719. "avg": false,
  18720. "current": false,
  18721. "max": false,
  18722. "min": false,
  18723. "rightSide": true,
  18724. "show": true,
  18725. "total": false,
  18726. "values": false
  18727. },
  18728. "lines": true,
  18729. "linewidth": 0,
  18730. "links": [
  18731. ],
  18732. "nullPointMode": "null as zero",
  18733. "percentage": false,
  18734. "pointradius": 5,
  18735. "points": false,
  18736. "renderer": "flot",
  18737. "seriesOverrides": [
  18738. ],
  18739. "spaceLength": 10,
  18740. "span": 6,
  18741. "stack": true,
  18742. "steppedLine": false,
  18743. "targets": [
  18744. {
  18745. "expr": "(sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  18746. "format": "time_series",
  18747. "intervalFactor": 2,
  18748. "legendFormat": "{{pod}}",
  18749. "legendLink": null,
  18750. "step": 10
  18751. }
  18752. ],
  18753. "thresholds": [
  18754. ],
  18755. "timeFrom": null,
  18756. "timeShift": null,
  18757. "title": "Transmit Bandwidth",
  18758. "tooltip": {
  18759. "shared": false,
  18760. "sort": 2,
  18761. "value_type": "individual"
  18762. },
  18763. "type": "graph",
  18764. "xaxis": {
  18765. "buckets": null,
  18766. "mode": "time",
  18767. "name": null,
  18768. "show": true,
  18769. "values": [
  18770. ]
  18771. },
  18772. "yaxes": [
  18773. {
  18774. "format": "Bps",
  18775. "label": null,
  18776. "logBase": 1,
  18777. "max": null,
  18778. "min": 0,
  18779. "show": true
  18780. },
  18781. {
  18782. "format": "short",
  18783. "label": null,
  18784. "logBase": 1,
  18785. "max": null,
  18786. "min": null,
  18787. "show": false
  18788. }
  18789. ]
  18790. }
  18791. ],
  18792. "repeat": null,
  18793. "repeatIteration": null,
  18794. "repeatRowId": null,
  18795. "showTitle": true,
  18796. "title": "Bandwidth",
  18797. "titleSize": "h6"
  18798. },
  18799. {
  18800. "collapse": false,
  18801. "height": "250px",
  18802. "panels": [
  18803. {
  18804. "aliasColors": {
  18805. },
  18806. "bars": false,
  18807. "dashLength": 10,
  18808. "dashes": false,
  18809. "datasource": "$datasource",
  18810. "fill": 10,
  18811. "id": 8,
  18812. "interval": "1m",
  18813. "legend": {
  18814. "alignAsTable": true,
  18815. "avg": false,
  18816. "current": false,
  18817. "max": false,
  18818. "min": false,
  18819. "rightSide": true,
  18820. "show": true,
  18821. "total": false,
  18822. "values": false
  18823. },
  18824. "lines": true,
  18825. "linewidth": 0,
  18826. "links": [
  18827. ],
  18828. "nullPointMode": "null as zero",
  18829. "percentage": false,
  18830. "pointradius": 5,
  18831. "points": false,
  18832. "renderer": "flot",
  18833. "seriesOverrides": [
  18834. ],
  18835. "spaceLength": 10,
  18836. "span": 6,
  18837. "stack": true,
  18838. "steppedLine": false,
  18839. "targets": [
  18840. {
  18841. "expr": "(avg(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  18842. "format": "time_series",
  18843. "intervalFactor": 2,
  18844. "legendFormat": "{{pod}}",
  18845. "legendLink": null,
  18846. "step": 10
  18847. }
  18848. ],
  18849. "thresholds": [
  18850. ],
  18851. "timeFrom": null,
  18852. "timeShift": null,
  18853. "title": "Average Container Bandwidth by Pod: Received",
  18854. "tooltip": {
  18855. "shared": false,
  18856. "sort": 2,
  18857. "value_type": "individual"
  18858. },
  18859. "type": "graph",
  18860. "xaxis": {
  18861. "buckets": null,
  18862. "mode": "time",
  18863. "name": null,
  18864. "show": true,
  18865. "values": [
  18866. ]
  18867. },
  18868. "yaxes": [
  18869. {
  18870. "format": "Bps",
  18871. "label": null,
  18872. "logBase": 1,
  18873. "max": null,
  18874. "min": 0,
  18875. "show": true
  18876. },
  18877. {
  18878. "format": "short",
  18879. "label": null,
  18880. "logBase": 1,
  18881. "max": null,
  18882. "min": null,
  18883. "show": false
  18884. }
  18885. ]
  18886. },
  18887. {
  18888. "aliasColors": {
  18889. },
  18890. "bars": false,
  18891. "dashLength": 10,
  18892. "dashes": false,
  18893. "datasource": "$datasource",
  18894. "fill": 10,
  18895. "id": 9,
  18896. "interval": "1m",
  18897. "legend": {
  18898. "alignAsTable": true,
  18899. "avg": false,
  18900. "current": false,
  18901. "max": false,
  18902. "min": false,
  18903. "rightSide": true,
  18904. "show": true,
  18905. "total": false,
  18906. "values": false
  18907. },
  18908. "lines": true,
  18909. "linewidth": 0,
  18910. "links": [
  18911. ],
  18912. "nullPointMode": "null as zero",
  18913. "percentage": false,
  18914. "pointradius": 5,
  18915. "points": false,
  18916. "renderer": "flot",
  18917. "seriesOverrides": [
  18918. ],
  18919. "spaceLength": 10,
  18920. "span": 6,
  18921. "stack": true,
  18922. "steppedLine": false,
  18923. "targets": [
  18924. {
  18925. "expr": "(avg(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  18926. "format": "time_series",
  18927. "intervalFactor": 2,
  18928. "legendFormat": "{{pod}}",
  18929. "legendLink": null,
  18930. "step": 10
  18931. }
  18932. ],
  18933. "thresholds": [
  18934. ],
  18935. "timeFrom": null,
  18936. "timeShift": null,
  18937. "title": "Average Container Bandwidth by Pod: Transmitted",
  18938. "tooltip": {
  18939. "shared": false,
  18940. "sort": 2,
  18941. "value_type": "individual"
  18942. },
  18943. "type": "graph",
  18944. "xaxis": {
  18945. "buckets": null,
  18946. "mode": "time",
  18947. "name": null,
  18948. "show": true,
  18949. "values": [
  18950. ]
  18951. },
  18952. "yaxes": [
  18953. {
  18954. "format": "Bps",
  18955. "label": null,
  18956. "logBase": 1,
  18957. "max": null,
  18958. "min": 0,
  18959. "show": true
  18960. },
  18961. {
  18962. "format": "short",
  18963. "label": null,
  18964. "logBase": 1,
  18965. "max": null,
  18966. "min": null,
  18967. "show": false
  18968. }
  18969. ]
  18970. }
  18971. ],
  18972. "repeat": null,
  18973. "repeatIteration": null,
  18974. "repeatRowId": null,
  18975. "showTitle": true,
  18976. "title": "Average Container Bandwidth by Pod",
  18977. "titleSize": "h6"
  18978. },
  18979. {
  18980. "collapse": false,
  18981. "height": "250px",
  18982. "panels": [
  18983. {
  18984. "aliasColors": {
  18985. },
  18986. "bars": false,
  18987. "dashLength": 10,
  18988. "dashes": false,
  18989. "datasource": "$datasource",
  18990. "fill": 10,
  18991. "id": 10,
  18992. "interval": "1m",
  18993. "legend": {
  18994. "alignAsTable": true,
  18995. "avg": false,
  18996. "current": false,
  18997. "max": false,
  18998. "min": false,
  18999. "rightSide": true,
  19000. "show": true,
  19001. "total": false,
  19002. "values": false
  19003. },
  19004. "lines": true,
  19005. "linewidth": 0,
  19006. "links": [
  19007. ],
  19008. "nullPointMode": "null as zero",
  19009. "percentage": false,
  19010. "pointradius": 5,
  19011. "points": false,
  19012. "renderer": "flot",
  19013. "seriesOverrides": [
  19014. ],
  19015. "spaceLength": 10,
  19016. "span": 6,
  19017. "stack": true,
  19018. "steppedLine": false,
  19019. "targets": [
  19020. {
  19021. "expr": "(sum(irate(container_network_receive_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  19022. "format": "time_series",
  19023. "intervalFactor": 2,
  19024. "legendFormat": "{{pod}}",
  19025. "legendLink": null,
  19026. "step": 10
  19027. }
  19028. ],
  19029. "thresholds": [
  19030. ],
  19031. "timeFrom": null,
  19032. "timeShift": null,
  19033. "title": "Rate of Received Packets",
  19034. "tooltip": {
  19035. "shared": false,
  19036. "sort": 2,
  19037. "value_type": "individual"
  19038. },
  19039. "type": "graph",
  19040. "xaxis": {
  19041. "buckets": null,
  19042. "mode": "time",
  19043. "name": null,
  19044. "show": true,
  19045. "values": [
  19046. ]
  19047. },
  19048. "yaxes": [
  19049. {
  19050. "format": "pps",
  19051. "label": null,
  19052. "logBase": 1,
  19053. "max": null,
  19054. "min": 0,
  19055. "show": true
  19056. },
  19057. {
  19058. "format": "short",
  19059. "label": null,
  19060. "logBase": 1,
  19061. "max": null,
  19062. "min": null,
  19063. "show": false
  19064. }
  19065. ]
  19066. },
  19067. {
  19068. "aliasColors": {
  19069. },
  19070. "bars": false,
  19071. "dashLength": 10,
  19072. "dashes": false,
  19073. "datasource": "$datasource",
  19074. "fill": 10,
  19075. "id": 11,
  19076. "interval": "1m",
  19077. "legend": {
  19078. "alignAsTable": true,
  19079. "avg": false,
  19080. "current": false,
  19081. "max": false,
  19082. "min": false,
  19083. "rightSide": true,
  19084. "show": true,
  19085. "total": false,
  19086. "values": false
  19087. },
  19088. "lines": true,
  19089. "linewidth": 0,
  19090. "links": [
  19091. ],
  19092. "nullPointMode": "null as zero",
  19093. "percentage": false,
  19094. "pointradius": 5,
  19095. "points": false,
  19096. "renderer": "flot",
  19097. "seriesOverrides": [
  19098. ],
  19099. "spaceLength": 10,
  19100. "span": 6,
  19101. "stack": true,
  19102. "steppedLine": false,
  19103. "targets": [
  19104. {
  19105. "expr": "(sum(irate(container_network_transmit_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  19106. "format": "time_series",
  19107. "intervalFactor": 2,
  19108. "legendFormat": "{{pod}}",
  19109. "legendLink": null,
  19110. "step": 10
  19111. }
  19112. ],
  19113. "thresholds": [
  19114. ],
  19115. "timeFrom": null,
  19116. "timeShift": null,
  19117. "title": "Rate of Transmitted Packets",
  19118. "tooltip": {
  19119. "shared": false,
  19120. "sort": 2,
  19121. "value_type": "individual"
  19122. },
  19123. "type": "graph",
  19124. "xaxis": {
  19125. "buckets": null,
  19126. "mode": "time",
  19127. "name": null,
  19128. "show": true,
  19129. "values": [
  19130. ]
  19131. },
  19132. "yaxes": [
  19133. {
  19134. "format": "pps",
  19135. "label": null,
  19136. "logBase": 1,
  19137. "max": null,
  19138. "min": 0,
  19139. "show": true
  19140. },
  19141. {
  19142. "format": "short",
  19143. "label": null,
  19144. "logBase": 1,
  19145. "max": null,
  19146. "min": null,
  19147. "show": false
  19148. }
  19149. ]
  19150. }
  19151. ],
  19152. "repeat": null,
  19153. "repeatIteration": null,
  19154. "repeatRowId": null,
  19155. "showTitle": true,
  19156. "title": "Rate of Packets",
  19157. "titleSize": "h6"
  19158. },
  19159. {
  19160. "collapse": false,
  19161. "height": "250px",
  19162. "panels": [
  19163. {
  19164. "aliasColors": {
  19165. },
  19166. "bars": false,
  19167. "dashLength": 10,
  19168. "dashes": false,
  19169. "datasource": "$datasource",
  19170. "fill": 10,
  19171. "id": 12,
  19172. "interval": "1m",
  19173. "legend": {
  19174. "alignAsTable": true,
  19175. "avg": false,
  19176. "current": false,
  19177. "max": false,
  19178. "min": false,
  19179. "rightSide": true,
  19180. "show": true,
  19181. "total": false,
  19182. "values": false
  19183. },
  19184. "lines": true,
  19185. "linewidth": 0,
  19186. "links": [
  19187. ],
  19188. "nullPointMode": "null as zero",
  19189. "percentage": false,
  19190. "pointradius": 5,
  19191. "points": false,
  19192. "renderer": "flot",
  19193. "seriesOverrides": [
  19194. ],
  19195. "spaceLength": 10,
  19196. "span": 6,
  19197. "stack": true,
  19198. "steppedLine": false,
  19199. "targets": [
  19200. {
  19201. "expr": "(sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  19202. "format": "time_series",
  19203. "intervalFactor": 2,
  19204. "legendFormat": "{{pod}}",
  19205. "legendLink": null,
  19206. "step": 10
  19207. }
  19208. ],
  19209. "thresholds": [
  19210. ],
  19211. "timeFrom": null,
  19212. "timeShift": null,
  19213. "title": "Rate of Received Packets Dropped",
  19214. "tooltip": {
  19215. "shared": false,
  19216. "sort": 2,
  19217. "value_type": "individual"
  19218. },
  19219. "type": "graph",
  19220. "xaxis": {
  19221. "buckets": null,
  19222. "mode": "time",
  19223. "name": null,
  19224. "show": true,
  19225. "values": [
  19226. ]
  19227. },
  19228. "yaxes": [
  19229. {
  19230. "format": "pps",
  19231. "label": null,
  19232. "logBase": 1,
  19233. "max": null,
  19234. "min": 0,
  19235. "show": true
  19236. },
  19237. {
  19238. "format": "short",
  19239. "label": null,
  19240. "logBase": 1,
  19241. "max": null,
  19242. "min": null,
  19243. "show": false
  19244. }
  19245. ]
  19246. },
  19247. {
  19248. "aliasColors": {
  19249. },
  19250. "bars": false,
  19251. "dashLength": 10,
  19252. "dashes": false,
  19253. "datasource": "$datasource",
  19254. "fill": 10,
  19255. "id": 13,
  19256. "interval": "1m",
  19257. "legend": {
  19258. "alignAsTable": true,
  19259. "avg": false,
  19260. "current": false,
  19261. "max": false,
  19262. "min": false,
  19263. "rightSide": true,
  19264. "show": true,
  19265. "total": false,
  19266. "values": false
  19267. },
  19268. "lines": true,
  19269. "linewidth": 0,
  19270. "links": [
  19271. ],
  19272. "nullPointMode": "null as zero",
  19273. "percentage": false,
  19274. "pointradius": 5,
  19275. "points": false,
  19276. "renderer": "flot",
  19277. "seriesOverrides": [
  19278. ],
  19279. "spaceLength": 10,
  19280. "span": 6,
  19281. "stack": true,
  19282. "steppedLine": false,
  19283. "targets": [
  19284. {
  19285. "expr": "(sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  19286. "format": "time_series",
  19287. "intervalFactor": 2,
  19288. "legendFormat": "{{pod}}",
  19289. "legendLink": null,
  19290. "step": 10
  19291. }
  19292. ],
  19293. "thresholds": [
  19294. ],
  19295. "timeFrom": null,
  19296. "timeShift": null,
  19297. "title": "Rate of Transmitted Packets Dropped",
  19298. "tooltip": {
  19299. "shared": false,
  19300. "sort": 2,
  19301. "value_type": "individual"
  19302. },
  19303. "type": "graph",
  19304. "xaxis": {
  19305. "buckets": null,
  19306. "mode": "time",
  19307. "name": null,
  19308. "show": true,
  19309. "values": [
  19310. ]
  19311. },
  19312. "yaxes": [
  19313. {
  19314. "format": "pps",
  19315. "label": null,
  19316. "logBase": 1,
  19317. "max": null,
  19318. "min": 0,
  19319. "show": true
  19320. },
  19321. {
  19322. "format": "short",
  19323. "label": null,
  19324. "logBase": 1,
  19325. "max": null,
  19326. "min": null,
  19327. "show": false
  19328. }
  19329. ]
  19330. }
  19331. ],
  19332. "repeat": null,
  19333. "repeatIteration": null,
  19334. "repeatRowId": null,
  19335. "showTitle": true,
  19336. "title": "Rate of Packets Dropped",
  19337. "titleSize": "h6"
  19338. }
  19339. ],
  19340. "schemaVersion": 14,
  19341. "style": "dark",
  19342. "tags": [
  19343. "kubernetes-mixin"
  19344. ],
  19345. "templating": {
  19346. "list": [
  19347. {
  19348. "current": {
  19349. "text": "default",
  19350. "value": "default"
  19351. },
  19352. "hide": 0,
  19353. "label": "Data Source",
  19354. "name": "datasource",
  19355. "options": [
  19356. ],
  19357. "query": "prometheus",
  19358. "refresh": 1,
  19359. "regex": "",
  19360. "type": "datasource"
  19361. },
  19362. {
  19363. "allValue": null,
  19364. "current": {
  19365. "text": "",
  19366. "value": ""
  19367. },
  19368. "datasource": "$datasource",
  19369. "hide": 2,
  19370. "includeAll": false,
  19371. "label": null,
  19372. "multi": false,
  19373. "name": "cluster",
  19374. "options": [
  19375. ],
  19376. "query": "label_values(up{job=\"kube-state-metrics\"}, cluster)",
  19377. "refresh": 2,
  19378. "regex": "",
  19379. "sort": 1,
  19380. "tagValuesQuery": "",
  19381. "tags": [
  19382. ],
  19383. "tagsQuery": "",
  19384. "type": "query",
  19385. "useTags": false
  19386. },
  19387. {
  19388. "allValue": null,
  19389. "current": {
  19390. "text": "",
  19391. "value": ""
  19392. },
  19393. "datasource": "$datasource",
  19394. "hide": 0,
  19395. "includeAll": false,
  19396. "label": null,
  19397. "multi": false,
  19398. "name": "namespace",
  19399. "options": [
  19400. ],
  19401. "query": "label_values(kube_namespace_status_phase{job=\"kube-state-metrics\", cluster=\"$cluster\"}, namespace)",
  19402. "refresh": 2,
  19403. "regex": "",
  19404. "sort": 1,
  19405. "tagValuesQuery": "",
  19406. "tags": [
  19407. ],
  19408. "tagsQuery": "",
  19409. "type": "query",
  19410. "useTags": false
  19411. },
  19412. {
  19413. "allValue": null,
  19414. "current": {
  19415. "text": "",
  19416. "value": ""
  19417. },
  19418. "datasource": "$datasource",
  19419. "hide": 0,
  19420. "includeAll": false,
  19421. "label": null,
  19422. "multi": false,
  19423. "name": "type",
  19424. "options": [
  19425. ],
  19426. "query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\"}, workload_type)",
  19427. "refresh": 2,
  19428. "regex": "",
  19429. "sort": 1,
  19430. "tagValuesQuery": "",
  19431. "tags": [
  19432. ],
  19433. "tagsQuery": "",
  19434. "type": "query",
  19435. "useTags": false
  19436. },
  19437. {
  19438. "allValue": null,
  19439. "current": {
  19440. "text": "",
  19441. "value": ""
  19442. },
  19443. "datasource": "$datasource",
  19444. "hide": 0,
  19445. "includeAll": false,
  19446. "label": null,
  19447. "multi": false,
  19448. "name": "workload",
  19449. "options": [
  19450. ],
  19451. "query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}, workload)",
  19452. "refresh": 2,
  19453. "regex": "",
  19454. "sort": 1,
  19455. "tagValuesQuery": "",
  19456. "tags": [
  19457. ],
  19458. "tagsQuery": "",
  19459. "type": "query",
  19460. "useTags": false
  19461. }
  19462. ]
  19463. },
  19464. "time": {
  19465. "from": "now-1h",
  19466. "to": "now"
  19467. },
  19468. "timepicker": {
  19469. "refresh_intervals": [
  19470. "5s",
  19471. "10s",
  19472. "30s",
  19473. "1m",
  19474. "5m",
  19475. "15m",
  19476. "30m",
  19477. "1h",
  19478. "2h",
  19479. "1d"
  19480. ],
  19481. "time_options": [
  19482. "5m",
  19483. "15m",
  19484. "1h",
  19485. "6h",
  19486. "12h",
  19487. "24h",
  19488. "2d",
  19489. "7d",
  19490. "30d"
  19491. ]
  19492. },
  19493. "timezone": "utc",
  19494. "title": "Kubernetes / Compute Resources / Workload",
  19495. "uid": "a164a7f0339f99e89cea5cb47e9be617",
  19496. "version": 0
  19497. }
  19498. ---
  19499. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/k8s-resources-workloads-namespace.yaml
  19500. apiVersion: v1
  19501. kind: ConfigMap
  19502. metadata:
  19503. namespace: monitoring
  19504. name: prometheus-kube-prometheus-k8s-resources-workloads-namespace
  19505. annotations:
  19506. {}
  19507. labels:
  19508. grafana_dashboard: "1"
  19509. app: kube-prometheus-stack-grafana
  19510. app.kubernetes.io/managed-by: Helm
  19511. app.kubernetes.io/instance: prometheus
  19512. app.kubernetes.io/version: "44.3.0"
  19513. app.kubernetes.io/part-of: kube-prometheus-stack
  19514. chart: kube-prometheus-stack-44.3.0
  19515. release: "prometheus"
  19516. heritage: "Helm"
  19517. data:
  19518. k8s-resources-workloads-namespace.json: |-
  19519. {
  19520. "annotations": {
  19521. "list": [
  19522. ]
  19523. },
  19524. "editable": true,
  19525. "gnetId": null,
  19526. "graphTooltip": 0,
  19527. "hideControls": false,
  19528. "links": [
  19529. ],
  19530. "refresh": "10s",
  19531. "rows": [
  19532. {
  19533. "collapse": false,
  19534. "height": "250px",
  19535. "panels": [
  19536. {
  19537. "aliasColors": {
  19538. },
  19539. "bars": false,
  19540. "dashLength": 10,
  19541. "dashes": false,
  19542. "datasource": "$datasource",
  19543. "fill": 10,
  19544. "id": 1,
  19545. "interval": "1m",
  19546. "legend": {
  19547. "alignAsTable": true,
  19548. "avg": false,
  19549. "current": false,
  19550. "max": false,
  19551. "min": false,
  19552. "rightSide": true,
  19553. "show": true,
  19554. "total": false,
  19555. "values": false
  19556. },
  19557. "lines": true,
  19558. "linewidth": 0,
  19559. "links": [
  19560. ],
  19561. "nullPointMode": "null as zero",
  19562. "percentage": false,
  19563. "pointradius": 5,
  19564. "points": false,
  19565. "renderer": "flot",
  19566. "seriesOverrides": [
  19567. {
  19568. "alias": "quota - requests",
  19569. "color": "#F2495C",
  19570. "dashes": true,
  19571. "fill": 0,
  19572. "hiddenSeries": true,
  19573. "hideTooltip": true,
  19574. "legend": true,
  19575. "linewidth": 2,
  19576. "stack": false
  19577. },
  19578. {
  19579. "alias": "quota - limits",
  19580. "color": "#FF9830",
  19581. "dashes": true,
  19582. "fill": 0,
  19583. "hiddenSeries": true,
  19584. "hideTooltip": true,
  19585. "legend": true,
  19586. "linewidth": 2,
  19587. "stack": false
  19588. }
  19589. ],
  19590. "spaceLength": 10,
  19591. "span": 12,
  19592. "stack": true,
  19593. "steppedLine": false,
  19594. "targets": [
  19595. {
  19596. "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  19597. "format": "time_series",
  19598. "intervalFactor": 2,
  19599. "legendFormat": "{{workload}} - {{workload_type}}",
  19600. "legendLink": null,
  19601. "step": 10
  19602. },
  19603. {
  19604. "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.cpu\"})",
  19605. "format": "time_series",
  19606. "intervalFactor": 2,
  19607. "legendFormat": "quota - requests",
  19608. "legendLink": null,
  19609. "step": 10
  19610. },
  19611. {
  19612. "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.cpu\"})",
  19613. "format": "time_series",
  19614. "intervalFactor": 2,
  19615. "legendFormat": "quota - limits",
  19616. "legendLink": null,
  19617. "step": 10
  19618. }
  19619. ],
  19620. "thresholds": [
  19621. ],
  19622. "timeFrom": null,
  19623. "timeShift": null,
  19624. "title": "CPU Usage",
  19625. "tooltip": {
  19626. "shared": false,
  19627. "sort": 2,
  19628. "value_type": "individual"
  19629. },
  19630. "type": "graph",
  19631. "xaxis": {
  19632. "buckets": null,
  19633. "mode": "time",
  19634. "name": null,
  19635. "show": true,
  19636. "values": [
  19637. ]
  19638. },
  19639. "yaxes": [
  19640. {
  19641. "format": "short",
  19642. "label": null,
  19643. "logBase": 1,
  19644. "max": null,
  19645. "min": 0,
  19646. "show": true
  19647. },
  19648. {
  19649. "format": "short",
  19650. "label": null,
  19651. "logBase": 1,
  19652. "max": null,
  19653. "min": null,
  19654. "show": false
  19655. }
  19656. ]
  19657. }
  19658. ],
  19659. "repeat": null,
  19660. "repeatIteration": null,
  19661. "repeatRowId": null,
  19662. "showTitle": true,
  19663. "title": "CPU Usage",
  19664. "titleSize": "h6"
  19665. },
  19666. {
  19667. "collapse": false,
  19668. "height": "250px",
  19669. "panels": [
  19670. {
  19671. "aliasColors": {
  19672. },
  19673. "bars": false,
  19674. "dashLength": 10,
  19675. "dashes": false,
  19676. "datasource": "$datasource",
  19677. "fill": 1,
  19678. "id": 2,
  19679. "interval": "1m",
  19680. "legend": {
  19681. "alignAsTable": true,
  19682. "avg": false,
  19683. "current": false,
  19684. "max": false,
  19685. "min": false,
  19686. "rightSide": true,
  19687. "show": true,
  19688. "total": false,
  19689. "values": false
  19690. },
  19691. "lines": true,
  19692. "linewidth": 1,
  19693. "links": [
  19694. ],
  19695. "nullPointMode": "null as zero",
  19696. "percentage": false,
  19697. "pointradius": 5,
  19698. "points": false,
  19699. "renderer": "flot",
  19700. "seriesOverrides": [
  19701. ],
  19702. "spaceLength": 10,
  19703. "span": 12,
  19704. "stack": false,
  19705. "steppedLine": false,
  19706. "styles": [
  19707. {
  19708. "alias": "Time",
  19709. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  19710. "pattern": "Time",
  19711. "type": "hidden"
  19712. },
  19713. {
  19714. "alias": "Running Pods",
  19715. "colorMode": null,
  19716. "colors": [
  19717. ],
  19718. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  19719. "decimals": 0,
  19720. "link": false,
  19721. "linkTargetBlank": false,
  19722. "linkTooltip": "Drill down",
  19723. "linkUrl": "",
  19724. "pattern": "Value #A",
  19725. "thresholds": [
  19726. ],
  19727. "type": "number",
  19728. "unit": "short"
  19729. },
  19730. {
  19731. "alias": "CPU Usage",
  19732. "colorMode": null,
  19733. "colors": [
  19734. ],
  19735. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  19736. "decimals": 2,
  19737. "link": false,
  19738. "linkTargetBlank": false,
  19739. "linkTooltip": "Drill down",
  19740. "linkUrl": "",
  19741. "pattern": "Value #B",
  19742. "thresholds": [
  19743. ],
  19744. "type": "number",
  19745. "unit": "short"
  19746. },
  19747. {
  19748. "alias": "CPU Requests",
  19749. "colorMode": null,
  19750. "colors": [
  19751. ],
  19752. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  19753. "decimals": 2,
  19754. "link": false,
  19755. "linkTargetBlank": false,
  19756. "linkTooltip": "Drill down",
  19757. "linkUrl": "",
  19758. "pattern": "Value #C",
  19759. "thresholds": [
  19760. ],
  19761. "type": "number",
  19762. "unit": "short"
  19763. },
  19764. {
  19765. "alias": "CPU Requests %",
  19766. "colorMode": null,
  19767. "colors": [
  19768. ],
  19769. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  19770. "decimals": 2,
  19771. "link": false,
  19772. "linkTargetBlank": false,
  19773. "linkTooltip": "Drill down",
  19774. "linkUrl": "",
  19775. "pattern": "Value #D",
  19776. "thresholds": [
  19777. ],
  19778. "type": "number",
  19779. "unit": "percentunit"
  19780. },
  19781. {
  19782. "alias": "CPU Limits",
  19783. "colorMode": null,
  19784. "colors": [
  19785. ],
  19786. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  19787. "decimals": 2,
  19788. "link": false,
  19789. "linkTargetBlank": false,
  19790. "linkTooltip": "Drill down",
  19791. "linkUrl": "",
  19792. "pattern": "Value #E",
  19793. "thresholds": [
  19794. ],
  19795. "type": "number",
  19796. "unit": "short"
  19797. },
  19798. {
  19799. "alias": "CPU Limits %",
  19800. "colorMode": null,
  19801. "colors": [
  19802. ],
  19803. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  19804. "decimals": 2,
  19805. "link": false,
  19806. "linkTargetBlank": false,
  19807. "linkTooltip": "Drill down",
  19808. "linkUrl": "",
  19809. "pattern": "Value #F",
  19810. "thresholds": [
  19811. ],
  19812. "type": "number",
  19813. "unit": "percentunit"
  19814. },
  19815. {
  19816. "alias": "Workload",
  19817. "colorMode": null,
  19818. "colors": [
  19819. ],
  19820. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  19821. "decimals": 2,
  19822. "link": true,
  19823. "linkTargetBlank": false,
  19824. "linkTooltip": "Drill down",
  19825. "linkUrl": "/d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$__cell_2",
  19826. "pattern": "workload",
  19827. "thresholds": [
  19828. ],
  19829. "type": "number",
  19830. "unit": "short"
  19831. },
  19832. {
  19833. "alias": "Workload Type",
  19834. "colorMode": null,
  19835. "colors": [
  19836. ],
  19837. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  19838. "decimals": 2,
  19839. "link": false,
  19840. "linkTargetBlank": false,
  19841. "linkTooltip": "Drill down",
  19842. "linkUrl": "",
  19843. "pattern": "workload_type",
  19844. "thresholds": [
  19845. ],
  19846. "type": "number",
  19847. "unit": "short"
  19848. },
  19849. {
  19850. "alias": "",
  19851. "colorMode": null,
  19852. "colors": [
  19853. ],
  19854. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  19855. "decimals": 2,
  19856. "pattern": "/.*/",
  19857. "thresholds": [
  19858. ],
  19859. "type": "string",
  19860. "unit": "short"
  19861. }
  19862. ],
  19863. "targets": [
  19864. {
  19865. "expr": "count(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload, workload_type)",
  19866. "format": "table",
  19867. "instant": true,
  19868. "intervalFactor": 2,
  19869. "legendFormat": "",
  19870. "refId": "A",
  19871. "step": 10
  19872. },
  19873. {
  19874. "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  19875. "format": "table",
  19876. "instant": true,
  19877. "intervalFactor": 2,
  19878. "legendFormat": "",
  19879. "refId": "B",
  19880. "step": 10
  19881. },
  19882. {
  19883. "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  19884. "format": "table",
  19885. "instant": true,
  19886. "intervalFactor": 2,
  19887. "legendFormat": "",
  19888. "refId": "C",
  19889. "step": 10
  19890. },
  19891. {
  19892. "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  19893. "format": "table",
  19894. "instant": true,
  19895. "intervalFactor": 2,
  19896. "legendFormat": "",
  19897. "refId": "D",
  19898. "step": 10
  19899. },
  19900. {
  19901. "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  19902. "format": "table",
  19903. "instant": true,
  19904. "intervalFactor": 2,
  19905. "legendFormat": "",
  19906. "refId": "E",
  19907. "step": 10
  19908. },
  19909. {
  19910. "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  19911. "format": "table",
  19912. "instant": true,
  19913. "intervalFactor": 2,
  19914. "legendFormat": "",
  19915. "refId": "F",
  19916. "step": 10
  19917. }
  19918. ],
  19919. "thresholds": [
  19920. ],
  19921. "timeFrom": null,
  19922. "timeShift": null,
  19923. "title": "CPU Quota",
  19924. "tooltip": {
  19925. "shared": false,
  19926. "sort": 2,
  19927. "value_type": "individual"
  19928. },
  19929. "transform": "table",
  19930. "type": "table",
  19931. "xaxis": {
  19932. "buckets": null,
  19933. "mode": "time",
  19934. "name": null,
  19935. "show": true,
  19936. "values": [
  19937. ]
  19938. },
  19939. "yaxes": [
  19940. {
  19941. "format": "short",
  19942. "label": null,
  19943. "logBase": 1,
  19944. "max": null,
  19945. "min": 0,
  19946. "show": true
  19947. },
  19948. {
  19949. "format": "short",
  19950. "label": null,
  19951. "logBase": 1,
  19952. "max": null,
  19953. "min": null,
  19954. "show": false
  19955. }
  19956. ]
  19957. }
  19958. ],
  19959. "repeat": null,
  19960. "repeatIteration": null,
  19961. "repeatRowId": null,
  19962. "showTitle": true,
  19963. "title": "CPU Quota",
  19964. "titleSize": "h6"
  19965. },
  19966. {
  19967. "collapse": false,
  19968. "height": "250px",
  19969. "panels": [
  19970. {
  19971. "aliasColors": {
  19972. },
  19973. "bars": false,
  19974. "dashLength": 10,
  19975. "dashes": false,
  19976. "datasource": "$datasource",
  19977. "fill": 10,
  19978. "id": 3,
  19979. "interval": "1m",
  19980. "legend": {
  19981. "alignAsTable": true,
  19982. "avg": false,
  19983. "current": false,
  19984. "max": false,
  19985. "min": false,
  19986. "rightSide": true,
  19987. "show": true,
  19988. "total": false,
  19989. "values": false
  19990. },
  19991. "lines": true,
  19992. "linewidth": 0,
  19993. "links": [
  19994. ],
  19995. "nullPointMode": "null as zero",
  19996. "percentage": false,
  19997. "pointradius": 5,
  19998. "points": false,
  19999. "renderer": "flot",
  20000. "seriesOverrides": [
  20001. {
  20002. "alias": "quota - requests",
  20003. "color": "#F2495C",
  20004. "dashes": true,
  20005. "fill": 0,
  20006. "hiddenSeries": true,
  20007. "hideTooltip": true,
  20008. "legend": true,
  20009. "linewidth": 2,
  20010. "stack": false
  20011. },
  20012. {
  20013. "alias": "quota - limits",
  20014. "color": "#FF9830",
  20015. "dashes": true,
  20016. "fill": 0,
  20017. "hiddenSeries": true,
  20018. "hideTooltip": true,
  20019. "legend": true,
  20020. "linewidth": 2,
  20021. "stack": false
  20022. }
  20023. ],
  20024. "spaceLength": 10,
  20025. "span": 12,
  20026. "stack": true,
  20027. "steppedLine": false,
  20028. "targets": [
  20029. {
  20030. "expr": "sum(\n container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  20031. "format": "time_series",
  20032. "intervalFactor": 2,
  20033. "legendFormat": "{{workload}} - {{workload_type}}",
  20034. "legendLink": null,
  20035. "step": 10
  20036. },
  20037. {
  20038. "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.memory\"})",
  20039. "format": "time_series",
  20040. "intervalFactor": 2,
  20041. "legendFormat": "quota - requests",
  20042. "legendLink": null,
  20043. "step": 10
  20044. },
  20045. {
  20046. "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.memory\"})",
  20047. "format": "time_series",
  20048. "intervalFactor": 2,
  20049. "legendFormat": "quota - limits",
  20050. "legendLink": null,
  20051. "step": 10
  20052. }
  20053. ],
  20054. "thresholds": [
  20055. ],
  20056. "timeFrom": null,
  20057. "timeShift": null,
  20058. "title": "Memory Usage",
  20059. "tooltip": {
  20060. "shared": false,
  20061. "sort": 2,
  20062. "value_type": "individual"
  20063. },
  20064. "type": "graph",
  20065. "xaxis": {
  20066. "buckets": null,
  20067. "mode": "time",
  20068. "name": null,
  20069. "show": true,
  20070. "values": [
  20071. ]
  20072. },
  20073. "yaxes": [
  20074. {
  20075. "format": "bytes",
  20076. "label": null,
  20077. "logBase": 1,
  20078. "max": null,
  20079. "min": 0,
  20080. "show": true
  20081. },
  20082. {
  20083. "format": "short",
  20084. "label": null,
  20085. "logBase": 1,
  20086. "max": null,
  20087. "min": null,
  20088. "show": false
  20089. }
  20090. ]
  20091. }
  20092. ],
  20093. "repeat": null,
  20094. "repeatIteration": null,
  20095. "repeatRowId": null,
  20096. "showTitle": true,
  20097. "title": "Memory Usage",
  20098. "titleSize": "h6"
  20099. },
  20100. {
  20101. "collapse": false,
  20102. "height": "250px",
  20103. "panels": [
  20104. {
  20105. "aliasColors": {
  20106. },
  20107. "bars": false,
  20108. "dashLength": 10,
  20109. "dashes": false,
  20110. "datasource": "$datasource",
  20111. "fill": 1,
  20112. "id": 4,
  20113. "interval": "1m",
  20114. "legend": {
  20115. "alignAsTable": true,
  20116. "avg": false,
  20117. "current": false,
  20118. "max": false,
  20119. "min": false,
  20120. "rightSide": true,
  20121. "show": true,
  20122. "total": false,
  20123. "values": false
  20124. },
  20125. "lines": true,
  20126. "linewidth": 1,
  20127. "links": [
  20128. ],
  20129. "nullPointMode": "null as zero",
  20130. "percentage": false,
  20131. "pointradius": 5,
  20132. "points": false,
  20133. "renderer": "flot",
  20134. "seriesOverrides": [
  20135. ],
  20136. "spaceLength": 10,
  20137. "span": 12,
  20138. "stack": false,
  20139. "steppedLine": false,
  20140. "styles": [
  20141. {
  20142. "alias": "Time",
  20143. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20144. "pattern": "Time",
  20145. "type": "hidden"
  20146. },
  20147. {
  20148. "alias": "Running Pods",
  20149. "colorMode": null,
  20150. "colors": [
  20151. ],
  20152. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20153. "decimals": 0,
  20154. "link": false,
  20155. "linkTargetBlank": false,
  20156. "linkTooltip": "Drill down",
  20157. "linkUrl": "",
  20158. "pattern": "Value #A",
  20159. "thresholds": [
  20160. ],
  20161. "type": "number",
  20162. "unit": "short"
  20163. },
  20164. {
  20165. "alias": "Memory Usage",
  20166. "colorMode": null,
  20167. "colors": [
  20168. ],
  20169. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20170. "decimals": 2,
  20171. "link": false,
  20172. "linkTargetBlank": false,
  20173. "linkTooltip": "Drill down",
  20174. "linkUrl": "",
  20175. "pattern": "Value #B",
  20176. "thresholds": [
  20177. ],
  20178. "type": "number",
  20179. "unit": "bytes"
  20180. },
  20181. {
  20182. "alias": "Memory Requests",
  20183. "colorMode": null,
  20184. "colors": [
  20185. ],
  20186. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20187. "decimals": 2,
  20188. "link": false,
  20189. "linkTargetBlank": false,
  20190. "linkTooltip": "Drill down",
  20191. "linkUrl": "",
  20192. "pattern": "Value #C",
  20193. "thresholds": [
  20194. ],
  20195. "type": "number",
  20196. "unit": "bytes"
  20197. },
  20198. {
  20199. "alias": "Memory Requests %",
  20200. "colorMode": null,
  20201. "colors": [
  20202. ],
  20203. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20204. "decimals": 2,
  20205. "link": false,
  20206. "linkTargetBlank": false,
  20207. "linkTooltip": "Drill down",
  20208. "linkUrl": "",
  20209. "pattern": "Value #D",
  20210. "thresholds": [
  20211. ],
  20212. "type": "number",
  20213. "unit": "percentunit"
  20214. },
  20215. {
  20216. "alias": "Memory Limits",
  20217. "colorMode": null,
  20218. "colors": [
  20219. ],
  20220. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20221. "decimals": 2,
  20222. "link": false,
  20223. "linkTargetBlank": false,
  20224. "linkTooltip": "Drill down",
  20225. "linkUrl": "",
  20226. "pattern": "Value #E",
  20227. "thresholds": [
  20228. ],
  20229. "type": "number",
  20230. "unit": "bytes"
  20231. },
  20232. {
  20233. "alias": "Memory Limits %",
  20234. "colorMode": null,
  20235. "colors": [
  20236. ],
  20237. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20238. "decimals": 2,
  20239. "link": false,
  20240. "linkTargetBlank": false,
  20241. "linkTooltip": "Drill down",
  20242. "linkUrl": "",
  20243. "pattern": "Value #F",
  20244. "thresholds": [
  20245. ],
  20246. "type": "number",
  20247. "unit": "percentunit"
  20248. },
  20249. {
  20250. "alias": "Workload",
  20251. "colorMode": null,
  20252. "colors": [
  20253. ],
  20254. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20255. "decimals": 2,
  20256. "link": true,
  20257. "linkTargetBlank": false,
  20258. "linkTooltip": "Drill down",
  20259. "linkUrl": "/d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$__cell_2",
  20260. "pattern": "workload",
  20261. "thresholds": [
  20262. ],
  20263. "type": "number",
  20264. "unit": "short"
  20265. },
  20266. {
  20267. "alias": "Workload Type",
  20268. "colorMode": null,
  20269. "colors": [
  20270. ],
  20271. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20272. "decimals": 2,
  20273. "link": false,
  20274. "linkTargetBlank": false,
  20275. "linkTooltip": "Drill down",
  20276. "linkUrl": "",
  20277. "pattern": "workload_type",
  20278. "thresholds": [
  20279. ],
  20280. "type": "number",
  20281. "unit": "short"
  20282. },
  20283. {
  20284. "alias": "",
  20285. "colorMode": null,
  20286. "colors": [
  20287. ],
  20288. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20289. "decimals": 2,
  20290. "pattern": "/.*/",
  20291. "thresholds": [
  20292. ],
  20293. "type": "string",
  20294. "unit": "short"
  20295. }
  20296. ],
  20297. "targets": [
  20298. {
  20299. "expr": "count(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload, workload_type)",
  20300. "format": "table",
  20301. "instant": true,
  20302. "intervalFactor": 2,
  20303. "legendFormat": "",
  20304. "refId": "A",
  20305. "step": 10
  20306. },
  20307. {
  20308. "expr": "sum(\n container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  20309. "format": "table",
  20310. "instant": true,
  20311. "intervalFactor": 2,
  20312. "legendFormat": "",
  20313. "refId": "B",
  20314. "step": 10
  20315. },
  20316. {
  20317. "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  20318. "format": "table",
  20319. "instant": true,
  20320. "intervalFactor": 2,
  20321. "legendFormat": "",
  20322. "refId": "C",
  20323. "step": 10
  20324. },
  20325. {
  20326. "expr": "sum(\n container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  20327. "format": "table",
  20328. "instant": true,
  20329. "intervalFactor": 2,
  20330. "legendFormat": "",
  20331. "refId": "D",
  20332. "step": 10
  20333. },
  20334. {
  20335. "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  20336. "format": "table",
  20337. "instant": true,
  20338. "intervalFactor": 2,
  20339. "legendFormat": "",
  20340. "refId": "E",
  20341. "step": 10
  20342. },
  20343. {
  20344. "expr": "sum(\n container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
  20345. "format": "table",
  20346. "instant": true,
  20347. "intervalFactor": 2,
  20348. "legendFormat": "",
  20349. "refId": "F",
  20350. "step": 10
  20351. }
  20352. ],
  20353. "thresholds": [
  20354. ],
  20355. "timeFrom": null,
  20356. "timeShift": null,
  20357. "title": "Memory Quota",
  20358. "tooltip": {
  20359. "shared": false,
  20360. "sort": 2,
  20361. "value_type": "individual"
  20362. },
  20363. "transform": "table",
  20364. "type": "table",
  20365. "xaxis": {
  20366. "buckets": null,
  20367. "mode": "time",
  20368. "name": null,
  20369. "show": true,
  20370. "values": [
  20371. ]
  20372. },
  20373. "yaxes": [
  20374. {
  20375. "format": "short",
  20376. "label": null,
  20377. "logBase": 1,
  20378. "max": null,
  20379. "min": 0,
  20380. "show": true
  20381. },
  20382. {
  20383. "format": "short",
  20384. "label": null,
  20385. "logBase": 1,
  20386. "max": null,
  20387. "min": null,
  20388. "show": false
  20389. }
  20390. ]
  20391. }
  20392. ],
  20393. "repeat": null,
  20394. "repeatIteration": null,
  20395. "repeatRowId": null,
  20396. "showTitle": true,
  20397. "title": "Memory Quota",
  20398. "titleSize": "h6"
  20399. },
  20400. {
  20401. "collapse": false,
  20402. "height": "250px",
  20403. "panels": [
  20404. {
  20405. "aliasColors": {
  20406. },
  20407. "bars": false,
  20408. "dashLength": 10,
  20409. "dashes": false,
  20410. "datasource": "$datasource",
  20411. "fill": 1,
  20412. "id": 5,
  20413. "interval": "1m",
  20414. "legend": {
  20415. "alignAsTable": true,
  20416. "avg": false,
  20417. "current": false,
  20418. "max": false,
  20419. "min": false,
  20420. "rightSide": true,
  20421. "show": true,
  20422. "total": false,
  20423. "values": false
  20424. },
  20425. "lines": true,
  20426. "linewidth": 1,
  20427. "links": [
  20428. ],
  20429. "nullPointMode": "null as zero",
  20430. "percentage": false,
  20431. "pointradius": 5,
  20432. "points": false,
  20433. "renderer": "flot",
  20434. "seriesOverrides": [
  20435. ],
  20436. "spaceLength": 10,
  20437. "span": 12,
  20438. "stack": false,
  20439. "steppedLine": false,
  20440. "styles": [
  20441. {
  20442. "alias": "Time",
  20443. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20444. "pattern": "Time",
  20445. "type": "hidden"
  20446. },
  20447. {
  20448. "alias": "Current Receive Bandwidth",
  20449. "colorMode": null,
  20450. "colors": [
  20451. ],
  20452. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20453. "decimals": 2,
  20454. "link": false,
  20455. "linkTargetBlank": false,
  20456. "linkTooltip": "Drill down",
  20457. "linkUrl": "",
  20458. "pattern": "Value #A",
  20459. "thresholds": [
  20460. ],
  20461. "type": "number",
  20462. "unit": "Bps"
  20463. },
  20464. {
  20465. "alias": "Current Transmit Bandwidth",
  20466. "colorMode": null,
  20467. "colors": [
  20468. ],
  20469. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20470. "decimals": 2,
  20471. "link": false,
  20472. "linkTargetBlank": false,
  20473. "linkTooltip": "Drill down",
  20474. "linkUrl": "",
  20475. "pattern": "Value #B",
  20476. "thresholds": [
  20477. ],
  20478. "type": "number",
  20479. "unit": "Bps"
  20480. },
  20481. {
  20482. "alias": "Rate of Received Packets",
  20483. "colorMode": null,
  20484. "colors": [
  20485. ],
  20486. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20487. "decimals": 2,
  20488. "link": false,
  20489. "linkTargetBlank": false,
  20490. "linkTooltip": "Drill down",
  20491. "linkUrl": "",
  20492. "pattern": "Value #C",
  20493. "thresholds": [
  20494. ],
  20495. "type": "number",
  20496. "unit": "pps"
  20497. },
  20498. {
  20499. "alias": "Rate of Transmitted Packets",
  20500. "colorMode": null,
  20501. "colors": [
  20502. ],
  20503. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20504. "decimals": 2,
  20505. "link": false,
  20506. "linkTargetBlank": false,
  20507. "linkTooltip": "Drill down",
  20508. "linkUrl": "",
  20509. "pattern": "Value #D",
  20510. "thresholds": [
  20511. ],
  20512. "type": "number",
  20513. "unit": "pps"
  20514. },
  20515. {
  20516. "alias": "Rate of Received Packets Dropped",
  20517. "colorMode": null,
  20518. "colors": [
  20519. ],
  20520. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20521. "decimals": 2,
  20522. "link": false,
  20523. "linkTargetBlank": false,
  20524. "linkTooltip": "Drill down",
  20525. "linkUrl": "",
  20526. "pattern": "Value #E",
  20527. "thresholds": [
  20528. ],
  20529. "type": "number",
  20530. "unit": "pps"
  20531. },
  20532. {
  20533. "alias": "Rate of Transmitted Packets Dropped",
  20534. "colorMode": null,
  20535. "colors": [
  20536. ],
  20537. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20538. "decimals": 2,
  20539. "link": false,
  20540. "linkTargetBlank": false,
  20541. "linkTooltip": "Drill down",
  20542. "linkUrl": "",
  20543. "pattern": "Value #F",
  20544. "thresholds": [
  20545. ],
  20546. "type": "number",
  20547. "unit": "pps"
  20548. },
  20549. {
  20550. "alias": "Workload",
  20551. "colorMode": null,
  20552. "colors": [
  20553. ],
  20554. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20555. "decimals": 2,
  20556. "link": true,
  20557. "linkTargetBlank": false,
  20558. "linkTooltip": "Drill down to pods",
  20559. "linkUrl": "/d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$type",
  20560. "pattern": "workload",
  20561. "thresholds": [
  20562. ],
  20563. "type": "number",
  20564. "unit": "short"
  20565. },
  20566. {
  20567. "alias": "Workload Type",
  20568. "colorMode": null,
  20569. "colors": [
  20570. ],
  20571. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20572. "decimals": 2,
  20573. "link": false,
  20574. "linkTargetBlank": false,
  20575. "linkTooltip": "Drill down",
  20576. "linkUrl": "",
  20577. "pattern": "workload_type",
  20578. "thresholds": [
  20579. ],
  20580. "type": "number",
  20581. "unit": "short"
  20582. },
  20583. {
  20584. "alias": "",
  20585. "colorMode": null,
  20586. "colors": [
  20587. ],
  20588. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  20589. "decimals": 2,
  20590. "pattern": "/.*/",
  20591. "thresholds": [
  20592. ],
  20593. "type": "string",
  20594. "unit": "short"
  20595. }
  20596. ],
  20597. "targets": [
  20598. {
  20599. "expr": "(sum(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
  20600. "format": "table",
  20601. "instant": true,
  20602. "intervalFactor": 2,
  20603. "legendFormat": "",
  20604. "refId": "A",
  20605. "step": 10
  20606. },
  20607. {
  20608. "expr": "(sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
  20609. "format": "table",
  20610. "instant": true,
  20611. "intervalFactor": 2,
  20612. "legendFormat": "",
  20613. "refId": "B",
  20614. "step": 10
  20615. },
  20616. {
  20617. "expr": "(sum(irate(container_network_receive_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
  20618. "format": "table",
  20619. "instant": true,
  20620. "intervalFactor": 2,
  20621. "legendFormat": "",
  20622. "refId": "C",
  20623. "step": 10
  20624. },
  20625. {
  20626. "expr": "(sum(irate(container_network_transmit_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
  20627. "format": "table",
  20628. "instant": true,
  20629. "intervalFactor": 2,
  20630. "legendFormat": "",
  20631. "refId": "D",
  20632. "step": 10
  20633. },
  20634. {
  20635. "expr": "(sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
  20636. "format": "table",
  20637. "instant": true,
  20638. "intervalFactor": 2,
  20639. "legendFormat": "",
  20640. "refId": "E",
  20641. "step": 10
  20642. },
  20643. {
  20644. "expr": "(sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
  20645. "format": "table",
  20646. "instant": true,
  20647. "intervalFactor": 2,
  20648. "legendFormat": "",
  20649. "refId": "F",
  20650. "step": 10
  20651. }
  20652. ],
  20653. "thresholds": [
  20654. ],
  20655. "timeFrom": null,
  20656. "timeShift": null,
  20657. "title": "Current Network Usage",
  20658. "tooltip": {
  20659. "shared": false,
  20660. "sort": 2,
  20661. "value_type": "individual"
  20662. },
  20663. "transform": "table",
  20664. "type": "table",
  20665. "xaxis": {
  20666. "buckets": null,
  20667. "mode": "time",
  20668. "name": null,
  20669. "show": true,
  20670. "values": [
  20671. ]
  20672. },
  20673. "yaxes": [
  20674. {
  20675. "format": "short",
  20676. "label": null,
  20677. "logBase": 1,
  20678. "max": null,
  20679. "min": 0,
  20680. "show": true
  20681. },
  20682. {
  20683. "format": "short",
  20684. "label": null,
  20685. "logBase": 1,
  20686. "max": null,
  20687. "min": null,
  20688. "show": false
  20689. }
  20690. ]
  20691. }
  20692. ],
  20693. "repeat": null,
  20694. "repeatIteration": null,
  20695. "repeatRowId": null,
  20696. "showTitle": true,
  20697. "title": "Current Network Usage",
  20698. "titleSize": "h6"
  20699. },
  20700. {
  20701. "collapse": false,
  20702. "height": "250px",
  20703. "panels": [
  20704. {
  20705. "aliasColors": {
  20706. },
  20707. "bars": false,
  20708. "dashLength": 10,
  20709. "dashes": false,
  20710. "datasource": "$datasource",
  20711. "fill": 10,
  20712. "id": 6,
  20713. "interval": "1m",
  20714. "legend": {
  20715. "alignAsTable": true,
  20716. "avg": false,
  20717. "current": false,
  20718. "max": false,
  20719. "min": false,
  20720. "rightSide": true,
  20721. "show": true,
  20722. "total": false,
  20723. "values": false
  20724. },
  20725. "lines": true,
  20726. "linewidth": 0,
  20727. "links": [
  20728. ],
  20729. "nullPointMode": "null as zero",
  20730. "percentage": false,
  20731. "pointradius": 5,
  20732. "points": false,
  20733. "renderer": "flot",
  20734. "seriesOverrides": [
  20735. ],
  20736. "spaceLength": 10,
  20737. "span": 6,
  20738. "stack": true,
  20739. "steppedLine": false,
  20740. "targets": [
  20741. {
  20742. "expr": "(sum(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  20743. "format": "time_series",
  20744. "intervalFactor": 2,
  20745. "legendFormat": "{{workload}}",
  20746. "legendLink": null,
  20747. "step": 10
  20748. }
  20749. ],
  20750. "thresholds": [
  20751. ],
  20752. "timeFrom": null,
  20753. "timeShift": null,
  20754. "title": "Receive Bandwidth",
  20755. "tooltip": {
  20756. "shared": false,
  20757. "sort": 2,
  20758. "value_type": "individual"
  20759. },
  20760. "type": "graph",
  20761. "xaxis": {
  20762. "buckets": null,
  20763. "mode": "time",
  20764. "name": null,
  20765. "show": true,
  20766. "values": [
  20767. ]
  20768. },
  20769. "yaxes": [
  20770. {
  20771. "format": "Bps",
  20772. "label": null,
  20773. "logBase": 1,
  20774. "max": null,
  20775. "min": 0,
  20776. "show": true
  20777. },
  20778. {
  20779. "format": "short",
  20780. "label": null,
  20781. "logBase": 1,
  20782. "max": null,
  20783. "min": null,
  20784. "show": false
  20785. }
  20786. ]
  20787. },
  20788. {
  20789. "aliasColors": {
  20790. },
  20791. "bars": false,
  20792. "dashLength": 10,
  20793. "dashes": false,
  20794. "datasource": "$datasource",
  20795. "fill": 10,
  20796. "id": 7,
  20797. "interval": "1m",
  20798. "legend": {
  20799. "alignAsTable": true,
  20800. "avg": false,
  20801. "current": false,
  20802. "max": false,
  20803. "min": false,
  20804. "rightSide": true,
  20805. "show": true,
  20806. "total": false,
  20807. "values": false
  20808. },
  20809. "lines": true,
  20810. "linewidth": 0,
  20811. "links": [
  20812. ],
  20813. "nullPointMode": "null as zero",
  20814. "percentage": false,
  20815. "pointradius": 5,
  20816. "points": false,
  20817. "renderer": "flot",
  20818. "seriesOverrides": [
  20819. ],
  20820. "spaceLength": 10,
  20821. "span": 6,
  20822. "stack": true,
  20823. "steppedLine": false,
  20824. "targets": [
  20825. {
  20826. "expr": "(sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  20827. "format": "time_series",
  20828. "intervalFactor": 2,
  20829. "legendFormat": "{{workload}}",
  20830. "legendLink": null,
  20831. "step": 10
  20832. }
  20833. ],
  20834. "thresholds": [
  20835. ],
  20836. "timeFrom": null,
  20837. "timeShift": null,
  20838. "title": "Transmit Bandwidth",
  20839. "tooltip": {
  20840. "shared": false,
  20841. "sort": 2,
  20842. "value_type": "individual"
  20843. },
  20844. "type": "graph",
  20845. "xaxis": {
  20846. "buckets": null,
  20847. "mode": "time",
  20848. "name": null,
  20849. "show": true,
  20850. "values": [
  20851. ]
  20852. },
  20853. "yaxes": [
  20854. {
  20855. "format": "Bps",
  20856. "label": null,
  20857. "logBase": 1,
  20858. "max": null,
  20859. "min": 0,
  20860. "show": true
  20861. },
  20862. {
  20863. "format": "short",
  20864. "label": null,
  20865. "logBase": 1,
  20866. "max": null,
  20867. "min": null,
  20868. "show": false
  20869. }
  20870. ]
  20871. }
  20872. ],
  20873. "repeat": null,
  20874. "repeatIteration": null,
  20875. "repeatRowId": null,
  20876. "showTitle": true,
  20877. "title": "Bandwidth",
  20878. "titleSize": "h6"
  20879. },
  20880. {
  20881. "collapse": false,
  20882. "height": "250px",
  20883. "panels": [
  20884. {
  20885. "aliasColors": {
  20886. },
  20887. "bars": false,
  20888. "dashLength": 10,
  20889. "dashes": false,
  20890. "datasource": "$datasource",
  20891. "fill": 10,
  20892. "id": 8,
  20893. "interval": "1m",
  20894. "legend": {
  20895. "alignAsTable": true,
  20896. "avg": false,
  20897. "current": false,
  20898. "max": false,
  20899. "min": false,
  20900. "rightSide": true,
  20901. "show": true,
  20902. "total": false,
  20903. "values": false
  20904. },
  20905. "lines": true,
  20906. "linewidth": 0,
  20907. "links": [
  20908. ],
  20909. "nullPointMode": "null as zero",
  20910. "percentage": false,
  20911. "pointradius": 5,
  20912. "points": false,
  20913. "renderer": "flot",
  20914. "seriesOverrides": [
  20915. ],
  20916. "spaceLength": 10,
  20917. "span": 6,
  20918. "stack": true,
  20919. "steppedLine": false,
  20920. "targets": [
  20921. {
  20922. "expr": "(avg(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  20923. "format": "time_series",
  20924. "intervalFactor": 2,
  20925. "legendFormat": "{{workload}}",
  20926. "legendLink": null,
  20927. "step": 10
  20928. }
  20929. ],
  20930. "thresholds": [
  20931. ],
  20932. "timeFrom": null,
  20933. "timeShift": null,
  20934. "title": "Average Container Bandwidth by Workload: Received",
  20935. "tooltip": {
  20936. "shared": false,
  20937. "sort": 2,
  20938. "value_type": "individual"
  20939. },
  20940. "type": "graph",
  20941. "xaxis": {
  20942. "buckets": null,
  20943. "mode": "time",
  20944. "name": null,
  20945. "show": true,
  20946. "values": [
  20947. ]
  20948. },
  20949. "yaxes": [
  20950. {
  20951. "format": "Bps",
  20952. "label": null,
  20953. "logBase": 1,
  20954. "max": null,
  20955. "min": 0,
  20956. "show": true
  20957. },
  20958. {
  20959. "format": "short",
  20960. "label": null,
  20961. "logBase": 1,
  20962. "max": null,
  20963. "min": null,
  20964. "show": false
  20965. }
  20966. ]
  20967. },
  20968. {
  20969. "aliasColors": {
  20970. },
  20971. "bars": false,
  20972. "dashLength": 10,
  20973. "dashes": false,
  20974. "datasource": "$datasource",
  20975. "fill": 10,
  20976. "id": 9,
  20977. "interval": "1m",
  20978. "legend": {
  20979. "alignAsTable": true,
  20980. "avg": false,
  20981. "current": false,
  20982. "max": false,
  20983. "min": false,
  20984. "rightSide": true,
  20985. "show": true,
  20986. "total": false,
  20987. "values": false
  20988. },
  20989. "lines": true,
  20990. "linewidth": 0,
  20991. "links": [
  20992. ],
  20993. "nullPointMode": "null as zero",
  20994. "percentage": false,
  20995. "pointradius": 5,
  20996. "points": false,
  20997. "renderer": "flot",
  20998. "seriesOverrides": [
  20999. ],
  21000. "spaceLength": 10,
  21001. "span": 6,
  21002. "stack": true,
  21003. "steppedLine": false,
  21004. "targets": [
  21005. {
  21006. "expr": "(avg(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  21007. "format": "time_series",
  21008. "intervalFactor": 2,
  21009. "legendFormat": "{{workload}}",
  21010. "legendLink": null,
  21011. "step": 10
  21012. }
  21013. ],
  21014. "thresholds": [
  21015. ],
  21016. "timeFrom": null,
  21017. "timeShift": null,
  21018. "title": "Average Container Bandwidth by Workload: Transmitted",
  21019. "tooltip": {
  21020. "shared": false,
  21021. "sort": 2,
  21022. "value_type": "individual"
  21023. },
  21024. "type": "graph",
  21025. "xaxis": {
  21026. "buckets": null,
  21027. "mode": "time",
  21028. "name": null,
  21029. "show": true,
  21030. "values": [
  21031. ]
  21032. },
  21033. "yaxes": [
  21034. {
  21035. "format": "Bps",
  21036. "label": null,
  21037. "logBase": 1,
  21038. "max": null,
  21039. "min": 0,
  21040. "show": true
  21041. },
  21042. {
  21043. "format": "short",
  21044. "label": null,
  21045. "logBase": 1,
  21046. "max": null,
  21047. "min": null,
  21048. "show": false
  21049. }
  21050. ]
  21051. }
  21052. ],
  21053. "repeat": null,
  21054. "repeatIteration": null,
  21055. "repeatRowId": null,
  21056. "showTitle": true,
  21057. "title": "Average Container Bandwidth by Workload",
  21058. "titleSize": "h6"
  21059. },
  21060. {
  21061. "collapse": false,
  21062. "height": "250px",
  21063. "panels": [
  21064. {
  21065. "aliasColors": {
  21066. },
  21067. "bars": false,
  21068. "dashLength": 10,
  21069. "dashes": false,
  21070. "datasource": "$datasource",
  21071. "fill": 10,
  21072. "id": 10,
  21073. "interval": "1m",
  21074. "legend": {
  21075. "alignAsTable": true,
  21076. "avg": false,
  21077. "current": false,
  21078. "max": false,
  21079. "min": false,
  21080. "rightSide": true,
  21081. "show": true,
  21082. "total": false,
  21083. "values": false
  21084. },
  21085. "lines": true,
  21086. "linewidth": 0,
  21087. "links": [
  21088. ],
  21089. "nullPointMode": "null as zero",
  21090. "percentage": false,
  21091. "pointradius": 5,
  21092. "points": false,
  21093. "renderer": "flot",
  21094. "seriesOverrides": [
  21095. ],
  21096. "spaceLength": 10,
  21097. "span": 6,
  21098. "stack": true,
  21099. "steppedLine": false,
  21100. "targets": [
  21101. {
  21102. "expr": "(sum(irate(container_network_receive_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  21103. "format": "time_series",
  21104. "intervalFactor": 2,
  21105. "legendFormat": "{{workload}}",
  21106. "legendLink": null,
  21107. "step": 10
  21108. }
  21109. ],
  21110. "thresholds": [
  21111. ],
  21112. "timeFrom": null,
  21113. "timeShift": null,
  21114. "title": "Rate of Received Packets",
  21115. "tooltip": {
  21116. "shared": false,
  21117. "sort": 2,
  21118. "value_type": "individual"
  21119. },
  21120. "type": "graph",
  21121. "xaxis": {
  21122. "buckets": null,
  21123. "mode": "time",
  21124. "name": null,
  21125. "show": true,
  21126. "values": [
  21127. ]
  21128. },
  21129. "yaxes": [
  21130. {
  21131. "format": "pps",
  21132. "label": null,
  21133. "logBase": 1,
  21134. "max": null,
  21135. "min": 0,
  21136. "show": true
  21137. },
  21138. {
  21139. "format": "short",
  21140. "label": null,
  21141. "logBase": 1,
  21142. "max": null,
  21143. "min": null,
  21144. "show": false
  21145. }
  21146. ]
  21147. },
  21148. {
  21149. "aliasColors": {
  21150. },
  21151. "bars": false,
  21152. "dashLength": 10,
  21153. "dashes": false,
  21154. "datasource": "$datasource",
  21155. "fill": 10,
  21156. "id": 11,
  21157. "interval": "1m",
  21158. "legend": {
  21159. "alignAsTable": true,
  21160. "avg": false,
  21161. "current": false,
  21162. "max": false,
  21163. "min": false,
  21164. "rightSide": true,
  21165. "show": true,
  21166. "total": false,
  21167. "values": false
  21168. },
  21169. "lines": true,
  21170. "linewidth": 0,
  21171. "links": [
  21172. ],
  21173. "nullPointMode": "null as zero",
  21174. "percentage": false,
  21175. "pointradius": 5,
  21176. "points": false,
  21177. "renderer": "flot",
  21178. "seriesOverrides": [
  21179. ],
  21180. "spaceLength": 10,
  21181. "span": 6,
  21182. "stack": true,
  21183. "steppedLine": false,
  21184. "targets": [
  21185. {
  21186. "expr": "(sum(irate(container_network_transmit_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  21187. "format": "time_series",
  21188. "intervalFactor": 2,
  21189. "legendFormat": "{{workload}}",
  21190. "legendLink": null,
  21191. "step": 10
  21192. }
  21193. ],
  21194. "thresholds": [
  21195. ],
  21196. "timeFrom": null,
  21197. "timeShift": null,
  21198. "title": "Rate of Transmitted Packets",
  21199. "tooltip": {
  21200. "shared": false,
  21201. "sort": 2,
  21202. "value_type": "individual"
  21203. },
  21204. "type": "graph",
  21205. "xaxis": {
  21206. "buckets": null,
  21207. "mode": "time",
  21208. "name": null,
  21209. "show": true,
  21210. "values": [
  21211. ]
  21212. },
  21213. "yaxes": [
  21214. {
  21215. "format": "pps",
  21216. "label": null,
  21217. "logBase": 1,
  21218. "max": null,
  21219. "min": 0,
  21220. "show": true
  21221. },
  21222. {
  21223. "format": "short",
  21224. "label": null,
  21225. "logBase": 1,
  21226. "max": null,
  21227. "min": null,
  21228. "show": false
  21229. }
  21230. ]
  21231. }
  21232. ],
  21233. "repeat": null,
  21234. "repeatIteration": null,
  21235. "repeatRowId": null,
  21236. "showTitle": true,
  21237. "title": "Rate of Packets",
  21238. "titleSize": "h6"
  21239. },
  21240. {
  21241. "collapse": false,
  21242. "height": "250px",
  21243. "panels": [
  21244. {
  21245. "aliasColors": {
  21246. },
  21247. "bars": false,
  21248. "dashLength": 10,
  21249. "dashes": false,
  21250. "datasource": "$datasource",
  21251. "fill": 10,
  21252. "id": 12,
  21253. "interval": "1m",
  21254. "legend": {
  21255. "alignAsTable": true,
  21256. "avg": false,
  21257. "current": false,
  21258. "max": false,
  21259. "min": false,
  21260. "rightSide": true,
  21261. "show": true,
  21262. "total": false,
  21263. "values": false
  21264. },
  21265. "lines": true,
  21266. "linewidth": 0,
  21267. "links": [
  21268. ],
  21269. "nullPointMode": "null as zero",
  21270. "percentage": false,
  21271. "pointradius": 5,
  21272. "points": false,
  21273. "renderer": "flot",
  21274. "seriesOverrides": [
  21275. ],
  21276. "spaceLength": 10,
  21277. "span": 6,
  21278. "stack": true,
  21279. "steppedLine": false,
  21280. "targets": [
  21281. {
  21282. "expr": "(sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  21283. "format": "time_series",
  21284. "intervalFactor": 2,
  21285. "legendFormat": "{{workload}}",
  21286. "legendLink": null,
  21287. "step": 10
  21288. }
  21289. ],
  21290. "thresholds": [
  21291. ],
  21292. "timeFrom": null,
  21293. "timeShift": null,
  21294. "title": "Rate of Received Packets Dropped",
  21295. "tooltip": {
  21296. "shared": false,
  21297. "sort": 2,
  21298. "value_type": "individual"
  21299. },
  21300. "type": "graph",
  21301. "xaxis": {
  21302. "buckets": null,
  21303. "mode": "time",
  21304. "name": null,
  21305. "show": true,
  21306. "values": [
  21307. ]
  21308. },
  21309. "yaxes": [
  21310. {
  21311. "format": "pps",
  21312. "label": null,
  21313. "logBase": 1,
  21314. "max": null,
  21315. "min": 0,
  21316. "show": true
  21317. },
  21318. {
  21319. "format": "short",
  21320. "label": null,
  21321. "logBase": 1,
  21322. "max": null,
  21323. "min": null,
  21324. "show": false
  21325. }
  21326. ]
  21327. },
  21328. {
  21329. "aliasColors": {
  21330. },
  21331. "bars": false,
  21332. "dashLength": 10,
  21333. "dashes": false,
  21334. "datasource": "$datasource",
  21335. "fill": 10,
  21336. "id": 13,
  21337. "interval": "1m",
  21338. "legend": {
  21339. "alignAsTable": true,
  21340. "avg": false,
  21341. "current": false,
  21342. "max": false,
  21343. "min": false,
  21344. "rightSide": true,
  21345. "show": true,
  21346. "total": false,
  21347. "values": false
  21348. },
  21349. "lines": true,
  21350. "linewidth": 0,
  21351. "links": [
  21352. ],
  21353. "nullPointMode": "null as zero",
  21354. "percentage": false,
  21355. "pointradius": 5,
  21356. "points": false,
  21357. "renderer": "flot",
  21358. "seriesOverrides": [
  21359. ],
  21360. "spaceLength": 10,
  21361. "span": 6,
  21362. "stack": true,
  21363. "steppedLine": false,
  21364. "targets": [
  21365. {
  21366. "expr": "(sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  21367. "format": "time_series",
  21368. "intervalFactor": 2,
  21369. "legendFormat": "{{workload}}",
  21370. "legendLink": null,
  21371. "step": 10
  21372. }
  21373. ],
  21374. "thresholds": [
  21375. ],
  21376. "timeFrom": null,
  21377. "timeShift": null,
  21378. "title": "Rate of Transmitted Packets Dropped",
  21379. "tooltip": {
  21380. "shared": false,
  21381. "sort": 2,
  21382. "value_type": "individual"
  21383. },
  21384. "type": "graph",
  21385. "xaxis": {
  21386. "buckets": null,
  21387. "mode": "time",
  21388. "name": null,
  21389. "show": true,
  21390. "values": [
  21391. ]
  21392. },
  21393. "yaxes": [
  21394. {
  21395. "format": "pps",
  21396. "label": null,
  21397. "logBase": 1,
  21398. "max": null,
  21399. "min": 0,
  21400. "show": true
  21401. },
  21402. {
  21403. "format": "short",
  21404. "label": null,
  21405. "logBase": 1,
  21406. "max": null,
  21407. "min": null,
  21408. "show": false
  21409. }
  21410. ]
  21411. }
  21412. ],
  21413. "repeat": null,
  21414. "repeatIteration": null,
  21415. "repeatRowId": null,
  21416. "showTitle": true,
  21417. "title": "Rate of Packets Dropped",
  21418. "titleSize": "h6"
  21419. }
  21420. ],
  21421. "schemaVersion": 14,
  21422. "style": "dark",
  21423. "tags": [
  21424. "kubernetes-mixin"
  21425. ],
  21426. "templating": {
  21427. "list": [
  21428. {
  21429. "current": {
  21430. "text": "default",
  21431. "value": "default"
  21432. },
  21433. "hide": 0,
  21434. "label": "Data Source",
  21435. "name": "datasource",
  21436. "options": [
  21437. ],
  21438. "query": "prometheus",
  21439. "refresh": 1,
  21440. "regex": "",
  21441. "type": "datasource"
  21442. },
  21443. {
  21444. "allValue": null,
  21445. "current": {
  21446. "text": "",
  21447. "value": ""
  21448. },
  21449. "datasource": "$datasource",
  21450. "hide": 2,
  21451. "includeAll": false,
  21452. "label": null,
  21453. "multi": false,
  21454. "name": "cluster",
  21455. "options": [
  21456. ],
  21457. "query": "label_values(up{job=\"kube-state-metrics\"}, cluster)",
  21458. "refresh": 2,
  21459. "regex": "",
  21460. "sort": 1,
  21461. "tagValuesQuery": "",
  21462. "tags": [
  21463. ],
  21464. "tagsQuery": "",
  21465. "type": "query",
  21466. "useTags": false
  21467. },
  21468. {
  21469. "allValue": null,
  21470. "current": {
  21471. "text": "",
  21472. "value": ""
  21473. },
  21474. "datasource": "$datasource",
  21475. "hide": 0,
  21476. "includeAll": false,
  21477. "label": null,
  21478. "multi": false,
  21479. "name": "namespace",
  21480. "options": [
  21481. ],
  21482. "query": "label_values(kube_pod_info{job=\"kube-state-metrics\", cluster=\"$cluster\"}, namespace)",
  21483. "refresh": 2,
  21484. "regex": "",
  21485. "sort": 1,
  21486. "tagValuesQuery": "",
  21487. "tags": [
  21488. ],
  21489. "tagsQuery": "",
  21490. "type": "query",
  21491. "useTags": false
  21492. },
  21493. {
  21494. "allValue": null,
  21495. "auto": false,
  21496. "auto_count": 30,
  21497. "auto_min": "10s",
  21498. "current": {
  21499. "text": "deployment",
  21500. "value": "deployment"
  21501. },
  21502. "datasource": "$datasource",
  21503. "definition": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\"}, workload_type)",
  21504. "hide": 0,
  21505. "includeAll": false,
  21506. "label": null,
  21507. "multi": false,
  21508. "name": "type",
  21509. "options": [
  21510. ],
  21511. "query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\"}, workload_type)",
  21512. "refresh": 2,
  21513. "regex": "",
  21514. "skipUrlSync": false,
  21515. "sort": 0,
  21516. "tagValuesQuery": "",
  21517. "tags": [
  21518. ],
  21519. "tagsQuery": "",
  21520. "type": "query",
  21521. "useTags": false
  21522. }
  21523. ]
  21524. },
  21525. "time": {
  21526. "from": "now-1h",
  21527. "to": "now"
  21528. },
  21529. "timepicker": {
  21530. "refresh_intervals": [
  21531. "5s",
  21532. "10s",
  21533. "30s",
  21534. "1m",
  21535. "5m",
  21536. "15m",
  21537. "30m",
  21538. "1h",
  21539. "2h",
  21540. "1d"
  21541. ],
  21542. "time_options": [
  21543. "5m",
  21544. "15m",
  21545. "1h",
  21546. "6h",
  21547. "12h",
  21548. "24h",
  21549. "2d",
  21550. "7d",
  21551. "30d"
  21552. ]
  21553. },
  21554. "timezone": "utc",
  21555. "title": "Kubernetes / Compute Resources / Namespace (Workloads)",
  21556. "uid": "a87fb0d919ec0ea5f6543124e16c42a5",
  21557. "version": 0
  21558. }
  21559. ---
  21560. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/kubelet.yaml
  21561. apiVersion: v1
  21562. kind: ConfigMap
  21563. metadata:
  21564. namespace: monitoring
  21565. name: prometheus-kube-prometheus-kubelet
  21566. annotations:
  21567. {}
  21568. labels:
  21569. grafana_dashboard: "1"
  21570. app: kube-prometheus-stack-grafana
  21571. app.kubernetes.io/managed-by: Helm
  21572. app.kubernetes.io/instance: prometheus
  21573. app.kubernetes.io/version: "44.3.0"
  21574. app.kubernetes.io/part-of: kube-prometheus-stack
  21575. chart: kube-prometheus-stack-44.3.0
  21576. release: "prometheus"
  21577. heritage: "Helm"
  21578. data:
  21579. kubelet.json: |-
  21580. {
  21581. "__inputs": [
  21582. ],
  21583. "__requires": [
  21584. ],
  21585. "annotations": {
  21586. "list": [
  21587. ]
  21588. },
  21589. "editable": false,
  21590. "gnetId": null,
  21591. "graphTooltip": 0,
  21592. "hideControls": false,
  21593. "id": null,
  21594. "links": [
  21595. ],
  21596. "panels": [
  21597. {
  21598. "datasource": "$datasource",
  21599. "fieldConfig": {
  21600. "defaults": {
  21601. "links": [
  21602. ],
  21603. "mappings": [
  21604. ],
  21605. "thresholds": {
  21606. "mode": "absolute",
  21607. "steps": [
  21608. ]
  21609. },
  21610. "unit": "none"
  21611. }
  21612. },
  21613. "gridPos": {
  21614. "h": 7,
  21615. "w": 4,
  21616. "x": 0,
  21617. "y": 0
  21618. },
  21619. "id": 2,
  21620. "links": [
  21621. ],
  21622. "options": {
  21623. "colorMode": "value",
  21624. "graphMode": "area",
  21625. "justifyMode": "auto",
  21626. "orientation": "auto",
  21627. "reduceOptions": {
  21628. "calcs": [
  21629. "lastNotNull"
  21630. ],
  21631. "fields": "",
  21632. "values": false
  21633. },
  21634. "textMode": "auto"
  21635. },
  21636. "pluginVersion": "7",
  21637. "targets": [
  21638. {
  21639. "expr": "sum(kubelet_node_name{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\"})",
  21640. "format": "time_series",
  21641. "intervalFactor": 2,
  21642. "legendFormat": "",
  21643. "refId": "A"
  21644. }
  21645. ],
  21646. "title": "Running Kubelets",
  21647. "transparent": false,
  21648. "type": "stat"
  21649. },
  21650. {
  21651. "datasource": "$datasource",
  21652. "fieldConfig": {
  21653. "defaults": {
  21654. "links": [
  21655. ],
  21656. "mappings": [
  21657. ],
  21658. "thresholds": {
  21659. "mode": "absolute",
  21660. "steps": [
  21661. ]
  21662. },
  21663. "unit": "none"
  21664. }
  21665. },
  21666. "gridPos": {
  21667. "h": 7,
  21668. "w": 4,
  21669. "x": 4,
  21670. "y": 0
  21671. },
  21672. "id": 3,
  21673. "links": [
  21674. ],
  21675. "options": {
  21676. "colorMode": "value",
  21677. "graphMode": "area",
  21678. "justifyMode": "auto",
  21679. "orientation": "auto",
  21680. "reduceOptions": {
  21681. "calcs": [
  21682. "lastNotNull"
  21683. ],
  21684. "fields": "",
  21685. "values": false
  21686. },
  21687. "textMode": "auto"
  21688. },
  21689. "pluginVersion": "7",
  21690. "targets": [
  21691. {
  21692. "expr": "sum(kubelet_running_pods{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"}) OR sum(kubelet_running_pod_count{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"})",
  21693. "format": "time_series",
  21694. "intervalFactor": 2,
  21695. "legendFormat": "{{instance}}",
  21696. "refId": "A"
  21697. }
  21698. ],
  21699. "title": "Running Pods",
  21700. "transparent": false,
  21701. "type": "stat"
  21702. },
  21703. {
  21704. "datasource": "$datasource",
  21705. "fieldConfig": {
  21706. "defaults": {
  21707. "links": [
  21708. ],
  21709. "mappings": [
  21710. ],
  21711. "thresholds": {
  21712. "mode": "absolute",
  21713. "steps": [
  21714. ]
  21715. },
  21716. "unit": "none"
  21717. }
  21718. },
  21719. "gridPos": {
  21720. "h": 7,
  21721. "w": 4,
  21722. "x": 8,
  21723. "y": 0
  21724. },
  21725. "id": 4,
  21726. "links": [
  21727. ],
  21728. "options": {
  21729. "colorMode": "value",
  21730. "graphMode": "area",
  21731. "justifyMode": "auto",
  21732. "orientation": "auto",
  21733. "reduceOptions": {
  21734. "calcs": [
  21735. "lastNotNull"
  21736. ],
  21737. "fields": "",
  21738. "values": false
  21739. },
  21740. "textMode": "auto"
  21741. },
  21742. "pluginVersion": "7",
  21743. "targets": [
  21744. {
  21745. "expr": "sum(kubelet_running_containers{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"}) OR sum(kubelet_running_container_count{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"})",
  21746. "format": "time_series",
  21747. "intervalFactor": 2,
  21748. "legendFormat": "{{instance}}",
  21749. "refId": "A"
  21750. }
  21751. ],
  21752. "title": "Running Containers",
  21753. "transparent": false,
  21754. "type": "stat"
  21755. },
  21756. {
  21757. "datasource": "$datasource",
  21758. "fieldConfig": {
  21759. "defaults": {
  21760. "links": [
  21761. ],
  21762. "mappings": [
  21763. ],
  21764. "thresholds": {
  21765. "mode": "absolute",
  21766. "steps": [
  21767. ]
  21768. },
  21769. "unit": "none"
  21770. }
  21771. },
  21772. "gridPos": {
  21773. "h": 7,
  21774. "w": 4,
  21775. "x": 12,
  21776. "y": 0
  21777. },
  21778. "id": 5,
  21779. "links": [
  21780. ],
  21781. "options": {
  21782. "colorMode": "value",
  21783. "graphMode": "area",
  21784. "justifyMode": "auto",
  21785. "orientation": "auto",
  21786. "reduceOptions": {
  21787. "calcs": [
  21788. "lastNotNull"
  21789. ],
  21790. "fields": "",
  21791. "values": false
  21792. },
  21793. "textMode": "auto"
  21794. },
  21795. "pluginVersion": "7",
  21796. "targets": [
  21797. {
  21798. "expr": "sum(volume_manager_total_volumes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\", state=\"actual_state_of_world\"})",
  21799. "format": "time_series",
  21800. "intervalFactor": 2,
  21801. "legendFormat": "{{instance}}",
  21802. "refId": "A"
  21803. }
  21804. ],
  21805. "title": "Actual Volume Count",
  21806. "transparent": false,
  21807. "type": "stat"
  21808. },
  21809. {
  21810. "datasource": "$datasource",
  21811. "fieldConfig": {
  21812. "defaults": {
  21813. "links": [
  21814. ],
  21815. "mappings": [
  21816. ],
  21817. "thresholds": {
  21818. "mode": "absolute",
  21819. "steps": [
  21820. ]
  21821. },
  21822. "unit": "none"
  21823. }
  21824. },
  21825. "gridPos": {
  21826. "h": 7,
  21827. "w": 4,
  21828. "x": 16,
  21829. "y": 0
  21830. },
  21831. "id": 6,
  21832. "links": [
  21833. ],
  21834. "options": {
  21835. "colorMode": "value",
  21836. "graphMode": "area",
  21837. "justifyMode": "auto",
  21838. "orientation": "auto",
  21839. "reduceOptions": {
  21840. "calcs": [
  21841. "lastNotNull"
  21842. ],
  21843. "fields": "",
  21844. "values": false
  21845. },
  21846. "textMode": "auto"
  21847. },
  21848. "pluginVersion": "7",
  21849. "targets": [
  21850. {
  21851. "expr": "sum(volume_manager_total_volumes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\",state=\"desired_state_of_world\"})",
  21852. "format": "time_series",
  21853. "intervalFactor": 2,
  21854. "legendFormat": "{{instance}}",
  21855. "refId": "A"
  21856. }
  21857. ],
  21858. "title": "Desired Volume Count",
  21859. "transparent": false,
  21860. "type": "stat"
  21861. },
  21862. {
  21863. "datasource": "$datasource",
  21864. "fieldConfig": {
  21865. "defaults": {
  21866. "links": [
  21867. ],
  21868. "mappings": [
  21869. ],
  21870. "thresholds": {
  21871. "mode": "absolute",
  21872. "steps": [
  21873. ]
  21874. },
  21875. "unit": "none"
  21876. }
  21877. },
  21878. "gridPos": {
  21879. "h": 7,
  21880. "w": 4,
  21881. "x": 20,
  21882. "y": 0
  21883. },
  21884. "id": 7,
  21885. "links": [
  21886. ],
  21887. "options": {
  21888. "colorMode": "value",
  21889. "graphMode": "area",
  21890. "justifyMode": "auto",
  21891. "orientation": "auto",
  21892. "reduceOptions": {
  21893. "calcs": [
  21894. "lastNotNull"
  21895. ],
  21896. "fields": "",
  21897. "values": false
  21898. },
  21899. "textMode": "auto"
  21900. },
  21901. "pluginVersion": "7",
  21902. "targets": [
  21903. {
  21904. "expr": "sum(rate(kubelet_node_config_error{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"}[$__rate_interval]))",
  21905. "format": "time_series",
  21906. "intervalFactor": 2,
  21907. "legendFormat": "{{instance}}",
  21908. "refId": "A"
  21909. }
  21910. ],
  21911. "title": "Config Error Count",
  21912. "transparent": false,
  21913. "type": "stat"
  21914. },
  21915. {
  21916. "aliasColors": {
  21917. },
  21918. "bars": false,
  21919. "dashLength": 10,
  21920. "dashes": false,
  21921. "datasource": "$datasource",
  21922. "fill": 1,
  21923. "fillGradient": 0,
  21924. "gridPos": {
  21925. "h": 7,
  21926. "w": 12,
  21927. "x": 0,
  21928. "y": 7
  21929. },
  21930. "id": 8,
  21931. "legend": {
  21932. "alignAsTable": true,
  21933. "avg": false,
  21934. "current": true,
  21935. "max": false,
  21936. "min": false,
  21937. "rightSide": true,
  21938. "show": true,
  21939. "sideWidth": null,
  21940. "total": false,
  21941. "values": true
  21942. },
  21943. "lines": true,
  21944. "linewidth": 1,
  21945. "links": [
  21946. ],
  21947. "nullPointMode": "null",
  21948. "percentage": false,
  21949. "pointradius": 5,
  21950. "points": false,
  21951. "renderer": "flot",
  21952. "repeat": null,
  21953. "seriesOverrides": [
  21954. ],
  21955. "spaceLength": 10,
  21956. "stack": false,
  21957. "steppedLine": false,
  21958. "targets": [
  21959. {
  21960. "expr": "sum(rate(kubelet_runtime_operations_total{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])) by (operation_type, instance)",
  21961. "format": "time_series",
  21962. "intervalFactor": 2,
  21963. "legendFormat": "{{instance}} {{operation_type}}",
  21964. "refId": "A"
  21965. }
  21966. ],
  21967. "thresholds": [
  21968. ],
  21969. "timeFrom": null,
  21970. "timeShift": null,
  21971. "title": "Operation Rate",
  21972. "tooltip": {
  21973. "shared": true,
  21974. "sort": 0,
  21975. "value_type": "individual"
  21976. },
  21977. "type": "graph",
  21978. "xaxis": {
  21979. "buckets": null,
  21980. "mode": "time",
  21981. "name": null,
  21982. "show": true,
  21983. "values": [
  21984. ]
  21985. },
  21986. "yaxes": [
  21987. {
  21988. "format": "ops",
  21989. "label": null,
  21990. "logBase": 1,
  21991. "max": null,
  21992. "min": null,
  21993. "show": true
  21994. },
  21995. {
  21996. "format": "ops",
  21997. "label": null,
  21998. "logBase": 1,
  21999. "max": null,
  22000. "min": null,
  22001. "show": true
  22002. }
  22003. ]
  22004. },
  22005. {
  22006. "aliasColors": {
  22007. },
  22008. "bars": false,
  22009. "dashLength": 10,
  22010. "dashes": false,
  22011. "datasource": "$datasource",
  22012. "fill": 1,
  22013. "fillGradient": 0,
  22014. "gridPos": {
  22015. "h": 7,
  22016. "w": 12,
  22017. "x": 12,
  22018. "y": 7
  22019. },
  22020. "id": 9,
  22021. "legend": {
  22022. "alignAsTable": true,
  22023. "avg": false,
  22024. "current": true,
  22025. "max": false,
  22026. "min": false,
  22027. "rightSide": true,
  22028. "show": true,
  22029. "sideWidth": null,
  22030. "total": false,
  22031. "values": true
  22032. },
  22033. "lines": true,
  22034. "linewidth": 1,
  22035. "links": [
  22036. ],
  22037. "nullPointMode": "null",
  22038. "percentage": false,
  22039. "pointradius": 5,
  22040. "points": false,
  22041. "renderer": "flot",
  22042. "repeat": null,
  22043. "seriesOverrides": [
  22044. ],
  22045. "spaceLength": 10,
  22046. "stack": false,
  22047. "steppedLine": false,
  22048. "targets": [
  22049. {
  22050. "expr": "sum(rate(kubelet_runtime_operations_errors_total{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_type)",
  22051. "format": "time_series",
  22052. "intervalFactor": 2,
  22053. "legendFormat": "{{instance}} {{operation_type}}",
  22054. "refId": "A"
  22055. }
  22056. ],
  22057. "thresholds": [
  22058. ],
  22059. "timeFrom": null,
  22060. "timeShift": null,
  22061. "title": "Operation Error Rate",
  22062. "tooltip": {
  22063. "shared": true,
  22064. "sort": 0,
  22065. "value_type": "individual"
  22066. },
  22067. "type": "graph",
  22068. "xaxis": {
  22069. "buckets": null,
  22070. "mode": "time",
  22071. "name": null,
  22072. "show": true,
  22073. "values": [
  22074. ]
  22075. },
  22076. "yaxes": [
  22077. {
  22078. "format": "ops",
  22079. "label": null,
  22080. "logBase": 1,
  22081. "max": null,
  22082. "min": null,
  22083. "show": true
  22084. },
  22085. {
  22086. "format": "ops",
  22087. "label": null,
  22088. "logBase": 1,
  22089. "max": null,
  22090. "min": null,
  22091. "show": true
  22092. }
  22093. ]
  22094. },
  22095. {
  22096. "aliasColors": {
  22097. },
  22098. "bars": false,
  22099. "dashLength": 10,
  22100. "dashes": false,
  22101. "datasource": "$datasource",
  22102. "fill": 1,
  22103. "fillGradient": 0,
  22104. "gridPos": {
  22105. "h": 7,
  22106. "w": 24,
  22107. "x": 0,
  22108. "y": 14
  22109. },
  22110. "id": 10,
  22111. "legend": {
  22112. "alignAsTable": true,
  22113. "avg": false,
  22114. "current": true,
  22115. "max": false,
  22116. "min": false,
  22117. "rightSide": true,
  22118. "show": true,
  22119. "sideWidth": null,
  22120. "total": false,
  22121. "values": true
  22122. },
  22123. "lines": true,
  22124. "linewidth": 1,
  22125. "links": [
  22126. ],
  22127. "nullPointMode": "null",
  22128. "percentage": false,
  22129. "pointradius": 5,
  22130. "points": false,
  22131. "renderer": "flot",
  22132. "repeat": null,
  22133. "seriesOverrides": [
  22134. ],
  22135. "spaceLength": 10,
  22136. "stack": false,
  22137. "steppedLine": false,
  22138. "targets": [
  22139. {
  22140. "expr": "histogram_quantile(0.99, sum(rate(kubelet_runtime_operations_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_type, le))",
  22141. "format": "time_series",
  22142. "intervalFactor": 2,
  22143. "legendFormat": "{{instance}} {{operation_type}}",
  22144. "refId": "A"
  22145. }
  22146. ],
  22147. "thresholds": [
  22148. ],
  22149. "timeFrom": null,
  22150. "timeShift": null,
  22151. "title": "Operation duration 99th quantile",
  22152. "tooltip": {
  22153. "shared": true,
  22154. "sort": 0,
  22155. "value_type": "individual"
  22156. },
  22157. "type": "graph",
  22158. "xaxis": {
  22159. "buckets": null,
  22160. "mode": "time",
  22161. "name": null,
  22162. "show": true,
  22163. "values": [
  22164. ]
  22165. },
  22166. "yaxes": [
  22167. {
  22168. "format": "s",
  22169. "label": null,
  22170. "logBase": 1,
  22171. "max": null,
  22172. "min": null,
  22173. "show": true
  22174. },
  22175. {
  22176. "format": "s",
  22177. "label": null,
  22178. "logBase": 1,
  22179. "max": null,
  22180. "min": null,
  22181. "show": true
  22182. }
  22183. ]
  22184. },
  22185. {
  22186. "aliasColors": {
  22187. },
  22188. "bars": false,
  22189. "dashLength": 10,
  22190. "dashes": false,
  22191. "datasource": "$datasource",
  22192. "fill": 1,
  22193. "fillGradient": 0,
  22194. "gridPos": {
  22195. "h": 7,
  22196. "w": 12,
  22197. "x": 0,
  22198. "y": 21
  22199. },
  22200. "id": 11,
  22201. "legend": {
  22202. "alignAsTable": true,
  22203. "avg": false,
  22204. "current": true,
  22205. "max": false,
  22206. "min": false,
  22207. "rightSide": true,
  22208. "show": true,
  22209. "sideWidth": null,
  22210. "total": false,
  22211. "values": true
  22212. },
  22213. "lines": true,
  22214. "linewidth": 1,
  22215. "links": [
  22216. ],
  22217. "nullPointMode": "null",
  22218. "percentage": false,
  22219. "pointradius": 5,
  22220. "points": false,
  22221. "renderer": "flot",
  22222. "repeat": null,
  22223. "seriesOverrides": [
  22224. ],
  22225. "spaceLength": 10,
  22226. "stack": false,
  22227. "steppedLine": false,
  22228. "targets": [
  22229. {
  22230. "expr": "sum(rate(kubelet_pod_start_duration_seconds_count{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])) by (instance)",
  22231. "format": "time_series",
  22232. "intervalFactor": 2,
  22233. "legendFormat": "{{instance}} pod",
  22234. "refId": "A"
  22235. },
  22236. {
  22237. "expr": "sum(rate(kubelet_pod_worker_duration_seconds_count{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])) by (instance)",
  22238. "format": "time_series",
  22239. "intervalFactor": 2,
  22240. "legendFormat": "{{instance}} worker",
  22241. "refId": "B"
  22242. }
  22243. ],
  22244. "thresholds": [
  22245. ],
  22246. "timeFrom": null,
  22247. "timeShift": null,
  22248. "title": "Pod Start Rate",
  22249. "tooltip": {
  22250. "shared": true,
  22251. "sort": 0,
  22252. "value_type": "individual"
  22253. },
  22254. "type": "graph",
  22255. "xaxis": {
  22256. "buckets": null,
  22257. "mode": "time",
  22258. "name": null,
  22259. "show": true,
  22260. "values": [
  22261. ]
  22262. },
  22263. "yaxes": [
  22264. {
  22265. "format": "ops",
  22266. "label": null,
  22267. "logBase": 1,
  22268. "max": null,
  22269. "min": null,
  22270. "show": true
  22271. },
  22272. {
  22273. "format": "ops",
  22274. "label": null,
  22275. "logBase": 1,
  22276. "max": null,
  22277. "min": null,
  22278. "show": true
  22279. }
  22280. ]
  22281. },
  22282. {
  22283. "aliasColors": {
  22284. },
  22285. "bars": false,
  22286. "dashLength": 10,
  22287. "dashes": false,
  22288. "datasource": "$datasource",
  22289. "fill": 1,
  22290. "fillGradient": 0,
  22291. "gridPos": {
  22292. "h": 7,
  22293. "w": 12,
  22294. "x": 12,
  22295. "y": 21
  22296. },
  22297. "id": 12,
  22298. "legend": {
  22299. "alignAsTable": true,
  22300. "avg": false,
  22301. "current": true,
  22302. "max": false,
  22303. "min": false,
  22304. "rightSide": true,
  22305. "show": true,
  22306. "sideWidth": null,
  22307. "total": false,
  22308. "values": true
  22309. },
  22310. "lines": true,
  22311. "linewidth": 1,
  22312. "links": [
  22313. ],
  22314. "nullPointMode": "null",
  22315. "percentage": false,
  22316. "pointradius": 5,
  22317. "points": false,
  22318. "renderer": "flot",
  22319. "repeat": null,
  22320. "seriesOverrides": [
  22321. ],
  22322. "spaceLength": 10,
  22323. "stack": false,
  22324. "steppedLine": false,
  22325. "targets": [
  22326. {
  22327. "expr": "histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])) by (instance, le))",
  22328. "format": "time_series",
  22329. "intervalFactor": 2,
  22330. "legendFormat": "{{instance}} pod",
  22331. "refId": "A"
  22332. },
  22333. {
  22334. "expr": "histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])) by (instance, le))",
  22335. "format": "time_series",
  22336. "intervalFactor": 2,
  22337. "legendFormat": "{{instance}} worker",
  22338. "refId": "B"
  22339. }
  22340. ],
  22341. "thresholds": [
  22342. ],
  22343. "timeFrom": null,
  22344. "timeShift": null,
  22345. "title": "Pod Start Duration",
  22346. "tooltip": {
  22347. "shared": true,
  22348. "sort": 0,
  22349. "value_type": "individual"
  22350. },
  22351. "type": "graph",
  22352. "xaxis": {
  22353. "buckets": null,
  22354. "mode": "time",
  22355. "name": null,
  22356. "show": true,
  22357. "values": [
  22358. ]
  22359. },
  22360. "yaxes": [
  22361. {
  22362. "format": "s",
  22363. "label": null,
  22364. "logBase": 1,
  22365. "max": null,
  22366. "min": null,
  22367. "show": true
  22368. },
  22369. {
  22370. "format": "s",
  22371. "label": null,
  22372. "logBase": 1,
  22373. "max": null,
  22374. "min": null,
  22375. "show": true
  22376. }
  22377. ]
  22378. },
  22379. {
  22380. "aliasColors": {
  22381. },
  22382. "bars": false,
  22383. "dashLength": 10,
  22384. "dashes": false,
  22385. "datasource": "$datasource",
  22386. "fill": 1,
  22387. "fillGradient": 0,
  22388. "gridPos": {
  22389. "h": 7,
  22390. "w": 12,
  22391. "x": 0,
  22392. "y": 28
  22393. },
  22394. "id": 13,
  22395. "legend": {
  22396. "alignAsTable": true,
  22397. "avg": false,
  22398. "current": true,
  22399. "hideEmpty": true,
  22400. "hideZero": true,
  22401. "max": false,
  22402. "min": false,
  22403. "rightSide": true,
  22404. "show": true,
  22405. "sideWidth": null,
  22406. "total": false,
  22407. "values": true
  22408. },
  22409. "lines": true,
  22410. "linewidth": 1,
  22411. "links": [
  22412. ],
  22413. "nullPointMode": "null",
  22414. "percentage": false,
  22415. "pointradius": 5,
  22416. "points": false,
  22417. "renderer": "flot",
  22418. "repeat": null,
  22419. "seriesOverrides": [
  22420. ],
  22421. "spaceLength": 10,
  22422. "stack": false,
  22423. "steppedLine": false,
  22424. "targets": [
  22425. {
  22426. "expr": "sum(rate(storage_operation_duration_seconds_count{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_name, volume_plugin)",
  22427. "format": "time_series",
  22428. "intervalFactor": 2,
  22429. "legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}",
  22430. "refId": "A"
  22431. }
  22432. ],
  22433. "thresholds": [
  22434. ],
  22435. "timeFrom": null,
  22436. "timeShift": null,
  22437. "title": "Storage Operation Rate",
  22438. "tooltip": {
  22439. "shared": true,
  22440. "sort": 0,
  22441. "value_type": "individual"
  22442. },
  22443. "type": "graph",
  22444. "xaxis": {
  22445. "buckets": null,
  22446. "mode": "time",
  22447. "name": null,
  22448. "show": true,
  22449. "values": [
  22450. ]
  22451. },
  22452. "yaxes": [
  22453. {
  22454. "format": "ops",
  22455. "label": null,
  22456. "logBase": 1,
  22457. "max": null,
  22458. "min": null,
  22459. "show": true
  22460. },
  22461. {
  22462. "format": "ops",
  22463. "label": null,
  22464. "logBase": 1,
  22465. "max": null,
  22466. "min": null,
  22467. "show": true
  22468. }
  22469. ]
  22470. },
  22471. {
  22472. "aliasColors": {
  22473. },
  22474. "bars": false,
  22475. "dashLength": 10,
  22476. "dashes": false,
  22477. "datasource": "$datasource",
  22478. "fill": 1,
  22479. "fillGradient": 0,
  22480. "gridPos": {
  22481. "h": 7,
  22482. "w": 12,
  22483. "x": 12,
  22484. "y": 28
  22485. },
  22486. "id": 14,
  22487. "legend": {
  22488. "alignAsTable": true,
  22489. "avg": false,
  22490. "current": true,
  22491. "hideEmpty": true,
  22492. "hideZero": true,
  22493. "max": false,
  22494. "min": false,
  22495. "rightSide": true,
  22496. "show": true,
  22497. "sideWidth": null,
  22498. "total": false,
  22499. "values": true
  22500. },
  22501. "lines": true,
  22502. "linewidth": 1,
  22503. "links": [
  22504. ],
  22505. "nullPointMode": "null",
  22506. "percentage": false,
  22507. "pointradius": 5,
  22508. "points": false,
  22509. "renderer": "flot",
  22510. "repeat": null,
  22511. "seriesOverrides": [
  22512. ],
  22513. "spaceLength": 10,
  22514. "stack": false,
  22515. "steppedLine": false,
  22516. "targets": [
  22517. {
  22518. "expr": "sum(rate(storage_operation_errors_total{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_name, volume_plugin)",
  22519. "format": "time_series",
  22520. "intervalFactor": 2,
  22521. "legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}",
  22522. "refId": "A"
  22523. }
  22524. ],
  22525. "thresholds": [
  22526. ],
  22527. "timeFrom": null,
  22528. "timeShift": null,
  22529. "title": "Storage Operation Error Rate",
  22530. "tooltip": {
  22531. "shared": true,
  22532. "sort": 0,
  22533. "value_type": "individual"
  22534. },
  22535. "type": "graph",
  22536. "xaxis": {
  22537. "buckets": null,
  22538. "mode": "time",
  22539. "name": null,
  22540. "show": true,
  22541. "values": [
  22542. ]
  22543. },
  22544. "yaxes": [
  22545. {
  22546. "format": "ops",
  22547. "label": null,
  22548. "logBase": 1,
  22549. "max": null,
  22550. "min": null,
  22551. "show": true
  22552. },
  22553. {
  22554. "format": "ops",
  22555. "label": null,
  22556. "logBase": 1,
  22557. "max": null,
  22558. "min": null,
  22559. "show": true
  22560. }
  22561. ]
  22562. },
  22563. {
  22564. "aliasColors": {
  22565. },
  22566. "bars": false,
  22567. "dashLength": 10,
  22568. "dashes": false,
  22569. "datasource": "$datasource",
  22570. "fill": 1,
  22571. "fillGradient": 0,
  22572. "gridPos": {
  22573. "h": 7,
  22574. "w": 24,
  22575. "x": 0,
  22576. "y": 35
  22577. },
  22578. "id": 15,
  22579. "legend": {
  22580. "alignAsTable": true,
  22581. "avg": false,
  22582. "current": true,
  22583. "hideEmpty": true,
  22584. "hideZero": true,
  22585. "max": false,
  22586. "min": false,
  22587. "rightSide": true,
  22588. "show": true,
  22589. "sideWidth": null,
  22590. "total": false,
  22591. "values": true
  22592. },
  22593. "lines": true,
  22594. "linewidth": 1,
  22595. "links": [
  22596. ],
  22597. "nullPointMode": "null",
  22598. "percentage": false,
  22599. "pointradius": 5,
  22600. "points": false,
  22601. "renderer": "flot",
  22602. "repeat": null,
  22603. "seriesOverrides": [
  22604. ],
  22605. "spaceLength": 10,
  22606. "stack": false,
  22607. "steppedLine": false,
  22608. "targets": [
  22609. {
  22610. "expr": "histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_name, volume_plugin, le))",
  22611. "format": "time_series",
  22612. "intervalFactor": 2,
  22613. "legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}",
  22614. "refId": "A"
  22615. }
  22616. ],
  22617. "thresholds": [
  22618. ],
  22619. "timeFrom": null,
  22620. "timeShift": null,
  22621. "title": "Storage Operation Duration 99th quantile",
  22622. "tooltip": {
  22623. "shared": true,
  22624. "sort": 0,
  22625. "value_type": "individual"
  22626. },
  22627. "type": "graph",
  22628. "xaxis": {
  22629. "buckets": null,
  22630. "mode": "time",
  22631. "name": null,
  22632. "show": true,
  22633. "values": [
  22634. ]
  22635. },
  22636. "yaxes": [
  22637. {
  22638. "format": "s",
  22639. "label": null,
  22640. "logBase": 1,
  22641. "max": null,
  22642. "min": null,
  22643. "show": true
  22644. },
  22645. {
  22646. "format": "s",
  22647. "label": null,
  22648. "logBase": 1,
  22649. "max": null,
  22650. "min": null,
  22651. "show": true
  22652. }
  22653. ]
  22654. },
  22655. {
  22656. "aliasColors": {
  22657. },
  22658. "bars": false,
  22659. "dashLength": 10,
  22660. "dashes": false,
  22661. "datasource": "$datasource",
  22662. "fill": 1,
  22663. "fillGradient": 0,
  22664. "gridPos": {
  22665. "h": 7,
  22666. "w": 12,
  22667. "x": 0,
  22668. "y": 42
  22669. },
  22670. "id": 16,
  22671. "legend": {
  22672. "alignAsTable": true,
  22673. "avg": false,
  22674. "current": true,
  22675. "max": false,
  22676. "min": false,
  22677. "rightSide": true,
  22678. "show": true,
  22679. "sideWidth": null,
  22680. "total": false,
  22681. "values": true
  22682. },
  22683. "lines": true,
  22684. "linewidth": 1,
  22685. "links": [
  22686. ],
  22687. "nullPointMode": "null",
  22688. "percentage": false,
  22689. "pointradius": 5,
  22690. "points": false,
  22691. "renderer": "flot",
  22692. "repeat": null,
  22693. "seriesOverrides": [
  22694. ],
  22695. "spaceLength": 10,
  22696. "stack": false,
  22697. "steppedLine": false,
  22698. "targets": [
  22699. {
  22700. "expr": "sum(rate(kubelet_cgroup_manager_duration_seconds_count{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_type)",
  22701. "format": "time_series",
  22702. "intervalFactor": 2,
  22703. "legendFormat": "{{operation_type}}",
  22704. "refId": "A"
  22705. }
  22706. ],
  22707. "thresholds": [
  22708. ],
  22709. "timeFrom": null,
  22710. "timeShift": null,
  22711. "title": "Cgroup manager operation rate",
  22712. "tooltip": {
  22713. "shared": true,
  22714. "sort": 0,
  22715. "value_type": "individual"
  22716. },
  22717. "type": "graph",
  22718. "xaxis": {
  22719. "buckets": null,
  22720. "mode": "time",
  22721. "name": null,
  22722. "show": true,
  22723. "values": [
  22724. ]
  22725. },
  22726. "yaxes": [
  22727. {
  22728. "format": "ops",
  22729. "label": null,
  22730. "logBase": 1,
  22731. "max": null,
  22732. "min": null,
  22733. "show": true
  22734. },
  22735. {
  22736. "format": "ops",
  22737. "label": null,
  22738. "logBase": 1,
  22739. "max": null,
  22740. "min": null,
  22741. "show": true
  22742. }
  22743. ]
  22744. },
  22745. {
  22746. "aliasColors": {
  22747. },
  22748. "bars": false,
  22749. "dashLength": 10,
  22750. "dashes": false,
  22751. "datasource": "$datasource",
  22752. "fill": 1,
  22753. "fillGradient": 0,
  22754. "gridPos": {
  22755. "h": 7,
  22756. "w": 12,
  22757. "x": 12,
  22758. "y": 42
  22759. },
  22760. "id": 17,
  22761. "legend": {
  22762. "alignAsTable": true,
  22763. "avg": false,
  22764. "current": true,
  22765. "max": false,
  22766. "min": false,
  22767. "rightSide": true,
  22768. "show": true,
  22769. "sideWidth": null,
  22770. "total": false,
  22771. "values": true
  22772. },
  22773. "lines": true,
  22774. "linewidth": 1,
  22775. "links": [
  22776. ],
  22777. "nullPointMode": "null",
  22778. "percentage": false,
  22779. "pointradius": 5,
  22780. "points": false,
  22781. "renderer": "flot",
  22782. "repeat": null,
  22783. "seriesOverrides": [
  22784. ],
  22785. "spaceLength": 10,
  22786. "stack": false,
  22787. "steppedLine": false,
  22788. "targets": [
  22789. {
  22790. "expr": "histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_type, le))",
  22791. "format": "time_series",
  22792. "intervalFactor": 2,
  22793. "legendFormat": "{{instance}} {{operation_type}}",
  22794. "refId": "A"
  22795. }
  22796. ],
  22797. "thresholds": [
  22798. ],
  22799. "timeFrom": null,
  22800. "timeShift": null,
  22801. "title": "Cgroup manager 99th quantile",
  22802. "tooltip": {
  22803. "shared": true,
  22804. "sort": 0,
  22805. "value_type": "individual"
  22806. },
  22807. "type": "graph",
  22808. "xaxis": {
  22809. "buckets": null,
  22810. "mode": "time",
  22811. "name": null,
  22812. "show": true,
  22813. "values": [
  22814. ]
  22815. },
  22816. "yaxes": [
  22817. {
  22818. "format": "s",
  22819. "label": null,
  22820. "logBase": 1,
  22821. "max": null,
  22822. "min": null,
  22823. "show": true
  22824. },
  22825. {
  22826. "format": "s",
  22827. "label": null,
  22828. "logBase": 1,
  22829. "max": null,
  22830. "min": null,
  22831. "show": true
  22832. }
  22833. ]
  22834. },
  22835. {
  22836. "aliasColors": {
  22837. },
  22838. "bars": false,
  22839. "dashLength": 10,
  22840. "dashes": false,
  22841. "datasource": "$datasource",
  22842. "description": "Pod lifecycle event generator",
  22843. "fill": 1,
  22844. "fillGradient": 0,
  22845. "gridPos": {
  22846. "h": 7,
  22847. "w": 12,
  22848. "x": 0,
  22849. "y": 49
  22850. },
  22851. "id": 18,
  22852. "legend": {
  22853. "alignAsTable": true,
  22854. "avg": false,
  22855. "current": true,
  22856. "max": false,
  22857. "min": false,
  22858. "rightSide": true,
  22859. "show": true,
  22860. "sideWidth": null,
  22861. "total": false,
  22862. "values": true
  22863. },
  22864. "lines": true,
  22865. "linewidth": 1,
  22866. "links": [
  22867. ],
  22868. "nullPointMode": "null",
  22869. "percentage": false,
  22870. "pointradius": 5,
  22871. "points": false,
  22872. "renderer": "flot",
  22873. "repeat": null,
  22874. "seriesOverrides": [
  22875. ],
  22876. "spaceLength": 10,
  22877. "stack": false,
  22878. "steppedLine": false,
  22879. "targets": [
  22880. {
  22881. "expr": "sum(rate(kubelet_pleg_relist_duration_seconds_count{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"}[$__rate_interval])) by (instance)",
  22882. "format": "time_series",
  22883. "intervalFactor": 2,
  22884. "legendFormat": "{{instance}}",
  22885. "refId": "A"
  22886. }
  22887. ],
  22888. "thresholds": [
  22889. ],
  22890. "timeFrom": null,
  22891. "timeShift": null,
  22892. "title": "PLEG relist rate",
  22893. "tooltip": {
  22894. "shared": true,
  22895. "sort": 0,
  22896. "value_type": "individual"
  22897. },
  22898. "type": "graph",
  22899. "xaxis": {
  22900. "buckets": null,
  22901. "mode": "time",
  22902. "name": null,
  22903. "show": true,
  22904. "values": [
  22905. ]
  22906. },
  22907. "yaxes": [
  22908. {
  22909. "format": "ops",
  22910. "label": null,
  22911. "logBase": 1,
  22912. "max": null,
  22913. "min": null,
  22914. "show": true
  22915. },
  22916. {
  22917. "format": "ops",
  22918. "label": null,
  22919. "logBase": 1,
  22920. "max": null,
  22921. "min": null,
  22922. "show": true
  22923. }
  22924. ]
  22925. },
  22926. {
  22927. "aliasColors": {
  22928. },
  22929. "bars": false,
  22930. "dashLength": 10,
  22931. "dashes": false,
  22932. "datasource": "$datasource",
  22933. "fill": 1,
  22934. "fillGradient": 0,
  22935. "gridPos": {
  22936. "h": 7,
  22937. "w": 12,
  22938. "x": 12,
  22939. "y": 49
  22940. },
  22941. "id": 19,
  22942. "legend": {
  22943. "alignAsTable": true,
  22944. "avg": false,
  22945. "current": true,
  22946. "max": false,
  22947. "min": false,
  22948. "rightSide": true,
  22949. "show": true,
  22950. "sideWidth": null,
  22951. "total": false,
  22952. "values": true
  22953. },
  22954. "lines": true,
  22955. "linewidth": 1,
  22956. "links": [
  22957. ],
  22958. "nullPointMode": "null",
  22959. "percentage": false,
  22960. "pointradius": 5,
  22961. "points": false,
  22962. "renderer": "flot",
  22963. "repeat": null,
  22964. "seriesOverrides": [
  22965. ],
  22966. "spaceLength": 10,
  22967. "stack": false,
  22968. "steppedLine": false,
  22969. "targets": [
  22970. {
  22971. "expr": "histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])) by (instance, le))",
  22972. "format": "time_series",
  22973. "intervalFactor": 2,
  22974. "legendFormat": "{{instance}}",
  22975. "refId": "A"
  22976. }
  22977. ],
  22978. "thresholds": [
  22979. ],
  22980. "timeFrom": null,
  22981. "timeShift": null,
  22982. "title": "PLEG relist interval",
  22983. "tooltip": {
  22984. "shared": true,
  22985. "sort": 0,
  22986. "value_type": "individual"
  22987. },
  22988. "type": "graph",
  22989. "xaxis": {
  22990. "buckets": null,
  22991. "mode": "time",
  22992. "name": null,
  22993. "show": true,
  22994. "values": [
  22995. ]
  22996. },
  22997. "yaxes": [
  22998. {
  22999. "format": "s",
  23000. "label": null,
  23001. "logBase": 1,
  23002. "max": null,
  23003. "min": null,
  23004. "show": true
  23005. },
  23006. {
  23007. "format": "s",
  23008. "label": null,
  23009. "logBase": 1,
  23010. "max": null,
  23011. "min": null,
  23012. "show": true
  23013. }
  23014. ]
  23015. },
  23016. {
  23017. "aliasColors": {
  23018. },
  23019. "bars": false,
  23020. "dashLength": 10,
  23021. "dashes": false,
  23022. "datasource": "$datasource",
  23023. "fill": 1,
  23024. "fillGradient": 0,
  23025. "gridPos": {
  23026. "h": 7,
  23027. "w": 24,
  23028. "x": 0,
  23029. "y": 56
  23030. },
  23031. "id": 20,
  23032. "legend": {
  23033. "alignAsTable": true,
  23034. "avg": false,
  23035. "current": true,
  23036. "max": false,
  23037. "min": false,
  23038. "rightSide": true,
  23039. "show": true,
  23040. "sideWidth": null,
  23041. "total": false,
  23042. "values": true
  23043. },
  23044. "lines": true,
  23045. "linewidth": 1,
  23046. "links": [
  23047. ],
  23048. "nullPointMode": "null",
  23049. "percentage": false,
  23050. "pointradius": 5,
  23051. "points": false,
  23052. "renderer": "flot",
  23053. "repeat": null,
  23054. "seriesOverrides": [
  23055. ],
  23056. "spaceLength": 10,
  23057. "stack": false,
  23058. "steppedLine": false,
  23059. "targets": [
  23060. {
  23061. "expr": "histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])) by (instance, le))",
  23062. "format": "time_series",
  23063. "intervalFactor": 2,
  23064. "legendFormat": "{{instance}}",
  23065. "refId": "A"
  23066. }
  23067. ],
  23068. "thresholds": [
  23069. ],
  23070. "timeFrom": null,
  23071. "timeShift": null,
  23072. "title": "PLEG relist duration",
  23073. "tooltip": {
  23074. "shared": true,
  23075. "sort": 0,
  23076. "value_type": "individual"
  23077. },
  23078. "type": "graph",
  23079. "xaxis": {
  23080. "buckets": null,
  23081. "mode": "time",
  23082. "name": null,
  23083. "show": true,
  23084. "values": [
  23085. ]
  23086. },
  23087. "yaxes": [
  23088. {
  23089. "format": "s",
  23090. "label": null,
  23091. "logBase": 1,
  23092. "max": null,
  23093. "min": null,
  23094. "show": true
  23095. },
  23096. {
  23097. "format": "s",
  23098. "label": null,
  23099. "logBase": 1,
  23100. "max": null,
  23101. "min": null,
  23102. "show": true
  23103. }
  23104. ]
  23105. },
  23106. {
  23107. "aliasColors": {
  23108. },
  23109. "bars": false,
  23110. "dashLength": 10,
  23111. "dashes": false,
  23112. "datasource": "$datasource",
  23113. "fill": 1,
  23114. "fillGradient": 0,
  23115. "gridPos": {
  23116. "h": 7,
  23117. "w": 24,
  23118. "x": 0,
  23119. "y": 63
  23120. },
  23121. "id": 21,
  23122. "legend": {
  23123. "alignAsTable": false,
  23124. "avg": false,
  23125. "current": false,
  23126. "max": false,
  23127. "min": false,
  23128. "rightSide": false,
  23129. "show": true,
  23130. "sideWidth": null,
  23131. "total": false,
  23132. "values": false
  23133. },
  23134. "lines": true,
  23135. "linewidth": 1,
  23136. "links": [
  23137. ],
  23138. "nullPointMode": "null",
  23139. "percentage": false,
  23140. "pointradius": 5,
  23141. "points": false,
  23142. "renderer": "flot",
  23143. "repeat": null,
  23144. "seriesOverrides": [
  23145. ],
  23146. "spaceLength": 10,
  23147. "stack": false,
  23148. "steppedLine": false,
  23149. "targets": [
  23150. {
  23151. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\",code=~\"2..\"}[$__rate_interval]))",
  23152. "format": "time_series",
  23153. "intervalFactor": 2,
  23154. "legendFormat": "2xx",
  23155. "refId": "A"
  23156. },
  23157. {
  23158. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\",code=~\"3..\"}[$__rate_interval]))",
  23159. "format": "time_series",
  23160. "intervalFactor": 2,
  23161. "legendFormat": "3xx",
  23162. "refId": "B"
  23163. },
  23164. {
  23165. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\",code=~\"4..\"}[$__rate_interval]))",
  23166. "format": "time_series",
  23167. "intervalFactor": 2,
  23168. "legendFormat": "4xx",
  23169. "refId": "C"
  23170. },
  23171. {
  23172. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\",code=~\"5..\"}[$__rate_interval]))",
  23173. "format": "time_series",
  23174. "intervalFactor": 2,
  23175. "legendFormat": "5xx",
  23176. "refId": "D"
  23177. }
  23178. ],
  23179. "thresholds": [
  23180. ],
  23181. "timeFrom": null,
  23182. "timeShift": null,
  23183. "title": "RPC Rate",
  23184. "tooltip": {
  23185. "shared": true,
  23186. "sort": 0,
  23187. "value_type": "individual"
  23188. },
  23189. "type": "graph",
  23190. "xaxis": {
  23191. "buckets": null,
  23192. "mode": "time",
  23193. "name": null,
  23194. "show": true,
  23195. "values": [
  23196. ]
  23197. },
  23198. "yaxes": [
  23199. {
  23200. "format": "ops",
  23201. "label": null,
  23202. "logBase": 1,
  23203. "max": null,
  23204. "min": null,
  23205. "show": true
  23206. },
  23207. {
  23208. "format": "ops",
  23209. "label": null,
  23210. "logBase": 1,
  23211. "max": null,
  23212. "min": null,
  23213. "show": true
  23214. }
  23215. ]
  23216. },
  23217. {
  23218. "aliasColors": {
  23219. },
  23220. "bars": false,
  23221. "dashLength": 10,
  23222. "dashes": false,
  23223. "datasource": "$datasource",
  23224. "fill": 1,
  23225. "fillGradient": 0,
  23226. "gridPos": {
  23227. "h": 7,
  23228. "w": 24,
  23229. "x": 0,
  23230. "y": 70
  23231. },
  23232. "id": 22,
  23233. "legend": {
  23234. "alignAsTable": true,
  23235. "avg": false,
  23236. "current": true,
  23237. "max": false,
  23238. "min": false,
  23239. "rightSide": true,
  23240. "show": true,
  23241. "sideWidth": null,
  23242. "total": false,
  23243. "values": true
  23244. },
  23245. "lines": true,
  23246. "linewidth": 1,
  23247. "links": [
  23248. ],
  23249. "nullPointMode": "null",
  23250. "percentage": false,
  23251. "pointradius": 5,
  23252. "points": false,
  23253. "renderer": "flot",
  23254. "repeat": null,
  23255. "seriesOverrides": [
  23256. ],
  23257. "spaceLength": 10,
  23258. "stack": false,
  23259. "steppedLine": false,
  23260. "targets": [
  23261. {
  23262. "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\", instance=~\"$instance\"}[$__rate_interval])) by (instance, verb, url, le))",
  23263. "format": "time_series",
  23264. "intervalFactor": 2,
  23265. "legendFormat": "{{instance}} {{verb}} {{url}}",
  23266. "refId": "A"
  23267. }
  23268. ],
  23269. "thresholds": [
  23270. ],
  23271. "timeFrom": null,
  23272. "timeShift": null,
  23273. "title": "Request duration 99th quantile",
  23274. "tooltip": {
  23275. "shared": true,
  23276. "sort": 0,
  23277. "value_type": "individual"
  23278. },
  23279. "type": "graph",
  23280. "xaxis": {
  23281. "buckets": null,
  23282. "mode": "time",
  23283. "name": null,
  23284. "show": true,
  23285. "values": [
  23286. ]
  23287. },
  23288. "yaxes": [
  23289. {
  23290. "format": "s",
  23291. "label": null,
  23292. "logBase": 1,
  23293. "max": null,
  23294. "min": null,
  23295. "show": true
  23296. },
  23297. {
  23298. "format": "s",
  23299. "label": null,
  23300. "logBase": 1,
  23301. "max": null,
  23302. "min": null,
  23303. "show": true
  23304. }
  23305. ]
  23306. },
  23307. {
  23308. "aliasColors": {
  23309. },
  23310. "bars": false,
  23311. "dashLength": 10,
  23312. "dashes": false,
  23313. "datasource": "$datasource",
  23314. "fill": 1,
  23315. "fillGradient": 0,
  23316. "gridPos": {
  23317. "h": 7,
  23318. "w": 8,
  23319. "x": 0,
  23320. "y": 77
  23321. },
  23322. "id": 23,
  23323. "legend": {
  23324. "alignAsTable": false,
  23325. "avg": false,
  23326. "current": false,
  23327. "max": false,
  23328. "min": false,
  23329. "rightSide": false,
  23330. "show": true,
  23331. "sideWidth": null,
  23332. "total": false,
  23333. "values": false
  23334. },
  23335. "lines": true,
  23336. "linewidth": 1,
  23337. "links": [
  23338. ],
  23339. "nullPointMode": "null",
  23340. "percentage": false,
  23341. "pointradius": 5,
  23342. "points": false,
  23343. "renderer": "flot",
  23344. "repeat": null,
  23345. "seriesOverrides": [
  23346. ],
  23347. "spaceLength": 10,
  23348. "stack": false,
  23349. "steppedLine": false,
  23350. "targets": [
  23351. {
  23352. "expr": "process_resident_memory_bytes{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}",
  23353. "format": "time_series",
  23354. "intervalFactor": 2,
  23355. "legendFormat": "{{instance}}",
  23356. "refId": "A"
  23357. }
  23358. ],
  23359. "thresholds": [
  23360. ],
  23361. "timeFrom": null,
  23362. "timeShift": null,
  23363. "title": "Memory",
  23364. "tooltip": {
  23365. "shared": true,
  23366. "sort": 0,
  23367. "value_type": "individual"
  23368. },
  23369. "type": "graph",
  23370. "xaxis": {
  23371. "buckets": null,
  23372. "mode": "time",
  23373. "name": null,
  23374. "show": true,
  23375. "values": [
  23376. ]
  23377. },
  23378. "yaxes": [
  23379. {
  23380. "format": "bytes",
  23381. "label": null,
  23382. "logBase": 1,
  23383. "max": null,
  23384. "min": null,
  23385. "show": true
  23386. },
  23387. {
  23388. "format": "bytes",
  23389. "label": null,
  23390. "logBase": 1,
  23391. "max": null,
  23392. "min": null,
  23393. "show": true
  23394. }
  23395. ]
  23396. },
  23397. {
  23398. "aliasColors": {
  23399. },
  23400. "bars": false,
  23401. "dashLength": 10,
  23402. "dashes": false,
  23403. "datasource": "$datasource",
  23404. "fill": 1,
  23405. "fillGradient": 0,
  23406. "gridPos": {
  23407. "h": 7,
  23408. "w": 8,
  23409. "x": 8,
  23410. "y": 77
  23411. },
  23412. "id": 24,
  23413. "legend": {
  23414. "alignAsTable": false,
  23415. "avg": false,
  23416. "current": false,
  23417. "max": false,
  23418. "min": false,
  23419. "rightSide": false,
  23420. "show": true,
  23421. "sideWidth": null,
  23422. "total": false,
  23423. "values": false
  23424. },
  23425. "lines": true,
  23426. "linewidth": 1,
  23427. "links": [
  23428. ],
  23429. "nullPointMode": "null",
  23430. "percentage": false,
  23431. "pointradius": 5,
  23432. "points": false,
  23433. "renderer": "flot",
  23434. "repeat": null,
  23435. "seriesOverrides": [
  23436. ],
  23437. "spaceLength": 10,
  23438. "stack": false,
  23439. "steppedLine": false,
  23440. "targets": [
  23441. {
  23442. "expr": "rate(process_cpu_seconds_total{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}[$__rate_interval])",
  23443. "format": "time_series",
  23444. "intervalFactor": 2,
  23445. "legendFormat": "{{instance}}",
  23446. "refId": "A"
  23447. }
  23448. ],
  23449. "thresholds": [
  23450. ],
  23451. "timeFrom": null,
  23452. "timeShift": null,
  23453. "title": "CPU usage",
  23454. "tooltip": {
  23455. "shared": true,
  23456. "sort": 0,
  23457. "value_type": "individual"
  23458. },
  23459. "type": "graph",
  23460. "xaxis": {
  23461. "buckets": null,
  23462. "mode": "time",
  23463. "name": null,
  23464. "show": true,
  23465. "values": [
  23466. ]
  23467. },
  23468. "yaxes": [
  23469. {
  23470. "format": "short",
  23471. "label": null,
  23472. "logBase": 1,
  23473. "max": null,
  23474. "min": null,
  23475. "show": true
  23476. },
  23477. {
  23478. "format": "short",
  23479. "label": null,
  23480. "logBase": 1,
  23481. "max": null,
  23482. "min": null,
  23483. "show": true
  23484. }
  23485. ]
  23486. },
  23487. {
  23488. "aliasColors": {
  23489. },
  23490. "bars": false,
  23491. "dashLength": 10,
  23492. "dashes": false,
  23493. "datasource": "$datasource",
  23494. "fill": 1,
  23495. "fillGradient": 0,
  23496. "gridPos": {
  23497. "h": 7,
  23498. "w": 8,
  23499. "x": 16,
  23500. "y": 77
  23501. },
  23502. "id": 25,
  23503. "legend": {
  23504. "alignAsTable": false,
  23505. "avg": false,
  23506. "current": false,
  23507. "max": false,
  23508. "min": false,
  23509. "rightSide": false,
  23510. "show": true,
  23511. "sideWidth": null,
  23512. "total": false,
  23513. "values": false
  23514. },
  23515. "lines": true,
  23516. "linewidth": 1,
  23517. "links": [
  23518. ],
  23519. "nullPointMode": "null",
  23520. "percentage": false,
  23521. "pointradius": 5,
  23522. "points": false,
  23523. "renderer": "flot",
  23524. "repeat": null,
  23525. "seriesOverrides": [
  23526. ],
  23527. "spaceLength": 10,
  23528. "stack": false,
  23529. "steppedLine": false,
  23530. "targets": [
  23531. {
  23532. "expr": "go_goroutines{cluster=\"$cluster\",job=\"kubelet\", metrics_path=\"/metrics\",instance=~\"$instance\"}",
  23533. "format": "time_series",
  23534. "intervalFactor": 2,
  23535. "legendFormat": "{{instance}}",
  23536. "refId": "A"
  23537. }
  23538. ],
  23539. "thresholds": [
  23540. ],
  23541. "timeFrom": null,
  23542. "timeShift": null,
  23543. "title": "Goroutines",
  23544. "tooltip": {
  23545. "shared": true,
  23546. "sort": 0,
  23547. "value_type": "individual"
  23548. },
  23549. "type": "graph",
  23550. "xaxis": {
  23551. "buckets": null,
  23552. "mode": "time",
  23553. "name": null,
  23554. "show": true,
  23555. "values": [
  23556. ]
  23557. },
  23558. "yaxes": [
  23559. {
  23560. "format": "short",
  23561. "label": null,
  23562. "logBase": 1,
  23563. "max": null,
  23564. "min": null,
  23565. "show": true
  23566. },
  23567. {
  23568. "format": "short",
  23569. "label": null,
  23570. "logBase": 1,
  23571. "max": null,
  23572. "min": null,
  23573. "show": true
  23574. }
  23575. ]
  23576. }
  23577. ],
  23578. "refresh": "10s",
  23579. "rows": [
  23580. ],
  23581. "schemaVersion": 14,
  23582. "style": "dark",
  23583. "tags": [
  23584. "kubernetes-mixin"
  23585. ],
  23586. "templating": {
  23587. "list": [
  23588. {
  23589. "current": {
  23590. "text": "default",
  23591. "value": "default"
  23592. },
  23593. "hide": 0,
  23594. "label": "Data Source",
  23595. "name": "datasource",
  23596. "options": [
  23597. ],
  23598. "query": "prometheus",
  23599. "refresh": 1,
  23600. "regex": "",
  23601. "type": "datasource"
  23602. },
  23603. {
  23604. "allValue": null,
  23605. "current": {
  23606. },
  23607. "datasource": "$datasource",
  23608. "hide": 2,
  23609. "includeAll": false,
  23610. "label": "cluster",
  23611. "multi": false,
  23612. "name": "cluster",
  23613. "options": [
  23614. ],
  23615. "query": "label_values(up{job=\"kubelet\", metrics_path=\"/metrics\"}, cluster)",
  23616. "refresh": 2,
  23617. "regex": "",
  23618. "sort": 1,
  23619. "tagValuesQuery": "",
  23620. "tags": [
  23621. ],
  23622. "tagsQuery": "",
  23623. "type": "query",
  23624. "useTags": false
  23625. },
  23626. {
  23627. "allValue": null,
  23628. "current": {
  23629. },
  23630. "datasource": "$datasource",
  23631. "hide": 0,
  23632. "includeAll": true,
  23633. "label": "instance",
  23634. "multi": false,
  23635. "name": "instance",
  23636. "options": [
  23637. ],
  23638. "query": "label_values(up{job=\"kubelet\", metrics_path=\"/metrics\",cluster=\"$cluster\"}, instance)",
  23639. "refresh": 2,
  23640. "regex": "",
  23641. "sort": 1,
  23642. "tagValuesQuery": "",
  23643. "tags": [
  23644. ],
  23645. "tagsQuery": "",
  23646. "type": "query",
  23647. "useTags": false
  23648. }
  23649. ]
  23650. },
  23651. "time": {
  23652. "from": "now-1h",
  23653. "to": "now"
  23654. },
  23655. "timepicker": {
  23656. "refresh_intervals": [
  23657. "5s",
  23658. "10s",
  23659. "30s",
  23660. "1m",
  23661. "5m",
  23662. "15m",
  23663. "30m",
  23664. "1h",
  23665. "2h",
  23666. "1d"
  23667. ],
  23668. "time_options": [
  23669. "5m",
  23670. "15m",
  23671. "1h",
  23672. "6h",
  23673. "12h",
  23674. "24h",
  23675. "2d",
  23676. "7d",
  23677. "30d"
  23678. ]
  23679. },
  23680. "timezone": "utc",
  23681. "title": "Kubernetes / Kubelet",
  23682. "uid": "3138fa155d5915769fbded898ac09fd9",
  23683. "version": 0
  23684. }
  23685. ---
  23686. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/namespace-by-pod.yaml
  23687. apiVersion: v1
  23688. kind: ConfigMap
  23689. metadata:
  23690. namespace: monitoring
  23691. name: prometheus-kube-prometheus-namespace-by-pod
  23692. annotations:
  23693. {}
  23694. labels:
  23695. grafana_dashboard: "1"
  23696. app: kube-prometheus-stack-grafana
  23697. app.kubernetes.io/managed-by: Helm
  23698. app.kubernetes.io/instance: prometheus
  23699. app.kubernetes.io/version: "44.3.0"
  23700. app.kubernetes.io/part-of: kube-prometheus-stack
  23701. chart: kube-prometheus-stack-44.3.0
  23702. release: "prometheus"
  23703. heritage: "Helm"
  23704. data:
  23705. namespace-by-pod.json: |-
  23706. {
  23707. "__inputs": [
  23708. ],
  23709. "__requires": [
  23710. ],
  23711. "annotations": {
  23712. "list": [
  23713. {
  23714. "builtIn": 1,
  23715. "datasource": "-- Grafana --",
  23716. "enable": true,
  23717. "hide": true,
  23718. "iconColor": "rgba(0, 211, 255, 1)",
  23719. "name": "Annotations & Alerts",
  23720. "type": "dashboard"
  23721. }
  23722. ]
  23723. },
  23724. "editable": true,
  23725. "gnetId": null,
  23726. "graphTooltip": 0,
  23727. "hideControls": false,
  23728. "id": null,
  23729. "links": [
  23730. ],
  23731. "panels": [
  23732. {
  23733. "collapse": false,
  23734. "collapsed": false,
  23735. "gridPos": {
  23736. "h": 1,
  23737. "w": 24,
  23738. "x": 0,
  23739. "y": 0
  23740. },
  23741. "id": 2,
  23742. "panels": [
  23743. ],
  23744. "repeat": null,
  23745. "repeatIteration": null,
  23746. "repeatRowId": null,
  23747. "showTitle": true,
  23748. "title": "Current Bandwidth",
  23749. "titleSize": "h6",
  23750. "type": "row"
  23751. },
  23752. {
  23753. "cacheTimeout": null,
  23754. "colorBackground": false,
  23755. "colorValue": false,
  23756. "colors": [
  23757. "#299c46",
  23758. "rgba(237, 129, 40, 0.89)",
  23759. "#d44a3a"
  23760. ],
  23761. "datasource": "$datasource",
  23762. "decimals": 0,
  23763. "format": "time_series",
  23764. "gauge": {
  23765. "maxValue": 100,
  23766. "minValue": 0,
  23767. "show": false,
  23768. "thresholdLabels": false,
  23769. "thresholdMarkers": true
  23770. },
  23771. "gridPos": {
  23772. "h": 9,
  23773. "w": 12,
  23774. "x": 0,
  23775. "y": 1
  23776. },
  23777. "height": 9,
  23778. "id": 3,
  23779. "interval": null,
  23780. "links": [
  23781. ],
  23782. "mappingType": 1,
  23783. "mappingTypes": [
  23784. {
  23785. "name": "value to text",
  23786. "value": 1
  23787. },
  23788. {
  23789. "name": "range to text",
  23790. "value": 2
  23791. }
  23792. ],
  23793. "maxDataPoints": 100,
  23794. "minSpan": 12,
  23795. "nullPointMode": "connected",
  23796. "nullText": null,
  23797. "options": {
  23798. "fieldOptions": {
  23799. "calcs": [
  23800. "last"
  23801. ],
  23802. "defaults": {
  23803. "max": 10000000000,
  23804. "min": 0,
  23805. "title": "$namespace",
  23806. "unit": "Bps"
  23807. },
  23808. "mappings": [
  23809. ],
  23810. "override": {
  23811. },
  23812. "thresholds": [
  23813. {
  23814. "color": "dark-green",
  23815. "index": 0,
  23816. "value": null
  23817. },
  23818. {
  23819. "color": "dark-yellow",
  23820. "index": 1,
  23821. "value": 5000000000
  23822. },
  23823. {
  23824. "color": "dark-red",
  23825. "index": 2,
  23826. "value": 7000000000
  23827. }
  23828. ],
  23829. "values": false
  23830. }
  23831. },
  23832. "postfix": "",
  23833. "postfixFontSize": "50%",
  23834. "prefix": "",
  23835. "prefixFontSize": "50%",
  23836. "rangeMaps": [
  23837. {
  23838. "from": "null",
  23839. "text": "N/A",
  23840. "to": "null"
  23841. }
  23842. ],
  23843. "span": 12,
  23844. "sparkline": {
  23845. "fillColor": "rgba(31, 118, 189, 0.18)",
  23846. "full": false,
  23847. "lineColor": "rgb(31, 120, 193)",
  23848. "show": false
  23849. },
  23850. "tableColumn": "",
  23851. "targets": [
  23852. {
  23853. "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution]))",
  23854. "format": "time_series",
  23855. "instant": null,
  23856. "intervalFactor": 1,
  23857. "legendFormat": "",
  23858. "refId": "A"
  23859. }
  23860. ],
  23861. "thresholds": "",
  23862. "timeFrom": null,
  23863. "timeShift": null,
  23864. "title": "Current Rate of Bytes Received",
  23865. "type": "gauge",
  23866. "valueFontSize": "80%",
  23867. "valueMaps": [
  23868. {
  23869. "op": "=",
  23870. "text": "N/A",
  23871. "value": "null"
  23872. }
  23873. ],
  23874. "valueName": "current"
  23875. },
  23876. {
  23877. "cacheTimeout": null,
  23878. "colorBackground": false,
  23879. "colorValue": false,
  23880. "colors": [
  23881. "#299c46",
  23882. "rgba(237, 129, 40, 0.89)",
  23883. "#d44a3a"
  23884. ],
  23885. "datasource": "$datasource",
  23886. "decimals": 0,
  23887. "format": "time_series",
  23888. "gauge": {
  23889. "maxValue": 100,
  23890. "minValue": 0,
  23891. "show": false,
  23892. "thresholdLabels": false,
  23893. "thresholdMarkers": true
  23894. },
  23895. "gridPos": {
  23896. "h": 9,
  23897. "w": 12,
  23898. "x": 12,
  23899. "y": 1
  23900. },
  23901. "height": 9,
  23902. "id": 4,
  23903. "interval": null,
  23904. "links": [
  23905. ],
  23906. "mappingType": 1,
  23907. "mappingTypes": [
  23908. {
  23909. "name": "value to text",
  23910. "value": 1
  23911. },
  23912. {
  23913. "name": "range to text",
  23914. "value": 2
  23915. }
  23916. ],
  23917. "maxDataPoints": 100,
  23918. "minSpan": 12,
  23919. "nullPointMode": "connected",
  23920. "nullText": null,
  23921. "options": {
  23922. "fieldOptions": {
  23923. "calcs": [
  23924. "last"
  23925. ],
  23926. "defaults": {
  23927. "max": 10000000000,
  23928. "min": 0,
  23929. "title": "$namespace",
  23930. "unit": "Bps"
  23931. },
  23932. "mappings": [
  23933. ],
  23934. "override": {
  23935. },
  23936. "thresholds": [
  23937. {
  23938. "color": "dark-green",
  23939. "index": 0,
  23940. "value": null
  23941. },
  23942. {
  23943. "color": "dark-yellow",
  23944. "index": 1,
  23945. "value": 5000000000
  23946. },
  23947. {
  23948. "color": "dark-red",
  23949. "index": 2,
  23950. "value": 7000000000
  23951. }
  23952. ],
  23953. "values": false
  23954. }
  23955. },
  23956. "postfix": "",
  23957. "postfixFontSize": "50%",
  23958. "prefix": "",
  23959. "prefixFontSize": "50%",
  23960. "rangeMaps": [
  23961. {
  23962. "from": "null",
  23963. "text": "N/A",
  23964. "to": "null"
  23965. }
  23966. ],
  23967. "span": 12,
  23968. "sparkline": {
  23969. "fillColor": "rgba(31, 118, 189, 0.18)",
  23970. "full": false,
  23971. "lineColor": "rgb(31, 120, 193)",
  23972. "show": false
  23973. },
  23974. "tableColumn": "",
  23975. "targets": [
  23976. {
  23977. "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution]))",
  23978. "format": "time_series",
  23979. "instant": null,
  23980. "intervalFactor": 1,
  23981. "legendFormat": "",
  23982. "refId": "A"
  23983. }
  23984. ],
  23985. "thresholds": "",
  23986. "timeFrom": null,
  23987. "timeShift": null,
  23988. "title": "Current Rate of Bytes Transmitted",
  23989. "type": "gauge",
  23990. "valueFontSize": "80%",
  23991. "valueMaps": [
  23992. {
  23993. "op": "=",
  23994. "text": "N/A",
  23995. "value": "null"
  23996. }
  23997. ],
  23998. "valueName": "current"
  23999. },
  24000. {
  24001. "columns": [
  24002. {
  24003. "text": "Time",
  24004. "value": "Time"
  24005. },
  24006. {
  24007. "text": "Value #A",
  24008. "value": "Value #A"
  24009. },
  24010. {
  24011. "text": "Value #B",
  24012. "value": "Value #B"
  24013. },
  24014. {
  24015. "text": "Value #C",
  24016. "value": "Value #C"
  24017. },
  24018. {
  24019. "text": "Value #D",
  24020. "value": "Value #D"
  24021. },
  24022. {
  24023. "text": "Value #E",
  24024. "value": "Value #E"
  24025. },
  24026. {
  24027. "text": "Value #F",
  24028. "value": "Value #F"
  24029. },
  24030. {
  24031. "text": "pod",
  24032. "value": "pod"
  24033. }
  24034. ],
  24035. "datasource": "$datasource",
  24036. "fill": 1,
  24037. "fontSize": "100%",
  24038. "gridPos": {
  24039. "h": 9,
  24040. "w": 24,
  24041. "x": 0,
  24042. "y": 10
  24043. },
  24044. "id": 5,
  24045. "lines": true,
  24046. "linewidth": 1,
  24047. "links": [
  24048. ],
  24049. "minSpan": 24,
  24050. "nullPointMode": "null as zero",
  24051. "renderer": "flot",
  24052. "scroll": true,
  24053. "showHeader": true,
  24054. "sort": {
  24055. "col": 0,
  24056. "desc": false
  24057. },
  24058. "spaceLength": 10,
  24059. "span": 24,
  24060. "styles": [
  24061. {
  24062. "alias": "Time",
  24063. "colorMode": null,
  24064. "colors": [
  24065. ],
  24066. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  24067. "decimals": 2,
  24068. "link": false,
  24069. "linkTooltip": "Drill down",
  24070. "linkUrl": "",
  24071. "pattern": "Time",
  24072. "thresholds": [
  24073. ],
  24074. "type": "hidden",
  24075. "unit": "short"
  24076. },
  24077. {
  24078. "alias": "Bandwidth Received",
  24079. "colorMode": null,
  24080. "colors": [
  24081. ],
  24082. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  24083. "decimals": 2,
  24084. "link": false,
  24085. "linkTooltip": "Drill down",
  24086. "linkUrl": "",
  24087. "pattern": "Value #A",
  24088. "thresholds": [
  24089. ],
  24090. "type": "number",
  24091. "unit": "Bps"
  24092. },
  24093. {
  24094. "alias": "Bandwidth Transmitted",
  24095. "colorMode": null,
  24096. "colors": [
  24097. ],
  24098. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  24099. "decimals": 2,
  24100. "link": false,
  24101. "linkTooltip": "Drill down",
  24102. "linkUrl": "",
  24103. "pattern": "Value #B",
  24104. "thresholds": [
  24105. ],
  24106. "type": "number",
  24107. "unit": "Bps"
  24108. },
  24109. {
  24110. "alias": "Rate of Received Packets",
  24111. "colorMode": null,
  24112. "colors": [
  24113. ],
  24114. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  24115. "decimals": 2,
  24116. "link": false,
  24117. "linkTooltip": "Drill down",
  24118. "linkUrl": "",
  24119. "pattern": "Value #C",
  24120. "thresholds": [
  24121. ],
  24122. "type": "number",
  24123. "unit": "pps"
  24124. },
  24125. {
  24126. "alias": "Rate of Transmitted Packets",
  24127. "colorMode": null,
  24128. "colors": [
  24129. ],
  24130. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  24131. "decimals": 2,
  24132. "link": false,
  24133. "linkTooltip": "Drill down",
  24134. "linkUrl": "",
  24135. "pattern": "Value #D",
  24136. "thresholds": [
  24137. ],
  24138. "type": "number",
  24139. "unit": "pps"
  24140. },
  24141. {
  24142. "alias": "Rate of Received Packets Dropped",
  24143. "colorMode": null,
  24144. "colors": [
  24145. ],
  24146. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  24147. "decimals": 2,
  24148. "link": false,
  24149. "linkTooltip": "Drill down",
  24150. "linkUrl": "",
  24151. "pattern": "Value #E",
  24152. "thresholds": [
  24153. ],
  24154. "type": "number",
  24155. "unit": "pps"
  24156. },
  24157. {
  24158. "alias": "Rate of Transmitted Packets Dropped",
  24159. "colorMode": null,
  24160. "colors": [
  24161. ],
  24162. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  24163. "decimals": 2,
  24164. "link": false,
  24165. "linkTooltip": "Drill down",
  24166. "linkUrl": "",
  24167. "pattern": "Value #F",
  24168. "thresholds": [
  24169. ],
  24170. "type": "number",
  24171. "unit": "pps"
  24172. },
  24173. {
  24174. "alias": "Pod",
  24175. "colorMode": null,
  24176. "colors": [
  24177. ],
  24178. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  24179. "decimals": 2,
  24180. "link": true,
  24181. "linkTooltip": "Drill down",
  24182. "linkUrl": "d/7a18067ce943a40ae25454675c19ff5c/kubernetes-networking-pod?orgId=1&refresh=30s&var-namespace=$namespace&var-pod=$__cell",
  24183. "pattern": "pod",
  24184. "thresholds": [
  24185. ],
  24186. "type": "number",
  24187. "unit": "short"
  24188. }
  24189. ],
  24190. "targets": [
  24191. {
  24192. "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24193. "format": "table",
  24194. "instant": true,
  24195. "intervalFactor": 2,
  24196. "legendFormat": "",
  24197. "refId": "A",
  24198. "step": 10
  24199. },
  24200. {
  24201. "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24202. "format": "table",
  24203. "instant": true,
  24204. "intervalFactor": 2,
  24205. "legendFormat": "",
  24206. "refId": "B",
  24207. "step": 10
  24208. },
  24209. {
  24210. "expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24211. "format": "table",
  24212. "instant": true,
  24213. "intervalFactor": 2,
  24214. "legendFormat": "",
  24215. "refId": "C",
  24216. "step": 10
  24217. },
  24218. {
  24219. "expr": "sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24220. "format": "table",
  24221. "instant": true,
  24222. "intervalFactor": 2,
  24223. "legendFormat": "",
  24224. "refId": "D",
  24225. "step": 10
  24226. },
  24227. {
  24228. "expr": "sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24229. "format": "table",
  24230. "instant": true,
  24231. "intervalFactor": 2,
  24232. "legendFormat": "",
  24233. "refId": "E",
  24234. "step": 10
  24235. },
  24236. {
  24237. "expr": "sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24238. "format": "table",
  24239. "instant": true,
  24240. "intervalFactor": 2,
  24241. "legendFormat": "",
  24242. "refId": "F",
  24243. "step": 10
  24244. }
  24245. ],
  24246. "timeFrom": null,
  24247. "timeShift": null,
  24248. "title": "Current Status",
  24249. "type": "table"
  24250. },
  24251. {
  24252. "collapse": false,
  24253. "collapsed": false,
  24254. "gridPos": {
  24255. "h": 1,
  24256. "w": 24,
  24257. "x": 0,
  24258. "y": 19
  24259. },
  24260. "id": 6,
  24261. "panels": [
  24262. ],
  24263. "repeat": null,
  24264. "repeatIteration": null,
  24265. "repeatRowId": null,
  24266. "showTitle": true,
  24267. "title": "Bandwidth",
  24268. "titleSize": "h6",
  24269. "type": "row"
  24270. },
  24271. {
  24272. "aliasColors": {
  24273. },
  24274. "bars": false,
  24275. "dashLength": 10,
  24276. "dashes": false,
  24277. "datasource": "$datasource",
  24278. "fill": 2,
  24279. "fillGradient": 0,
  24280. "gridPos": {
  24281. "h": 9,
  24282. "w": 12,
  24283. "x": 0,
  24284. "y": 20
  24285. },
  24286. "id": 7,
  24287. "legend": {
  24288. "alignAsTable": false,
  24289. "avg": false,
  24290. "current": false,
  24291. "hideEmpty": true,
  24292. "hideZero": true,
  24293. "max": false,
  24294. "min": false,
  24295. "rightSide": false,
  24296. "show": true,
  24297. "sideWidth": null,
  24298. "total": false,
  24299. "values": false
  24300. },
  24301. "lines": true,
  24302. "linewidth": 2,
  24303. "links": [
  24304. ],
  24305. "minSpan": 12,
  24306. "nullPointMode": "connected",
  24307. "paceLength": 10,
  24308. "percentage": false,
  24309. "pointradius": 5,
  24310. "points": false,
  24311. "renderer": "flot",
  24312. "repeat": null,
  24313. "seriesOverrides": [
  24314. ],
  24315. "spaceLength": 10,
  24316. "span": 12,
  24317. "stack": true,
  24318. "steppedLine": false,
  24319. "targets": [
  24320. {
  24321. "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24322. "format": "time_series",
  24323. "intervalFactor": 1,
  24324. "legendFormat": "{{pod}}",
  24325. "refId": "A",
  24326. "step": 10
  24327. }
  24328. ],
  24329. "thresholds": [
  24330. ],
  24331. "timeFrom": null,
  24332. "timeShift": null,
  24333. "title": "Receive Bandwidth",
  24334. "tooltip": {
  24335. "shared": true,
  24336. "sort": 2,
  24337. "value_type": "individual"
  24338. },
  24339. "type": "graph",
  24340. "xaxis": {
  24341. "buckets": null,
  24342. "mode": "time",
  24343. "name": null,
  24344. "show": true,
  24345. "values": [
  24346. ]
  24347. },
  24348. "yaxes": [
  24349. {
  24350. "format": "Bps",
  24351. "label": null,
  24352. "logBase": 1,
  24353. "max": null,
  24354. "min": 0,
  24355. "show": true
  24356. },
  24357. {
  24358. "format": "Bps",
  24359. "label": null,
  24360. "logBase": 1,
  24361. "max": null,
  24362. "min": 0,
  24363. "show": true
  24364. }
  24365. ]
  24366. },
  24367. {
  24368. "aliasColors": {
  24369. },
  24370. "bars": false,
  24371. "dashLength": 10,
  24372. "dashes": false,
  24373. "datasource": "$datasource",
  24374. "fill": 2,
  24375. "fillGradient": 0,
  24376. "gridPos": {
  24377. "h": 9,
  24378. "w": 12,
  24379. "x": 12,
  24380. "y": 20
  24381. },
  24382. "id": 8,
  24383. "legend": {
  24384. "alignAsTable": false,
  24385. "avg": false,
  24386. "current": false,
  24387. "hideEmpty": true,
  24388. "hideZero": true,
  24389. "max": false,
  24390. "min": false,
  24391. "rightSide": false,
  24392. "show": true,
  24393. "sideWidth": null,
  24394. "total": false,
  24395. "values": false
  24396. },
  24397. "lines": true,
  24398. "linewidth": 2,
  24399. "links": [
  24400. ],
  24401. "minSpan": 12,
  24402. "nullPointMode": "connected",
  24403. "paceLength": 10,
  24404. "percentage": false,
  24405. "pointradius": 5,
  24406. "points": false,
  24407. "renderer": "flot",
  24408. "repeat": null,
  24409. "seriesOverrides": [
  24410. ],
  24411. "spaceLength": 10,
  24412. "span": 12,
  24413. "stack": true,
  24414. "steppedLine": false,
  24415. "targets": [
  24416. {
  24417. "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24418. "format": "time_series",
  24419. "intervalFactor": 1,
  24420. "legendFormat": "{{pod}}",
  24421. "refId": "A",
  24422. "step": 10
  24423. }
  24424. ],
  24425. "thresholds": [
  24426. ],
  24427. "timeFrom": null,
  24428. "timeShift": null,
  24429. "title": "Transmit Bandwidth",
  24430. "tooltip": {
  24431. "shared": true,
  24432. "sort": 2,
  24433. "value_type": "individual"
  24434. },
  24435. "type": "graph",
  24436. "xaxis": {
  24437. "buckets": null,
  24438. "mode": "time",
  24439. "name": null,
  24440. "show": true,
  24441. "values": [
  24442. ]
  24443. },
  24444. "yaxes": [
  24445. {
  24446. "format": "Bps",
  24447. "label": null,
  24448. "logBase": 1,
  24449. "max": null,
  24450. "min": 0,
  24451. "show": true
  24452. },
  24453. {
  24454. "format": "Bps",
  24455. "label": null,
  24456. "logBase": 1,
  24457. "max": null,
  24458. "min": 0,
  24459. "show": true
  24460. }
  24461. ]
  24462. },
  24463. {
  24464. "collapse": true,
  24465. "collapsed": true,
  24466. "gridPos": {
  24467. "h": 1,
  24468. "w": 24,
  24469. "x": 0,
  24470. "y": 29
  24471. },
  24472. "id": 9,
  24473. "panels": [
  24474. {
  24475. "aliasColors": {
  24476. },
  24477. "bars": false,
  24478. "dashLength": 10,
  24479. "dashes": false,
  24480. "datasource": "$datasource",
  24481. "fill": 2,
  24482. "fillGradient": 0,
  24483. "gridPos": {
  24484. "h": 10,
  24485. "w": 12,
  24486. "x": 0,
  24487. "y": 30
  24488. },
  24489. "id": 10,
  24490. "legend": {
  24491. "alignAsTable": false,
  24492. "avg": false,
  24493. "current": false,
  24494. "hideEmpty": true,
  24495. "hideZero": true,
  24496. "max": false,
  24497. "min": false,
  24498. "rightSide": false,
  24499. "show": true,
  24500. "sideWidth": null,
  24501. "total": false,
  24502. "values": false
  24503. },
  24504. "lines": true,
  24505. "linewidth": 2,
  24506. "links": [
  24507. ],
  24508. "minSpan": 12,
  24509. "nullPointMode": "connected",
  24510. "paceLength": 10,
  24511. "percentage": false,
  24512. "pointradius": 5,
  24513. "points": false,
  24514. "renderer": "flot",
  24515. "repeat": null,
  24516. "seriesOverrides": [
  24517. ],
  24518. "spaceLength": 10,
  24519. "span": 12,
  24520. "stack": true,
  24521. "steppedLine": false,
  24522. "targets": [
  24523. {
  24524. "expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24525. "format": "time_series",
  24526. "intervalFactor": 1,
  24527. "legendFormat": "{{pod}}",
  24528. "refId": "A",
  24529. "step": 10
  24530. }
  24531. ],
  24532. "thresholds": [
  24533. ],
  24534. "timeFrom": null,
  24535. "timeShift": null,
  24536. "title": "Rate of Received Packets",
  24537. "tooltip": {
  24538. "shared": true,
  24539. "sort": 2,
  24540. "value_type": "individual"
  24541. },
  24542. "type": "graph",
  24543. "xaxis": {
  24544. "buckets": null,
  24545. "mode": "time",
  24546. "name": null,
  24547. "show": true,
  24548. "values": [
  24549. ]
  24550. },
  24551. "yaxes": [
  24552. {
  24553. "format": "pps",
  24554. "label": null,
  24555. "logBase": 1,
  24556. "max": null,
  24557. "min": 0,
  24558. "show": true
  24559. },
  24560. {
  24561. "format": "pps",
  24562. "label": null,
  24563. "logBase": 1,
  24564. "max": null,
  24565. "min": 0,
  24566. "show": true
  24567. }
  24568. ]
  24569. },
  24570. {
  24571. "aliasColors": {
  24572. },
  24573. "bars": false,
  24574. "dashLength": 10,
  24575. "dashes": false,
  24576. "datasource": "$datasource",
  24577. "fill": 2,
  24578. "fillGradient": 0,
  24579. "gridPos": {
  24580. "h": 10,
  24581. "w": 12,
  24582. "x": 12,
  24583. "y": 30
  24584. },
  24585. "id": 11,
  24586. "legend": {
  24587. "alignAsTable": false,
  24588. "avg": false,
  24589. "current": false,
  24590. "hideEmpty": true,
  24591. "hideZero": true,
  24592. "max": false,
  24593. "min": false,
  24594. "rightSide": false,
  24595. "show": true,
  24596. "sideWidth": null,
  24597. "total": false,
  24598. "values": false
  24599. },
  24600. "lines": true,
  24601. "linewidth": 2,
  24602. "links": [
  24603. ],
  24604. "minSpan": 12,
  24605. "nullPointMode": "connected",
  24606. "paceLength": 10,
  24607. "percentage": false,
  24608. "pointradius": 5,
  24609. "points": false,
  24610. "renderer": "flot",
  24611. "repeat": null,
  24612. "seriesOverrides": [
  24613. ],
  24614. "spaceLength": 10,
  24615. "span": 12,
  24616. "stack": true,
  24617. "steppedLine": false,
  24618. "targets": [
  24619. {
  24620. "expr": "sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24621. "format": "time_series",
  24622. "intervalFactor": 1,
  24623. "legendFormat": "{{pod}}",
  24624. "refId": "A",
  24625. "step": 10
  24626. }
  24627. ],
  24628. "thresholds": [
  24629. ],
  24630. "timeFrom": null,
  24631. "timeShift": null,
  24632. "title": "Rate of Transmitted Packets",
  24633. "tooltip": {
  24634. "shared": true,
  24635. "sort": 2,
  24636. "value_type": "individual"
  24637. },
  24638. "type": "graph",
  24639. "xaxis": {
  24640. "buckets": null,
  24641. "mode": "time",
  24642. "name": null,
  24643. "show": true,
  24644. "values": [
  24645. ]
  24646. },
  24647. "yaxes": [
  24648. {
  24649. "format": "pps",
  24650. "label": null,
  24651. "logBase": 1,
  24652. "max": null,
  24653. "min": 0,
  24654. "show": true
  24655. },
  24656. {
  24657. "format": "pps",
  24658. "label": null,
  24659. "logBase": 1,
  24660. "max": null,
  24661. "min": 0,
  24662. "show": true
  24663. }
  24664. ]
  24665. }
  24666. ],
  24667. "repeat": null,
  24668. "repeatIteration": null,
  24669. "repeatRowId": null,
  24670. "showTitle": true,
  24671. "title": "Packets",
  24672. "titleSize": "h6",
  24673. "type": "row"
  24674. },
  24675. {
  24676. "collapse": true,
  24677. "collapsed": true,
  24678. "gridPos": {
  24679. "h": 1,
  24680. "w": 24,
  24681. "x": 0,
  24682. "y": 30
  24683. },
  24684. "id": 12,
  24685. "panels": [
  24686. {
  24687. "aliasColors": {
  24688. },
  24689. "bars": false,
  24690. "dashLength": 10,
  24691. "dashes": false,
  24692. "datasource": "$datasource",
  24693. "fill": 2,
  24694. "fillGradient": 0,
  24695. "gridPos": {
  24696. "h": 10,
  24697. "w": 12,
  24698. "x": 0,
  24699. "y": 40
  24700. },
  24701. "id": 13,
  24702. "legend": {
  24703. "alignAsTable": false,
  24704. "avg": false,
  24705. "current": false,
  24706. "hideEmpty": true,
  24707. "hideZero": true,
  24708. "max": false,
  24709. "min": false,
  24710. "rightSide": false,
  24711. "show": true,
  24712. "sideWidth": null,
  24713. "total": false,
  24714. "values": false
  24715. },
  24716. "lines": true,
  24717. "linewidth": 2,
  24718. "links": [
  24719. ],
  24720. "minSpan": 12,
  24721. "nullPointMode": "connected",
  24722. "paceLength": 10,
  24723. "percentage": false,
  24724. "pointradius": 5,
  24725. "points": false,
  24726. "renderer": "flot",
  24727. "repeat": null,
  24728. "seriesOverrides": [
  24729. ],
  24730. "spaceLength": 10,
  24731. "span": 12,
  24732. "stack": true,
  24733. "steppedLine": false,
  24734. "targets": [
  24735. {
  24736. "expr": "sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24737. "format": "time_series",
  24738. "intervalFactor": 1,
  24739. "legendFormat": "{{pod}}",
  24740. "refId": "A",
  24741. "step": 10
  24742. }
  24743. ],
  24744. "thresholds": [
  24745. ],
  24746. "timeFrom": null,
  24747. "timeShift": null,
  24748. "title": "Rate of Received Packets Dropped",
  24749. "tooltip": {
  24750. "shared": true,
  24751. "sort": 2,
  24752. "value_type": "individual"
  24753. },
  24754. "type": "graph",
  24755. "xaxis": {
  24756. "buckets": null,
  24757. "mode": "time",
  24758. "name": null,
  24759. "show": true,
  24760. "values": [
  24761. ]
  24762. },
  24763. "yaxes": [
  24764. {
  24765. "format": "pps",
  24766. "label": null,
  24767. "logBase": 1,
  24768. "max": null,
  24769. "min": 0,
  24770. "show": true
  24771. },
  24772. {
  24773. "format": "pps",
  24774. "label": null,
  24775. "logBase": 1,
  24776. "max": null,
  24777. "min": 0,
  24778. "show": true
  24779. }
  24780. ]
  24781. },
  24782. {
  24783. "aliasColors": {
  24784. },
  24785. "bars": false,
  24786. "dashLength": 10,
  24787. "dashes": false,
  24788. "datasource": "$datasource",
  24789. "fill": 2,
  24790. "fillGradient": 0,
  24791. "gridPos": {
  24792. "h": 10,
  24793. "w": 12,
  24794. "x": 12,
  24795. "y": 40
  24796. },
  24797. "id": 14,
  24798. "legend": {
  24799. "alignAsTable": false,
  24800. "avg": false,
  24801. "current": false,
  24802. "hideEmpty": true,
  24803. "hideZero": true,
  24804. "max": false,
  24805. "min": false,
  24806. "rightSide": false,
  24807. "show": true,
  24808. "sideWidth": null,
  24809. "total": false,
  24810. "values": false
  24811. },
  24812. "lines": true,
  24813. "linewidth": 2,
  24814. "links": [
  24815. ],
  24816. "minSpan": 12,
  24817. "nullPointMode": "connected",
  24818. "paceLength": 10,
  24819. "percentage": false,
  24820. "pointradius": 5,
  24821. "points": false,
  24822. "renderer": "flot",
  24823. "repeat": null,
  24824. "seriesOverrides": [
  24825. ],
  24826. "spaceLength": 10,
  24827. "span": 12,
  24828. "stack": true,
  24829. "steppedLine": false,
  24830. "targets": [
  24831. {
  24832. "expr": "sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)",
  24833. "format": "time_series",
  24834. "intervalFactor": 1,
  24835. "legendFormat": "{{pod}}",
  24836. "refId": "A",
  24837. "step": 10
  24838. }
  24839. ],
  24840. "thresholds": [
  24841. ],
  24842. "timeFrom": null,
  24843. "timeShift": null,
  24844. "title": "Rate of Transmitted Packets Dropped",
  24845. "tooltip": {
  24846. "shared": true,
  24847. "sort": 2,
  24848. "value_type": "individual"
  24849. },
  24850. "type": "graph",
  24851. "xaxis": {
  24852. "buckets": null,
  24853. "mode": "time",
  24854. "name": null,
  24855. "show": true,
  24856. "values": [
  24857. ]
  24858. },
  24859. "yaxes": [
  24860. {
  24861. "format": "pps",
  24862. "label": null,
  24863. "logBase": 1,
  24864. "max": null,
  24865. "min": 0,
  24866. "show": true
  24867. },
  24868. {
  24869. "format": "pps",
  24870. "label": null,
  24871. "logBase": 1,
  24872. "max": null,
  24873. "min": 0,
  24874. "show": true
  24875. }
  24876. ]
  24877. }
  24878. ],
  24879. "repeat": null,
  24880. "repeatIteration": null,
  24881. "repeatRowId": null,
  24882. "showTitle": true,
  24883. "title": "Errors",
  24884. "titleSize": "h6",
  24885. "type": "row"
  24886. }
  24887. ],
  24888. "refresh": "10s",
  24889. "rows": [
  24890. ],
  24891. "schemaVersion": 18,
  24892. "style": "dark",
  24893. "tags": [
  24894. "kubernetes-mixin"
  24895. ],
  24896. "templating": {
  24897. "list": [
  24898. {
  24899. "current": {
  24900. "text": "default",
  24901. "value": "default"
  24902. },
  24903. "hide": 0,
  24904. "label": "Data Source",
  24905. "name": "datasource",
  24906. "options": [
  24907. ],
  24908. "query": "prometheus",
  24909. "refresh": 1,
  24910. "regex": "",
  24911. "type": "datasource"
  24912. },
  24913. {
  24914. "allValue": null,
  24915. "current": {
  24916. },
  24917. "datasource": "$datasource",
  24918. "hide": 2,
  24919. "includeAll": false,
  24920. "label": null,
  24921. "multi": false,
  24922. "name": "cluster",
  24923. "options": [
  24924. ],
  24925. "query": "label_values(up{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\"}, cluster)",
  24926. "refresh": 2,
  24927. "regex": "",
  24928. "sort": 0,
  24929. "tagValuesQuery": "",
  24930. "tags": [
  24931. ],
  24932. "tagsQuery": "",
  24933. "type": "query",
  24934. "useTags": false
  24935. },
  24936. {
  24937. "allValue": ".+",
  24938. "auto": false,
  24939. "auto_count": 30,
  24940. "auto_min": "10s",
  24941. "current": {
  24942. "text": "kube-system",
  24943. "value": "kube-system"
  24944. },
  24945. "datasource": "$datasource",
  24946. "definition": "label_values(container_network_receive_packets_total{cluster=\"$cluster\"}, namespace)",
  24947. "hide": 0,
  24948. "includeAll": true,
  24949. "label": null,
  24950. "multi": false,
  24951. "name": "namespace",
  24952. "options": [
  24953. ],
  24954. "query": "label_values(container_network_receive_packets_total{cluster=\"$cluster\"}, namespace)",
  24955. "refresh": 2,
  24956. "regex": "",
  24957. "skipUrlSync": false,
  24958. "sort": 1,
  24959. "tagValuesQuery": "",
  24960. "tags": [
  24961. ],
  24962. "tagsQuery": "",
  24963. "type": "query",
  24964. "useTags": false
  24965. },
  24966. {
  24967. "allValue": null,
  24968. "auto": false,
  24969. "auto_count": 30,
  24970. "auto_min": "10s",
  24971. "current": {
  24972. "text": "5m",
  24973. "value": "5m"
  24974. },
  24975. "datasource": "$datasource",
  24976. "hide": 0,
  24977. "includeAll": false,
  24978. "label": null,
  24979. "multi": false,
  24980. "name": "resolution",
  24981. "options": [
  24982. {
  24983. "selected": false,
  24984. "text": "30s",
  24985. "value": "30s"
  24986. },
  24987. {
  24988. "selected": true,
  24989. "text": "5m",
  24990. "value": "5m"
  24991. },
  24992. {
  24993. "selected": false,
  24994. "text": "1h",
  24995. "value": "1h"
  24996. }
  24997. ],
  24998. "query": "30s,5m,1h",
  24999. "refresh": 2,
  25000. "regex": "",
  25001. "skipUrlSync": false,
  25002. "sort": 1,
  25003. "tagValuesQuery": "",
  25004. "tags": [
  25005. ],
  25006. "tagsQuery": "",
  25007. "type": "interval",
  25008. "useTags": false
  25009. },
  25010. {
  25011. "allValue": null,
  25012. "auto": false,
  25013. "auto_count": 30,
  25014. "auto_min": "10s",
  25015. "current": {
  25016. "text": "5m",
  25017. "value": "5m"
  25018. },
  25019. "datasource": "$datasource",
  25020. "hide": 2,
  25021. "includeAll": false,
  25022. "label": null,
  25023. "multi": false,
  25024. "name": "interval",
  25025. "options": [
  25026. {
  25027. "selected": true,
  25028. "text": "4h",
  25029. "value": "4h"
  25030. }
  25031. ],
  25032. "query": "4h",
  25033. "refresh": 2,
  25034. "regex": "",
  25035. "skipUrlSync": false,
  25036. "sort": 1,
  25037. "tagValuesQuery": "",
  25038. "tags": [
  25039. ],
  25040. "tagsQuery": "",
  25041. "type": "interval",
  25042. "useTags": false
  25043. }
  25044. ]
  25045. },
  25046. "time": {
  25047. "from": "now-1h",
  25048. "to": "now"
  25049. },
  25050. "timepicker": {
  25051. "refresh_intervals": [
  25052. "5s",
  25053. "10s",
  25054. "30s",
  25055. "1m",
  25056. "5m",
  25057. "15m",
  25058. "30m",
  25059. "1h",
  25060. "2h",
  25061. "1d"
  25062. ],
  25063. "time_options": [
  25064. "5m",
  25065. "15m",
  25066. "1h",
  25067. "6h",
  25068. "12h",
  25069. "24h",
  25070. "2d",
  25071. "7d",
  25072. "30d"
  25073. ]
  25074. },
  25075. "timezone": "utc",
  25076. "title": "Kubernetes / Networking / Namespace (Pods)",
  25077. "uid": "8b7a8b326d7a6f1f04244066368c67af",
  25078. "version": 0
  25079. }
  25080. ---
  25081. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/namespace-by-workload.yaml
  25082. apiVersion: v1
  25083. kind: ConfigMap
  25084. metadata:
  25085. namespace: monitoring
  25086. name: prometheus-kube-prometheus-namespace-by-workload
  25087. annotations:
  25088. {}
  25089. labels:
  25090. grafana_dashboard: "1"
  25091. app: kube-prometheus-stack-grafana
  25092. app.kubernetes.io/managed-by: Helm
  25093. app.kubernetes.io/instance: prometheus
  25094. app.kubernetes.io/version: "44.3.0"
  25095. app.kubernetes.io/part-of: kube-prometheus-stack
  25096. chart: kube-prometheus-stack-44.3.0
  25097. release: "prometheus"
  25098. heritage: "Helm"
  25099. data:
  25100. namespace-by-workload.json: |-
  25101. {
  25102. "__inputs": [
  25103. ],
  25104. "__requires": [
  25105. ],
  25106. "annotations": {
  25107. "list": [
  25108. {
  25109. "builtIn": 1,
  25110. "datasource": "-- Grafana --",
  25111. "enable": true,
  25112. "hide": true,
  25113. "iconColor": "rgba(0, 211, 255, 1)",
  25114. "name": "Annotations & Alerts",
  25115. "type": "dashboard"
  25116. }
  25117. ]
  25118. },
  25119. "editable": true,
  25120. "gnetId": null,
  25121. "graphTooltip": 0,
  25122. "hideControls": false,
  25123. "id": null,
  25124. "links": [
  25125. ],
  25126. "panels": [
  25127. {
  25128. "collapse": false,
  25129. "collapsed": false,
  25130. "gridPos": {
  25131. "h": 1,
  25132. "w": 24,
  25133. "x": 0,
  25134. "y": 0
  25135. },
  25136. "id": 2,
  25137. "panels": [
  25138. ],
  25139. "repeat": null,
  25140. "repeatIteration": null,
  25141. "repeatRowId": null,
  25142. "showTitle": true,
  25143. "title": "Current Bandwidth",
  25144. "titleSize": "h6",
  25145. "type": "row"
  25146. },
  25147. {
  25148. "aliasColors": {
  25149. },
  25150. "bars": true,
  25151. "dashLength": 10,
  25152. "dashes": false,
  25153. "datasource": "$datasource",
  25154. "fill": 2,
  25155. "fillGradient": 0,
  25156. "gridPos": {
  25157. "h": 9,
  25158. "w": 12,
  25159. "x": 0,
  25160. "y": 1
  25161. },
  25162. "id": 3,
  25163. "legend": {
  25164. "alignAsTable": true,
  25165. "avg": false,
  25166. "current": true,
  25167. "hideEmpty": true,
  25168. "hideZero": true,
  25169. "max": false,
  25170. "min": false,
  25171. "rightSide": true,
  25172. "show": true,
  25173. "sideWidth": null,
  25174. "sort": "current",
  25175. "sortDesc": true,
  25176. "total": false,
  25177. "values": true
  25178. },
  25179. "lines": false,
  25180. "linewidth": 1,
  25181. "links": [
  25182. ],
  25183. "minSpan": 24,
  25184. "nullPointMode": "null",
  25185. "paceLength": 10,
  25186. "percentage": false,
  25187. "pointradius": 5,
  25188. "points": false,
  25189. "renderer": "flot",
  25190. "repeat": null,
  25191. "seriesOverrides": [
  25192. ],
  25193. "spaceLength": 10,
  25194. "span": 24,
  25195. "stack": false,
  25196. "steppedLine": false,
  25197. "targets": [
  25198. {
  25199. "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25200. "format": "time_series",
  25201. "intervalFactor": 1,
  25202. "legendFormat": "{{ workload }}",
  25203. "refId": "A",
  25204. "step": 10
  25205. }
  25206. ],
  25207. "thresholds": [
  25208. ],
  25209. "timeFrom": null,
  25210. "timeShift": null,
  25211. "title": "Current Rate of Bytes Received",
  25212. "tooltip": {
  25213. "shared": true,
  25214. "sort": 2,
  25215. "value_type": "individual"
  25216. },
  25217. "type": "graph",
  25218. "xaxis": {
  25219. "buckets": null,
  25220. "mode": "series",
  25221. "name": null,
  25222. "show": false,
  25223. "values": [
  25224. "current"
  25225. ]
  25226. },
  25227. "yaxes": [
  25228. {
  25229. "format": "Bps",
  25230. "label": null,
  25231. "logBase": 1,
  25232. "max": null,
  25233. "min": 0,
  25234. "show": true
  25235. },
  25236. {
  25237. "format": "Bps",
  25238. "label": null,
  25239. "logBase": 1,
  25240. "max": null,
  25241. "min": 0,
  25242. "show": true
  25243. }
  25244. ]
  25245. },
  25246. {
  25247. "aliasColors": {
  25248. },
  25249. "bars": true,
  25250. "dashLength": 10,
  25251. "dashes": false,
  25252. "datasource": "$datasource",
  25253. "fill": 2,
  25254. "fillGradient": 0,
  25255. "gridPos": {
  25256. "h": 9,
  25257. "w": 12,
  25258. "x": 12,
  25259. "y": 1
  25260. },
  25261. "id": 4,
  25262. "legend": {
  25263. "alignAsTable": true,
  25264. "avg": false,
  25265. "current": true,
  25266. "hideEmpty": true,
  25267. "hideZero": true,
  25268. "max": false,
  25269. "min": false,
  25270. "rightSide": true,
  25271. "show": true,
  25272. "sideWidth": null,
  25273. "sort": "current",
  25274. "sortDesc": true,
  25275. "total": false,
  25276. "values": true
  25277. },
  25278. "lines": false,
  25279. "linewidth": 1,
  25280. "links": [
  25281. ],
  25282. "minSpan": 24,
  25283. "nullPointMode": "null",
  25284. "paceLength": 10,
  25285. "percentage": false,
  25286. "pointradius": 5,
  25287. "points": false,
  25288. "renderer": "flot",
  25289. "repeat": null,
  25290. "seriesOverrides": [
  25291. ],
  25292. "spaceLength": 10,
  25293. "span": 24,
  25294. "stack": false,
  25295. "steppedLine": false,
  25296. "targets": [
  25297. {
  25298. "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25299. "format": "time_series",
  25300. "intervalFactor": 1,
  25301. "legendFormat": "{{ workload }}",
  25302. "refId": "A",
  25303. "step": 10
  25304. }
  25305. ],
  25306. "thresholds": [
  25307. ],
  25308. "timeFrom": null,
  25309. "timeShift": null,
  25310. "title": "Current Rate of Bytes Transmitted",
  25311. "tooltip": {
  25312. "shared": true,
  25313. "sort": 2,
  25314. "value_type": "individual"
  25315. },
  25316. "type": "graph",
  25317. "xaxis": {
  25318. "buckets": null,
  25319. "mode": "series",
  25320. "name": null,
  25321. "show": false,
  25322. "values": [
  25323. "current"
  25324. ]
  25325. },
  25326. "yaxes": [
  25327. {
  25328. "format": "Bps",
  25329. "label": null,
  25330. "logBase": 1,
  25331. "max": null,
  25332. "min": 0,
  25333. "show": true
  25334. },
  25335. {
  25336. "format": "Bps",
  25337. "label": null,
  25338. "logBase": 1,
  25339. "max": null,
  25340. "min": 0,
  25341. "show": true
  25342. }
  25343. ]
  25344. },
  25345. {
  25346. "columns": [
  25347. {
  25348. "text": "Time",
  25349. "value": "Time"
  25350. },
  25351. {
  25352. "text": "Value #A",
  25353. "value": "Value #A"
  25354. },
  25355. {
  25356. "text": "Value #B",
  25357. "value": "Value #B"
  25358. },
  25359. {
  25360. "text": "Value #C",
  25361. "value": "Value #C"
  25362. },
  25363. {
  25364. "text": "Value #D",
  25365. "value": "Value #D"
  25366. },
  25367. {
  25368. "text": "Value #E",
  25369. "value": "Value #E"
  25370. },
  25371. {
  25372. "text": "Value #F",
  25373. "value": "Value #F"
  25374. },
  25375. {
  25376. "text": "Value #G",
  25377. "value": "Value #G"
  25378. },
  25379. {
  25380. "text": "Value #H",
  25381. "value": "Value #H"
  25382. },
  25383. {
  25384. "text": "workload",
  25385. "value": "workload"
  25386. }
  25387. ],
  25388. "datasource": "$datasource",
  25389. "fill": 1,
  25390. "fontSize": "90%",
  25391. "gridPos": {
  25392. "h": 9,
  25393. "w": 24,
  25394. "x": 0,
  25395. "y": 10
  25396. },
  25397. "id": 5,
  25398. "lines": true,
  25399. "linewidth": 1,
  25400. "links": [
  25401. ],
  25402. "minSpan": 24,
  25403. "nullPointMode": "null as zero",
  25404. "renderer": "flot",
  25405. "scroll": true,
  25406. "showHeader": true,
  25407. "sort": {
  25408. "col": 0,
  25409. "desc": false
  25410. },
  25411. "spaceLength": 10,
  25412. "span": 24,
  25413. "styles": [
  25414. {
  25415. "alias": "Time",
  25416. "colorMode": null,
  25417. "colors": [
  25418. ],
  25419. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  25420. "decimals": 2,
  25421. "link": false,
  25422. "linkTooltip": "Drill down",
  25423. "linkUrl": "",
  25424. "pattern": "Time",
  25425. "thresholds": [
  25426. ],
  25427. "type": "hidden",
  25428. "unit": "short"
  25429. },
  25430. {
  25431. "alias": "Current Bandwidth Received",
  25432. "colorMode": null,
  25433. "colors": [
  25434. ],
  25435. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  25436. "decimals": 2,
  25437. "link": false,
  25438. "linkTooltip": "Drill down",
  25439. "linkUrl": "",
  25440. "pattern": "Value #A",
  25441. "thresholds": [
  25442. ],
  25443. "type": "number",
  25444. "unit": "Bps"
  25445. },
  25446. {
  25447. "alias": "Current Bandwidth Transmitted",
  25448. "colorMode": null,
  25449. "colors": [
  25450. ],
  25451. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  25452. "decimals": 2,
  25453. "link": false,
  25454. "linkTooltip": "Drill down",
  25455. "linkUrl": "",
  25456. "pattern": "Value #B",
  25457. "thresholds": [
  25458. ],
  25459. "type": "number",
  25460. "unit": "Bps"
  25461. },
  25462. {
  25463. "alias": "Average Bandwidth Received",
  25464. "colorMode": null,
  25465. "colors": [
  25466. ],
  25467. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  25468. "decimals": 2,
  25469. "link": false,
  25470. "linkTooltip": "Drill down",
  25471. "linkUrl": "",
  25472. "pattern": "Value #C",
  25473. "thresholds": [
  25474. ],
  25475. "type": "number",
  25476. "unit": "Bps"
  25477. },
  25478. {
  25479. "alias": "Average Bandwidth Transmitted",
  25480. "colorMode": null,
  25481. "colors": [
  25482. ],
  25483. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  25484. "decimals": 2,
  25485. "link": false,
  25486. "linkTooltip": "Drill down",
  25487. "linkUrl": "",
  25488. "pattern": "Value #D",
  25489. "thresholds": [
  25490. ],
  25491. "type": "number",
  25492. "unit": "Bps"
  25493. },
  25494. {
  25495. "alias": "Rate of Received Packets",
  25496. "colorMode": null,
  25497. "colors": [
  25498. ],
  25499. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  25500. "decimals": 2,
  25501. "link": false,
  25502. "linkTooltip": "Drill down",
  25503. "linkUrl": "",
  25504. "pattern": "Value #E",
  25505. "thresholds": [
  25506. ],
  25507. "type": "number",
  25508. "unit": "pps"
  25509. },
  25510. {
  25511. "alias": "Rate of Transmitted Packets",
  25512. "colorMode": null,
  25513. "colors": [
  25514. ],
  25515. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  25516. "decimals": 2,
  25517. "link": false,
  25518. "linkTooltip": "Drill down",
  25519. "linkUrl": "",
  25520. "pattern": "Value #F",
  25521. "thresholds": [
  25522. ],
  25523. "type": "number",
  25524. "unit": "pps"
  25525. },
  25526. {
  25527. "alias": "Rate of Received Packets Dropped",
  25528. "colorMode": null,
  25529. "colors": [
  25530. ],
  25531. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  25532. "decimals": 2,
  25533. "link": false,
  25534. "linkTooltip": "Drill down",
  25535. "linkUrl": "",
  25536. "pattern": "Value #G",
  25537. "thresholds": [
  25538. ],
  25539. "type": "number",
  25540. "unit": "pps"
  25541. },
  25542. {
  25543. "alias": "Rate of Transmitted Packets Dropped",
  25544. "colorMode": null,
  25545. "colors": [
  25546. ],
  25547. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  25548. "decimals": 2,
  25549. "link": false,
  25550. "linkTooltip": "Drill down",
  25551. "linkUrl": "",
  25552. "pattern": "Value #H",
  25553. "thresholds": [
  25554. ],
  25555. "type": "number",
  25556. "unit": "pps"
  25557. },
  25558. {
  25559. "alias": "Workload",
  25560. "colorMode": null,
  25561. "colors": [
  25562. ],
  25563. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  25564. "decimals": 2,
  25565. "link": true,
  25566. "linkTooltip": "Drill down",
  25567. "linkUrl": "d/728bf77cc1166d2f3133bf25846876cc/kubernetes-networking-workload?orgId=1&refresh=30s&var-namespace=$namespace&var-type=$type&var-workload=$__cell",
  25568. "pattern": "workload",
  25569. "thresholds": [
  25570. ],
  25571. "type": "number",
  25572. "unit": "short"
  25573. }
  25574. ],
  25575. "targets": [
  25576. {
  25577. "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25578. "format": "table",
  25579. "instant": true,
  25580. "intervalFactor": 2,
  25581. "legendFormat": "",
  25582. "refId": "A",
  25583. "step": 10
  25584. },
  25585. {
  25586. "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25587. "format": "table",
  25588. "instant": true,
  25589. "intervalFactor": 2,
  25590. "legendFormat": "",
  25591. "refId": "B",
  25592. "step": 10
  25593. },
  25594. {
  25595. "expr": "sort_desc(avg(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25596. "format": "table",
  25597. "instant": true,
  25598. "intervalFactor": 2,
  25599. "legendFormat": "",
  25600. "refId": "C",
  25601. "step": 10
  25602. },
  25603. {
  25604. "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25605. "format": "table",
  25606. "instant": true,
  25607. "intervalFactor": 2,
  25608. "legendFormat": "",
  25609. "refId": "D",
  25610. "step": 10
  25611. },
  25612. {
  25613. "expr": "sort_desc(sum(irate(container_network_receive_packets_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25614. "format": "table",
  25615. "instant": true,
  25616. "intervalFactor": 2,
  25617. "legendFormat": "",
  25618. "refId": "E",
  25619. "step": 10
  25620. },
  25621. {
  25622. "expr": "sort_desc(sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25623. "format": "table",
  25624. "instant": true,
  25625. "intervalFactor": 2,
  25626. "legendFormat": "",
  25627. "refId": "F",
  25628. "step": 10
  25629. },
  25630. {
  25631. "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25632. "format": "table",
  25633. "instant": true,
  25634. "intervalFactor": 2,
  25635. "legendFormat": "",
  25636. "refId": "G",
  25637. "step": 10
  25638. },
  25639. {
  25640. "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25641. "format": "table",
  25642. "instant": true,
  25643. "intervalFactor": 2,
  25644. "legendFormat": "",
  25645. "refId": "H",
  25646. "step": 10
  25647. }
  25648. ],
  25649. "timeFrom": null,
  25650. "timeShift": null,
  25651. "title": "Current Status",
  25652. "type": "table"
  25653. },
  25654. {
  25655. "collapse": true,
  25656. "collapsed": true,
  25657. "gridPos": {
  25658. "h": 1,
  25659. "w": 24,
  25660. "x": 0,
  25661. "y": 19
  25662. },
  25663. "id": 6,
  25664. "panels": [
  25665. {
  25666. "aliasColors": {
  25667. },
  25668. "bars": true,
  25669. "dashLength": 10,
  25670. "dashes": false,
  25671. "datasource": "$datasource",
  25672. "fill": 2,
  25673. "fillGradient": 0,
  25674. "gridPos": {
  25675. "h": 9,
  25676. "w": 12,
  25677. "x": 0,
  25678. "y": 20
  25679. },
  25680. "id": 7,
  25681. "legend": {
  25682. "alignAsTable": true,
  25683. "avg": false,
  25684. "current": true,
  25685. "hideEmpty": true,
  25686. "hideZero": true,
  25687. "max": false,
  25688. "min": false,
  25689. "rightSide": true,
  25690. "show": true,
  25691. "sideWidth": null,
  25692. "sort": "current",
  25693. "sortDesc": true,
  25694. "total": false,
  25695. "values": true
  25696. },
  25697. "lines": false,
  25698. "linewidth": 1,
  25699. "links": [
  25700. ],
  25701. "minSpan": 24,
  25702. "nullPointMode": "null",
  25703. "paceLength": 10,
  25704. "percentage": false,
  25705. "pointradius": 5,
  25706. "points": false,
  25707. "renderer": "flot",
  25708. "repeat": null,
  25709. "seriesOverrides": [
  25710. ],
  25711. "spaceLength": 10,
  25712. "span": 24,
  25713. "stack": false,
  25714. "steppedLine": false,
  25715. "targets": [
  25716. {
  25717. "expr": "sort_desc(avg(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25718. "format": "time_series",
  25719. "intervalFactor": 1,
  25720. "legendFormat": "{{ workload }}",
  25721. "refId": "A",
  25722. "step": 10
  25723. }
  25724. ],
  25725. "thresholds": [
  25726. ],
  25727. "timeFrom": null,
  25728. "timeShift": null,
  25729. "title": "Average Rate of Bytes Received",
  25730. "tooltip": {
  25731. "shared": true,
  25732. "sort": 2,
  25733. "value_type": "individual"
  25734. },
  25735. "type": "graph",
  25736. "xaxis": {
  25737. "buckets": null,
  25738. "mode": "series",
  25739. "name": null,
  25740. "show": false,
  25741. "values": [
  25742. "current"
  25743. ]
  25744. },
  25745. "yaxes": [
  25746. {
  25747. "format": "Bps",
  25748. "label": null,
  25749. "logBase": 1,
  25750. "max": null,
  25751. "min": 0,
  25752. "show": true
  25753. },
  25754. {
  25755. "format": "Bps",
  25756. "label": null,
  25757. "logBase": 1,
  25758. "max": null,
  25759. "min": 0,
  25760. "show": true
  25761. }
  25762. ]
  25763. },
  25764. {
  25765. "aliasColors": {
  25766. },
  25767. "bars": true,
  25768. "dashLength": 10,
  25769. "dashes": false,
  25770. "datasource": "$datasource",
  25771. "fill": 2,
  25772. "fillGradient": 0,
  25773. "gridPos": {
  25774. "h": 9,
  25775. "w": 12,
  25776. "x": 12,
  25777. "y": 20
  25778. },
  25779. "id": 8,
  25780. "legend": {
  25781. "alignAsTable": true,
  25782. "avg": false,
  25783. "current": true,
  25784. "hideEmpty": true,
  25785. "hideZero": true,
  25786. "max": false,
  25787. "min": false,
  25788. "rightSide": true,
  25789. "show": true,
  25790. "sideWidth": null,
  25791. "sort": "current",
  25792. "sortDesc": true,
  25793. "total": false,
  25794. "values": true
  25795. },
  25796. "lines": false,
  25797. "linewidth": 1,
  25798. "links": [
  25799. ],
  25800. "minSpan": 24,
  25801. "nullPointMode": "null",
  25802. "paceLength": 10,
  25803. "percentage": false,
  25804. "pointradius": 5,
  25805. "points": false,
  25806. "renderer": "flot",
  25807. "repeat": null,
  25808. "seriesOverrides": [
  25809. ],
  25810. "spaceLength": 10,
  25811. "span": 24,
  25812. "stack": false,
  25813. "steppedLine": false,
  25814. "targets": [
  25815. {
  25816. "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25817. "format": "time_series",
  25818. "intervalFactor": 1,
  25819. "legendFormat": "{{ workload }}",
  25820. "refId": "A",
  25821. "step": 10
  25822. }
  25823. ],
  25824. "thresholds": [
  25825. ],
  25826. "timeFrom": null,
  25827. "timeShift": null,
  25828. "title": "Average Rate of Bytes Transmitted",
  25829. "tooltip": {
  25830. "shared": true,
  25831. "sort": 2,
  25832. "value_type": "individual"
  25833. },
  25834. "type": "graph",
  25835. "xaxis": {
  25836. "buckets": null,
  25837. "mode": "series",
  25838. "name": null,
  25839. "show": false,
  25840. "values": [
  25841. "current"
  25842. ]
  25843. },
  25844. "yaxes": [
  25845. {
  25846. "format": "Bps",
  25847. "label": null,
  25848. "logBase": 1,
  25849. "max": null,
  25850. "min": 0,
  25851. "show": true
  25852. },
  25853. {
  25854. "format": "Bps",
  25855. "label": null,
  25856. "logBase": 1,
  25857. "max": null,
  25858. "min": 0,
  25859. "show": true
  25860. }
  25861. ]
  25862. }
  25863. ],
  25864. "repeat": null,
  25865. "repeatIteration": null,
  25866. "repeatRowId": null,
  25867. "showTitle": true,
  25868. "title": "Average Bandwidth",
  25869. "titleSize": "h6",
  25870. "type": "row"
  25871. },
  25872. {
  25873. "collapse": false,
  25874. "collapsed": false,
  25875. "gridPos": {
  25876. "h": 1,
  25877. "w": 24,
  25878. "x": 0,
  25879. "y": 29
  25880. },
  25881. "id": 9,
  25882. "panels": [
  25883. ],
  25884. "repeat": null,
  25885. "repeatIteration": null,
  25886. "repeatRowId": null,
  25887. "showTitle": true,
  25888. "title": "Bandwidth HIstory",
  25889. "titleSize": "h6",
  25890. "type": "row"
  25891. },
  25892. {
  25893. "aliasColors": {
  25894. },
  25895. "bars": false,
  25896. "dashLength": 10,
  25897. "dashes": false,
  25898. "datasource": "$datasource",
  25899. "fill": 2,
  25900. "fillGradient": 0,
  25901. "gridPos": {
  25902. "h": 9,
  25903. "w": 12,
  25904. "x": 0,
  25905. "y": 38
  25906. },
  25907. "id": 10,
  25908. "legend": {
  25909. "alignAsTable": false,
  25910. "avg": false,
  25911. "current": false,
  25912. "hideEmpty": true,
  25913. "hideZero": true,
  25914. "max": false,
  25915. "min": false,
  25916. "rightSide": false,
  25917. "show": true,
  25918. "sideWidth": null,
  25919. "total": false,
  25920. "values": false
  25921. },
  25922. "lines": true,
  25923. "linewidth": 2,
  25924. "links": [
  25925. ],
  25926. "minSpan": 12,
  25927. "nullPointMode": "connected",
  25928. "paceLength": 10,
  25929. "percentage": false,
  25930. "pointradius": 5,
  25931. "points": false,
  25932. "renderer": "flot",
  25933. "repeat": null,
  25934. "seriesOverrides": [
  25935. ],
  25936. "spaceLength": 10,
  25937. "span": 12,
  25938. "stack": true,
  25939. "steppedLine": false,
  25940. "targets": [
  25941. {
  25942. "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  25943. "format": "time_series",
  25944. "intervalFactor": 1,
  25945. "legendFormat": "{{workload}}",
  25946. "refId": "A",
  25947. "step": 10
  25948. }
  25949. ],
  25950. "thresholds": [
  25951. ],
  25952. "timeFrom": null,
  25953. "timeShift": null,
  25954. "title": "Receive Bandwidth",
  25955. "tooltip": {
  25956. "shared": true,
  25957. "sort": 2,
  25958. "value_type": "individual"
  25959. },
  25960. "type": "graph",
  25961. "xaxis": {
  25962. "buckets": null,
  25963. "mode": "time",
  25964. "name": null,
  25965. "show": true,
  25966. "values": [
  25967. ]
  25968. },
  25969. "yaxes": [
  25970. {
  25971. "format": "Bps",
  25972. "label": null,
  25973. "logBase": 1,
  25974. "max": null,
  25975. "min": 0,
  25976. "show": true
  25977. },
  25978. {
  25979. "format": "Bps",
  25980. "label": null,
  25981. "logBase": 1,
  25982. "max": null,
  25983. "min": 0,
  25984. "show": true
  25985. }
  25986. ]
  25987. },
  25988. {
  25989. "aliasColors": {
  25990. },
  25991. "bars": false,
  25992. "dashLength": 10,
  25993. "dashes": false,
  25994. "datasource": "$datasource",
  25995. "fill": 2,
  25996. "fillGradient": 0,
  25997. "gridPos": {
  25998. "h": 9,
  25999. "w": 12,
  26000. "x": 12,
  26001. "y": 38
  26002. },
  26003. "id": 11,
  26004. "legend": {
  26005. "alignAsTable": false,
  26006. "avg": false,
  26007. "current": false,
  26008. "hideEmpty": true,
  26009. "hideZero": true,
  26010. "max": false,
  26011. "min": false,
  26012. "rightSide": false,
  26013. "show": true,
  26014. "sideWidth": null,
  26015. "total": false,
  26016. "values": false
  26017. },
  26018. "lines": true,
  26019. "linewidth": 2,
  26020. "links": [
  26021. ],
  26022. "minSpan": 12,
  26023. "nullPointMode": "connected",
  26024. "paceLength": 10,
  26025. "percentage": false,
  26026. "pointradius": 5,
  26027. "points": false,
  26028. "renderer": "flot",
  26029. "repeat": null,
  26030. "seriesOverrides": [
  26031. ],
  26032. "spaceLength": 10,
  26033. "span": 12,
  26034. "stack": true,
  26035. "steppedLine": false,
  26036. "targets": [
  26037. {
  26038. "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  26039. "format": "time_series",
  26040. "intervalFactor": 1,
  26041. "legendFormat": "{{workload}}",
  26042. "refId": "A",
  26043. "step": 10
  26044. }
  26045. ],
  26046. "thresholds": [
  26047. ],
  26048. "timeFrom": null,
  26049. "timeShift": null,
  26050. "title": "Transmit Bandwidth",
  26051. "tooltip": {
  26052. "shared": true,
  26053. "sort": 2,
  26054. "value_type": "individual"
  26055. },
  26056. "type": "graph",
  26057. "xaxis": {
  26058. "buckets": null,
  26059. "mode": "time",
  26060. "name": null,
  26061. "show": true,
  26062. "values": [
  26063. ]
  26064. },
  26065. "yaxes": [
  26066. {
  26067. "format": "Bps",
  26068. "label": null,
  26069. "logBase": 1,
  26070. "max": null,
  26071. "min": 0,
  26072. "show": true
  26073. },
  26074. {
  26075. "format": "Bps",
  26076. "label": null,
  26077. "logBase": 1,
  26078. "max": null,
  26079. "min": 0,
  26080. "show": true
  26081. }
  26082. ]
  26083. },
  26084. {
  26085. "collapse": true,
  26086. "collapsed": true,
  26087. "gridPos": {
  26088. "h": 1,
  26089. "w": 24,
  26090. "x": 0,
  26091. "y": 39
  26092. },
  26093. "id": 12,
  26094. "panels": [
  26095. {
  26096. "aliasColors": {
  26097. },
  26098. "bars": false,
  26099. "dashLength": 10,
  26100. "dashes": false,
  26101. "datasource": "$datasource",
  26102. "fill": 2,
  26103. "fillGradient": 0,
  26104. "gridPos": {
  26105. "h": 9,
  26106. "w": 12,
  26107. "x": 0,
  26108. "y": 40
  26109. },
  26110. "id": 13,
  26111. "legend": {
  26112. "alignAsTable": false,
  26113. "avg": false,
  26114. "current": false,
  26115. "hideEmpty": true,
  26116. "hideZero": true,
  26117. "max": false,
  26118. "min": false,
  26119. "rightSide": false,
  26120. "show": true,
  26121. "sideWidth": null,
  26122. "total": false,
  26123. "values": false
  26124. },
  26125. "lines": true,
  26126. "linewidth": 2,
  26127. "links": [
  26128. ],
  26129. "minSpan": 12,
  26130. "nullPointMode": "connected",
  26131. "paceLength": 10,
  26132. "percentage": false,
  26133. "pointradius": 5,
  26134. "points": false,
  26135. "renderer": "flot",
  26136. "repeat": null,
  26137. "seriesOverrides": [
  26138. ],
  26139. "spaceLength": 10,
  26140. "span": 12,
  26141. "stack": true,
  26142. "steppedLine": false,
  26143. "targets": [
  26144. {
  26145. "expr": "sort_desc(sum(irate(container_network_receive_packets_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  26146. "format": "time_series",
  26147. "intervalFactor": 1,
  26148. "legendFormat": "{{workload}}",
  26149. "refId": "A",
  26150. "step": 10
  26151. }
  26152. ],
  26153. "thresholds": [
  26154. ],
  26155. "timeFrom": null,
  26156. "timeShift": null,
  26157. "title": "Rate of Received Packets",
  26158. "tooltip": {
  26159. "shared": true,
  26160. "sort": 2,
  26161. "value_type": "individual"
  26162. },
  26163. "type": "graph",
  26164. "xaxis": {
  26165. "buckets": null,
  26166. "mode": "time",
  26167. "name": null,
  26168. "show": true,
  26169. "values": [
  26170. ]
  26171. },
  26172. "yaxes": [
  26173. {
  26174. "format": "pps",
  26175. "label": null,
  26176. "logBase": 1,
  26177. "max": null,
  26178. "min": 0,
  26179. "show": true
  26180. },
  26181. {
  26182. "format": "pps",
  26183. "label": null,
  26184. "logBase": 1,
  26185. "max": null,
  26186. "min": 0,
  26187. "show": true
  26188. }
  26189. ]
  26190. },
  26191. {
  26192. "aliasColors": {
  26193. },
  26194. "bars": false,
  26195. "dashLength": 10,
  26196. "dashes": false,
  26197. "datasource": "$datasource",
  26198. "fill": 2,
  26199. "fillGradient": 0,
  26200. "gridPos": {
  26201. "h": 9,
  26202. "w": 12,
  26203. "x": 12,
  26204. "y": 40
  26205. },
  26206. "id": 14,
  26207. "legend": {
  26208. "alignAsTable": false,
  26209. "avg": false,
  26210. "current": false,
  26211. "hideEmpty": true,
  26212. "hideZero": true,
  26213. "max": false,
  26214. "min": false,
  26215. "rightSide": false,
  26216. "show": true,
  26217. "sideWidth": null,
  26218. "total": false,
  26219. "values": false
  26220. },
  26221. "lines": true,
  26222. "linewidth": 2,
  26223. "links": [
  26224. ],
  26225. "minSpan": 12,
  26226. "nullPointMode": "connected",
  26227. "paceLength": 10,
  26228. "percentage": false,
  26229. "pointradius": 5,
  26230. "points": false,
  26231. "renderer": "flot",
  26232. "repeat": null,
  26233. "seriesOverrides": [
  26234. ],
  26235. "spaceLength": 10,
  26236. "span": 12,
  26237. "stack": true,
  26238. "steppedLine": false,
  26239. "targets": [
  26240. {
  26241. "expr": "sort_desc(sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  26242. "format": "time_series",
  26243. "intervalFactor": 1,
  26244. "legendFormat": "{{workload}}",
  26245. "refId": "A",
  26246. "step": 10
  26247. }
  26248. ],
  26249. "thresholds": [
  26250. ],
  26251. "timeFrom": null,
  26252. "timeShift": null,
  26253. "title": "Rate of Transmitted Packets",
  26254. "tooltip": {
  26255. "shared": true,
  26256. "sort": 2,
  26257. "value_type": "individual"
  26258. },
  26259. "type": "graph",
  26260. "xaxis": {
  26261. "buckets": null,
  26262. "mode": "time",
  26263. "name": null,
  26264. "show": true,
  26265. "values": [
  26266. ]
  26267. },
  26268. "yaxes": [
  26269. {
  26270. "format": "pps",
  26271. "label": null,
  26272. "logBase": 1,
  26273. "max": null,
  26274. "min": 0,
  26275. "show": true
  26276. },
  26277. {
  26278. "format": "pps",
  26279. "label": null,
  26280. "logBase": 1,
  26281. "max": null,
  26282. "min": 0,
  26283. "show": true
  26284. }
  26285. ]
  26286. }
  26287. ],
  26288. "repeat": null,
  26289. "repeatIteration": null,
  26290. "repeatRowId": null,
  26291. "showTitle": true,
  26292. "title": "Packets",
  26293. "titleSize": "h6",
  26294. "type": "row"
  26295. },
  26296. {
  26297. "collapse": true,
  26298. "collapsed": true,
  26299. "gridPos": {
  26300. "h": 1,
  26301. "w": 24,
  26302. "x": 0,
  26303. "y": 40
  26304. },
  26305. "id": 15,
  26306. "panels": [
  26307. {
  26308. "aliasColors": {
  26309. },
  26310. "bars": false,
  26311. "dashLength": 10,
  26312. "dashes": false,
  26313. "datasource": "$datasource",
  26314. "fill": 2,
  26315. "fillGradient": 0,
  26316. "gridPos": {
  26317. "h": 9,
  26318. "w": 12,
  26319. "x": 0,
  26320. "y": 41
  26321. },
  26322. "id": 16,
  26323. "legend": {
  26324. "alignAsTable": false,
  26325. "avg": false,
  26326. "current": false,
  26327. "hideEmpty": true,
  26328. "hideZero": true,
  26329. "max": false,
  26330. "min": false,
  26331. "rightSide": false,
  26332. "show": true,
  26333. "sideWidth": null,
  26334. "total": false,
  26335. "values": false
  26336. },
  26337. "lines": true,
  26338. "linewidth": 2,
  26339. "links": [
  26340. ],
  26341. "minSpan": 12,
  26342. "nullPointMode": "connected",
  26343. "paceLength": 10,
  26344. "percentage": false,
  26345. "pointradius": 5,
  26346. "points": false,
  26347. "renderer": "flot",
  26348. "repeat": null,
  26349. "seriesOverrides": [
  26350. ],
  26351. "spaceLength": 10,
  26352. "span": 12,
  26353. "stack": true,
  26354. "steppedLine": false,
  26355. "targets": [
  26356. {
  26357. "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  26358. "format": "time_series",
  26359. "intervalFactor": 1,
  26360. "legendFormat": "{{workload}}",
  26361. "refId": "A",
  26362. "step": 10
  26363. }
  26364. ],
  26365. "thresholds": [
  26366. ],
  26367. "timeFrom": null,
  26368. "timeShift": null,
  26369. "title": "Rate of Received Packets Dropped",
  26370. "tooltip": {
  26371. "shared": true,
  26372. "sort": 2,
  26373. "value_type": "individual"
  26374. },
  26375. "type": "graph",
  26376. "xaxis": {
  26377. "buckets": null,
  26378. "mode": "time",
  26379. "name": null,
  26380. "show": true,
  26381. "values": [
  26382. ]
  26383. },
  26384. "yaxes": [
  26385. {
  26386. "format": "pps",
  26387. "label": null,
  26388. "logBase": 1,
  26389. "max": null,
  26390. "min": 0,
  26391. "show": true
  26392. },
  26393. {
  26394. "format": "pps",
  26395. "label": null,
  26396. "logBase": 1,
  26397. "max": null,
  26398. "min": 0,
  26399. "show": true
  26400. }
  26401. ]
  26402. },
  26403. {
  26404. "aliasColors": {
  26405. },
  26406. "bars": false,
  26407. "dashLength": 10,
  26408. "dashes": false,
  26409. "datasource": "$datasource",
  26410. "fill": 2,
  26411. "fillGradient": 0,
  26412. "gridPos": {
  26413. "h": 9,
  26414. "w": 12,
  26415. "x": 12,
  26416. "y": 41
  26417. },
  26418. "id": 17,
  26419. "legend": {
  26420. "alignAsTable": false,
  26421. "avg": false,
  26422. "current": false,
  26423. "hideEmpty": true,
  26424. "hideZero": true,
  26425. "max": false,
  26426. "min": false,
  26427. "rightSide": false,
  26428. "show": true,
  26429. "sideWidth": null,
  26430. "total": false,
  26431. "values": false
  26432. },
  26433. "lines": true,
  26434. "linewidth": 2,
  26435. "links": [
  26436. ],
  26437. "minSpan": 12,
  26438. "nullPointMode": "connected",
  26439. "paceLength": 10,
  26440. "percentage": false,
  26441. "pointradius": 5,
  26442. "points": false,
  26443. "renderer": "flot",
  26444. "repeat": null,
  26445. "seriesOverrides": [
  26446. ],
  26447. "spaceLength": 10,
  26448. "span": 12,
  26449. "stack": true,
  26450. "steppedLine": false,
  26451. "targets": [
  26452. {
  26453. "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\",namespace=\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
  26454. "format": "time_series",
  26455. "intervalFactor": 1,
  26456. "legendFormat": "{{workload}}",
  26457. "refId": "A",
  26458. "step": 10
  26459. }
  26460. ],
  26461. "thresholds": [
  26462. ],
  26463. "timeFrom": null,
  26464. "timeShift": null,
  26465. "title": "Rate of Transmitted Packets Dropped",
  26466. "tooltip": {
  26467. "shared": true,
  26468. "sort": 2,
  26469. "value_type": "individual"
  26470. },
  26471. "type": "graph",
  26472. "xaxis": {
  26473. "buckets": null,
  26474. "mode": "time",
  26475. "name": null,
  26476. "show": true,
  26477. "values": [
  26478. ]
  26479. },
  26480. "yaxes": [
  26481. {
  26482. "format": "pps",
  26483. "label": null,
  26484. "logBase": 1,
  26485. "max": null,
  26486. "min": 0,
  26487. "show": true
  26488. },
  26489. {
  26490. "format": "pps",
  26491. "label": null,
  26492. "logBase": 1,
  26493. "max": null,
  26494. "min": 0,
  26495. "show": true
  26496. }
  26497. ]
  26498. }
  26499. ],
  26500. "repeat": null,
  26501. "repeatIteration": null,
  26502. "repeatRowId": null,
  26503. "showTitle": true,
  26504. "title": "Errors",
  26505. "titleSize": "h6",
  26506. "type": "row"
  26507. }
  26508. ],
  26509. "refresh": "10s",
  26510. "rows": [
  26511. ],
  26512. "schemaVersion": 18,
  26513. "style": "dark",
  26514. "tags": [
  26515. "kubernetes-mixin"
  26516. ],
  26517. "templating": {
  26518. "list": [
  26519. {
  26520. "current": {
  26521. "text": "default",
  26522. "value": "default"
  26523. },
  26524. "hide": 0,
  26525. "label": "Data Source",
  26526. "name": "datasource",
  26527. "options": [
  26528. ],
  26529. "query": "prometheus",
  26530. "refresh": 1,
  26531. "regex": "",
  26532. "type": "datasource"
  26533. },
  26534. {
  26535. "allValue": null,
  26536. "current": {
  26537. },
  26538. "datasource": "$datasource",
  26539. "hide": 2,
  26540. "includeAll": false,
  26541. "label": null,
  26542. "multi": false,
  26543. "name": "cluster",
  26544. "options": [
  26545. ],
  26546. "query": "label_values(up{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\"}, cluster)",
  26547. "refresh": 2,
  26548. "regex": "",
  26549. "sort": 0,
  26550. "tagValuesQuery": "",
  26551. "tags": [
  26552. ],
  26553. "tagsQuery": "",
  26554. "type": "query",
  26555. "useTags": false
  26556. },
  26557. {
  26558. "allValue": null,
  26559. "auto": false,
  26560. "auto_count": 30,
  26561. "auto_min": "10s",
  26562. "current": {
  26563. "text": "kube-system",
  26564. "value": "kube-system"
  26565. },
  26566. "datasource": "$datasource",
  26567. "definition": "label_values(container_network_receive_packets_total{cluster=\"$cluster\"}, namespace)",
  26568. "hide": 0,
  26569. "includeAll": false,
  26570. "label": null,
  26571. "multi": false,
  26572. "name": "namespace",
  26573. "options": [
  26574. ],
  26575. "query": "label_values(container_network_receive_packets_total{cluster=\"$cluster\"}, namespace)",
  26576. "refresh": 2,
  26577. "regex": "",
  26578. "skipUrlSync": false,
  26579. "sort": 1,
  26580. "tagValuesQuery": "",
  26581. "tags": [
  26582. ],
  26583. "tagsQuery": "",
  26584. "type": "query",
  26585. "useTags": false
  26586. },
  26587. {
  26588. "allValue": null,
  26589. "auto": false,
  26590. "auto_count": 30,
  26591. "auto_min": "10s",
  26592. "current": {
  26593. "text": "deployment",
  26594. "value": "deployment"
  26595. },
  26596. "datasource": "$datasource",
  26597. "definition": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\"}, workload_type)",
  26598. "hide": 0,
  26599. "includeAll": false,
  26600. "label": null,
  26601. "multi": false,
  26602. "name": "type",
  26603. "options": [
  26604. ],
  26605. "query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=\"$namespace\", workload=~\".+\"}, workload_type)",
  26606. "refresh": 2,
  26607. "regex": "",
  26608. "skipUrlSync": false,
  26609. "sort": 0,
  26610. "tagValuesQuery": "",
  26611. "tags": [
  26612. ],
  26613. "tagsQuery": "",
  26614. "type": "query",
  26615. "useTags": false
  26616. },
  26617. {
  26618. "allValue": null,
  26619. "auto": false,
  26620. "auto_count": 30,
  26621. "auto_min": "10s",
  26622. "current": {
  26623. "text": "5m",
  26624. "value": "5m"
  26625. },
  26626. "datasource": "$datasource",
  26627. "hide": 0,
  26628. "includeAll": false,
  26629. "label": null,
  26630. "multi": false,
  26631. "name": "resolution",
  26632. "options": [
  26633. {
  26634. "selected": false,
  26635. "text": "30s",
  26636. "value": "30s"
  26637. },
  26638. {
  26639. "selected": true,
  26640. "text": "5m",
  26641. "value": "5m"
  26642. },
  26643. {
  26644. "selected": false,
  26645. "text": "1h",
  26646. "value": "1h"
  26647. }
  26648. ],
  26649. "query": "30s,5m,1h",
  26650. "refresh": 2,
  26651. "regex": "",
  26652. "skipUrlSync": false,
  26653. "sort": 1,
  26654. "tagValuesQuery": "",
  26655. "tags": [
  26656. ],
  26657. "tagsQuery": "",
  26658. "type": "interval",
  26659. "useTags": false
  26660. },
  26661. {
  26662. "allValue": null,
  26663. "auto": false,
  26664. "auto_count": 30,
  26665. "auto_min": "10s",
  26666. "current": {
  26667. "text": "5m",
  26668. "value": "5m"
  26669. },
  26670. "datasource": "$datasource",
  26671. "hide": 2,
  26672. "includeAll": false,
  26673. "label": null,
  26674. "multi": false,
  26675. "name": "interval",
  26676. "options": [
  26677. {
  26678. "selected": true,
  26679. "text": "4h",
  26680. "value": "4h"
  26681. }
  26682. ],
  26683. "query": "4h",
  26684. "refresh": 2,
  26685. "regex": "",
  26686. "skipUrlSync": false,
  26687. "sort": 1,
  26688. "tagValuesQuery": "",
  26689. "tags": [
  26690. ],
  26691. "tagsQuery": "",
  26692. "type": "interval",
  26693. "useTags": false
  26694. }
  26695. ]
  26696. },
  26697. "time": {
  26698. "from": "now-1h",
  26699. "to": "now"
  26700. },
  26701. "timepicker": {
  26702. "refresh_intervals": [
  26703. "5s",
  26704. "10s",
  26705. "30s",
  26706. "1m",
  26707. "5m",
  26708. "15m",
  26709. "30m",
  26710. "1h",
  26711. "2h",
  26712. "1d"
  26713. ],
  26714. "time_options": [
  26715. "5m",
  26716. "15m",
  26717. "1h",
  26718. "6h",
  26719. "12h",
  26720. "24h",
  26721. "2d",
  26722. "7d",
  26723. "30d"
  26724. ]
  26725. },
  26726. "timezone": "utc",
  26727. "title": "Kubernetes / Networking / Namespace (Workload)",
  26728. "uid": "bbb2a765a623ae38130206c7d94a160f",
  26729. "version": 0
  26730. }
  26731. ---
  26732. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/node-cluster-rsrc-use.yaml
  26733. apiVersion: v1
  26734. kind: ConfigMap
  26735. metadata:
  26736. namespace: monitoring
  26737. name: prometheus-kube-prometheus-node-cluster-rsrc-use
  26738. annotations:
  26739. {}
  26740. labels:
  26741. grafana_dashboard: "1"
  26742. app: kube-prometheus-stack-grafana
  26743. app.kubernetes.io/managed-by: Helm
  26744. app.kubernetes.io/instance: prometheus
  26745. app.kubernetes.io/version: "44.3.0"
  26746. app.kubernetes.io/part-of: kube-prometheus-stack
  26747. chart: kube-prometheus-stack-44.3.0
  26748. release: "prometheus"
  26749. heritage: "Helm"
  26750. data:
  26751. node-cluster-rsrc-use.json: |-
  26752. {
  26753. "__inputs": [
  26754. ],
  26755. "__requires": [
  26756. ],
  26757. "annotations": {
  26758. "list": [
  26759. ]
  26760. },
  26761. "editable": false,
  26762. "gnetId": null,
  26763. "graphTooltip": 1,
  26764. "hideControls": false,
  26765. "id": null,
  26766. "links": [
  26767. ],
  26768. "refresh": "30s",
  26769. "rows": [
  26770. {
  26771. "collapse": false,
  26772. "collapsed": false,
  26773. "panels": [
  26774. {
  26775. "aliasColors": {
  26776. },
  26777. "bars": false,
  26778. "dashLength": 10,
  26779. "dashes": false,
  26780. "datasource": "$datasource",
  26781. "fill": 10,
  26782. "fillGradient": 0,
  26783. "gridPos": {
  26784. },
  26785. "id": 2,
  26786. "legend": {
  26787. "alignAsTable": false,
  26788. "avg": false,
  26789. "current": false,
  26790. "max": false,
  26791. "min": false,
  26792. "rightSide": false,
  26793. "show": false,
  26794. "sideWidth": null,
  26795. "total": false,
  26796. "values": false
  26797. },
  26798. "lines": true,
  26799. "linewidth": 1,
  26800. "links": [
  26801. ],
  26802. "nullPointMode": "null",
  26803. "percentage": false,
  26804. "pointradius": 5,
  26805. "points": false,
  26806. "renderer": "flot",
  26807. "repeat": null,
  26808. "seriesOverrides": [
  26809. ],
  26810. "spaceLength": 10,
  26811. "span": 6,
  26812. "stack": true,
  26813. "steppedLine": false,
  26814. "targets": [
  26815. {
  26816. "expr": "((\n instance:node_cpu_utilisation:rate5m{job=\"node-exporter\", cluster=\"$cluster\"}\n *\n instance:node_num_cpu:sum{job=\"node-exporter\", cluster=\"$cluster\"}\n) != 0 )\n/ scalar(sum(instance:node_num_cpu:sum{job=\"node-exporter\", cluster=\"$cluster\"}))\n",
  26817. "format": "time_series",
  26818. "intervalFactor": 2,
  26819. "legendFormat": "{{ instance }}",
  26820. "refId": "A"
  26821. }
  26822. ],
  26823. "thresholds": [
  26824. ],
  26825. "timeFrom": null,
  26826. "timeShift": null,
  26827. "title": "CPU Utilisation",
  26828. "tooltip": {
  26829. "shared": true,
  26830. "sort": 2,
  26831. "value_type": "individual"
  26832. },
  26833. "type": "graph",
  26834. "xaxis": {
  26835. "buckets": null,
  26836. "mode": "time",
  26837. "name": null,
  26838. "show": true,
  26839. "values": [
  26840. ]
  26841. },
  26842. "yaxes": [
  26843. {
  26844. "format": "percentunit",
  26845. "label": null,
  26846. "logBase": 1,
  26847. "max": null,
  26848. "min": null,
  26849. "show": true
  26850. },
  26851. {
  26852. "format": "percentunit",
  26853. "label": null,
  26854. "logBase": 1,
  26855. "max": null,
  26856. "min": null,
  26857. "show": true
  26858. }
  26859. ]
  26860. },
  26861. {
  26862. "aliasColors": {
  26863. },
  26864. "bars": false,
  26865. "dashLength": 10,
  26866. "dashes": false,
  26867. "datasource": "$datasource",
  26868. "fill": 10,
  26869. "fillGradient": 0,
  26870. "gridPos": {
  26871. },
  26872. "id": 3,
  26873. "legend": {
  26874. "alignAsTable": false,
  26875. "avg": false,
  26876. "current": false,
  26877. "max": false,
  26878. "min": false,
  26879. "rightSide": false,
  26880. "show": false,
  26881. "sideWidth": null,
  26882. "total": false,
  26883. "values": false
  26884. },
  26885. "lines": true,
  26886. "linewidth": 1,
  26887. "links": [
  26888. ],
  26889. "nullPointMode": "null",
  26890. "percentage": false,
  26891. "pointradius": 5,
  26892. "points": false,
  26893. "renderer": "flot",
  26894. "repeat": null,
  26895. "seriesOverrides": [
  26896. ],
  26897. "spaceLength": 10,
  26898. "span": 6,
  26899. "stack": true,
  26900. "steppedLine": false,
  26901. "targets": [
  26902. {
  26903. "expr": "(\n instance:node_load1_per_cpu:ratio{job=\"node-exporter\", cluster=\"$cluster\"}\n / scalar(count(instance:node_load1_per_cpu:ratio{job=\"node-exporter\", cluster=\"$cluster\"}))\n) != 0\n",
  26904. "format": "time_series",
  26905. "intervalFactor": 2,
  26906. "legendFormat": "{{instance}}",
  26907. "refId": "A"
  26908. }
  26909. ],
  26910. "thresholds": [
  26911. ],
  26912. "timeFrom": null,
  26913. "timeShift": null,
  26914. "title": "CPU Saturation (Load1 per CPU)",
  26915. "tooltip": {
  26916. "shared": true,
  26917. "sort": 2,
  26918. "value_type": "individual"
  26919. },
  26920. "type": "graph",
  26921. "xaxis": {
  26922. "buckets": null,
  26923. "mode": "time",
  26924. "name": null,
  26925. "show": true,
  26926. "values": [
  26927. ]
  26928. },
  26929. "yaxes": [
  26930. {
  26931. "format": "percentunit",
  26932. "label": null,
  26933. "logBase": 1,
  26934. "max": null,
  26935. "min": null,
  26936. "show": true
  26937. },
  26938. {
  26939. "format": "percentunit",
  26940. "label": null,
  26941. "logBase": 1,
  26942. "max": null,
  26943. "min": null,
  26944. "show": true
  26945. }
  26946. ]
  26947. }
  26948. ],
  26949. "repeat": null,
  26950. "repeatIteration": null,
  26951. "repeatRowId": null,
  26952. "showTitle": true,
  26953. "title": "CPU",
  26954. "titleSize": "h6",
  26955. "type": "row"
  26956. },
  26957. {
  26958. "collapse": false,
  26959. "collapsed": false,
  26960. "panels": [
  26961. {
  26962. "aliasColors": {
  26963. },
  26964. "bars": false,
  26965. "dashLength": 10,
  26966. "dashes": false,
  26967. "datasource": "$datasource",
  26968. "fill": 10,
  26969. "fillGradient": 0,
  26970. "gridPos": {
  26971. },
  26972. "id": 4,
  26973. "legend": {
  26974. "alignAsTable": false,
  26975. "avg": false,
  26976. "current": false,
  26977. "max": false,
  26978. "min": false,
  26979. "rightSide": false,
  26980. "show": false,
  26981. "sideWidth": null,
  26982. "total": false,
  26983. "values": false
  26984. },
  26985. "lines": true,
  26986. "linewidth": 1,
  26987. "links": [
  26988. ],
  26989. "nullPointMode": "null",
  26990. "percentage": false,
  26991. "pointradius": 5,
  26992. "points": false,
  26993. "renderer": "flot",
  26994. "repeat": null,
  26995. "seriesOverrides": [
  26996. ],
  26997. "spaceLength": 10,
  26998. "span": 6,
  26999. "stack": true,
  27000. "steppedLine": false,
  27001. "targets": [
  27002. {
  27003. "expr": "(\n instance:node_memory_utilisation:ratio{job=\"node-exporter\", cluster=\"$cluster\"}\n / scalar(count(instance:node_memory_utilisation:ratio{job=\"node-exporter\", cluster=\"$cluster\"}))\n) != 0\n",
  27004. "format": "time_series",
  27005. "intervalFactor": 2,
  27006. "legendFormat": "{{instance}}",
  27007. "refId": "A"
  27008. }
  27009. ],
  27010. "thresholds": [
  27011. ],
  27012. "timeFrom": null,
  27013. "timeShift": null,
  27014. "title": "Memory Utilisation",
  27015. "tooltip": {
  27016. "shared": true,
  27017. "sort": 2,
  27018. "value_type": "individual"
  27019. },
  27020. "type": "graph",
  27021. "xaxis": {
  27022. "buckets": null,
  27023. "mode": "time",
  27024. "name": null,
  27025. "show": true,
  27026. "values": [
  27027. ]
  27028. },
  27029. "yaxes": [
  27030. {
  27031. "format": "percentunit",
  27032. "label": null,
  27033. "logBase": 1,
  27034. "max": null,
  27035. "min": null,
  27036. "show": true
  27037. },
  27038. {
  27039. "format": "percentunit",
  27040. "label": null,
  27041. "logBase": 1,
  27042. "max": null,
  27043. "min": null,
  27044. "show": true
  27045. }
  27046. ]
  27047. },
  27048. {
  27049. "aliasColors": {
  27050. },
  27051. "bars": false,
  27052. "dashLength": 10,
  27053. "dashes": false,
  27054. "datasource": "$datasource",
  27055. "fill": 10,
  27056. "fillGradient": 0,
  27057. "gridPos": {
  27058. },
  27059. "id": 5,
  27060. "legend": {
  27061. "alignAsTable": false,
  27062. "avg": false,
  27063. "current": false,
  27064. "max": false,
  27065. "min": false,
  27066. "rightSide": false,
  27067. "show": false,
  27068. "sideWidth": null,
  27069. "total": false,
  27070. "values": false
  27071. },
  27072. "lines": true,
  27073. "linewidth": 1,
  27074. "links": [
  27075. ],
  27076. "nullPointMode": "null",
  27077. "percentage": false,
  27078. "pointradius": 5,
  27079. "points": false,
  27080. "renderer": "flot",
  27081. "repeat": null,
  27082. "seriesOverrides": [
  27083. ],
  27084. "spaceLength": 10,
  27085. "span": 6,
  27086. "stack": true,
  27087. "steppedLine": false,
  27088. "targets": [
  27089. {
  27090. "expr": "instance:node_vmstat_pgmajfault:rate5m{job=\"node-exporter\", cluster=\"$cluster\"}",
  27091. "format": "time_series",
  27092. "intervalFactor": 2,
  27093. "legendFormat": "{{instance}}",
  27094. "refId": "A"
  27095. }
  27096. ],
  27097. "thresholds": [
  27098. ],
  27099. "timeFrom": null,
  27100. "timeShift": null,
  27101. "title": "Memory Saturation (Major Page Faults)",
  27102. "tooltip": {
  27103. "shared": true,
  27104. "sort": 2,
  27105. "value_type": "individual"
  27106. },
  27107. "type": "graph",
  27108. "xaxis": {
  27109. "buckets": null,
  27110. "mode": "time",
  27111. "name": null,
  27112. "show": true,
  27113. "values": [
  27114. ]
  27115. },
  27116. "yaxes": [
  27117. {
  27118. "format": "rds",
  27119. "label": null,
  27120. "logBase": 1,
  27121. "max": null,
  27122. "min": null,
  27123. "show": true
  27124. },
  27125. {
  27126. "format": "rds",
  27127. "label": null,
  27128. "logBase": 1,
  27129. "max": null,
  27130. "min": null,
  27131. "show": true
  27132. }
  27133. ]
  27134. }
  27135. ],
  27136. "repeat": null,
  27137. "repeatIteration": null,
  27138. "repeatRowId": null,
  27139. "showTitle": true,
  27140. "title": "Memory",
  27141. "titleSize": "h6",
  27142. "type": "row"
  27143. },
  27144. {
  27145. "collapse": false,
  27146. "collapsed": false,
  27147. "panels": [
  27148. {
  27149. "aliasColors": {
  27150. },
  27151. "bars": false,
  27152. "dashLength": 10,
  27153. "dashes": false,
  27154. "datasource": "$datasource",
  27155. "fill": 10,
  27156. "fillGradient": 0,
  27157. "gridPos": {
  27158. },
  27159. "id": 6,
  27160. "legend": {
  27161. "alignAsTable": false,
  27162. "avg": false,
  27163. "current": false,
  27164. "max": false,
  27165. "min": false,
  27166. "rightSide": false,
  27167. "show": false,
  27168. "sideWidth": null,
  27169. "total": false,
  27170. "values": false
  27171. },
  27172. "lines": true,
  27173. "linewidth": 1,
  27174. "links": [
  27175. ],
  27176. "nullPointMode": "null",
  27177. "percentage": false,
  27178. "pointradius": 5,
  27179. "points": false,
  27180. "renderer": "flot",
  27181. "repeat": null,
  27182. "seriesOverrides": [
  27183. {
  27184. "alias": "/Receive/",
  27185. "stack": "A"
  27186. },
  27187. {
  27188. "alias": "/Transmit/",
  27189. "stack": "B",
  27190. "transform": "negative-Y"
  27191. }
  27192. ],
  27193. "spaceLength": 10,
  27194. "span": 6,
  27195. "stack": true,
  27196. "steppedLine": false,
  27197. "targets": [
  27198. {
  27199. "expr": "instance:node_network_receive_bytes_excluding_lo:rate5m{job=\"node-exporter\", cluster=\"$cluster\"} != 0",
  27200. "format": "time_series",
  27201. "intervalFactor": 2,
  27202. "legendFormat": "{{instance}} Receive",
  27203. "refId": "A"
  27204. },
  27205. {
  27206. "expr": "instance:node_network_transmit_bytes_excluding_lo:rate5m{job=\"node-exporter\", cluster=\"$cluster\"} != 0",
  27207. "format": "time_series",
  27208. "intervalFactor": 2,
  27209. "legendFormat": "{{instance}} Transmit",
  27210. "refId": "B"
  27211. }
  27212. ],
  27213. "thresholds": [
  27214. ],
  27215. "timeFrom": null,
  27216. "timeShift": null,
  27217. "title": "Network Utilisation (Bytes Receive/Transmit)",
  27218. "tooltip": {
  27219. "shared": true,
  27220. "sort": 2,
  27221. "value_type": "individual"
  27222. },
  27223. "type": "graph",
  27224. "xaxis": {
  27225. "buckets": null,
  27226. "mode": "time",
  27227. "name": null,
  27228. "show": true,
  27229. "values": [
  27230. ]
  27231. },
  27232. "yaxes": [
  27233. {
  27234. "format": "Bps",
  27235. "label": null,
  27236. "logBase": 1,
  27237. "max": null,
  27238. "min": null,
  27239. "show": true
  27240. },
  27241. {
  27242. "format": "Bps",
  27243. "label": null,
  27244. "logBase": 1,
  27245. "max": null,
  27246. "min": null,
  27247. "show": true
  27248. }
  27249. ]
  27250. },
  27251. {
  27252. "aliasColors": {
  27253. },
  27254. "bars": false,
  27255. "dashLength": 10,
  27256. "dashes": false,
  27257. "datasource": "$datasource",
  27258. "fill": 10,
  27259. "fillGradient": 0,
  27260. "gridPos": {
  27261. },
  27262. "id": 7,
  27263. "legend": {
  27264. "alignAsTable": false,
  27265. "avg": false,
  27266. "current": false,
  27267. "max": false,
  27268. "min": false,
  27269. "rightSide": false,
  27270. "show": false,
  27271. "sideWidth": null,
  27272. "total": false,
  27273. "values": false
  27274. },
  27275. "lines": true,
  27276. "linewidth": 1,
  27277. "links": [
  27278. ],
  27279. "nullPointMode": "null",
  27280. "percentage": false,
  27281. "pointradius": 5,
  27282. "points": false,
  27283. "renderer": "flot",
  27284. "repeat": null,
  27285. "seriesOverrides": [
  27286. {
  27287. "alias": "/ Receive/",
  27288. "stack": "A"
  27289. },
  27290. {
  27291. "alias": "/ Transmit/",
  27292. "stack": "B",
  27293. "transform": "negative-Y"
  27294. }
  27295. ],
  27296. "spaceLength": 10,
  27297. "span": 6,
  27298. "stack": true,
  27299. "steppedLine": false,
  27300. "targets": [
  27301. {
  27302. "expr": "instance:node_network_receive_drop_excluding_lo:rate5m{job=\"node-exporter\", cluster=\"$cluster\"} != 0",
  27303. "format": "time_series",
  27304. "intervalFactor": 2,
  27305. "legendFormat": "{{instance}} Receive",
  27306. "refId": "A"
  27307. },
  27308. {
  27309. "expr": "instance:node_network_transmit_drop_excluding_lo:rate5m{job=\"node-exporter\", cluster=\"$cluster\"} != 0",
  27310. "format": "time_series",
  27311. "intervalFactor": 2,
  27312. "legendFormat": "{{instance}} Transmit",
  27313. "refId": "B"
  27314. }
  27315. ],
  27316. "thresholds": [
  27317. ],
  27318. "timeFrom": null,
  27319. "timeShift": null,
  27320. "title": "Network Saturation (Drops Receive/Transmit)",
  27321. "tooltip": {
  27322. "shared": true,
  27323. "sort": 2,
  27324. "value_type": "individual"
  27325. },
  27326. "type": "graph",
  27327. "xaxis": {
  27328. "buckets": null,
  27329. "mode": "time",
  27330. "name": null,
  27331. "show": true,
  27332. "values": [
  27333. ]
  27334. },
  27335. "yaxes": [
  27336. {
  27337. "format": "Bps",
  27338. "label": null,
  27339. "logBase": 1,
  27340. "max": null,
  27341. "min": null,
  27342. "show": true
  27343. },
  27344. {
  27345. "format": "Bps",
  27346. "label": null,
  27347. "logBase": 1,
  27348. "max": null,
  27349. "min": null,
  27350. "show": true
  27351. }
  27352. ]
  27353. }
  27354. ],
  27355. "repeat": null,
  27356. "repeatIteration": null,
  27357. "repeatRowId": null,
  27358. "showTitle": true,
  27359. "title": "Network",
  27360. "titleSize": "h6",
  27361. "type": "row"
  27362. },
  27363. {
  27364. "collapse": false,
  27365. "collapsed": false,
  27366. "panels": [
  27367. {
  27368. "aliasColors": {
  27369. },
  27370. "bars": false,
  27371. "dashLength": 10,
  27372. "dashes": false,
  27373. "datasource": "$datasource",
  27374. "fill": 10,
  27375. "fillGradient": 0,
  27376. "gridPos": {
  27377. },
  27378. "id": 8,
  27379. "legend": {
  27380. "alignAsTable": false,
  27381. "avg": false,
  27382. "current": false,
  27383. "max": false,
  27384. "min": false,
  27385. "rightSide": false,
  27386. "show": false,
  27387. "sideWidth": null,
  27388. "total": false,
  27389. "values": false
  27390. },
  27391. "lines": true,
  27392. "linewidth": 1,
  27393. "links": [
  27394. ],
  27395. "nullPointMode": "null",
  27396. "percentage": false,
  27397. "pointradius": 5,
  27398. "points": false,
  27399. "renderer": "flot",
  27400. "repeat": null,
  27401. "seriesOverrides": [
  27402. ],
  27403. "spaceLength": 10,
  27404. "span": 6,
  27405. "stack": true,
  27406. "steppedLine": false,
  27407. "targets": [
  27408. {
  27409. "expr": "(\n instance_device:node_disk_io_time_seconds:rate5m{job=\"node-exporter\", cluster=\"$cluster\"}\n / scalar(count(instance_device:node_disk_io_time_seconds:rate5m{job=\"node-exporter\", cluster=\"$cluster\"}))\n) != 0\n",
  27410. "format": "time_series",
  27411. "intervalFactor": 2,
  27412. "legendFormat": "{{instance}} {{device}}",
  27413. "refId": "A"
  27414. }
  27415. ],
  27416. "thresholds": [
  27417. ],
  27418. "timeFrom": null,
  27419. "timeShift": null,
  27420. "title": "Disk IO Utilisation",
  27421. "tooltip": {
  27422. "shared": true,
  27423. "sort": 2,
  27424. "value_type": "individual"
  27425. },
  27426. "type": "graph",
  27427. "xaxis": {
  27428. "buckets": null,
  27429. "mode": "time",
  27430. "name": null,
  27431. "show": true,
  27432. "values": [
  27433. ]
  27434. },
  27435. "yaxes": [
  27436. {
  27437. "format": "percentunit",
  27438. "label": null,
  27439. "logBase": 1,
  27440. "max": null,
  27441. "min": null,
  27442. "show": true
  27443. },
  27444. {
  27445. "format": "percentunit",
  27446. "label": null,
  27447. "logBase": 1,
  27448. "max": null,
  27449. "min": null,
  27450. "show": true
  27451. }
  27452. ]
  27453. },
  27454. {
  27455. "aliasColors": {
  27456. },
  27457. "bars": false,
  27458. "dashLength": 10,
  27459. "dashes": false,
  27460. "datasource": "$datasource",
  27461. "fill": 10,
  27462. "fillGradient": 0,
  27463. "gridPos": {
  27464. },
  27465. "id": 9,
  27466. "legend": {
  27467. "alignAsTable": false,
  27468. "avg": false,
  27469. "current": false,
  27470. "max": false,
  27471. "min": false,
  27472. "rightSide": false,
  27473. "show": false,
  27474. "sideWidth": null,
  27475. "total": false,
  27476. "values": false
  27477. },
  27478. "lines": true,
  27479. "linewidth": 1,
  27480. "links": [
  27481. ],
  27482. "nullPointMode": "null",
  27483. "percentage": false,
  27484. "pointradius": 5,
  27485. "points": false,
  27486. "renderer": "flot",
  27487. "repeat": null,
  27488. "seriesOverrides": [
  27489. ],
  27490. "spaceLength": 10,
  27491. "span": 6,
  27492. "stack": true,
  27493. "steppedLine": false,
  27494. "targets": [
  27495. {
  27496. "expr": "(\n instance_device:node_disk_io_time_weighted_seconds:rate5m{job=\"node-exporter\", cluster=\"$cluster\"}\n / scalar(count(instance_device:node_disk_io_time_weighted_seconds:rate5m{job=\"node-exporter\", cluster=\"$cluster\"}))\n) != 0\n",
  27497. "format": "time_series",
  27498. "intervalFactor": 2,
  27499. "legendFormat": "{{instance}} {{device}}",
  27500. "refId": "A"
  27501. }
  27502. ],
  27503. "thresholds": [
  27504. ],
  27505. "timeFrom": null,
  27506. "timeShift": null,
  27507. "title": "Disk IO Saturation",
  27508. "tooltip": {
  27509. "shared": true,
  27510. "sort": 2,
  27511. "value_type": "individual"
  27512. },
  27513. "type": "graph",
  27514. "xaxis": {
  27515. "buckets": null,
  27516. "mode": "time",
  27517. "name": null,
  27518. "show": true,
  27519. "values": [
  27520. ]
  27521. },
  27522. "yaxes": [
  27523. {
  27524. "format": "percentunit",
  27525. "label": null,
  27526. "logBase": 1,
  27527. "max": null,
  27528. "min": null,
  27529. "show": true
  27530. },
  27531. {
  27532. "format": "percentunit",
  27533. "label": null,
  27534. "logBase": 1,
  27535. "max": null,
  27536. "min": null,
  27537. "show": true
  27538. }
  27539. ]
  27540. }
  27541. ],
  27542. "repeat": null,
  27543. "repeatIteration": null,
  27544. "repeatRowId": null,
  27545. "showTitle": true,
  27546. "title": "Disk IO",
  27547. "titleSize": "h6",
  27548. "type": "row"
  27549. },
  27550. {
  27551. "collapse": false,
  27552. "collapsed": false,
  27553. "panels": [
  27554. {
  27555. "aliasColors": {
  27556. },
  27557. "bars": false,
  27558. "dashLength": 10,
  27559. "dashes": false,
  27560. "datasource": "$datasource",
  27561. "fill": 10,
  27562. "fillGradient": 0,
  27563. "gridPos": {
  27564. },
  27565. "id": 10,
  27566. "legend": {
  27567. "alignAsTable": false,
  27568. "avg": false,
  27569. "current": false,
  27570. "max": false,
  27571. "min": false,
  27572. "rightSide": false,
  27573. "show": false,
  27574. "sideWidth": null,
  27575. "total": false,
  27576. "values": false
  27577. },
  27578. "lines": true,
  27579. "linewidth": 1,
  27580. "links": [
  27581. ],
  27582. "nullPointMode": "null",
  27583. "percentage": false,
  27584. "pointradius": 5,
  27585. "points": false,
  27586. "renderer": "flot",
  27587. "repeat": null,
  27588. "seriesOverrides": [
  27589. ],
  27590. "spaceLength": 10,
  27591. "span": 12,
  27592. "stack": true,
  27593. "steppedLine": false,
  27594. "targets": [
  27595. {
  27596. "expr": "sum without (device) (\n max without (fstype, mountpoint) ((\n node_filesystem_size_bytes{job=\"node-exporter\", fstype!=\"\", mountpoint!=\"\", cluster=\"$cluster\"}\n -\n node_filesystem_avail_bytes{job=\"node-exporter\", fstype!=\"\", mountpoint!=\"\", cluster=\"$cluster\"}\n ) != 0)\n)\n/ scalar(sum(max without (fstype, mountpoint) (node_filesystem_size_bytes{job=\"node-exporter\", fstype!=\"\", mountpoint!=\"\", cluster=\"$cluster\"})))\n",
  27597. "format": "time_series",
  27598. "intervalFactor": 2,
  27599. "legendFormat": "{{instance}}",
  27600. "refId": "A"
  27601. }
  27602. ],
  27603. "thresholds": [
  27604. ],
  27605. "timeFrom": null,
  27606. "timeShift": null,
  27607. "title": "Disk Space Utilisation",
  27608. "tooltip": {
  27609. "shared": true,
  27610. "sort": 2,
  27611. "value_type": "individual"
  27612. },
  27613. "type": "graph",
  27614. "xaxis": {
  27615. "buckets": null,
  27616. "mode": "time",
  27617. "name": null,
  27618. "show": true,
  27619. "values": [
  27620. ]
  27621. },
  27622. "yaxes": [
  27623. {
  27624. "format": "percentunit",
  27625. "label": null,
  27626. "logBase": 1,
  27627. "max": null,
  27628. "min": null,
  27629. "show": true
  27630. },
  27631. {
  27632. "format": "percentunit",
  27633. "label": null,
  27634. "logBase": 1,
  27635. "max": null,
  27636. "min": null,
  27637. "show": true
  27638. }
  27639. ]
  27640. }
  27641. ],
  27642. "repeat": null,
  27643. "repeatIteration": null,
  27644. "repeatRowId": null,
  27645. "showTitle": true,
  27646. "title": "Disk Space",
  27647. "titleSize": "h6",
  27648. "type": "row"
  27649. }
  27650. ],
  27651. "schemaVersion": 14,
  27652. "style": "dark",
  27653. "tags": [
  27654. "node-exporter-mixin"
  27655. ],
  27656. "templating": {
  27657. "list": [
  27658. {
  27659. "current": {
  27660. "text": "default",
  27661. "value": "default"
  27662. },
  27663. "hide": 0,
  27664. "label": "Data Source",
  27665. "name": "datasource",
  27666. "options": [
  27667. ],
  27668. "query": "prometheus",
  27669. "refresh": 1,
  27670. "regex": "",
  27671. "type": "datasource"
  27672. },
  27673. {
  27674. "allValue": null,
  27675. "current": {
  27676. "text": "",
  27677. "value": ""
  27678. },
  27679. "datasource": "$datasource",
  27680. "hide": 2,
  27681. "includeAll": false,
  27682. "label": null,
  27683. "multi": false,
  27684. "name": "cluster",
  27685. "options": [
  27686. ],
  27687. "query": "label_values(node_time_seconds, cluster)",
  27688. "refresh": 2,
  27689. "regex": "",
  27690. "sort": 1,
  27691. "tagValuesQuery": "",
  27692. "tags": [
  27693. ],
  27694. "tagsQuery": "",
  27695. "type": "query",
  27696. "useTags": false
  27697. }
  27698. ]
  27699. },
  27700. "time": {
  27701. "from": "now-1h",
  27702. "to": "now"
  27703. },
  27704. "timepicker": {
  27705. "refresh_intervals": [
  27706. "5s",
  27707. "10s",
  27708. "30s",
  27709. "1m",
  27710. "5m",
  27711. "15m",
  27712. "30m",
  27713. "1h",
  27714. "2h",
  27715. "1d"
  27716. ],
  27717. "time_options": [
  27718. "5m",
  27719. "15m",
  27720. "1h",
  27721. "6h",
  27722. "12h",
  27723. "24h",
  27724. "2d",
  27725. "7d",
  27726. "30d"
  27727. ]
  27728. },
  27729. "timezone": "utc",
  27730. "title": "Node Exporter / USE Method / Cluster",
  27731. "version": 0
  27732. }
  27733. ---
  27734. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/node-rsrc-use.yaml
  27735. apiVersion: v1
  27736. kind: ConfigMap
  27737. metadata:
  27738. namespace: monitoring
  27739. name: prometheus-kube-prometheus-node-rsrc-use
  27740. annotations:
  27741. {}
  27742. labels:
  27743. grafana_dashboard: "1"
  27744. app: kube-prometheus-stack-grafana
  27745. app.kubernetes.io/managed-by: Helm
  27746. app.kubernetes.io/instance: prometheus
  27747. app.kubernetes.io/version: "44.3.0"
  27748. app.kubernetes.io/part-of: kube-prometheus-stack
  27749. chart: kube-prometheus-stack-44.3.0
  27750. release: "prometheus"
  27751. heritage: "Helm"
  27752. data:
  27753. node-rsrc-use.json: |-
  27754. {
  27755. "__inputs": [
  27756. ],
  27757. "__requires": [
  27758. ],
  27759. "annotations": {
  27760. "list": [
  27761. ]
  27762. },
  27763. "editable": false,
  27764. "gnetId": null,
  27765. "graphTooltip": 1,
  27766. "hideControls": false,
  27767. "id": null,
  27768. "links": [
  27769. ],
  27770. "refresh": "30s",
  27771. "rows": [
  27772. {
  27773. "collapse": false,
  27774. "collapsed": false,
  27775. "panels": [
  27776. {
  27777. "aliasColors": {
  27778. },
  27779. "bars": false,
  27780. "dashLength": 10,
  27781. "dashes": false,
  27782. "datasource": "$datasource",
  27783. "fill": 10,
  27784. "fillGradient": 0,
  27785. "gridPos": {
  27786. },
  27787. "id": 2,
  27788. "legend": {
  27789. "alignAsTable": false,
  27790. "avg": false,
  27791. "current": false,
  27792. "max": false,
  27793. "min": false,
  27794. "rightSide": false,
  27795. "show": false,
  27796. "sideWidth": null,
  27797. "total": false,
  27798. "values": false
  27799. },
  27800. "lines": true,
  27801. "linewidth": 1,
  27802. "links": [
  27803. ],
  27804. "nullPointMode": "null",
  27805. "percentage": false,
  27806. "pointradius": 5,
  27807. "points": false,
  27808. "renderer": "flot",
  27809. "repeat": null,
  27810. "seriesOverrides": [
  27811. ],
  27812. "spaceLength": 10,
  27813. "span": 6,
  27814. "stack": true,
  27815. "steppedLine": false,
  27816. "targets": [
  27817. {
  27818. "expr": "instance:node_cpu_utilisation:rate5m{job=\"node-exporter\", instance=\"$instance\", cluster=\"$cluster\"} != 0",
  27819. "format": "time_series",
  27820. "intervalFactor": 2,
  27821. "legendFormat": "Utilisation",
  27822. "refId": "A"
  27823. }
  27824. ],
  27825. "thresholds": [
  27826. ],
  27827. "timeFrom": null,
  27828. "timeShift": null,
  27829. "title": "CPU Utilisation",
  27830. "tooltip": {
  27831. "shared": true,
  27832. "sort": 2,
  27833. "value_type": "individual"
  27834. },
  27835. "type": "graph",
  27836. "xaxis": {
  27837. "buckets": null,
  27838. "mode": "time",
  27839. "name": null,
  27840. "show": true,
  27841. "values": [
  27842. ]
  27843. },
  27844. "yaxes": [
  27845. {
  27846. "format": "percentunit",
  27847. "label": null,
  27848. "logBase": 1,
  27849. "max": null,
  27850. "min": null,
  27851. "show": true
  27852. },
  27853. {
  27854. "format": "percentunit",
  27855. "label": null,
  27856. "logBase": 1,
  27857. "max": null,
  27858. "min": null,
  27859. "show": true
  27860. }
  27861. ]
  27862. },
  27863. {
  27864. "aliasColors": {
  27865. },
  27866. "bars": false,
  27867. "dashLength": 10,
  27868. "dashes": false,
  27869. "datasource": "$datasource",
  27870. "fill": 10,
  27871. "fillGradient": 0,
  27872. "gridPos": {
  27873. },
  27874. "id": 3,
  27875. "legend": {
  27876. "alignAsTable": false,
  27877. "avg": false,
  27878. "current": false,
  27879. "max": false,
  27880. "min": false,
  27881. "rightSide": false,
  27882. "show": false,
  27883. "sideWidth": null,
  27884. "total": false,
  27885. "values": false
  27886. },
  27887. "lines": true,
  27888. "linewidth": 1,
  27889. "links": [
  27890. ],
  27891. "nullPointMode": "null",
  27892. "percentage": false,
  27893. "pointradius": 5,
  27894. "points": false,
  27895. "renderer": "flot",
  27896. "repeat": null,
  27897. "seriesOverrides": [
  27898. ],
  27899. "spaceLength": 10,
  27900. "span": 6,
  27901. "stack": true,
  27902. "steppedLine": false,
  27903. "targets": [
  27904. {
  27905. "expr": "instance:node_load1_per_cpu:ratio{job=\"node-exporter\", instance=\"$instance\", cluster=\"$cluster\"} != 0",
  27906. "format": "time_series",
  27907. "intervalFactor": 2,
  27908. "legendFormat": "Saturation",
  27909. "refId": "A"
  27910. }
  27911. ],
  27912. "thresholds": [
  27913. ],
  27914. "timeFrom": null,
  27915. "timeShift": null,
  27916. "title": "CPU Saturation (Load1 per CPU)",
  27917. "tooltip": {
  27918. "shared": true,
  27919. "sort": 2,
  27920. "value_type": "individual"
  27921. },
  27922. "type": "graph",
  27923. "xaxis": {
  27924. "buckets": null,
  27925. "mode": "time",
  27926. "name": null,
  27927. "show": true,
  27928. "values": [
  27929. ]
  27930. },
  27931. "yaxes": [
  27932. {
  27933. "format": "percentunit",
  27934. "label": null,
  27935. "logBase": 1,
  27936. "max": null,
  27937. "min": null,
  27938. "show": true
  27939. },
  27940. {
  27941. "format": "percentunit",
  27942. "label": null,
  27943. "logBase": 1,
  27944. "max": null,
  27945. "min": null,
  27946. "show": true
  27947. }
  27948. ]
  27949. }
  27950. ],
  27951. "repeat": null,
  27952. "repeatIteration": null,
  27953. "repeatRowId": null,
  27954. "showTitle": true,
  27955. "title": "CPU",
  27956. "titleSize": "h6",
  27957. "type": "row"
  27958. },
  27959. {
  27960. "collapse": false,
  27961. "collapsed": false,
  27962. "panels": [
  27963. {
  27964. "aliasColors": {
  27965. },
  27966. "bars": false,
  27967. "dashLength": 10,
  27968. "dashes": false,
  27969. "datasource": "$datasource",
  27970. "fill": 10,
  27971. "fillGradient": 0,
  27972. "gridPos": {
  27973. },
  27974. "id": 4,
  27975. "legend": {
  27976. "alignAsTable": false,
  27977. "avg": false,
  27978. "current": false,
  27979. "max": false,
  27980. "min": false,
  27981. "rightSide": false,
  27982. "show": false,
  27983. "sideWidth": null,
  27984. "total": false,
  27985. "values": false
  27986. },
  27987. "lines": true,
  27988. "linewidth": 1,
  27989. "links": [
  27990. ],
  27991. "nullPointMode": "null",
  27992. "percentage": false,
  27993. "pointradius": 5,
  27994. "points": false,
  27995. "renderer": "flot",
  27996. "repeat": null,
  27997. "seriesOverrides": [
  27998. ],
  27999. "spaceLength": 10,
  28000. "span": 6,
  28001. "stack": true,
  28002. "steppedLine": false,
  28003. "targets": [
  28004. {
  28005. "expr": "instance:node_memory_utilisation:ratio{job=\"node-exporter\", instance=\"$instance\", cluster=\"$cluster\"} != 0",
  28006. "format": "time_series",
  28007. "intervalFactor": 2,
  28008. "legendFormat": "Utilisation",
  28009. "refId": "A"
  28010. }
  28011. ],
  28012. "thresholds": [
  28013. ],
  28014. "timeFrom": null,
  28015. "timeShift": null,
  28016. "title": "Memory Utilisation",
  28017. "tooltip": {
  28018. "shared": true,
  28019. "sort": 2,
  28020. "value_type": "individual"
  28021. },
  28022. "type": "graph",
  28023. "xaxis": {
  28024. "buckets": null,
  28025. "mode": "time",
  28026. "name": null,
  28027. "show": true,
  28028. "values": [
  28029. ]
  28030. },
  28031. "yaxes": [
  28032. {
  28033. "format": "percentunit",
  28034. "label": null,
  28035. "logBase": 1,
  28036. "max": null,
  28037. "min": null,
  28038. "show": true
  28039. },
  28040. {
  28041. "format": "percentunit",
  28042. "label": null,
  28043. "logBase": 1,
  28044. "max": null,
  28045. "min": null,
  28046. "show": true
  28047. }
  28048. ]
  28049. },
  28050. {
  28051. "aliasColors": {
  28052. },
  28053. "bars": false,
  28054. "dashLength": 10,
  28055. "dashes": false,
  28056. "datasource": "$datasource",
  28057. "fill": 10,
  28058. "fillGradient": 0,
  28059. "gridPos": {
  28060. },
  28061. "id": 5,
  28062. "legend": {
  28063. "alignAsTable": false,
  28064. "avg": false,
  28065. "current": false,
  28066. "max": false,
  28067. "min": false,
  28068. "rightSide": false,
  28069. "show": false,
  28070. "sideWidth": null,
  28071. "total": false,
  28072. "values": false
  28073. },
  28074. "lines": true,
  28075. "linewidth": 1,
  28076. "links": [
  28077. ],
  28078. "nullPointMode": "null",
  28079. "percentage": false,
  28080. "pointradius": 5,
  28081. "points": false,
  28082. "renderer": "flot",
  28083. "repeat": null,
  28084. "seriesOverrides": [
  28085. ],
  28086. "spaceLength": 10,
  28087. "span": 6,
  28088. "stack": true,
  28089. "steppedLine": false,
  28090. "targets": [
  28091. {
  28092. "expr": "instance:node_vmstat_pgmajfault:rate5m{job=\"node-exporter\", instance=\"$instance\", cluster=\"$cluster\"} != 0",
  28093. "format": "time_series",
  28094. "intervalFactor": 2,
  28095. "legendFormat": "Major page Faults",
  28096. "refId": "A"
  28097. }
  28098. ],
  28099. "thresholds": [
  28100. ],
  28101. "timeFrom": null,
  28102. "timeShift": null,
  28103. "title": "Memory Saturation (Major Page Faults)",
  28104. "tooltip": {
  28105. "shared": true,
  28106. "sort": 2,
  28107. "value_type": "individual"
  28108. },
  28109. "type": "graph",
  28110. "xaxis": {
  28111. "buckets": null,
  28112. "mode": "time",
  28113. "name": null,
  28114. "show": true,
  28115. "values": [
  28116. ]
  28117. },
  28118. "yaxes": [
  28119. {
  28120. "format": "rds",
  28121. "label": null,
  28122. "logBase": 1,
  28123. "max": null,
  28124. "min": null,
  28125. "show": true
  28126. },
  28127. {
  28128. "format": "rds",
  28129. "label": null,
  28130. "logBase": 1,
  28131. "max": null,
  28132. "min": null,
  28133. "show": true
  28134. }
  28135. ]
  28136. }
  28137. ],
  28138. "repeat": null,
  28139. "repeatIteration": null,
  28140. "repeatRowId": null,
  28141. "showTitle": true,
  28142. "title": "Memory",
  28143. "titleSize": "h6",
  28144. "type": "row"
  28145. },
  28146. {
  28147. "collapse": false,
  28148. "collapsed": false,
  28149. "panels": [
  28150. {
  28151. "aliasColors": {
  28152. },
  28153. "bars": false,
  28154. "dashLength": 10,
  28155. "dashes": false,
  28156. "datasource": "$datasource",
  28157. "fill": 10,
  28158. "fillGradient": 0,
  28159. "gridPos": {
  28160. },
  28161. "id": 6,
  28162. "legend": {
  28163. "alignAsTable": false,
  28164. "avg": false,
  28165. "current": false,
  28166. "max": false,
  28167. "min": false,
  28168. "rightSide": false,
  28169. "show": false,
  28170. "sideWidth": null,
  28171. "total": false,
  28172. "values": false
  28173. },
  28174. "lines": true,
  28175. "linewidth": 1,
  28176. "links": [
  28177. ],
  28178. "nullPointMode": "null",
  28179. "percentage": false,
  28180. "pointradius": 5,
  28181. "points": false,
  28182. "renderer": "flot",
  28183. "repeat": null,
  28184. "seriesOverrides": [
  28185. {
  28186. "alias": "/Receive/",
  28187. "stack": "A"
  28188. },
  28189. {
  28190. "alias": "/Transmit/",
  28191. "stack": "B",
  28192. "transform": "negative-Y"
  28193. }
  28194. ],
  28195. "spaceLength": 10,
  28196. "span": 6,
  28197. "stack": true,
  28198. "steppedLine": false,
  28199. "targets": [
  28200. {
  28201. "expr": "instance:node_network_receive_bytes_excluding_lo:rate5m{job=\"node-exporter\", instance=\"$instance\", cluster=\"$cluster\"} != 0",
  28202. "format": "time_series",
  28203. "intervalFactor": 2,
  28204. "legendFormat": "Receive",
  28205. "refId": "A"
  28206. },
  28207. {
  28208. "expr": "instance:node_network_transmit_bytes_excluding_lo:rate5m{job=\"node-exporter\", instance=\"$instance\", cluster=\"$cluster\"} != 0",
  28209. "format": "time_series",
  28210. "intervalFactor": 2,
  28211. "legendFormat": "Transmit",
  28212. "refId": "B"
  28213. }
  28214. ],
  28215. "thresholds": [
  28216. ],
  28217. "timeFrom": null,
  28218. "timeShift": null,
  28219. "title": "Network Utilisation (Bytes Receive/Transmit)",
  28220. "tooltip": {
  28221. "shared": true,
  28222. "sort": 2,
  28223. "value_type": "individual"
  28224. },
  28225. "type": "graph",
  28226. "xaxis": {
  28227. "buckets": null,
  28228. "mode": "time",
  28229. "name": null,
  28230. "show": true,
  28231. "values": [
  28232. ]
  28233. },
  28234. "yaxes": [
  28235. {
  28236. "format": "Bps",
  28237. "label": null,
  28238. "logBase": 1,
  28239. "max": null,
  28240. "min": null,
  28241. "show": true
  28242. },
  28243. {
  28244. "format": "Bps",
  28245. "label": null,
  28246. "logBase": 1,
  28247. "max": null,
  28248. "min": null,
  28249. "show": true
  28250. }
  28251. ]
  28252. },
  28253. {
  28254. "aliasColors": {
  28255. },
  28256. "bars": false,
  28257. "dashLength": 10,
  28258. "dashes": false,
  28259. "datasource": "$datasource",
  28260. "fill": 10,
  28261. "fillGradient": 0,
  28262. "gridPos": {
  28263. },
  28264. "id": 7,
  28265. "legend": {
  28266. "alignAsTable": false,
  28267. "avg": false,
  28268. "current": false,
  28269. "max": false,
  28270. "min": false,
  28271. "rightSide": false,
  28272. "show": false,
  28273. "sideWidth": null,
  28274. "total": false,
  28275. "values": false
  28276. },
  28277. "lines": true,
  28278. "linewidth": 1,
  28279. "links": [
  28280. ],
  28281. "nullPointMode": "null",
  28282. "percentage": false,
  28283. "pointradius": 5,
  28284. "points": false,
  28285. "renderer": "flot",
  28286. "repeat": null,
  28287. "seriesOverrides": [
  28288. {
  28289. "alias": "/ Receive/",
  28290. "stack": "A"
  28291. },
  28292. {
  28293. "alias": "/ Transmit/",
  28294. "stack": "B",
  28295. "transform": "negative-Y"
  28296. }
  28297. ],
  28298. "spaceLength": 10,
  28299. "span": 6,
  28300. "stack": true,
  28301. "steppedLine": false,
  28302. "targets": [
  28303. {
  28304. "expr": "instance:node_network_receive_drop_excluding_lo:rate5m{job=\"node-exporter\", instance=\"$instance\", cluster=\"$cluster\"} != 0",
  28305. "format": "time_series",
  28306. "intervalFactor": 2,
  28307. "legendFormat": "Receive",
  28308. "refId": "A"
  28309. },
  28310. {
  28311. "expr": "instance:node_network_transmit_drop_excluding_lo:rate5m{job=\"node-exporter\", instance=\"$instance\", cluster=\"$cluster\"} != 0",
  28312. "format": "time_series",
  28313. "intervalFactor": 2,
  28314. "legendFormat": "Transmit",
  28315. "refId": "B"
  28316. }
  28317. ],
  28318. "thresholds": [
  28319. ],
  28320. "timeFrom": null,
  28321. "timeShift": null,
  28322. "title": "Network Saturation (Drops Receive/Transmit)",
  28323. "tooltip": {
  28324. "shared": true,
  28325. "sort": 2,
  28326. "value_type": "individual"
  28327. },
  28328. "type": "graph",
  28329. "xaxis": {
  28330. "buckets": null,
  28331. "mode": "time",
  28332. "name": null,
  28333. "show": true,
  28334. "values": [
  28335. ]
  28336. },
  28337. "yaxes": [
  28338. {
  28339. "format": "Bps",
  28340. "label": null,
  28341. "logBase": 1,
  28342. "max": null,
  28343. "min": null,
  28344. "show": true
  28345. },
  28346. {
  28347. "format": "Bps",
  28348. "label": null,
  28349. "logBase": 1,
  28350. "max": null,
  28351. "min": null,
  28352. "show": true
  28353. }
  28354. ]
  28355. }
  28356. ],
  28357. "repeat": null,
  28358. "repeatIteration": null,
  28359. "repeatRowId": null,
  28360. "showTitle": true,
  28361. "title": "Network",
  28362. "titleSize": "h6",
  28363. "type": "row"
  28364. },
  28365. {
  28366. "collapse": false,
  28367. "collapsed": false,
  28368. "panels": [
  28369. {
  28370. "aliasColors": {
  28371. },
  28372. "bars": false,
  28373. "dashLength": 10,
  28374. "dashes": false,
  28375. "datasource": "$datasource",
  28376. "fill": 10,
  28377. "fillGradient": 0,
  28378. "gridPos": {
  28379. },
  28380. "id": 8,
  28381. "legend": {
  28382. "alignAsTable": false,
  28383. "avg": false,
  28384. "current": false,
  28385. "max": false,
  28386. "min": false,
  28387. "rightSide": false,
  28388. "show": false,
  28389. "sideWidth": null,
  28390. "total": false,
  28391. "values": false
  28392. },
  28393. "lines": true,
  28394. "linewidth": 1,
  28395. "links": [
  28396. ],
  28397. "nullPointMode": "null",
  28398. "percentage": false,
  28399. "pointradius": 5,
  28400. "points": false,
  28401. "renderer": "flot",
  28402. "repeat": null,
  28403. "seriesOverrides": [
  28404. ],
  28405. "spaceLength": 10,
  28406. "span": 6,
  28407. "stack": true,
  28408. "steppedLine": false,
  28409. "targets": [
  28410. {
  28411. "expr": "instance_device:node_disk_io_time_seconds:rate5m{job=\"node-exporter\", instance=\"$instance\", cluster=\"$cluster\"} != 0",
  28412. "format": "time_series",
  28413. "intervalFactor": 2,
  28414. "legendFormat": "{{device}}",
  28415. "refId": "A"
  28416. }
  28417. ],
  28418. "thresholds": [
  28419. ],
  28420. "timeFrom": null,
  28421. "timeShift": null,
  28422. "title": "Disk IO Utilisation",
  28423. "tooltip": {
  28424. "shared": true,
  28425. "sort": 2,
  28426. "value_type": "individual"
  28427. },
  28428. "type": "graph",
  28429. "xaxis": {
  28430. "buckets": null,
  28431. "mode": "time",
  28432. "name": null,
  28433. "show": true,
  28434. "values": [
  28435. ]
  28436. },
  28437. "yaxes": [
  28438. {
  28439. "format": "percentunit",
  28440. "label": null,
  28441. "logBase": 1,
  28442. "max": null,
  28443. "min": null,
  28444. "show": true
  28445. },
  28446. {
  28447. "format": "percentunit",
  28448. "label": null,
  28449. "logBase": 1,
  28450. "max": null,
  28451. "min": null,
  28452. "show": true
  28453. }
  28454. ]
  28455. },
  28456. {
  28457. "aliasColors": {
  28458. },
  28459. "bars": false,
  28460. "dashLength": 10,
  28461. "dashes": false,
  28462. "datasource": "$datasource",
  28463. "fill": 10,
  28464. "fillGradient": 0,
  28465. "gridPos": {
  28466. },
  28467. "id": 9,
  28468. "legend": {
  28469. "alignAsTable": false,
  28470. "avg": false,
  28471. "current": false,
  28472. "max": false,
  28473. "min": false,
  28474. "rightSide": false,
  28475. "show": false,
  28476. "sideWidth": null,
  28477. "total": false,
  28478. "values": false
  28479. },
  28480. "lines": true,
  28481. "linewidth": 1,
  28482. "links": [
  28483. ],
  28484. "nullPointMode": "null",
  28485. "percentage": false,
  28486. "pointradius": 5,
  28487. "points": false,
  28488. "renderer": "flot",
  28489. "repeat": null,
  28490. "seriesOverrides": [
  28491. ],
  28492. "spaceLength": 10,
  28493. "span": 6,
  28494. "stack": true,
  28495. "steppedLine": false,
  28496. "targets": [
  28497. {
  28498. "expr": "instance_device:node_disk_io_time_weighted_seconds:rate5m{job=\"node-exporter\", instance=\"$instance\", cluster=\"$cluster\"} != 0",
  28499. "format": "time_series",
  28500. "intervalFactor": 2,
  28501. "legendFormat": "{{device}}",
  28502. "refId": "A"
  28503. }
  28504. ],
  28505. "thresholds": [
  28506. ],
  28507. "timeFrom": null,
  28508. "timeShift": null,
  28509. "title": "Disk IO Saturation",
  28510. "tooltip": {
  28511. "shared": true,
  28512. "sort": 2,
  28513. "value_type": "individual"
  28514. },
  28515. "type": "graph",
  28516. "xaxis": {
  28517. "buckets": null,
  28518. "mode": "time",
  28519. "name": null,
  28520. "show": true,
  28521. "values": [
  28522. ]
  28523. },
  28524. "yaxes": [
  28525. {
  28526. "format": "percentunit",
  28527. "label": null,
  28528. "logBase": 1,
  28529. "max": null,
  28530. "min": null,
  28531. "show": true
  28532. },
  28533. {
  28534. "format": "percentunit",
  28535. "label": null,
  28536. "logBase": 1,
  28537. "max": null,
  28538. "min": null,
  28539. "show": true
  28540. }
  28541. ]
  28542. }
  28543. ],
  28544. "repeat": null,
  28545. "repeatIteration": null,
  28546. "repeatRowId": null,
  28547. "showTitle": true,
  28548. "title": "Disk IO",
  28549. "titleSize": "h6",
  28550. "type": "row"
  28551. },
  28552. {
  28553. "collapse": false,
  28554. "collapsed": false,
  28555. "panels": [
  28556. {
  28557. "aliasColors": {
  28558. },
  28559. "bars": false,
  28560. "dashLength": 10,
  28561. "dashes": false,
  28562. "datasource": "$datasource",
  28563. "fill": 10,
  28564. "fillGradient": 0,
  28565. "gridPos": {
  28566. },
  28567. "id": 10,
  28568. "legend": {
  28569. "alignAsTable": false,
  28570. "avg": false,
  28571. "current": false,
  28572. "max": false,
  28573. "min": false,
  28574. "rightSide": false,
  28575. "show": false,
  28576. "sideWidth": null,
  28577. "total": false,
  28578. "values": false
  28579. },
  28580. "lines": true,
  28581. "linewidth": 1,
  28582. "links": [
  28583. ],
  28584. "nullPointMode": "null",
  28585. "percentage": false,
  28586. "pointradius": 5,
  28587. "points": false,
  28588. "renderer": "flot",
  28589. "repeat": null,
  28590. "seriesOverrides": [
  28591. ],
  28592. "spaceLength": 10,
  28593. "span": 12,
  28594. "stack": true,
  28595. "steppedLine": false,
  28596. "targets": [
  28597. {
  28598. "expr": "sort_desc(1 -\n (\n max without (mountpoint, fstype) (node_filesystem_avail_bytes{job=\"node-exporter\", fstype!=\"\", instance=\"$instance\", cluster=\"$cluster\"})\n /\n max without (mountpoint, fstype) (node_filesystem_size_bytes{job=\"node-exporter\", fstype!=\"\", instance=\"$instance\", cluster=\"$cluster\"})\n ) != 0\n)\n",
  28599. "format": "time_series",
  28600. "intervalFactor": 2,
  28601. "legendFormat": "{{device}}",
  28602. "refId": "A"
  28603. }
  28604. ],
  28605. "thresholds": [
  28606. ],
  28607. "timeFrom": null,
  28608. "timeShift": null,
  28609. "title": "Disk Space Utilisation",
  28610. "tooltip": {
  28611. "shared": true,
  28612. "sort": 2,
  28613. "value_type": "individual"
  28614. },
  28615. "type": "graph",
  28616. "xaxis": {
  28617. "buckets": null,
  28618. "mode": "time",
  28619. "name": null,
  28620. "show": true,
  28621. "values": [
  28622. ]
  28623. },
  28624. "yaxes": [
  28625. {
  28626. "format": "percentunit",
  28627. "label": null,
  28628. "logBase": 1,
  28629. "max": null,
  28630. "min": null,
  28631. "show": true
  28632. },
  28633. {
  28634. "format": "percentunit",
  28635. "label": null,
  28636. "logBase": 1,
  28637. "max": null,
  28638. "min": null,
  28639. "show": true
  28640. }
  28641. ]
  28642. }
  28643. ],
  28644. "repeat": null,
  28645. "repeatIteration": null,
  28646. "repeatRowId": null,
  28647. "showTitle": true,
  28648. "title": "Disk Space",
  28649. "titleSize": "h6",
  28650. "type": "row"
  28651. }
  28652. ],
  28653. "schemaVersion": 14,
  28654. "style": "dark",
  28655. "tags": [
  28656. "node-exporter-mixin"
  28657. ],
  28658. "templating": {
  28659. "list": [
  28660. {
  28661. "current": {
  28662. "text": "default",
  28663. "value": "default"
  28664. },
  28665. "hide": 0,
  28666. "label": "Data Source",
  28667. "name": "datasource",
  28668. "options": [
  28669. ],
  28670. "query": "prometheus",
  28671. "refresh": 1,
  28672. "regex": "",
  28673. "type": "datasource"
  28674. },
  28675. {
  28676. "allValue": null,
  28677. "current": {
  28678. "text": "",
  28679. "value": ""
  28680. },
  28681. "datasource": "$datasource",
  28682. "hide": 2,
  28683. "includeAll": false,
  28684. "label": null,
  28685. "multi": false,
  28686. "name": "cluster",
  28687. "options": [
  28688. ],
  28689. "query": "label_values(node_time_seconds, cluster)",
  28690. "refresh": 2,
  28691. "regex": "",
  28692. "sort": 1,
  28693. "tagValuesQuery": "",
  28694. "tags": [
  28695. ],
  28696. "tagsQuery": "",
  28697. "type": "query",
  28698. "useTags": false
  28699. },
  28700. {
  28701. "allValue": null,
  28702. "current": {
  28703. },
  28704. "datasource": "$datasource",
  28705. "hide": 0,
  28706. "includeAll": false,
  28707. "label": null,
  28708. "multi": false,
  28709. "name": "instance",
  28710. "options": [
  28711. ],
  28712. "query": "label_values(node_exporter_build_info{job=\"node-exporter\", cluster=\"$cluster\"}, instance)",
  28713. "refresh": 2,
  28714. "regex": "",
  28715. "sort": 1,
  28716. "tagValuesQuery": "",
  28717. "tags": [
  28718. ],
  28719. "tagsQuery": "",
  28720. "type": "query",
  28721. "useTags": false
  28722. }
  28723. ]
  28724. },
  28725. "time": {
  28726. "from": "now-1h",
  28727. "to": "now"
  28728. },
  28729. "timepicker": {
  28730. "refresh_intervals": [
  28731. "5s",
  28732. "10s",
  28733. "30s",
  28734. "1m",
  28735. "5m",
  28736. "15m",
  28737. "30m",
  28738. "1h",
  28739. "2h",
  28740. "1d"
  28741. ],
  28742. "time_options": [
  28743. "5m",
  28744. "15m",
  28745. "1h",
  28746. "6h",
  28747. "12h",
  28748. "24h",
  28749. "2d",
  28750. "7d",
  28751. "30d"
  28752. ]
  28753. },
  28754. "timezone": "utc",
  28755. "title": "Node Exporter / USE Method / Node",
  28756. "version": 0
  28757. }
  28758. ---
  28759. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/nodes-darwin.yaml
  28760. apiVersion: v1
  28761. kind: ConfigMap
  28762. metadata:
  28763. namespace: monitoring
  28764. name: prometheus-kube-prometheus-nodes-darwin
  28765. annotations:
  28766. {}
  28767. labels:
  28768. grafana_dashboard: "1"
  28769. app: kube-prometheus-stack-grafana
  28770. app.kubernetes.io/managed-by: Helm
  28771. app.kubernetes.io/instance: prometheus
  28772. app.kubernetes.io/version: "44.3.0"
  28773. app.kubernetes.io/part-of: kube-prometheus-stack
  28774. chart: kube-prometheus-stack-44.3.0
  28775. release: "prometheus"
  28776. heritage: "Helm"
  28777. data:
  28778. nodes-darwin.json: |-
  28779. {
  28780. "__inputs": [
  28781. ],
  28782. "__requires": [
  28783. ],
  28784. "annotations": {
  28785. "list": [
  28786. ]
  28787. },
  28788. "editable": false,
  28789. "gnetId": null,
  28790. "graphTooltip": 1,
  28791. "hideControls": false,
  28792. "id": null,
  28793. "links": [
  28794. ],
  28795. "refresh": "30s",
  28796. "rows": [
  28797. {
  28798. "collapse": false,
  28799. "collapsed": false,
  28800. "panels": [
  28801. {
  28802. "aliasColors": {
  28803. },
  28804. "bars": false,
  28805. "dashLength": 10,
  28806. "dashes": false,
  28807. "datasource": "$datasource",
  28808. "fill": 1,
  28809. "fillGradient": 0,
  28810. "gridPos": {
  28811. },
  28812. "id": 2,
  28813. "legend": {
  28814. "alignAsTable": false,
  28815. "avg": false,
  28816. "current": false,
  28817. "max": false,
  28818. "min": false,
  28819. "rightSide": false,
  28820. "show": true,
  28821. "sideWidth": null,
  28822. "total": false,
  28823. "values": false
  28824. },
  28825. "lines": true,
  28826. "linewidth": 1,
  28827. "links": [
  28828. ],
  28829. "nullPointMode": "null",
  28830. "percentage": false,
  28831. "pointradius": 5,
  28832. "points": false,
  28833. "renderer": "flot",
  28834. "repeat": null,
  28835. "seriesOverrides": [
  28836. ],
  28837. "spaceLength": 10,
  28838. "span": 6,
  28839. "stack": true,
  28840. "steppedLine": false,
  28841. "targets": [
  28842. {
  28843. "expr": "(\n (1 - sum without (mode) (rate(node_cpu_seconds_total{job=\"node-exporter\", mode=~\"idle|iowait|steal\", instance=\"$instance\"}[$__rate_interval])))\n/ ignoring(cpu) group_left\n count without (cpu, mode) (node_cpu_seconds_total{job=\"node-exporter\", mode=\"idle\", instance=\"$instance\"})\n)\n",
  28844. "format": "time_series",
  28845. "intervalFactor": 5,
  28846. "legendFormat": "{{cpu}}",
  28847. "refId": "A"
  28848. }
  28849. ],
  28850. "thresholds": [
  28851. ],
  28852. "timeFrom": null,
  28853. "timeShift": null,
  28854. "title": "CPU Usage",
  28855. "tooltip": {
  28856. "shared": true,
  28857. "sort": 0,
  28858. "value_type": "individual"
  28859. },
  28860. "type": "graph",
  28861. "xaxis": {
  28862. "buckets": null,
  28863. "mode": "time",
  28864. "name": null,
  28865. "show": true,
  28866. "values": [
  28867. ]
  28868. },
  28869. "yaxes": [
  28870. {
  28871. "format": "percentunit",
  28872. "label": null,
  28873. "logBase": 1,
  28874. "max": 1,
  28875. "min": 0,
  28876. "show": true
  28877. },
  28878. {
  28879. "format": "percentunit",
  28880. "label": null,
  28881. "logBase": 1,
  28882. "max": 1,
  28883. "min": 0,
  28884. "show": true
  28885. }
  28886. ]
  28887. },
  28888. {
  28889. "aliasColors": {
  28890. },
  28891. "bars": false,
  28892. "dashLength": 10,
  28893. "dashes": false,
  28894. "datasource": "$datasource",
  28895. "fill": 0,
  28896. "fillGradient": 0,
  28897. "gridPos": {
  28898. },
  28899. "id": 3,
  28900. "legend": {
  28901. "alignAsTable": false,
  28902. "avg": false,
  28903. "current": false,
  28904. "max": false,
  28905. "min": false,
  28906. "rightSide": false,
  28907. "show": true,
  28908. "sideWidth": null,
  28909. "total": false,
  28910. "values": false
  28911. },
  28912. "lines": true,
  28913. "linewidth": 1,
  28914. "links": [
  28915. ],
  28916. "nullPointMode": "null",
  28917. "percentage": false,
  28918. "pointradius": 5,
  28919. "points": false,
  28920. "renderer": "flot",
  28921. "repeat": null,
  28922. "seriesOverrides": [
  28923. ],
  28924. "spaceLength": 10,
  28925. "span": 6,
  28926. "stack": false,
  28927. "steppedLine": false,
  28928. "targets": [
  28929. {
  28930. "expr": "node_load1{job=\"node-exporter\", instance=\"$instance\"}",
  28931. "format": "time_series",
  28932. "intervalFactor": 2,
  28933. "legendFormat": "1m load average",
  28934. "refId": "A"
  28935. },
  28936. {
  28937. "expr": "node_load5{job=\"node-exporter\", instance=\"$instance\"}",
  28938. "format": "time_series",
  28939. "intervalFactor": 2,
  28940. "legendFormat": "5m load average",
  28941. "refId": "B"
  28942. },
  28943. {
  28944. "expr": "node_load15{job=\"node-exporter\", instance=\"$instance\"}",
  28945. "format": "time_series",
  28946. "intervalFactor": 2,
  28947. "legendFormat": "15m load average",
  28948. "refId": "C"
  28949. },
  28950. {
  28951. "expr": "count(node_cpu_seconds_total{job=\"node-exporter\", instance=\"$instance\", mode=\"idle\"})",
  28952. "format": "time_series",
  28953. "intervalFactor": 2,
  28954. "legendFormat": "logical cores",
  28955. "refId": "D"
  28956. }
  28957. ],
  28958. "thresholds": [
  28959. ],
  28960. "timeFrom": null,
  28961. "timeShift": null,
  28962. "title": "Load Average",
  28963. "tooltip": {
  28964. "shared": true,
  28965. "sort": 0,
  28966. "value_type": "individual"
  28967. },
  28968. "type": "graph",
  28969. "xaxis": {
  28970. "buckets": null,
  28971. "mode": "time",
  28972. "name": null,
  28973. "show": true,
  28974. "values": [
  28975. ]
  28976. },
  28977. "yaxes": [
  28978. {
  28979. "format": "short",
  28980. "label": null,
  28981. "logBase": 1,
  28982. "max": null,
  28983. "min": 0,
  28984. "show": true
  28985. },
  28986. {
  28987. "format": "short",
  28988. "label": null,
  28989. "logBase": 1,
  28990. "max": null,
  28991. "min": 0,
  28992. "show": true
  28993. }
  28994. ]
  28995. }
  28996. ],
  28997. "repeat": null,
  28998. "repeatIteration": null,
  28999. "repeatRowId": null,
  29000. "showTitle": true,
  29001. "title": "CPU",
  29002. "titleSize": "h6",
  29003. "type": "row"
  29004. },
  29005. {
  29006. "collapse": false,
  29007. "collapsed": false,
  29008. "panels": [
  29009. {
  29010. "aliasColors": {
  29011. },
  29012. "bars": false,
  29013. "dashLength": 10,
  29014. "dashes": false,
  29015. "datasource": "$datasource",
  29016. "fill": 1,
  29017. "fillGradient": 0,
  29018. "gridPos": {
  29019. },
  29020. "id": 4,
  29021. "legend": {
  29022. "alignAsTable": false,
  29023. "avg": false,
  29024. "current": false,
  29025. "max": false,
  29026. "min": false,
  29027. "rightSide": false,
  29028. "show": true,
  29029. "sideWidth": null,
  29030. "total": false,
  29031. "values": false
  29032. },
  29033. "lines": true,
  29034. "linewidth": 1,
  29035. "links": [
  29036. ],
  29037. "nullPointMode": "null",
  29038. "percentage": false,
  29039. "pointradius": 5,
  29040. "points": false,
  29041. "renderer": "flot",
  29042. "repeat": null,
  29043. "seriesOverrides": [
  29044. ],
  29045. "spaceLength": 10,
  29046. "span": 9,
  29047. "stack": false,
  29048. "steppedLine": false,
  29049. "targets": [
  29050. {
  29051. "expr": "node_memory_total_bytes{job=\"node-exporter\", instance=\"$instance\"}",
  29052. "format": "time_series",
  29053. "intervalFactor": 2,
  29054. "legendFormat": "Physical Memory",
  29055. "refId": "A"
  29056. },
  29057. {
  29058. "expr": "(\n node_memory_internal_bytes{job=\"node-exporter\", instance=\"$instance\"} -\n node_memory_purgeable_bytes{job=\"node-exporter\", instance=\"$instance\"} +\n node_memory_wired_bytes{job=\"node-exporter\", instance=\"$instance\"} +\n node_memory_compressed_bytes{job=\"node-exporter\", instance=\"$instance\"}\n)\n",
  29059. "format": "time_series",
  29060. "intervalFactor": 2,
  29061. "legendFormat": "Memory Used",
  29062. "refId": "B"
  29063. },
  29064. {
  29065. "expr": "(\n node_memory_internal_bytes{job=\"node-exporter\", instance=\"$instance\"} -\n node_memory_purgeable_bytes{job=\"node-exporter\", instance=\"$instance\"}\n)\n",
  29066. "format": "time_series",
  29067. "intervalFactor": 2,
  29068. "legendFormat": "App Memory",
  29069. "refId": "C"
  29070. },
  29071. {
  29072. "expr": "node_memory_wired_bytes{job=\"node-exporter\", instance=\"$instance\"}",
  29073. "format": "time_series",
  29074. "intervalFactor": 2,
  29075. "legendFormat": "Wired Memory",
  29076. "refId": "D"
  29077. },
  29078. {
  29079. "expr": "node_memory_compressed_bytes{job=\"node-exporter\", instance=\"$instance\"}",
  29080. "format": "time_series",
  29081. "intervalFactor": 2,
  29082. "legendFormat": "Compressed",
  29083. "refId": "E"
  29084. }
  29085. ],
  29086. "thresholds": [
  29087. ],
  29088. "timeFrom": null,
  29089. "timeShift": null,
  29090. "title": "Memory Usage",
  29091. "tooltip": {
  29092. "shared": true,
  29093. "sort": 0,
  29094. "value_type": "individual"
  29095. },
  29096. "type": "graph",
  29097. "xaxis": {
  29098. "buckets": null,
  29099. "mode": "time",
  29100. "name": null,
  29101. "show": true,
  29102. "values": [
  29103. ]
  29104. },
  29105. "yaxes": [
  29106. {
  29107. "format": "bytes",
  29108. "label": null,
  29109. "logBase": 1,
  29110. "max": null,
  29111. "min": 0,
  29112. "show": true
  29113. },
  29114. {
  29115. "format": "bytes",
  29116. "label": null,
  29117. "logBase": 1,
  29118. "max": null,
  29119. "min": 0,
  29120. "show": true
  29121. }
  29122. ]
  29123. },
  29124. {
  29125. "datasource": "$datasource",
  29126. "fieldConfig": {
  29127. "defaults": {
  29128. "max": 100,
  29129. "min": 0,
  29130. "thresholds": {
  29131. "mode": "absolute",
  29132. "steps": [
  29133. {
  29134. "color": "rgba(50, 172, 45, 0.97)"
  29135. },
  29136. {
  29137. "color": "rgba(237, 129, 40, 0.89)",
  29138. "value": 80
  29139. },
  29140. {
  29141. "color": "rgba(245, 54, 54, 0.9)",
  29142. "value": 90
  29143. }
  29144. ]
  29145. },
  29146. "unit": "percent"
  29147. }
  29148. },
  29149. "gridPos": {
  29150. },
  29151. "id": 5,
  29152. "span": 3,
  29153. "targets": [
  29154. {
  29155. "expr": "(\n (\n avg(node_memory_internal_bytes{job=\"node-exporter\", instance=\"$instance\"}) -\n avg(node_memory_purgeable_bytes{job=\"node-exporter\", instance=\"$instance\"}) +\n avg(node_memory_wired_bytes{job=\"node-exporter\", instance=\"$instance\"}) +\n avg(node_memory_compressed_bytes{job=\"node-exporter\", instance=\"$instance\"})\n ) /\n avg(node_memory_total_bytes{job=\"node-exporter\", instance=\"$instance\"})\n)\n*\n100\n",
  29156. "format": "time_series",
  29157. "intervalFactor": 2,
  29158. "legendFormat": ""
  29159. }
  29160. ],
  29161. "title": "Memory Usage",
  29162. "transparent": false,
  29163. "type": "gauge"
  29164. }
  29165. ],
  29166. "repeat": null,
  29167. "repeatIteration": null,
  29168. "repeatRowId": null,
  29169. "showTitle": true,
  29170. "title": "Memory",
  29171. "titleSize": "h6",
  29172. "type": "row"
  29173. },
  29174. {
  29175. "collapse": false,
  29176. "collapsed": false,
  29177. "panels": [
  29178. {
  29179. "aliasColors": {
  29180. },
  29181. "bars": false,
  29182. "dashLength": 10,
  29183. "dashes": false,
  29184. "datasource": "$datasource",
  29185. "fill": 0,
  29186. "fillGradient": 0,
  29187. "gridPos": {
  29188. },
  29189. "id": 6,
  29190. "legend": {
  29191. "alignAsTable": false,
  29192. "avg": false,
  29193. "current": false,
  29194. "max": false,
  29195. "min": false,
  29196. "rightSide": false,
  29197. "show": true,
  29198. "sideWidth": null,
  29199. "total": false,
  29200. "values": false
  29201. },
  29202. "lines": true,
  29203. "linewidth": 1,
  29204. "links": [
  29205. ],
  29206. "nullPointMode": "null",
  29207. "percentage": false,
  29208. "pointradius": 5,
  29209. "points": false,
  29210. "renderer": "flot",
  29211. "repeat": null,
  29212. "seriesOverrides": [
  29213. {
  29214. "alias": "/ read| written/",
  29215. "yaxis": 1
  29216. },
  29217. {
  29218. "alias": "/ io time/",
  29219. "yaxis": 2
  29220. }
  29221. ],
  29222. "spaceLength": 10,
  29223. "span": 6,
  29224. "stack": false,
  29225. "steppedLine": false,
  29226. "targets": [
  29227. {
  29228. "expr": "rate(node_disk_read_bytes_total{job=\"node-exporter\", instance=\"$instance\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\"}[$__rate_interval])",
  29229. "format": "time_series",
  29230. "intervalFactor": 1,
  29231. "legendFormat": "{{device}} read",
  29232. "refId": "A"
  29233. },
  29234. {
  29235. "expr": "rate(node_disk_written_bytes_total{job=\"node-exporter\", instance=\"$instance\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\"}[$__rate_interval])",
  29236. "format": "time_series",
  29237. "intervalFactor": 1,
  29238. "legendFormat": "{{device}} written",
  29239. "refId": "B"
  29240. },
  29241. {
  29242. "expr": "rate(node_disk_io_time_seconds_total{job=\"node-exporter\", instance=\"$instance\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\"}[$__rate_interval])",
  29243. "format": "time_series",
  29244. "intervalFactor": 1,
  29245. "legendFormat": "{{device}} io time",
  29246. "refId": "C"
  29247. }
  29248. ],
  29249. "thresholds": [
  29250. ],
  29251. "timeFrom": null,
  29252. "timeShift": null,
  29253. "title": "Disk I/O",
  29254. "tooltip": {
  29255. "shared": true,
  29256. "sort": 0,
  29257. "value_type": "individual"
  29258. },
  29259. "type": "graph",
  29260. "xaxis": {
  29261. "buckets": null,
  29262. "mode": "time",
  29263. "name": null,
  29264. "show": true,
  29265. "values": [
  29266. ]
  29267. },
  29268. "yaxes": [
  29269. {
  29270. "format": "Bps",
  29271. "label": null,
  29272. "logBase": 1,
  29273. "max": null,
  29274. "min": null,
  29275. "show": true
  29276. },
  29277. {
  29278. "format": "percentunit",
  29279. "label": null,
  29280. "logBase": 1,
  29281. "max": null,
  29282. "min": null,
  29283. "show": true
  29284. }
  29285. ]
  29286. },
  29287. {
  29288. "datasource": "$datasource",
  29289. "fieldConfig": {
  29290. "defaults": {
  29291. "custom": {
  29292. },
  29293. "thresholds": {
  29294. "mode": "absolute",
  29295. "steps": [
  29296. {
  29297. "color": "green"
  29298. },
  29299. {
  29300. "color": "yellow",
  29301. "value": 0.8
  29302. },
  29303. {
  29304. "color": "red",
  29305. "value": 0.9
  29306. }
  29307. ]
  29308. },
  29309. "unit": "decbytes"
  29310. },
  29311. "overrides": [
  29312. {
  29313. "matcher": {
  29314. "id": "byName",
  29315. "options": "Mounted on"
  29316. },
  29317. "properties": [
  29318. {
  29319. "id": "custom.width",
  29320. "value": 260
  29321. }
  29322. ]
  29323. },
  29324. {
  29325. "matcher": {
  29326. "id": "byName",
  29327. "options": "Size"
  29328. },
  29329. "properties": [
  29330. {
  29331. "id": "custom.width",
  29332. "value": 93
  29333. }
  29334. ]
  29335. },
  29336. {
  29337. "matcher": {
  29338. "id": "byName",
  29339. "options": "Used"
  29340. },
  29341. "properties": [
  29342. {
  29343. "id": "custom.width",
  29344. "value": 72
  29345. }
  29346. ]
  29347. },
  29348. {
  29349. "matcher": {
  29350. "id": "byName",
  29351. "options": "Available"
  29352. },
  29353. "properties": [
  29354. {
  29355. "id": "custom.width",
  29356. "value": 88
  29357. }
  29358. ]
  29359. },
  29360. {
  29361. "matcher": {
  29362. "id": "byName",
  29363. "options": "Used, %"
  29364. },
  29365. "properties": [
  29366. {
  29367. "id": "unit",
  29368. "value": "percentunit"
  29369. },
  29370. {
  29371. "id": "custom.displayMode",
  29372. "value": "gradient-gauge"
  29373. },
  29374. {
  29375. "id": "max",
  29376. "value": 1
  29377. },
  29378. {
  29379. "id": "min",
  29380. "value": 0
  29381. }
  29382. ]
  29383. }
  29384. ]
  29385. },
  29386. "gridPos": {
  29387. },
  29388. "id": 7,
  29389. "span": 6,
  29390. "targets": [
  29391. {
  29392. "expr": "max by (mountpoint) (node_filesystem_size_bytes{job=\"node-exporter\", instance=\"$instance\", fstype!=\"\", mountpoint!=\"\"})\n",
  29393. "format": "table",
  29394. "instant": true,
  29395. "intervalFactor": 2,
  29396. "legendFormat": ""
  29397. },
  29398. {
  29399. "expr": "max by (mountpoint) (node_filesystem_avail_bytes{job=\"node-exporter\", instance=\"$instance\", fstype!=\"\", mountpoint!=\"\"})\n",
  29400. "format": "table",
  29401. "instant": true,
  29402. "intervalFactor": 2,
  29403. "legendFormat": ""
  29404. }
  29405. ],
  29406. "title": "Disk Space Usage",
  29407. "transformations": [
  29408. {
  29409. "id": "groupBy",
  29410. "options": {
  29411. "fields": {
  29412. "Value #A": {
  29413. "aggregations": [
  29414. "lastNotNull"
  29415. ],
  29416. "operation": "aggregate"
  29417. },
  29418. "Value #B": {
  29419. "aggregations": [
  29420. "lastNotNull"
  29421. ],
  29422. "operation": "aggregate"
  29423. },
  29424. "mountpoint": {
  29425. "aggregations": [
  29426. ],
  29427. "operation": "groupby"
  29428. }
  29429. }
  29430. }
  29431. },
  29432. {
  29433. "id": "merge",
  29434. "options": {
  29435. }
  29436. },
  29437. {
  29438. "id": "calculateField",
  29439. "options": {
  29440. "alias": "Used",
  29441. "binary": {
  29442. "left": "Value #A (lastNotNull)",
  29443. "operator": "-",
  29444. "reducer": "sum",
  29445. "right": "Value #B (lastNotNull)"
  29446. },
  29447. "mode": "binary",
  29448. "reduce": {
  29449. "reducer": "sum"
  29450. }
  29451. }
  29452. },
  29453. {
  29454. "id": "calculateField",
  29455. "options": {
  29456. "alias": "Used, %",
  29457. "binary": {
  29458. "left": "Used",
  29459. "operator": "/",
  29460. "reducer": "sum",
  29461. "right": "Value #A (lastNotNull)"
  29462. },
  29463. "mode": "binary",
  29464. "reduce": {
  29465. "reducer": "sum"
  29466. }
  29467. }
  29468. },
  29469. {
  29470. "id": "organize",
  29471. "options": {
  29472. "excludeByName": {
  29473. },
  29474. "indexByName": {
  29475. },
  29476. "renameByName": {
  29477. "Value #A (lastNotNull)": "Size",
  29478. "Value #B (lastNotNull)": "Available",
  29479. "mountpoint": "Mounted on"
  29480. }
  29481. }
  29482. },
  29483. {
  29484. "id": "sortBy",
  29485. "options": {
  29486. "fields": {
  29487. },
  29488. "sort": [
  29489. {
  29490. "field": "Mounted on"
  29491. }
  29492. ]
  29493. }
  29494. }
  29495. ],
  29496. "transparent": false,
  29497. "type": "table"
  29498. }
  29499. ],
  29500. "repeat": null,
  29501. "repeatIteration": null,
  29502. "repeatRowId": null,
  29503. "showTitle": true,
  29504. "title": "Disk",
  29505. "titleSize": "h6",
  29506. "type": "row"
  29507. },
  29508. {
  29509. "collapse": false,
  29510. "collapsed": false,
  29511. "panels": [
  29512. {
  29513. "aliasColors": {
  29514. },
  29515. "bars": false,
  29516. "dashLength": 10,
  29517. "dashes": false,
  29518. "datasource": "$datasource",
  29519. "description": "Network received (bits/s)",
  29520. "fill": 0,
  29521. "fillGradient": 0,
  29522. "gridPos": {
  29523. },
  29524. "id": 8,
  29525. "legend": {
  29526. "alignAsTable": false,
  29527. "avg": false,
  29528. "current": false,
  29529. "max": false,
  29530. "min": false,
  29531. "rightSide": false,
  29532. "show": true,
  29533. "sideWidth": null,
  29534. "total": false,
  29535. "values": false
  29536. },
  29537. "lines": true,
  29538. "linewidth": 1,
  29539. "links": [
  29540. ],
  29541. "nullPointMode": "null",
  29542. "percentage": false,
  29543. "pointradius": 5,
  29544. "points": false,
  29545. "renderer": "flot",
  29546. "repeat": null,
  29547. "seriesOverrides": [
  29548. ],
  29549. "spaceLength": 10,
  29550. "span": 6,
  29551. "stack": false,
  29552. "steppedLine": false,
  29553. "targets": [
  29554. {
  29555. "expr": "rate(node_network_receive_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!=\"lo\"}[$__rate_interval]) * 8",
  29556. "format": "time_series",
  29557. "intervalFactor": 1,
  29558. "legendFormat": "{{device}}",
  29559. "refId": "A"
  29560. }
  29561. ],
  29562. "thresholds": [
  29563. ],
  29564. "timeFrom": null,
  29565. "timeShift": null,
  29566. "title": "Network Received",
  29567. "tooltip": {
  29568. "shared": true,
  29569. "sort": 0,
  29570. "value_type": "individual"
  29571. },
  29572. "type": "graph",
  29573. "xaxis": {
  29574. "buckets": null,
  29575. "mode": "time",
  29576. "name": null,
  29577. "show": true,
  29578. "values": [
  29579. ]
  29580. },
  29581. "yaxes": [
  29582. {
  29583. "format": "bps",
  29584. "label": null,
  29585. "logBase": 1,
  29586. "max": null,
  29587. "min": 0,
  29588. "show": true
  29589. },
  29590. {
  29591. "format": "bps",
  29592. "label": null,
  29593. "logBase": 1,
  29594. "max": null,
  29595. "min": 0,
  29596. "show": true
  29597. }
  29598. ]
  29599. },
  29600. {
  29601. "aliasColors": {
  29602. },
  29603. "bars": false,
  29604. "dashLength": 10,
  29605. "dashes": false,
  29606. "datasource": "$datasource",
  29607. "description": "Network transmitted (bits/s)",
  29608. "fill": 0,
  29609. "fillGradient": 0,
  29610. "gridPos": {
  29611. },
  29612. "id": 9,
  29613. "legend": {
  29614. "alignAsTable": false,
  29615. "avg": false,
  29616. "current": false,
  29617. "max": false,
  29618. "min": false,
  29619. "rightSide": false,
  29620. "show": true,
  29621. "sideWidth": null,
  29622. "total": false,
  29623. "values": false
  29624. },
  29625. "lines": true,
  29626. "linewidth": 1,
  29627. "links": [
  29628. ],
  29629. "nullPointMode": "null",
  29630. "percentage": false,
  29631. "pointradius": 5,
  29632. "points": false,
  29633. "renderer": "flot",
  29634. "repeat": null,
  29635. "seriesOverrides": [
  29636. ],
  29637. "spaceLength": 10,
  29638. "span": 6,
  29639. "stack": false,
  29640. "steppedLine": false,
  29641. "targets": [
  29642. {
  29643. "expr": "rate(node_network_transmit_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!=\"lo\"}[$__rate_interval]) * 8",
  29644. "format": "time_series",
  29645. "intervalFactor": 1,
  29646. "legendFormat": "{{device}}",
  29647. "refId": "A"
  29648. }
  29649. ],
  29650. "thresholds": [
  29651. ],
  29652. "timeFrom": null,
  29653. "timeShift": null,
  29654. "title": "Network Transmitted",
  29655. "tooltip": {
  29656. "shared": true,
  29657. "sort": 0,
  29658. "value_type": "individual"
  29659. },
  29660. "type": "graph",
  29661. "xaxis": {
  29662. "buckets": null,
  29663. "mode": "time",
  29664. "name": null,
  29665. "show": true,
  29666. "values": [
  29667. ]
  29668. },
  29669. "yaxes": [
  29670. {
  29671. "format": "bps",
  29672. "label": null,
  29673. "logBase": 1,
  29674. "max": null,
  29675. "min": 0,
  29676. "show": true
  29677. },
  29678. {
  29679. "format": "bps",
  29680. "label": null,
  29681. "logBase": 1,
  29682. "max": null,
  29683. "min": 0,
  29684. "show": true
  29685. }
  29686. ]
  29687. }
  29688. ],
  29689. "repeat": null,
  29690. "repeatIteration": null,
  29691. "repeatRowId": null,
  29692. "showTitle": true,
  29693. "title": "Network",
  29694. "titleSize": "h6",
  29695. "type": "row"
  29696. }
  29697. ],
  29698. "schemaVersion": 14,
  29699. "style": "dark",
  29700. "tags": [
  29701. "node-exporter-mixin"
  29702. ],
  29703. "templating": {
  29704. "list": [
  29705. {
  29706. "current": {
  29707. "text": "default",
  29708. "value": "default"
  29709. },
  29710. "hide": 0,
  29711. "label": "Data Source",
  29712. "name": "datasource",
  29713. "options": [
  29714. ],
  29715. "query": "prometheus",
  29716. "refresh": 1,
  29717. "regex": "",
  29718. "type": "datasource"
  29719. },
  29720. {
  29721. "allValue": null,
  29722. "current": {
  29723. },
  29724. "datasource": "$datasource",
  29725. "hide": 0,
  29726. "includeAll": false,
  29727. "label": "Instance",
  29728. "multi": false,
  29729. "name": "instance",
  29730. "options": [
  29731. ],
  29732. "query": "label_values(node_uname_info{job=\"node-exporter\", sysname=\"Darwin\"}, instance)",
  29733. "refresh": 2,
  29734. "regex": "",
  29735. "sort": 0,
  29736. "tagValuesQuery": "",
  29737. "tags": [
  29738. ],
  29739. "tagsQuery": "",
  29740. "type": "query",
  29741. "useTags": false
  29742. }
  29743. ]
  29744. },
  29745. "time": {
  29746. "from": "now-1h",
  29747. "to": "now"
  29748. },
  29749. "timepicker": {
  29750. "refresh_intervals": [
  29751. "5s",
  29752. "10s",
  29753. "30s",
  29754. "1m",
  29755. "5m",
  29756. "15m",
  29757. "30m",
  29758. "1h",
  29759. "2h",
  29760. "1d"
  29761. ],
  29762. "time_options": [
  29763. "5m",
  29764. "15m",
  29765. "1h",
  29766. "6h",
  29767. "12h",
  29768. "24h",
  29769. "2d",
  29770. "7d",
  29771. "30d"
  29772. ]
  29773. },
  29774. "timezone": "utc",
  29775. "title": "Node Exporter / MacOS",
  29776. "version": 0
  29777. }
  29778. ---
  29779. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/nodes.yaml
  29780. apiVersion: v1
  29781. kind: ConfigMap
  29782. metadata:
  29783. namespace: monitoring
  29784. name: prometheus-kube-prometheus-nodes
  29785. annotations:
  29786. {}
  29787. labels:
  29788. grafana_dashboard: "1"
  29789. app: kube-prometheus-stack-grafana
  29790. app.kubernetes.io/managed-by: Helm
  29791. app.kubernetes.io/instance: prometheus
  29792. app.kubernetes.io/version: "44.3.0"
  29793. app.kubernetes.io/part-of: kube-prometheus-stack
  29794. chart: kube-prometheus-stack-44.3.0
  29795. release: "prometheus"
  29796. heritage: "Helm"
  29797. data:
  29798. nodes.json: |-
  29799. {
  29800. "__inputs": [
  29801. ],
  29802. "__requires": [
  29803. ],
  29804. "annotations": {
  29805. "list": [
  29806. ]
  29807. },
  29808. "editable": false,
  29809. "gnetId": null,
  29810. "graphTooltip": 1,
  29811. "hideControls": false,
  29812. "id": null,
  29813. "links": [
  29814. ],
  29815. "refresh": "30s",
  29816. "rows": [
  29817. {
  29818. "collapse": false,
  29819. "collapsed": false,
  29820. "panels": [
  29821. {
  29822. "aliasColors": {
  29823. },
  29824. "bars": false,
  29825. "dashLength": 10,
  29826. "dashes": false,
  29827. "datasource": "$datasource",
  29828. "fill": 1,
  29829. "fillGradient": 0,
  29830. "gridPos": {
  29831. },
  29832. "id": 2,
  29833. "legend": {
  29834. "alignAsTable": false,
  29835. "avg": false,
  29836. "current": false,
  29837. "max": false,
  29838. "min": false,
  29839. "rightSide": false,
  29840. "show": true,
  29841. "sideWidth": null,
  29842. "total": false,
  29843. "values": false
  29844. },
  29845. "lines": true,
  29846. "linewidth": 1,
  29847. "links": [
  29848. ],
  29849. "nullPointMode": "null",
  29850. "percentage": false,
  29851. "pointradius": 5,
  29852. "points": false,
  29853. "renderer": "flot",
  29854. "repeat": null,
  29855. "seriesOverrides": [
  29856. ],
  29857. "spaceLength": 10,
  29858. "span": 6,
  29859. "stack": true,
  29860. "steppedLine": false,
  29861. "targets": [
  29862. {
  29863. "expr": "(\n (1 - sum without (mode) (rate(node_cpu_seconds_total{job=\"node-exporter\", mode=~\"idle|iowait|steal\", instance=\"$instance\"}[$__rate_interval])))\n/ ignoring(cpu) group_left\n count without (cpu, mode) (node_cpu_seconds_total{job=\"node-exporter\", mode=\"idle\", instance=\"$instance\"})\n)\n",
  29864. "format": "time_series",
  29865. "intervalFactor": 5,
  29866. "legendFormat": "{{cpu}}",
  29867. "refId": "A"
  29868. }
  29869. ],
  29870. "thresholds": [
  29871. ],
  29872. "timeFrom": null,
  29873. "timeShift": null,
  29874. "title": "CPU Usage",
  29875. "tooltip": {
  29876. "shared": true,
  29877. "sort": 0,
  29878. "value_type": "individual"
  29879. },
  29880. "type": "graph",
  29881. "xaxis": {
  29882. "buckets": null,
  29883. "mode": "time",
  29884. "name": null,
  29885. "show": true,
  29886. "values": [
  29887. ]
  29888. },
  29889. "yaxes": [
  29890. {
  29891. "format": "percentunit",
  29892. "label": null,
  29893. "logBase": 1,
  29894. "max": 1,
  29895. "min": 0,
  29896. "show": true
  29897. },
  29898. {
  29899. "format": "percentunit",
  29900. "label": null,
  29901. "logBase": 1,
  29902. "max": 1,
  29903. "min": 0,
  29904. "show": true
  29905. }
  29906. ]
  29907. },
  29908. {
  29909. "aliasColors": {
  29910. },
  29911. "bars": false,
  29912. "dashLength": 10,
  29913. "dashes": false,
  29914. "datasource": "$datasource",
  29915. "fill": 0,
  29916. "fillGradient": 0,
  29917. "gridPos": {
  29918. },
  29919. "id": 3,
  29920. "legend": {
  29921. "alignAsTable": false,
  29922. "avg": false,
  29923. "current": false,
  29924. "max": false,
  29925. "min": false,
  29926. "rightSide": false,
  29927. "show": true,
  29928. "sideWidth": null,
  29929. "total": false,
  29930. "values": false
  29931. },
  29932. "lines": true,
  29933. "linewidth": 1,
  29934. "links": [
  29935. ],
  29936. "nullPointMode": "null",
  29937. "percentage": false,
  29938. "pointradius": 5,
  29939. "points": false,
  29940. "renderer": "flot",
  29941. "repeat": null,
  29942. "seriesOverrides": [
  29943. ],
  29944. "spaceLength": 10,
  29945. "span": 6,
  29946. "stack": false,
  29947. "steppedLine": false,
  29948. "targets": [
  29949. {
  29950. "expr": "node_load1{job=\"node-exporter\", instance=\"$instance\"}",
  29951. "format": "time_series",
  29952. "intervalFactor": 2,
  29953. "legendFormat": "1m load average",
  29954. "refId": "A"
  29955. },
  29956. {
  29957. "expr": "node_load5{job=\"node-exporter\", instance=\"$instance\"}",
  29958. "format": "time_series",
  29959. "intervalFactor": 2,
  29960. "legendFormat": "5m load average",
  29961. "refId": "B"
  29962. },
  29963. {
  29964. "expr": "node_load15{job=\"node-exporter\", instance=\"$instance\"}",
  29965. "format": "time_series",
  29966. "intervalFactor": 2,
  29967. "legendFormat": "15m load average",
  29968. "refId": "C"
  29969. },
  29970. {
  29971. "expr": "count(node_cpu_seconds_total{job=\"node-exporter\", instance=\"$instance\", mode=\"idle\"})",
  29972. "format": "time_series",
  29973. "intervalFactor": 2,
  29974. "legendFormat": "logical cores",
  29975. "refId": "D"
  29976. }
  29977. ],
  29978. "thresholds": [
  29979. ],
  29980. "timeFrom": null,
  29981. "timeShift": null,
  29982. "title": "Load Average",
  29983. "tooltip": {
  29984. "shared": true,
  29985. "sort": 0,
  29986. "value_type": "individual"
  29987. },
  29988. "type": "graph",
  29989. "xaxis": {
  29990. "buckets": null,
  29991. "mode": "time",
  29992. "name": null,
  29993. "show": true,
  29994. "values": [
  29995. ]
  29996. },
  29997. "yaxes": [
  29998. {
  29999. "format": "short",
  30000. "label": null,
  30001. "logBase": 1,
  30002. "max": null,
  30003. "min": 0,
  30004. "show": true
  30005. },
  30006. {
  30007. "format": "short",
  30008. "label": null,
  30009. "logBase": 1,
  30010. "max": null,
  30011. "min": 0,
  30012. "show": true
  30013. }
  30014. ]
  30015. }
  30016. ],
  30017. "repeat": null,
  30018. "repeatIteration": null,
  30019. "repeatRowId": null,
  30020. "showTitle": true,
  30021. "title": "CPU",
  30022. "titleSize": "h6",
  30023. "type": "row"
  30024. },
  30025. {
  30026. "collapse": false,
  30027. "collapsed": false,
  30028. "panels": [
  30029. {
  30030. "aliasColors": {
  30031. },
  30032. "bars": false,
  30033. "dashLength": 10,
  30034. "dashes": false,
  30035. "datasource": "$datasource",
  30036. "fill": 1,
  30037. "fillGradient": 0,
  30038. "gridPos": {
  30039. },
  30040. "id": 4,
  30041. "legend": {
  30042. "alignAsTable": false,
  30043. "avg": false,
  30044. "current": false,
  30045. "max": false,
  30046. "min": false,
  30047. "rightSide": false,
  30048. "show": true,
  30049. "sideWidth": null,
  30050. "total": false,
  30051. "values": false
  30052. },
  30053. "lines": true,
  30054. "linewidth": 1,
  30055. "links": [
  30056. ],
  30057. "nullPointMode": "null",
  30058. "percentage": false,
  30059. "pointradius": 5,
  30060. "points": false,
  30061. "renderer": "flot",
  30062. "repeat": null,
  30063. "seriesOverrides": [
  30064. ],
  30065. "spaceLength": 10,
  30066. "span": 9,
  30067. "stack": true,
  30068. "steppedLine": false,
  30069. "targets": [
  30070. {
  30071. "expr": "(\n node_memory_MemTotal_bytes{job=\"node-exporter\", instance=\"$instance\"}\n-\n node_memory_MemFree_bytes{job=\"node-exporter\", instance=\"$instance\"}\n-\n node_memory_Buffers_bytes{job=\"node-exporter\", instance=\"$instance\"}\n-\n node_memory_Cached_bytes{job=\"node-exporter\", instance=\"$instance\"}\n)\n",
  30072. "format": "time_series",
  30073. "intervalFactor": 2,
  30074. "legendFormat": "memory used",
  30075. "refId": "A"
  30076. },
  30077. {
  30078. "expr": "node_memory_Buffers_bytes{job=\"node-exporter\", instance=\"$instance\"}",
  30079. "format": "time_series",
  30080. "intervalFactor": 2,
  30081. "legendFormat": "memory buffers",
  30082. "refId": "B"
  30083. },
  30084. {
  30085. "expr": "node_memory_Cached_bytes{job=\"node-exporter\", instance=\"$instance\"}",
  30086. "format": "time_series",
  30087. "intervalFactor": 2,
  30088. "legendFormat": "memory cached",
  30089. "refId": "C"
  30090. },
  30091. {
  30092. "expr": "node_memory_MemFree_bytes{job=\"node-exporter\", instance=\"$instance\"}",
  30093. "format": "time_series",
  30094. "intervalFactor": 2,
  30095. "legendFormat": "memory free",
  30096. "refId": "D"
  30097. }
  30098. ],
  30099. "thresholds": [
  30100. ],
  30101. "timeFrom": null,
  30102. "timeShift": null,
  30103. "title": "Memory Usage",
  30104. "tooltip": {
  30105. "shared": true,
  30106. "sort": 0,
  30107. "value_type": "individual"
  30108. },
  30109. "type": "graph",
  30110. "xaxis": {
  30111. "buckets": null,
  30112. "mode": "time",
  30113. "name": null,
  30114. "show": true,
  30115. "values": [
  30116. ]
  30117. },
  30118. "yaxes": [
  30119. {
  30120. "format": "bytes",
  30121. "label": null,
  30122. "logBase": 1,
  30123. "max": null,
  30124. "min": 0,
  30125. "show": true
  30126. },
  30127. {
  30128. "format": "bytes",
  30129. "label": null,
  30130. "logBase": 1,
  30131. "max": null,
  30132. "min": 0,
  30133. "show": true
  30134. }
  30135. ]
  30136. },
  30137. {
  30138. "datasource": "$datasource",
  30139. "fieldConfig": {
  30140. "defaults": {
  30141. "max": 100,
  30142. "min": 0,
  30143. "thresholds": {
  30144. "mode": "absolute",
  30145. "steps": [
  30146. {
  30147. "color": "rgba(50, 172, 45, 0.97)"
  30148. },
  30149. {
  30150. "color": "rgba(237, 129, 40, 0.89)",
  30151. "value": 80
  30152. },
  30153. {
  30154. "color": "rgba(245, 54, 54, 0.9)",
  30155. "value": 90
  30156. }
  30157. ]
  30158. },
  30159. "unit": "percent"
  30160. }
  30161. },
  30162. "gridPos": {
  30163. },
  30164. "id": 5,
  30165. "span": 3,
  30166. "targets": [
  30167. {
  30168. "expr": "100 -\n(\n avg(node_memory_MemAvailable_bytes{job=\"node-exporter\", instance=\"$instance\"}) /\n avg(node_memory_MemTotal_bytes{job=\"node-exporter\", instance=\"$instance\"})\n* 100\n)\n",
  30169. "format": "time_series",
  30170. "intervalFactor": 2,
  30171. "legendFormat": ""
  30172. }
  30173. ],
  30174. "title": "Memory Usage",
  30175. "transparent": false,
  30176. "type": "gauge"
  30177. }
  30178. ],
  30179. "repeat": null,
  30180. "repeatIteration": null,
  30181. "repeatRowId": null,
  30182. "showTitle": true,
  30183. "title": "Memory",
  30184. "titleSize": "h6",
  30185. "type": "row"
  30186. },
  30187. {
  30188. "collapse": false,
  30189. "collapsed": false,
  30190. "panels": [
  30191. {
  30192. "aliasColors": {
  30193. },
  30194. "bars": false,
  30195. "dashLength": 10,
  30196. "dashes": false,
  30197. "datasource": "$datasource",
  30198. "fill": 0,
  30199. "fillGradient": 0,
  30200. "gridPos": {
  30201. },
  30202. "id": 6,
  30203. "legend": {
  30204. "alignAsTable": false,
  30205. "avg": false,
  30206. "current": false,
  30207. "max": false,
  30208. "min": false,
  30209. "rightSide": false,
  30210. "show": true,
  30211. "sideWidth": null,
  30212. "total": false,
  30213. "values": false
  30214. },
  30215. "lines": true,
  30216. "linewidth": 1,
  30217. "links": [
  30218. ],
  30219. "nullPointMode": "null",
  30220. "percentage": false,
  30221. "pointradius": 5,
  30222. "points": false,
  30223. "renderer": "flot",
  30224. "repeat": null,
  30225. "seriesOverrides": [
  30226. {
  30227. "alias": "/ read| written/",
  30228. "yaxis": 1
  30229. },
  30230. {
  30231. "alias": "/ io time/",
  30232. "yaxis": 2
  30233. }
  30234. ],
  30235. "spaceLength": 10,
  30236. "span": 6,
  30237. "stack": false,
  30238. "steppedLine": false,
  30239. "targets": [
  30240. {
  30241. "expr": "rate(node_disk_read_bytes_total{job=\"node-exporter\", instance=\"$instance\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\"}[$__rate_interval])",
  30242. "format": "time_series",
  30243. "intervalFactor": 1,
  30244. "legendFormat": "{{device}} read",
  30245. "refId": "A"
  30246. },
  30247. {
  30248. "expr": "rate(node_disk_written_bytes_total{job=\"node-exporter\", instance=\"$instance\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\"}[$__rate_interval])",
  30249. "format": "time_series",
  30250. "intervalFactor": 1,
  30251. "legendFormat": "{{device}} written",
  30252. "refId": "B"
  30253. },
  30254. {
  30255. "expr": "rate(node_disk_io_time_seconds_total{job=\"node-exporter\", instance=\"$instance\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\"}[$__rate_interval])",
  30256. "format": "time_series",
  30257. "intervalFactor": 1,
  30258. "legendFormat": "{{device}} io time",
  30259. "refId": "C"
  30260. }
  30261. ],
  30262. "thresholds": [
  30263. ],
  30264. "timeFrom": null,
  30265. "timeShift": null,
  30266. "title": "Disk I/O",
  30267. "tooltip": {
  30268. "shared": true,
  30269. "sort": 0,
  30270. "value_type": "individual"
  30271. },
  30272. "type": "graph",
  30273. "xaxis": {
  30274. "buckets": null,
  30275. "mode": "time",
  30276. "name": null,
  30277. "show": true,
  30278. "values": [
  30279. ]
  30280. },
  30281. "yaxes": [
  30282. {
  30283. "format": "Bps",
  30284. "label": null,
  30285. "logBase": 1,
  30286. "max": null,
  30287. "min": null,
  30288. "show": true
  30289. },
  30290. {
  30291. "format": "percentunit",
  30292. "label": null,
  30293. "logBase": 1,
  30294. "max": null,
  30295. "min": null,
  30296. "show": true
  30297. }
  30298. ]
  30299. },
  30300. {
  30301. "datasource": "$datasource",
  30302. "fieldConfig": {
  30303. "defaults": {
  30304. "custom": {
  30305. },
  30306. "thresholds": {
  30307. "mode": "absolute",
  30308. "steps": [
  30309. {
  30310. "color": "green"
  30311. },
  30312. {
  30313. "color": "yellow",
  30314. "value": 0.8
  30315. },
  30316. {
  30317. "color": "red",
  30318. "value": 0.9
  30319. }
  30320. ]
  30321. },
  30322. "unit": "decbytes"
  30323. },
  30324. "overrides": [
  30325. {
  30326. "matcher": {
  30327. "id": "byName",
  30328. "options": "Mounted on"
  30329. },
  30330. "properties": [
  30331. {
  30332. "id": "custom.width",
  30333. "value": 260
  30334. }
  30335. ]
  30336. },
  30337. {
  30338. "matcher": {
  30339. "id": "byName",
  30340. "options": "Size"
  30341. },
  30342. "properties": [
  30343. {
  30344. "id": "custom.width",
  30345. "value": 93
  30346. }
  30347. ]
  30348. },
  30349. {
  30350. "matcher": {
  30351. "id": "byName",
  30352. "options": "Used"
  30353. },
  30354. "properties": [
  30355. {
  30356. "id": "custom.width",
  30357. "value": 72
  30358. }
  30359. ]
  30360. },
  30361. {
  30362. "matcher": {
  30363. "id": "byName",
  30364. "options": "Available"
  30365. },
  30366. "properties": [
  30367. {
  30368. "id": "custom.width",
  30369. "value": 88
  30370. }
  30371. ]
  30372. },
  30373. {
  30374. "matcher": {
  30375. "id": "byName",
  30376. "options": "Used, %"
  30377. },
  30378. "properties": [
  30379. {
  30380. "id": "unit",
  30381. "value": "percentunit"
  30382. },
  30383. {
  30384. "id": "custom.displayMode",
  30385. "value": "gradient-gauge"
  30386. },
  30387. {
  30388. "id": "max",
  30389. "value": 1
  30390. },
  30391. {
  30392. "id": "min",
  30393. "value": 0
  30394. }
  30395. ]
  30396. }
  30397. ]
  30398. },
  30399. "gridPos": {
  30400. },
  30401. "id": 7,
  30402. "span": 6,
  30403. "targets": [
  30404. {
  30405. "expr": "max by (mountpoint) (node_filesystem_size_bytes{job=\"node-exporter\", instance=\"$instance\", fstype!=\"\", mountpoint!=\"\"})\n",
  30406. "format": "table",
  30407. "instant": true,
  30408. "intervalFactor": 2,
  30409. "legendFormat": ""
  30410. },
  30411. {
  30412. "expr": "max by (mountpoint) (node_filesystem_avail_bytes{job=\"node-exporter\", instance=\"$instance\", fstype!=\"\", mountpoint!=\"\"})\n",
  30413. "format": "table",
  30414. "instant": true,
  30415. "intervalFactor": 2,
  30416. "legendFormat": ""
  30417. }
  30418. ],
  30419. "title": "Disk Space Usage",
  30420. "transformations": [
  30421. {
  30422. "id": "groupBy",
  30423. "options": {
  30424. "fields": {
  30425. "Value #A": {
  30426. "aggregations": [
  30427. "lastNotNull"
  30428. ],
  30429. "operation": "aggregate"
  30430. },
  30431. "Value #B": {
  30432. "aggregations": [
  30433. "lastNotNull"
  30434. ],
  30435. "operation": "aggregate"
  30436. },
  30437. "mountpoint": {
  30438. "aggregations": [
  30439. ],
  30440. "operation": "groupby"
  30441. }
  30442. }
  30443. }
  30444. },
  30445. {
  30446. "id": "merge",
  30447. "options": {
  30448. }
  30449. },
  30450. {
  30451. "id": "calculateField",
  30452. "options": {
  30453. "alias": "Used",
  30454. "binary": {
  30455. "left": "Value #A (lastNotNull)",
  30456. "operator": "-",
  30457. "reducer": "sum",
  30458. "right": "Value #B (lastNotNull)"
  30459. },
  30460. "mode": "binary",
  30461. "reduce": {
  30462. "reducer": "sum"
  30463. }
  30464. }
  30465. },
  30466. {
  30467. "id": "calculateField",
  30468. "options": {
  30469. "alias": "Used, %",
  30470. "binary": {
  30471. "left": "Used",
  30472. "operator": "/",
  30473. "reducer": "sum",
  30474. "right": "Value #A (lastNotNull)"
  30475. },
  30476. "mode": "binary",
  30477. "reduce": {
  30478. "reducer": "sum"
  30479. }
  30480. }
  30481. },
  30482. {
  30483. "id": "organize",
  30484. "options": {
  30485. "excludeByName": {
  30486. },
  30487. "indexByName": {
  30488. },
  30489. "renameByName": {
  30490. "Value #A (lastNotNull)": "Size",
  30491. "Value #B (lastNotNull)": "Available",
  30492. "mountpoint": "Mounted on"
  30493. }
  30494. }
  30495. },
  30496. {
  30497. "id": "sortBy",
  30498. "options": {
  30499. "fields": {
  30500. },
  30501. "sort": [
  30502. {
  30503. "field": "Mounted on"
  30504. }
  30505. ]
  30506. }
  30507. }
  30508. ],
  30509. "transparent": false,
  30510. "type": "table"
  30511. }
  30512. ],
  30513. "repeat": null,
  30514. "repeatIteration": null,
  30515. "repeatRowId": null,
  30516. "showTitle": true,
  30517. "title": "Disk",
  30518. "titleSize": "h6",
  30519. "type": "row"
  30520. },
  30521. {
  30522. "collapse": false,
  30523. "collapsed": false,
  30524. "panels": [
  30525. {
  30526. "aliasColors": {
  30527. },
  30528. "bars": false,
  30529. "dashLength": 10,
  30530. "dashes": false,
  30531. "datasource": "$datasource",
  30532. "description": "Network received (bits/s)",
  30533. "fill": 0,
  30534. "fillGradient": 0,
  30535. "gridPos": {
  30536. },
  30537. "id": 8,
  30538. "legend": {
  30539. "alignAsTable": false,
  30540. "avg": false,
  30541. "current": false,
  30542. "max": false,
  30543. "min": false,
  30544. "rightSide": false,
  30545. "show": true,
  30546. "sideWidth": null,
  30547. "total": false,
  30548. "values": false
  30549. },
  30550. "lines": true,
  30551. "linewidth": 1,
  30552. "links": [
  30553. ],
  30554. "nullPointMode": "null",
  30555. "percentage": false,
  30556. "pointradius": 5,
  30557. "points": false,
  30558. "renderer": "flot",
  30559. "repeat": null,
  30560. "seriesOverrides": [
  30561. ],
  30562. "spaceLength": 10,
  30563. "span": 6,
  30564. "stack": false,
  30565. "steppedLine": false,
  30566. "targets": [
  30567. {
  30568. "expr": "rate(node_network_receive_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!=\"lo\"}[$__rate_interval]) * 8",
  30569. "format": "time_series",
  30570. "intervalFactor": 1,
  30571. "legendFormat": "{{device}}",
  30572. "refId": "A"
  30573. }
  30574. ],
  30575. "thresholds": [
  30576. ],
  30577. "timeFrom": null,
  30578. "timeShift": null,
  30579. "title": "Network Received",
  30580. "tooltip": {
  30581. "shared": true,
  30582. "sort": 0,
  30583. "value_type": "individual"
  30584. },
  30585. "type": "graph",
  30586. "xaxis": {
  30587. "buckets": null,
  30588. "mode": "time",
  30589. "name": null,
  30590. "show": true,
  30591. "values": [
  30592. ]
  30593. },
  30594. "yaxes": [
  30595. {
  30596. "format": "bps",
  30597. "label": null,
  30598. "logBase": 1,
  30599. "max": null,
  30600. "min": 0,
  30601. "show": true
  30602. },
  30603. {
  30604. "format": "bps",
  30605. "label": null,
  30606. "logBase": 1,
  30607. "max": null,
  30608. "min": 0,
  30609. "show": true
  30610. }
  30611. ]
  30612. },
  30613. {
  30614. "aliasColors": {
  30615. },
  30616. "bars": false,
  30617. "dashLength": 10,
  30618. "dashes": false,
  30619. "datasource": "$datasource",
  30620. "description": "Network transmitted (bits/s)",
  30621. "fill": 0,
  30622. "fillGradient": 0,
  30623. "gridPos": {
  30624. },
  30625. "id": 9,
  30626. "legend": {
  30627. "alignAsTable": false,
  30628. "avg": false,
  30629. "current": false,
  30630. "max": false,
  30631. "min": false,
  30632. "rightSide": false,
  30633. "show": true,
  30634. "sideWidth": null,
  30635. "total": false,
  30636. "values": false
  30637. },
  30638. "lines": true,
  30639. "linewidth": 1,
  30640. "links": [
  30641. ],
  30642. "nullPointMode": "null",
  30643. "percentage": false,
  30644. "pointradius": 5,
  30645. "points": false,
  30646. "renderer": "flot",
  30647. "repeat": null,
  30648. "seriesOverrides": [
  30649. ],
  30650. "spaceLength": 10,
  30651. "span": 6,
  30652. "stack": false,
  30653. "steppedLine": false,
  30654. "targets": [
  30655. {
  30656. "expr": "rate(node_network_transmit_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!=\"lo\"}[$__rate_interval]) * 8",
  30657. "format": "time_series",
  30658. "intervalFactor": 1,
  30659. "legendFormat": "{{device}}",
  30660. "refId": "A"
  30661. }
  30662. ],
  30663. "thresholds": [
  30664. ],
  30665. "timeFrom": null,
  30666. "timeShift": null,
  30667. "title": "Network Transmitted",
  30668. "tooltip": {
  30669. "shared": true,
  30670. "sort": 0,
  30671. "value_type": "individual"
  30672. },
  30673. "type": "graph",
  30674. "xaxis": {
  30675. "buckets": null,
  30676. "mode": "time",
  30677. "name": null,
  30678. "show": true,
  30679. "values": [
  30680. ]
  30681. },
  30682. "yaxes": [
  30683. {
  30684. "format": "bps",
  30685. "label": null,
  30686. "logBase": 1,
  30687. "max": null,
  30688. "min": 0,
  30689. "show": true
  30690. },
  30691. {
  30692. "format": "bps",
  30693. "label": null,
  30694. "logBase": 1,
  30695. "max": null,
  30696. "min": 0,
  30697. "show": true
  30698. }
  30699. ]
  30700. }
  30701. ],
  30702. "repeat": null,
  30703. "repeatIteration": null,
  30704. "repeatRowId": null,
  30705. "showTitle": true,
  30706. "title": "Network",
  30707. "titleSize": "h6",
  30708. "type": "row"
  30709. }
  30710. ],
  30711. "schemaVersion": 14,
  30712. "style": "dark",
  30713. "tags": [
  30714. "node-exporter-mixin"
  30715. ],
  30716. "templating": {
  30717. "list": [
  30718. {
  30719. "current": {
  30720. "text": "default",
  30721. "value": "default"
  30722. },
  30723. "hide": 0,
  30724. "label": "Data Source",
  30725. "name": "datasource",
  30726. "options": [
  30727. ],
  30728. "query": "prometheus",
  30729. "refresh": 1,
  30730. "regex": "",
  30731. "type": "datasource"
  30732. },
  30733. {
  30734. "allValue": null,
  30735. "current": {
  30736. },
  30737. "datasource": "$datasource",
  30738. "hide": 0,
  30739. "includeAll": false,
  30740. "label": "Instance",
  30741. "multi": false,
  30742. "name": "instance",
  30743. "options": [
  30744. ],
  30745. "query": "label_values(node_uname_info{job=\"node-exporter\", sysname!=\"Darwin\"}, instance)",
  30746. "refresh": 2,
  30747. "regex": "",
  30748. "sort": 0,
  30749. "tagValuesQuery": "",
  30750. "tags": [
  30751. ],
  30752. "tagsQuery": "",
  30753. "type": "query",
  30754. "useTags": false
  30755. }
  30756. ]
  30757. },
  30758. "time": {
  30759. "from": "now-1h",
  30760. "to": "now"
  30761. },
  30762. "timepicker": {
  30763. "refresh_intervals": [
  30764. "5s",
  30765. "10s",
  30766. "30s",
  30767. "1m",
  30768. "5m",
  30769. "15m",
  30770. "30m",
  30771. "1h",
  30772. "2h",
  30773. "1d"
  30774. ],
  30775. "time_options": [
  30776. "5m",
  30777. "15m",
  30778. "1h",
  30779. "6h",
  30780. "12h",
  30781. "24h",
  30782. "2d",
  30783. "7d",
  30784. "30d"
  30785. ]
  30786. },
  30787. "timezone": "utc",
  30788. "title": "Node Exporter / Nodes",
  30789. "version": 0
  30790. }
  30791. ---
  30792. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/persistentvolumesusage.yaml
  30793. apiVersion: v1
  30794. kind: ConfigMap
  30795. metadata:
  30796. namespace: monitoring
  30797. name: prometheus-kube-prometheus-persistentvolumesusage
  30798. annotations:
  30799. {}
  30800. labels:
  30801. grafana_dashboard: "1"
  30802. app: kube-prometheus-stack-grafana
  30803. app.kubernetes.io/managed-by: Helm
  30804. app.kubernetes.io/instance: prometheus
  30805. app.kubernetes.io/version: "44.3.0"
  30806. app.kubernetes.io/part-of: kube-prometheus-stack
  30807. chart: kube-prometheus-stack-44.3.0
  30808. release: "prometheus"
  30809. heritage: "Helm"
  30810. data:
  30811. persistentvolumesusage.json: |-
  30812. {
  30813. "__inputs": [
  30814. ],
  30815. "__requires": [
  30816. ],
  30817. "annotations": {
  30818. "list": [
  30819. ]
  30820. },
  30821. "editable": false,
  30822. "gnetId": null,
  30823. "graphTooltip": 0,
  30824. "hideControls": false,
  30825. "id": null,
  30826. "links": [
  30827. ],
  30828. "refresh": "10s",
  30829. "rows": [
  30830. {
  30831. "collapse": false,
  30832. "collapsed": false,
  30833. "panels": [
  30834. {
  30835. "aliasColors": {
  30836. },
  30837. "bars": false,
  30838. "dashLength": 10,
  30839. "dashes": false,
  30840. "datasource": "$datasource",
  30841. "fill": 1,
  30842. "fillGradient": 0,
  30843. "gridPos": {
  30844. },
  30845. "id": 2,
  30846. "interval": "1m",
  30847. "legend": {
  30848. "alignAsTable": true,
  30849. "avg": true,
  30850. "current": true,
  30851. "max": true,
  30852. "min": true,
  30853. "rightSide": true,
  30854. "show": true,
  30855. "sideWidth": null,
  30856. "total": false,
  30857. "values": true
  30858. },
  30859. "lines": true,
  30860. "linewidth": 1,
  30861. "links": [
  30862. ],
  30863. "nullPointMode": "null",
  30864. "percentage": false,
  30865. "pointradius": 5,
  30866. "points": false,
  30867. "renderer": "flot",
  30868. "repeat": null,
  30869. "seriesOverrides": [
  30870. ],
  30871. "spaceLength": 10,
  30872. "span": 9,
  30873. "stack": true,
  30874. "steppedLine": false,
  30875. "targets": [
  30876. {
  30877. "expr": "(\n sum without(instance, node) (topk(1, (kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})))\n -\n sum without(instance, node) (topk(1, (kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})))\n)\n",
  30878. "format": "time_series",
  30879. "intervalFactor": 1,
  30880. "legendFormat": "Used Space",
  30881. "refId": "A"
  30882. },
  30883. {
  30884. "expr": "sum without(instance, node) (topk(1, (kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})))\n",
  30885. "format": "time_series",
  30886. "intervalFactor": 1,
  30887. "legendFormat": "Free Space",
  30888. "refId": "B"
  30889. }
  30890. ],
  30891. "thresholds": [
  30892. ],
  30893. "timeFrom": null,
  30894. "timeShift": null,
  30895. "title": "Volume Space Usage",
  30896. "tooltip": {
  30897. "shared": false,
  30898. "sort": 0,
  30899. "value_type": "individual"
  30900. },
  30901. "type": "graph",
  30902. "xaxis": {
  30903. "buckets": null,
  30904. "mode": "time",
  30905. "name": null,
  30906. "show": true,
  30907. "values": [
  30908. ]
  30909. },
  30910. "yaxes": [
  30911. {
  30912. "format": "bytes",
  30913. "label": null,
  30914. "logBase": 1,
  30915. "max": null,
  30916. "min": 0,
  30917. "show": true
  30918. },
  30919. {
  30920. "format": "bytes",
  30921. "label": null,
  30922. "logBase": 1,
  30923. "max": null,
  30924. "min": 0,
  30925. "show": true
  30926. }
  30927. ]
  30928. },
  30929. {
  30930. "cacheTimeout": null,
  30931. "colorBackground": false,
  30932. "colorValue": false,
  30933. "colors": [
  30934. "rgba(50, 172, 45, 0.97)",
  30935. "rgba(237, 129, 40, 0.89)",
  30936. "rgba(245, 54, 54, 0.9)"
  30937. ],
  30938. "datasource": "$datasource",
  30939. "format": "percent",
  30940. "gauge": {
  30941. "maxValue": 100,
  30942. "minValue": 0,
  30943. "show": true,
  30944. "thresholdLabels": false,
  30945. "thresholdMarkers": true
  30946. },
  30947. "gridPos": {
  30948. },
  30949. "id": 3,
  30950. "interval": "1m",
  30951. "legend": {
  30952. "alignAsTable": true,
  30953. "rightSide": true
  30954. },
  30955. "links": [
  30956. ],
  30957. "mappingType": 1,
  30958. "mappingTypes": [
  30959. {
  30960. "name": "value to text",
  30961. "value": 1
  30962. },
  30963. {
  30964. "name": "range to text",
  30965. "value": 2
  30966. }
  30967. ],
  30968. "maxDataPoints": 100,
  30969. "nullPointMode": "connected",
  30970. "nullText": null,
  30971. "postfix": "",
  30972. "postfixFontSize": "50%",
  30973. "prefix": "",
  30974. "prefixFontSize": "50%",
  30975. "rangeMaps": [
  30976. {
  30977. "from": "null",
  30978. "text": "N/A",
  30979. "to": "null"
  30980. }
  30981. ],
  30982. "span": 3,
  30983. "sparkline": {
  30984. "fillColor": "rgba(31, 118, 189, 0.18)",
  30985. "full": false,
  30986. "lineColor": "rgb(31, 120, 193)",
  30987. "show": false
  30988. },
  30989. "tableColumn": "",
  30990. "targets": [
  30991. {
  30992. "expr": "max without(instance,node) (\n(\n topk(1, kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n -\n topk(1, kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n)\n/\ntopk(1, kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n* 100)\n",
  30993. "format": "time_series",
  30994. "intervalFactor": 2,
  30995. "legendFormat": "",
  30996. "refId": "A"
  30997. }
  30998. ],
  30999. "thresholds": "80, 90",
  31000. "title": "Volume Space Usage",
  31001. "tooltip": {
  31002. "shared": false
  31003. },
  31004. "type": "singlestat",
  31005. "valueFontSize": "80%",
  31006. "valueMaps": [
  31007. {
  31008. "op": "=",
  31009. "text": "N/A",
  31010. "value": "null"
  31011. }
  31012. ],
  31013. "valueName": "current"
  31014. }
  31015. ],
  31016. "repeat": null,
  31017. "repeatIteration": null,
  31018. "repeatRowId": null,
  31019. "showTitle": false,
  31020. "title": "Dashboard Row",
  31021. "titleSize": "h6",
  31022. "type": "row"
  31023. },
  31024. {
  31025. "collapse": false,
  31026. "collapsed": false,
  31027. "panels": [
  31028. {
  31029. "aliasColors": {
  31030. },
  31031. "bars": false,
  31032. "dashLength": 10,
  31033. "dashes": false,
  31034. "datasource": "$datasource",
  31035. "fill": 1,
  31036. "fillGradient": 0,
  31037. "gridPos": {
  31038. },
  31039. "id": 4,
  31040. "interval": "1m",
  31041. "legend": {
  31042. "alignAsTable": true,
  31043. "avg": true,
  31044. "current": true,
  31045. "max": true,
  31046. "min": true,
  31047. "rightSide": true,
  31048. "show": true,
  31049. "sideWidth": null,
  31050. "total": false,
  31051. "values": true
  31052. },
  31053. "lines": true,
  31054. "linewidth": 1,
  31055. "links": [
  31056. ],
  31057. "nullPointMode": "null",
  31058. "percentage": false,
  31059. "pointradius": 5,
  31060. "points": false,
  31061. "renderer": "flot",
  31062. "repeat": null,
  31063. "seriesOverrides": [
  31064. ],
  31065. "spaceLength": 10,
  31066. "span": 9,
  31067. "stack": true,
  31068. "steppedLine": false,
  31069. "targets": [
  31070. {
  31071. "expr": "sum without(instance, node) (topk(1, (kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})))\n",
  31072. "format": "time_series",
  31073. "intervalFactor": 1,
  31074. "legendFormat": "Used inodes",
  31075. "refId": "A"
  31076. },
  31077. {
  31078. "expr": "(\n sum without(instance, node) (topk(1, (kubelet_volume_stats_inodes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})))\n -\n sum without(instance, node) (topk(1, (kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})))\n)\n",
  31079. "format": "time_series",
  31080. "intervalFactor": 1,
  31081. "legendFormat": " Free inodes",
  31082. "refId": "B"
  31083. }
  31084. ],
  31085. "thresholds": [
  31086. ],
  31087. "timeFrom": null,
  31088. "timeShift": null,
  31089. "title": "Volume inodes Usage",
  31090. "tooltip": {
  31091. "shared": false,
  31092. "sort": 0,
  31093. "value_type": "individual"
  31094. },
  31095. "type": "graph",
  31096. "xaxis": {
  31097. "buckets": null,
  31098. "mode": "time",
  31099. "name": null,
  31100. "show": true,
  31101. "values": [
  31102. ]
  31103. },
  31104. "yaxes": [
  31105. {
  31106. "format": "none",
  31107. "label": null,
  31108. "logBase": 1,
  31109. "max": null,
  31110. "min": 0,
  31111. "show": true
  31112. },
  31113. {
  31114. "format": "none",
  31115. "label": null,
  31116. "logBase": 1,
  31117. "max": null,
  31118. "min": 0,
  31119. "show": true
  31120. }
  31121. ]
  31122. },
  31123. {
  31124. "cacheTimeout": null,
  31125. "colorBackground": false,
  31126. "colorValue": false,
  31127. "colors": [
  31128. "rgba(50, 172, 45, 0.97)",
  31129. "rgba(237, 129, 40, 0.89)",
  31130. "rgba(245, 54, 54, 0.9)"
  31131. ],
  31132. "datasource": "$datasource",
  31133. "format": "percent",
  31134. "gauge": {
  31135. "maxValue": 100,
  31136. "minValue": 0,
  31137. "show": true,
  31138. "thresholdLabels": false,
  31139. "thresholdMarkers": true
  31140. },
  31141. "gridPos": {
  31142. },
  31143. "id": 5,
  31144. "interval": "1m",
  31145. "legend": {
  31146. "alignAsTable": true,
  31147. "rightSide": true
  31148. },
  31149. "links": [
  31150. ],
  31151. "mappingType": 1,
  31152. "mappingTypes": [
  31153. {
  31154. "name": "value to text",
  31155. "value": 1
  31156. },
  31157. {
  31158. "name": "range to text",
  31159. "value": 2
  31160. }
  31161. ],
  31162. "maxDataPoints": 100,
  31163. "nullPointMode": "connected",
  31164. "nullText": null,
  31165. "postfix": "",
  31166. "postfixFontSize": "50%",
  31167. "prefix": "",
  31168. "prefixFontSize": "50%",
  31169. "rangeMaps": [
  31170. {
  31171. "from": "null",
  31172. "text": "N/A",
  31173. "to": "null"
  31174. }
  31175. ],
  31176. "span": 3,
  31177. "sparkline": {
  31178. "fillColor": "rgba(31, 118, 189, 0.18)",
  31179. "full": false,
  31180. "lineColor": "rgb(31, 120, 193)",
  31181. "show": false
  31182. },
  31183. "tableColumn": "",
  31184. "targets": [
  31185. {
  31186. "expr": "max without(instance,node) (\ntopk(1, kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n/\ntopk(1, kubelet_volume_stats_inodes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n* 100)\n",
  31187. "format": "time_series",
  31188. "intervalFactor": 2,
  31189. "legendFormat": "",
  31190. "refId": "A"
  31191. }
  31192. ],
  31193. "thresholds": "80, 90",
  31194. "title": "Volume inodes Usage",
  31195. "tooltip": {
  31196. "shared": false
  31197. },
  31198. "type": "singlestat",
  31199. "valueFontSize": "80%",
  31200. "valueMaps": [
  31201. {
  31202. "op": "=",
  31203. "text": "N/A",
  31204. "value": "null"
  31205. }
  31206. ],
  31207. "valueName": "current"
  31208. }
  31209. ],
  31210. "repeat": null,
  31211. "repeatIteration": null,
  31212. "repeatRowId": null,
  31213. "showTitle": false,
  31214. "title": "Dashboard Row",
  31215. "titleSize": "h6",
  31216. "type": "row"
  31217. }
  31218. ],
  31219. "schemaVersion": 14,
  31220. "style": "dark",
  31221. "tags": [
  31222. "kubernetes-mixin"
  31223. ],
  31224. "templating": {
  31225. "list": [
  31226. {
  31227. "current": {
  31228. "text": "default",
  31229. "value": "default"
  31230. },
  31231. "hide": 0,
  31232. "label": "Data Source",
  31233. "name": "datasource",
  31234. "options": [
  31235. ],
  31236. "query": "prometheus",
  31237. "refresh": 1,
  31238. "regex": "",
  31239. "type": "datasource"
  31240. },
  31241. {
  31242. "allValue": null,
  31243. "current": {
  31244. },
  31245. "datasource": "$datasource",
  31246. "hide": 2,
  31247. "includeAll": false,
  31248. "label": "cluster",
  31249. "multi": false,
  31250. "name": "cluster",
  31251. "options": [
  31252. ],
  31253. "query": "label_values(kubelet_volume_stats_capacity_bytes{job=\"kubelet\", metrics_path=\"/metrics\"}, cluster)",
  31254. "refresh": 2,
  31255. "regex": "",
  31256. "sort": 1,
  31257. "tagValuesQuery": "",
  31258. "tags": [
  31259. ],
  31260. "tagsQuery": "",
  31261. "type": "query",
  31262. "useTags": false
  31263. },
  31264. {
  31265. "allValue": null,
  31266. "current": {
  31267. },
  31268. "datasource": "$datasource",
  31269. "hide": 0,
  31270. "includeAll": false,
  31271. "label": "Namespace",
  31272. "multi": false,
  31273. "name": "namespace",
  31274. "options": [
  31275. ],
  31276. "query": "label_values(kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\"}, namespace)",
  31277. "refresh": 2,
  31278. "regex": "",
  31279. "sort": 1,
  31280. "tagValuesQuery": "",
  31281. "tags": [
  31282. ],
  31283. "tagsQuery": "",
  31284. "type": "query",
  31285. "useTags": false
  31286. },
  31287. {
  31288. "allValue": null,
  31289. "current": {
  31290. },
  31291. "datasource": "$datasource",
  31292. "hide": 0,
  31293. "includeAll": false,
  31294. "label": "PersistentVolumeClaim",
  31295. "multi": false,
  31296. "name": "volume",
  31297. "options": [
  31298. ],
  31299. "query": "label_values(kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", metrics_path=\"/metrics\", namespace=\"$namespace\"}, persistentvolumeclaim)",
  31300. "refresh": 2,
  31301. "regex": "",
  31302. "sort": 1,
  31303. "tagValuesQuery": "",
  31304. "tags": [
  31305. ],
  31306. "tagsQuery": "",
  31307. "type": "query",
  31308. "useTags": false
  31309. }
  31310. ]
  31311. },
  31312. "time": {
  31313. "from": "now-7d",
  31314. "to": "now"
  31315. },
  31316. "timepicker": {
  31317. "refresh_intervals": [
  31318. "5s",
  31319. "10s",
  31320. "30s",
  31321. "1m",
  31322. "5m",
  31323. "15m",
  31324. "30m",
  31325. "1h",
  31326. "2h",
  31327. "1d"
  31328. ],
  31329. "time_options": [
  31330. "5m",
  31331. "15m",
  31332. "1h",
  31333. "6h",
  31334. "12h",
  31335. "24h",
  31336. "2d",
  31337. "7d",
  31338. "30d"
  31339. ]
  31340. },
  31341. "timezone": "utc",
  31342. "title": "Kubernetes / Persistent Volumes",
  31343. "uid": "919b92a8e8041bd567af9edab12c840c",
  31344. "version": 0
  31345. }
  31346. ---
  31347. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/pod-total.yaml
  31348. apiVersion: v1
  31349. kind: ConfigMap
  31350. metadata:
  31351. namespace: monitoring
  31352. name: prometheus-kube-prometheus-pod-total
  31353. annotations:
  31354. {}
  31355. labels:
  31356. grafana_dashboard: "1"
  31357. app: kube-prometheus-stack-grafana
  31358. app.kubernetes.io/managed-by: Helm
  31359. app.kubernetes.io/instance: prometheus
  31360. app.kubernetes.io/version: "44.3.0"
  31361. app.kubernetes.io/part-of: kube-prometheus-stack
  31362. chart: kube-prometheus-stack-44.3.0
  31363. release: "prometheus"
  31364. heritage: "Helm"
  31365. data:
  31366. pod-total.json: |-
  31367. {
  31368. "__inputs": [
  31369. ],
  31370. "__requires": [
  31371. ],
  31372. "annotations": {
  31373. "list": [
  31374. {
  31375. "builtIn": 1,
  31376. "datasource": "-- Grafana --",
  31377. "enable": true,
  31378. "hide": true,
  31379. "iconColor": "rgba(0, 211, 255, 1)",
  31380. "name": "Annotations & Alerts",
  31381. "type": "dashboard"
  31382. }
  31383. ]
  31384. },
  31385. "editable": true,
  31386. "gnetId": null,
  31387. "graphTooltip": 0,
  31388. "hideControls": false,
  31389. "id": null,
  31390. "links": [
  31391. ],
  31392. "panels": [
  31393. {
  31394. "collapse": false,
  31395. "collapsed": false,
  31396. "gridPos": {
  31397. "h": 1,
  31398. "w": 24,
  31399. "x": 0,
  31400. "y": 0
  31401. },
  31402. "id": 2,
  31403. "panels": [
  31404. ],
  31405. "repeat": null,
  31406. "repeatIteration": null,
  31407. "repeatRowId": null,
  31408. "showTitle": true,
  31409. "title": "Current Bandwidth",
  31410. "titleSize": "h6",
  31411. "type": "row"
  31412. },
  31413. {
  31414. "cacheTimeout": null,
  31415. "colorBackground": false,
  31416. "colorValue": false,
  31417. "colors": [
  31418. "#299c46",
  31419. "rgba(237, 129, 40, 0.89)",
  31420. "#d44a3a"
  31421. ],
  31422. "datasource": "$datasource",
  31423. "decimals": 0,
  31424. "format": "time_series",
  31425. "gauge": {
  31426. "maxValue": 100,
  31427. "minValue": 0,
  31428. "show": false,
  31429. "thresholdLabels": false,
  31430. "thresholdMarkers": true
  31431. },
  31432. "gridPos": {
  31433. "h": 9,
  31434. "w": 12,
  31435. "x": 0,
  31436. "y": 1
  31437. },
  31438. "height": 9,
  31439. "id": 3,
  31440. "interval": null,
  31441. "links": [
  31442. ],
  31443. "mappingType": 1,
  31444. "mappingTypes": [
  31445. {
  31446. "name": "value to text",
  31447. "value": 1
  31448. },
  31449. {
  31450. "name": "range to text",
  31451. "value": 2
  31452. }
  31453. ],
  31454. "maxDataPoints": 100,
  31455. "minSpan": 12,
  31456. "nullPointMode": "connected",
  31457. "nullText": null,
  31458. "options": {
  31459. "fieldOptions": {
  31460. "calcs": [
  31461. "last"
  31462. ],
  31463. "defaults": {
  31464. "max": 10000000000,
  31465. "min": 0,
  31466. "title": "$namespace: $pod",
  31467. "unit": "Bps"
  31468. },
  31469. "mappings": [
  31470. ],
  31471. "override": {
  31472. },
  31473. "thresholds": [
  31474. {
  31475. "color": "dark-green",
  31476. "index": 0,
  31477. "value": null
  31478. },
  31479. {
  31480. "color": "dark-yellow",
  31481. "index": 1,
  31482. "value": 5000000000
  31483. },
  31484. {
  31485. "color": "dark-red",
  31486. "index": 2,
  31487. "value": 7000000000
  31488. }
  31489. ],
  31490. "values": false
  31491. }
  31492. },
  31493. "postfix": "",
  31494. "postfixFontSize": "50%",
  31495. "prefix": "",
  31496. "prefixFontSize": "50%",
  31497. "rangeMaps": [
  31498. {
  31499. "from": "null",
  31500. "text": "N/A",
  31501. "to": "null"
  31502. }
  31503. ],
  31504. "span": 12,
  31505. "sparkline": {
  31506. "fillColor": "rgba(31, 118, 189, 0.18)",
  31507. "full": false,
  31508. "lineColor": "rgb(31, 120, 193)",
  31509. "show": false
  31510. },
  31511. "tableColumn": "",
  31512. "targets": [
  31513. {
  31514. "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution]))",
  31515. "format": "time_series",
  31516. "instant": null,
  31517. "intervalFactor": 1,
  31518. "legendFormat": "",
  31519. "refId": "A"
  31520. }
  31521. ],
  31522. "thresholds": "",
  31523. "timeFrom": null,
  31524. "timeShift": null,
  31525. "title": "Current Rate of Bytes Received",
  31526. "type": "gauge",
  31527. "valueFontSize": "80%",
  31528. "valueMaps": [
  31529. {
  31530. "op": "=",
  31531. "text": "N/A",
  31532. "value": "null"
  31533. }
  31534. ],
  31535. "valueName": "current"
  31536. },
  31537. {
  31538. "cacheTimeout": null,
  31539. "colorBackground": false,
  31540. "colorValue": false,
  31541. "colors": [
  31542. "#299c46",
  31543. "rgba(237, 129, 40, 0.89)",
  31544. "#d44a3a"
  31545. ],
  31546. "datasource": "$datasource",
  31547. "decimals": 0,
  31548. "format": "time_series",
  31549. "gauge": {
  31550. "maxValue": 100,
  31551. "minValue": 0,
  31552. "show": false,
  31553. "thresholdLabels": false,
  31554. "thresholdMarkers": true
  31555. },
  31556. "gridPos": {
  31557. "h": 9,
  31558. "w": 12,
  31559. "x": 12,
  31560. "y": 1
  31561. },
  31562. "height": 9,
  31563. "id": 4,
  31564. "interval": null,
  31565. "links": [
  31566. ],
  31567. "mappingType": 1,
  31568. "mappingTypes": [
  31569. {
  31570. "name": "value to text",
  31571. "value": 1
  31572. },
  31573. {
  31574. "name": "range to text",
  31575. "value": 2
  31576. }
  31577. ],
  31578. "maxDataPoints": 100,
  31579. "minSpan": 12,
  31580. "nullPointMode": "connected",
  31581. "nullText": null,
  31582. "options": {
  31583. "fieldOptions": {
  31584. "calcs": [
  31585. "last"
  31586. ],
  31587. "defaults": {
  31588. "max": 10000000000,
  31589. "min": 0,
  31590. "title": "$namespace: $pod",
  31591. "unit": "Bps"
  31592. },
  31593. "mappings": [
  31594. ],
  31595. "override": {
  31596. },
  31597. "thresholds": [
  31598. {
  31599. "color": "dark-green",
  31600. "index": 0,
  31601. "value": null
  31602. },
  31603. {
  31604. "color": "dark-yellow",
  31605. "index": 1,
  31606. "value": 5000000000
  31607. },
  31608. {
  31609. "color": "dark-red",
  31610. "index": 2,
  31611. "value": 7000000000
  31612. }
  31613. ],
  31614. "values": false
  31615. }
  31616. },
  31617. "postfix": "",
  31618. "postfixFontSize": "50%",
  31619. "prefix": "",
  31620. "prefixFontSize": "50%",
  31621. "rangeMaps": [
  31622. {
  31623. "from": "null",
  31624. "text": "N/A",
  31625. "to": "null"
  31626. }
  31627. ],
  31628. "span": 12,
  31629. "sparkline": {
  31630. "fillColor": "rgba(31, 118, 189, 0.18)",
  31631. "full": false,
  31632. "lineColor": "rgb(31, 120, 193)",
  31633. "show": false
  31634. },
  31635. "tableColumn": "",
  31636. "targets": [
  31637. {
  31638. "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution]))",
  31639. "format": "time_series",
  31640. "instant": null,
  31641. "intervalFactor": 1,
  31642. "legendFormat": "",
  31643. "refId": "A"
  31644. }
  31645. ],
  31646. "thresholds": "",
  31647. "timeFrom": null,
  31648. "timeShift": null,
  31649. "title": "Current Rate of Bytes Transmitted",
  31650. "type": "gauge",
  31651. "valueFontSize": "80%",
  31652. "valueMaps": [
  31653. {
  31654. "op": "=",
  31655. "text": "N/A",
  31656. "value": "null"
  31657. }
  31658. ],
  31659. "valueName": "current"
  31660. },
  31661. {
  31662. "collapse": false,
  31663. "collapsed": false,
  31664. "gridPos": {
  31665. "h": 1,
  31666. "w": 24,
  31667. "x": 0,
  31668. "y": 10
  31669. },
  31670. "id": 5,
  31671. "panels": [
  31672. ],
  31673. "repeat": null,
  31674. "repeatIteration": null,
  31675. "repeatRowId": null,
  31676. "showTitle": true,
  31677. "title": "Bandwidth",
  31678. "titleSize": "h6",
  31679. "type": "row"
  31680. },
  31681. {
  31682. "aliasColors": {
  31683. },
  31684. "bars": false,
  31685. "dashLength": 10,
  31686. "dashes": false,
  31687. "datasource": "$datasource",
  31688. "fill": 2,
  31689. "fillGradient": 0,
  31690. "gridPos": {
  31691. "h": 9,
  31692. "w": 12,
  31693. "x": 0,
  31694. "y": 11
  31695. },
  31696. "id": 6,
  31697. "legend": {
  31698. "alignAsTable": false,
  31699. "avg": false,
  31700. "current": false,
  31701. "hideEmpty": true,
  31702. "hideZero": true,
  31703. "max": false,
  31704. "min": false,
  31705. "rightSide": false,
  31706. "show": true,
  31707. "sideWidth": null,
  31708. "total": false,
  31709. "values": false
  31710. },
  31711. "lines": true,
  31712. "linewidth": 2,
  31713. "links": [
  31714. ],
  31715. "minSpan": 12,
  31716. "nullPointMode": "connected",
  31717. "paceLength": 10,
  31718. "percentage": false,
  31719. "pointradius": 5,
  31720. "points": false,
  31721. "renderer": "flot",
  31722. "repeat": null,
  31723. "seriesOverrides": [
  31724. ],
  31725. "spaceLength": 10,
  31726. "span": 12,
  31727. "stack": true,
  31728. "steppedLine": false,
  31729. "targets": [
  31730. {
  31731. "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
  31732. "format": "time_series",
  31733. "intervalFactor": 1,
  31734. "legendFormat": "{{pod}}",
  31735. "refId": "A",
  31736. "step": 10
  31737. }
  31738. ],
  31739. "thresholds": [
  31740. ],
  31741. "timeFrom": null,
  31742. "timeShift": null,
  31743. "title": "Receive Bandwidth",
  31744. "tooltip": {
  31745. "shared": true,
  31746. "sort": 2,
  31747. "value_type": "individual"
  31748. },
  31749. "type": "graph",
  31750. "xaxis": {
  31751. "buckets": null,
  31752. "mode": "time",
  31753. "name": null,
  31754. "show": true,
  31755. "values": [
  31756. ]
  31757. },
  31758. "yaxes": [
  31759. {
  31760. "format": "Bps",
  31761. "label": null,
  31762. "logBase": 1,
  31763. "max": null,
  31764. "min": 0,
  31765. "show": true
  31766. },
  31767. {
  31768. "format": "Bps",
  31769. "label": null,
  31770. "logBase": 1,
  31771. "max": null,
  31772. "min": 0,
  31773. "show": true
  31774. }
  31775. ]
  31776. },
  31777. {
  31778. "aliasColors": {
  31779. },
  31780. "bars": false,
  31781. "dashLength": 10,
  31782. "dashes": false,
  31783. "datasource": "$datasource",
  31784. "fill": 2,
  31785. "fillGradient": 0,
  31786. "gridPos": {
  31787. "h": 9,
  31788. "w": 12,
  31789. "x": 12,
  31790. "y": 11
  31791. },
  31792. "id": 7,
  31793. "legend": {
  31794. "alignAsTable": false,
  31795. "avg": false,
  31796. "current": false,
  31797. "hideEmpty": true,
  31798. "hideZero": true,
  31799. "max": false,
  31800. "min": false,
  31801. "rightSide": false,
  31802. "show": true,
  31803. "sideWidth": null,
  31804. "total": false,
  31805. "values": false
  31806. },
  31807. "lines": true,
  31808. "linewidth": 2,
  31809. "links": [
  31810. ],
  31811. "minSpan": 12,
  31812. "nullPointMode": "connected",
  31813. "paceLength": 10,
  31814. "percentage": false,
  31815. "pointradius": 5,
  31816. "points": false,
  31817. "renderer": "flot",
  31818. "repeat": null,
  31819. "seriesOverrides": [
  31820. ],
  31821. "spaceLength": 10,
  31822. "span": 12,
  31823. "stack": true,
  31824. "steppedLine": false,
  31825. "targets": [
  31826. {
  31827. "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
  31828. "format": "time_series",
  31829. "intervalFactor": 1,
  31830. "legendFormat": "{{pod}}",
  31831. "refId": "A",
  31832. "step": 10
  31833. }
  31834. ],
  31835. "thresholds": [
  31836. ],
  31837. "timeFrom": null,
  31838. "timeShift": null,
  31839. "title": "Transmit Bandwidth",
  31840. "tooltip": {
  31841. "shared": true,
  31842. "sort": 2,
  31843. "value_type": "individual"
  31844. },
  31845. "type": "graph",
  31846. "xaxis": {
  31847. "buckets": null,
  31848. "mode": "time",
  31849. "name": null,
  31850. "show": true,
  31851. "values": [
  31852. ]
  31853. },
  31854. "yaxes": [
  31855. {
  31856. "format": "Bps",
  31857. "label": null,
  31858. "logBase": 1,
  31859. "max": null,
  31860. "min": 0,
  31861. "show": true
  31862. },
  31863. {
  31864. "format": "Bps",
  31865. "label": null,
  31866. "logBase": 1,
  31867. "max": null,
  31868. "min": 0,
  31869. "show": true
  31870. }
  31871. ]
  31872. },
  31873. {
  31874. "collapse": true,
  31875. "collapsed": true,
  31876. "gridPos": {
  31877. "h": 1,
  31878. "w": 24,
  31879. "x": 0,
  31880. "y": 20
  31881. },
  31882. "id": 8,
  31883. "panels": [
  31884. {
  31885. "aliasColors": {
  31886. },
  31887. "bars": false,
  31888. "dashLength": 10,
  31889. "dashes": false,
  31890. "datasource": "$datasource",
  31891. "fill": 2,
  31892. "fillGradient": 0,
  31893. "gridPos": {
  31894. "h": 10,
  31895. "w": 12,
  31896. "x": 0,
  31897. "y": 21
  31898. },
  31899. "id": 9,
  31900. "legend": {
  31901. "alignAsTable": false,
  31902. "avg": false,
  31903. "current": false,
  31904. "hideEmpty": true,
  31905. "hideZero": true,
  31906. "max": false,
  31907. "min": false,
  31908. "rightSide": false,
  31909. "show": true,
  31910. "sideWidth": null,
  31911. "total": false,
  31912. "values": false
  31913. },
  31914. "lines": true,
  31915. "linewidth": 2,
  31916. "links": [
  31917. ],
  31918. "minSpan": 12,
  31919. "nullPointMode": "connected",
  31920. "paceLength": 10,
  31921. "percentage": false,
  31922. "pointradius": 5,
  31923. "points": false,
  31924. "renderer": "flot",
  31925. "repeat": null,
  31926. "seriesOverrides": [
  31927. ],
  31928. "spaceLength": 10,
  31929. "span": 12,
  31930. "stack": true,
  31931. "steppedLine": false,
  31932. "targets": [
  31933. {
  31934. "expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
  31935. "format": "time_series",
  31936. "intervalFactor": 1,
  31937. "legendFormat": "{{pod}}",
  31938. "refId": "A",
  31939. "step": 10
  31940. }
  31941. ],
  31942. "thresholds": [
  31943. ],
  31944. "timeFrom": null,
  31945. "timeShift": null,
  31946. "title": "Rate of Received Packets",
  31947. "tooltip": {
  31948. "shared": true,
  31949. "sort": 2,
  31950. "value_type": "individual"
  31951. },
  31952. "type": "graph",
  31953. "xaxis": {
  31954. "buckets": null,
  31955. "mode": "time",
  31956. "name": null,
  31957. "show": true,
  31958. "values": [
  31959. ]
  31960. },
  31961. "yaxes": [
  31962. {
  31963. "format": "pps",
  31964. "label": null,
  31965. "logBase": 1,
  31966. "max": null,
  31967. "min": 0,
  31968. "show": true
  31969. },
  31970. {
  31971. "format": "pps",
  31972. "label": null,
  31973. "logBase": 1,
  31974. "max": null,
  31975. "min": 0,
  31976. "show": true
  31977. }
  31978. ]
  31979. },
  31980. {
  31981. "aliasColors": {
  31982. },
  31983. "bars": false,
  31984. "dashLength": 10,
  31985. "dashes": false,
  31986. "datasource": "$datasource",
  31987. "fill": 2,
  31988. "fillGradient": 0,
  31989. "gridPos": {
  31990. "h": 10,
  31991. "w": 12,
  31992. "x": 12,
  31993. "y": 21
  31994. },
  31995. "id": 10,
  31996. "legend": {
  31997. "alignAsTable": false,
  31998. "avg": false,
  31999. "current": false,
  32000. "hideEmpty": true,
  32001. "hideZero": true,
  32002. "max": false,
  32003. "min": false,
  32004. "rightSide": false,
  32005. "show": true,
  32006. "sideWidth": null,
  32007. "total": false,
  32008. "values": false
  32009. },
  32010. "lines": true,
  32011. "linewidth": 2,
  32012. "links": [
  32013. ],
  32014. "minSpan": 12,
  32015. "nullPointMode": "connected",
  32016. "paceLength": 10,
  32017. "percentage": false,
  32018. "pointradius": 5,
  32019. "points": false,
  32020. "renderer": "flot",
  32021. "repeat": null,
  32022. "seriesOverrides": [
  32023. ],
  32024. "spaceLength": 10,
  32025. "span": 12,
  32026. "stack": true,
  32027. "steppedLine": false,
  32028. "targets": [
  32029. {
  32030. "expr": "sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
  32031. "format": "time_series",
  32032. "intervalFactor": 1,
  32033. "legendFormat": "{{pod}}",
  32034. "refId": "A",
  32035. "step": 10
  32036. }
  32037. ],
  32038. "thresholds": [
  32039. ],
  32040. "timeFrom": null,
  32041. "timeShift": null,
  32042. "title": "Rate of Transmitted Packets",
  32043. "tooltip": {
  32044. "shared": true,
  32045. "sort": 2,
  32046. "value_type": "individual"
  32047. },
  32048. "type": "graph",
  32049. "xaxis": {
  32050. "buckets": null,
  32051. "mode": "time",
  32052. "name": null,
  32053. "show": true,
  32054. "values": [
  32055. ]
  32056. },
  32057. "yaxes": [
  32058. {
  32059. "format": "pps",
  32060. "label": null,
  32061. "logBase": 1,
  32062. "max": null,
  32063. "min": 0,
  32064. "show": true
  32065. },
  32066. {
  32067. "format": "pps",
  32068. "label": null,
  32069. "logBase": 1,
  32070. "max": null,
  32071. "min": 0,
  32072. "show": true
  32073. }
  32074. ]
  32075. }
  32076. ],
  32077. "repeat": null,
  32078. "repeatIteration": null,
  32079. "repeatRowId": null,
  32080. "showTitle": true,
  32081. "title": "Packets",
  32082. "titleSize": "h6",
  32083. "type": "row"
  32084. },
  32085. {
  32086. "collapse": true,
  32087. "collapsed": true,
  32088. "gridPos": {
  32089. "h": 1,
  32090. "w": 24,
  32091. "x": 0,
  32092. "y": 21
  32093. },
  32094. "id": 11,
  32095. "panels": [
  32096. {
  32097. "aliasColors": {
  32098. },
  32099. "bars": false,
  32100. "dashLength": 10,
  32101. "dashes": false,
  32102. "datasource": "$datasource",
  32103. "fill": 2,
  32104. "fillGradient": 0,
  32105. "gridPos": {
  32106. "h": 10,
  32107. "w": 12,
  32108. "x": 0,
  32109. "y": 32
  32110. },
  32111. "id": 12,
  32112. "legend": {
  32113. "alignAsTable": false,
  32114. "avg": false,
  32115. "current": false,
  32116. "hideEmpty": true,
  32117. "hideZero": true,
  32118. "max": false,
  32119. "min": false,
  32120. "rightSide": false,
  32121. "show": true,
  32122. "sideWidth": null,
  32123. "total": false,
  32124. "values": false
  32125. },
  32126. "lines": true,
  32127. "linewidth": 2,
  32128. "links": [
  32129. ],
  32130. "minSpan": 12,
  32131. "nullPointMode": "connected",
  32132. "paceLength": 10,
  32133. "percentage": false,
  32134. "pointradius": 5,
  32135. "points": false,
  32136. "renderer": "flot",
  32137. "repeat": null,
  32138. "seriesOverrides": [
  32139. ],
  32140. "spaceLength": 10,
  32141. "span": 12,
  32142. "stack": true,
  32143. "steppedLine": false,
  32144. "targets": [
  32145. {
  32146. "expr": "sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
  32147. "format": "time_series",
  32148. "intervalFactor": 1,
  32149. "legendFormat": "{{pod}}",
  32150. "refId": "A",
  32151. "step": 10
  32152. }
  32153. ],
  32154. "thresholds": [
  32155. ],
  32156. "timeFrom": null,
  32157. "timeShift": null,
  32158. "title": "Rate of Received Packets Dropped",
  32159. "tooltip": {
  32160. "shared": true,
  32161. "sort": 2,
  32162. "value_type": "individual"
  32163. },
  32164. "type": "graph",
  32165. "xaxis": {
  32166. "buckets": null,
  32167. "mode": "time",
  32168. "name": null,
  32169. "show": true,
  32170. "values": [
  32171. ]
  32172. },
  32173. "yaxes": [
  32174. {
  32175. "format": "pps",
  32176. "label": null,
  32177. "logBase": 1,
  32178. "max": null,
  32179. "min": 0,
  32180. "show": true
  32181. },
  32182. {
  32183. "format": "pps",
  32184. "label": null,
  32185. "logBase": 1,
  32186. "max": null,
  32187. "min": 0,
  32188. "show": true
  32189. }
  32190. ]
  32191. },
  32192. {
  32193. "aliasColors": {
  32194. },
  32195. "bars": false,
  32196. "dashLength": 10,
  32197. "dashes": false,
  32198. "datasource": "$datasource",
  32199. "fill": 2,
  32200. "fillGradient": 0,
  32201. "gridPos": {
  32202. "h": 10,
  32203. "w": 12,
  32204. "x": 12,
  32205. "y": 32
  32206. },
  32207. "id": 13,
  32208. "legend": {
  32209. "alignAsTable": false,
  32210. "avg": false,
  32211. "current": false,
  32212. "hideEmpty": true,
  32213. "hideZero": true,
  32214. "max": false,
  32215. "min": false,
  32216. "rightSide": false,
  32217. "show": true,
  32218. "sideWidth": null,
  32219. "total": false,
  32220. "values": false
  32221. },
  32222. "lines": true,
  32223. "linewidth": 2,
  32224. "links": [
  32225. ],
  32226. "minSpan": 12,
  32227. "nullPointMode": "connected",
  32228. "paceLength": 10,
  32229. "percentage": false,
  32230. "pointradius": 5,
  32231. "points": false,
  32232. "renderer": "flot",
  32233. "repeat": null,
  32234. "seriesOverrides": [
  32235. ],
  32236. "spaceLength": 10,
  32237. "span": 12,
  32238. "stack": true,
  32239. "steppedLine": false,
  32240. "targets": [
  32241. {
  32242. "expr": "sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
  32243. "format": "time_series",
  32244. "intervalFactor": 1,
  32245. "legendFormat": "{{pod}}",
  32246. "refId": "A",
  32247. "step": 10
  32248. }
  32249. ],
  32250. "thresholds": [
  32251. ],
  32252. "timeFrom": null,
  32253. "timeShift": null,
  32254. "title": "Rate of Transmitted Packets Dropped",
  32255. "tooltip": {
  32256. "shared": true,
  32257. "sort": 2,
  32258. "value_type": "individual"
  32259. },
  32260. "type": "graph",
  32261. "xaxis": {
  32262. "buckets": null,
  32263. "mode": "time",
  32264. "name": null,
  32265. "show": true,
  32266. "values": [
  32267. ]
  32268. },
  32269. "yaxes": [
  32270. {
  32271. "format": "pps",
  32272. "label": null,
  32273. "logBase": 1,
  32274. "max": null,
  32275. "min": 0,
  32276. "show": true
  32277. },
  32278. {
  32279. "format": "pps",
  32280. "label": null,
  32281. "logBase": 1,
  32282. "max": null,
  32283. "min": 0,
  32284. "show": true
  32285. }
  32286. ]
  32287. }
  32288. ],
  32289. "repeat": null,
  32290. "repeatIteration": null,
  32291. "repeatRowId": null,
  32292. "showTitle": true,
  32293. "title": "Errors",
  32294. "titleSize": "h6",
  32295. "type": "row"
  32296. }
  32297. ],
  32298. "refresh": "10s",
  32299. "rows": [
  32300. ],
  32301. "schemaVersion": 18,
  32302. "style": "dark",
  32303. "tags": [
  32304. "kubernetes-mixin"
  32305. ],
  32306. "templating": {
  32307. "list": [
  32308. {
  32309. "current": {
  32310. "text": "default",
  32311. "value": "default"
  32312. },
  32313. "hide": 0,
  32314. "label": "Data Source",
  32315. "name": "datasource",
  32316. "options": [
  32317. ],
  32318. "query": "prometheus",
  32319. "refresh": 1,
  32320. "regex": "",
  32321. "type": "datasource"
  32322. },
  32323. {
  32324. "allValue": null,
  32325. "current": {
  32326. },
  32327. "datasource": "$datasource",
  32328. "hide": 2,
  32329. "includeAll": false,
  32330. "label": null,
  32331. "multi": false,
  32332. "name": "cluster",
  32333. "options": [
  32334. ],
  32335. "query": "label_values(up{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\"}, cluster)",
  32336. "refresh": 2,
  32337. "regex": "",
  32338. "sort": 0,
  32339. "tagValuesQuery": "",
  32340. "tags": [
  32341. ],
  32342. "tagsQuery": "",
  32343. "type": "query",
  32344. "useTags": false
  32345. },
  32346. {
  32347. "allValue": ".+",
  32348. "auto": false,
  32349. "auto_count": 30,
  32350. "auto_min": "10s",
  32351. "current": {
  32352. "text": "kube-system",
  32353. "value": "kube-system"
  32354. },
  32355. "datasource": "$datasource",
  32356. "definition": "label_values(container_network_receive_packets_total{cluster=\"$cluster\"}, namespace)",
  32357. "hide": 0,
  32358. "includeAll": true,
  32359. "label": null,
  32360. "multi": false,
  32361. "name": "namespace",
  32362. "options": [
  32363. ],
  32364. "query": "label_values(container_network_receive_packets_total{cluster=\"$cluster\"}, namespace)",
  32365. "refresh": 2,
  32366. "regex": "",
  32367. "skipUrlSync": false,
  32368. "sort": 1,
  32369. "tagValuesQuery": "",
  32370. "tags": [
  32371. ],
  32372. "tagsQuery": "",
  32373. "type": "query",
  32374. "useTags": false
  32375. },
  32376. {
  32377. "allValue": ".+",
  32378. "auto": false,
  32379. "auto_count": 30,
  32380. "auto_min": "10s",
  32381. "current": {
  32382. "text": "",
  32383. "value": ""
  32384. },
  32385. "datasource": "$datasource",
  32386. "definition": "label_values(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\"}, pod)",
  32387. "hide": 0,
  32388. "includeAll": false,
  32389. "label": null,
  32390. "multi": false,
  32391. "name": "pod",
  32392. "options": [
  32393. ],
  32394. "query": "label_values(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\"}, pod)",
  32395. "refresh": 2,
  32396. "regex": "",
  32397. "skipUrlSync": false,
  32398. "sort": 1,
  32399. "tagValuesQuery": "",
  32400. "tags": [
  32401. ],
  32402. "tagsQuery": "",
  32403. "type": "query",
  32404. "useTags": false
  32405. },
  32406. {
  32407. "allValue": null,
  32408. "auto": false,
  32409. "auto_count": 30,
  32410. "auto_min": "10s",
  32411. "current": {
  32412. "text": "5m",
  32413. "value": "5m"
  32414. },
  32415. "datasource": "$datasource",
  32416. "hide": 0,
  32417. "includeAll": false,
  32418. "label": null,
  32419. "multi": false,
  32420. "name": "resolution",
  32421. "options": [
  32422. {
  32423. "selected": false,
  32424. "text": "30s",
  32425. "value": "30s"
  32426. },
  32427. {
  32428. "selected": true,
  32429. "text": "5m",
  32430. "value": "5m"
  32431. },
  32432. {
  32433. "selected": false,
  32434. "text": "1h",
  32435. "value": "1h"
  32436. }
  32437. ],
  32438. "query": "30s,5m,1h",
  32439. "refresh": 2,
  32440. "regex": "",
  32441. "skipUrlSync": false,
  32442. "sort": 1,
  32443. "tagValuesQuery": "",
  32444. "tags": [
  32445. ],
  32446. "tagsQuery": "",
  32447. "type": "interval",
  32448. "useTags": false
  32449. },
  32450. {
  32451. "allValue": null,
  32452. "auto": false,
  32453. "auto_count": 30,
  32454. "auto_min": "10s",
  32455. "current": {
  32456. "text": "5m",
  32457. "value": "5m"
  32458. },
  32459. "datasource": "$datasource",
  32460. "hide": 2,
  32461. "includeAll": false,
  32462. "label": null,
  32463. "multi": false,
  32464. "name": "interval",
  32465. "options": [
  32466. {
  32467. "selected": true,
  32468. "text": "4h",
  32469. "value": "4h"
  32470. }
  32471. ],
  32472. "query": "4h",
  32473. "refresh": 2,
  32474. "regex": "",
  32475. "skipUrlSync": false,
  32476. "sort": 1,
  32477. "tagValuesQuery": "",
  32478. "tags": [
  32479. ],
  32480. "tagsQuery": "",
  32481. "type": "interval",
  32482. "useTags": false
  32483. }
  32484. ]
  32485. },
  32486. "time": {
  32487. "from": "now-1h",
  32488. "to": "now"
  32489. },
  32490. "timepicker": {
  32491. "refresh_intervals": [
  32492. "5s",
  32493. "10s",
  32494. "30s",
  32495. "1m",
  32496. "5m",
  32497. "15m",
  32498. "30m",
  32499. "1h",
  32500. "2h",
  32501. "1d"
  32502. ],
  32503. "time_options": [
  32504. "5m",
  32505. "15m",
  32506. "1h",
  32507. "6h",
  32508. "12h",
  32509. "24h",
  32510. "2d",
  32511. "7d",
  32512. "30d"
  32513. ]
  32514. },
  32515. "timezone": "utc",
  32516. "title": "Kubernetes / Networking / Pod",
  32517. "uid": "7a18067ce943a40ae25454675c19ff5c",
  32518. "version": 0
  32519. }
  32520. ---
  32521. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/prometheus.yaml
  32522. apiVersion: v1
  32523. kind: ConfigMap
  32524. metadata:
  32525. namespace: monitoring
  32526. name: prometheus-kube-prometheus-prometheus
  32527. annotations:
  32528. {}
  32529. labels:
  32530. grafana_dashboard: "1"
  32531. app: kube-prometheus-stack-grafana
  32532. app.kubernetes.io/managed-by: Helm
  32533. app.kubernetes.io/instance: prometheus
  32534. app.kubernetes.io/version: "44.3.0"
  32535. app.kubernetes.io/part-of: kube-prometheus-stack
  32536. chart: kube-prometheus-stack-44.3.0
  32537. release: "prometheus"
  32538. heritage: "Helm"
  32539. data:
  32540. prometheus.json: |-
  32541. {
  32542. "annotations": {
  32543. "list": [
  32544. ]
  32545. },
  32546. "editable": true,
  32547. "gnetId": null,
  32548. "graphTooltip": 0,
  32549. "hideControls": false,
  32550. "links": [
  32551. ],
  32552. "refresh": "60s",
  32553. "rows": [
  32554. {
  32555. "collapse": false,
  32556. "height": "250px",
  32557. "panels": [
  32558. {
  32559. "aliasColors": {
  32560. },
  32561. "bars": false,
  32562. "dashLength": 10,
  32563. "dashes": false,
  32564. "datasource": "$datasource",
  32565. "fill": 1,
  32566. "id": 1,
  32567. "legend": {
  32568. "avg": false,
  32569. "current": false,
  32570. "max": false,
  32571. "min": false,
  32572. "show": true,
  32573. "total": false,
  32574. "values": false
  32575. },
  32576. "lines": true,
  32577. "linewidth": 1,
  32578. "links": [
  32579. ],
  32580. "nullPointMode": "null as zero",
  32581. "percentage": false,
  32582. "pointradius": 5,
  32583. "points": false,
  32584. "renderer": "flot",
  32585. "seriesOverrides": [
  32586. ],
  32587. "spaceLength": 10,
  32588. "span": 12,
  32589. "stack": false,
  32590. "steppedLine": false,
  32591. "styles": [
  32592. {
  32593. "alias": "Time",
  32594. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  32595. "pattern": "Time",
  32596. "type": "hidden"
  32597. },
  32598. {
  32599. "alias": "Count",
  32600. "colorMode": null,
  32601. "colors": [
  32602. ],
  32603. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  32604. "decimals": 2,
  32605. "link": false,
  32606. "linkTargetBlank": false,
  32607. "linkTooltip": "Drill down",
  32608. "linkUrl": "",
  32609. "pattern": "Value #A",
  32610. "thresholds": [
  32611. ],
  32612. "type": "hidden",
  32613. "unit": "short"
  32614. },
  32615. {
  32616. "alias": "Uptime",
  32617. "colorMode": null,
  32618. "colors": [
  32619. ],
  32620. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  32621. "decimals": 2,
  32622. "link": false,
  32623. "linkTargetBlank": false,
  32624. "linkTooltip": "Drill down",
  32625. "linkUrl": "",
  32626. "pattern": "Value #B",
  32627. "thresholds": [
  32628. ],
  32629. "type": "number",
  32630. "unit": "s"
  32631. },
  32632. {
  32633. "alias": "Instance",
  32634. "colorMode": null,
  32635. "colors": [
  32636. ],
  32637. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  32638. "decimals": 2,
  32639. "link": false,
  32640. "linkTargetBlank": false,
  32641. "linkTooltip": "Drill down",
  32642. "linkUrl": "",
  32643. "pattern": "instance",
  32644. "thresholds": [
  32645. ],
  32646. "type": "number",
  32647. "unit": "short"
  32648. },
  32649. {
  32650. "alias": "Job",
  32651. "colorMode": null,
  32652. "colors": [
  32653. ],
  32654. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  32655. "decimals": 2,
  32656. "link": false,
  32657. "linkTargetBlank": false,
  32658. "linkTooltip": "Drill down",
  32659. "linkUrl": "",
  32660. "pattern": "job",
  32661. "thresholds": [
  32662. ],
  32663. "type": "number",
  32664. "unit": "short"
  32665. },
  32666. {
  32667. "alias": "Version",
  32668. "colorMode": null,
  32669. "colors": [
  32670. ],
  32671. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  32672. "decimals": 2,
  32673. "link": false,
  32674. "linkTargetBlank": false,
  32675. "linkTooltip": "Drill down",
  32676. "linkUrl": "",
  32677. "pattern": "version",
  32678. "thresholds": [
  32679. ],
  32680. "type": "number",
  32681. "unit": "short"
  32682. },
  32683. {
  32684. "alias": "",
  32685. "colorMode": null,
  32686. "colors": [
  32687. ],
  32688. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  32689. "decimals": 2,
  32690. "pattern": "/.*/",
  32691. "thresholds": [
  32692. ],
  32693. "type": "string",
  32694. "unit": "short"
  32695. }
  32696. ],
  32697. "targets": [
  32698. {
  32699. "expr": "count by (job, instance, version) (prometheus_build_info{job=~\"$job\", instance=~\"$instance\"})",
  32700. "format": "table",
  32701. "instant": true,
  32702. "intervalFactor": 2,
  32703. "legendFormat": "",
  32704. "refId": "A",
  32705. "step": 10
  32706. },
  32707. {
  32708. "expr": "max by (job, instance) (time() - process_start_time_seconds{job=~\"$job\", instance=~\"$instance\"})",
  32709. "format": "table",
  32710. "instant": true,
  32711. "intervalFactor": 2,
  32712. "legendFormat": "",
  32713. "refId": "B",
  32714. "step": 10
  32715. }
  32716. ],
  32717. "thresholds": [
  32718. ],
  32719. "timeFrom": null,
  32720. "timeShift": null,
  32721. "title": "Prometheus Stats",
  32722. "tooltip": {
  32723. "shared": true,
  32724. "sort": 2,
  32725. "value_type": "individual"
  32726. },
  32727. "transform": "table",
  32728. "type": "table",
  32729. "xaxis": {
  32730. "buckets": null,
  32731. "mode": "time",
  32732. "name": null,
  32733. "show": true,
  32734. "values": [
  32735. ]
  32736. },
  32737. "yaxes": [
  32738. {
  32739. "format": "short",
  32740. "label": null,
  32741. "logBase": 1,
  32742. "max": null,
  32743. "min": 0,
  32744. "show": true
  32745. },
  32746. {
  32747. "format": "short",
  32748. "label": null,
  32749. "logBase": 1,
  32750. "max": null,
  32751. "min": null,
  32752. "show": false
  32753. }
  32754. ]
  32755. }
  32756. ],
  32757. "repeat": null,
  32758. "repeatIteration": null,
  32759. "repeatRowId": null,
  32760. "showTitle": true,
  32761. "title": "Prometheus Stats",
  32762. "titleSize": "h6"
  32763. },
  32764. {
  32765. "collapse": false,
  32766. "height": "250px",
  32767. "panels": [
  32768. {
  32769. "aliasColors": {
  32770. },
  32771. "bars": false,
  32772. "dashLength": 10,
  32773. "dashes": false,
  32774. "datasource": "$datasource",
  32775. "fill": 1,
  32776. "id": 2,
  32777. "legend": {
  32778. "avg": false,
  32779. "current": false,
  32780. "max": false,
  32781. "min": false,
  32782. "show": true,
  32783. "total": false,
  32784. "values": false
  32785. },
  32786. "lines": true,
  32787. "linewidth": 1,
  32788. "links": [
  32789. ],
  32790. "nullPointMode": "null as zero",
  32791. "percentage": false,
  32792. "pointradius": 5,
  32793. "points": false,
  32794. "renderer": "flot",
  32795. "seriesOverrides": [
  32796. ],
  32797. "spaceLength": 10,
  32798. "span": 6,
  32799. "stack": false,
  32800. "steppedLine": false,
  32801. "targets": [
  32802. {
  32803. "expr": "sum(rate(prometheus_target_sync_length_seconds_sum{job=~\"$job\",instance=~\"$instance\"}[5m])) by (scrape_job) * 1e3",
  32804. "format": "time_series",
  32805. "intervalFactor": 2,
  32806. "legendFormat": "{{scrape_job}}",
  32807. "legendLink": null,
  32808. "step": 10
  32809. }
  32810. ],
  32811. "thresholds": [
  32812. ],
  32813. "timeFrom": null,
  32814. "timeShift": null,
  32815. "title": "Target Sync",
  32816. "tooltip": {
  32817. "shared": true,
  32818. "sort": 2,
  32819. "value_type": "individual"
  32820. },
  32821. "type": "graph",
  32822. "xaxis": {
  32823. "buckets": null,
  32824. "mode": "time",
  32825. "name": null,
  32826. "show": true,
  32827. "values": [
  32828. ]
  32829. },
  32830. "yaxes": [
  32831. {
  32832. "format": "ms",
  32833. "label": null,
  32834. "logBase": 1,
  32835. "max": null,
  32836. "min": 0,
  32837. "show": true
  32838. },
  32839. {
  32840. "format": "short",
  32841. "label": null,
  32842. "logBase": 1,
  32843. "max": null,
  32844. "min": null,
  32845. "show": false
  32846. }
  32847. ]
  32848. },
  32849. {
  32850. "aliasColors": {
  32851. },
  32852. "bars": false,
  32853. "dashLength": 10,
  32854. "dashes": false,
  32855. "datasource": "$datasource",
  32856. "fill": 10,
  32857. "id": 3,
  32858. "legend": {
  32859. "avg": false,
  32860. "current": false,
  32861. "max": false,
  32862. "min": false,
  32863. "show": true,
  32864. "total": false,
  32865. "values": false
  32866. },
  32867. "lines": true,
  32868. "linewidth": 0,
  32869. "links": [
  32870. ],
  32871. "nullPointMode": "null as zero",
  32872. "percentage": false,
  32873. "pointradius": 5,
  32874. "points": false,
  32875. "renderer": "flot",
  32876. "seriesOverrides": [
  32877. ],
  32878. "spaceLength": 10,
  32879. "span": 6,
  32880. "stack": true,
  32881. "steppedLine": false,
  32882. "targets": [
  32883. {
  32884. "expr": "sum(prometheus_sd_discovered_targets{job=~\"$job\",instance=~\"$instance\"})",
  32885. "format": "time_series",
  32886. "intervalFactor": 2,
  32887. "legendFormat": "Targets",
  32888. "legendLink": null,
  32889. "step": 10
  32890. }
  32891. ],
  32892. "thresholds": [
  32893. ],
  32894. "timeFrom": null,
  32895. "timeShift": null,
  32896. "title": "Targets",
  32897. "tooltip": {
  32898. "shared": true,
  32899. "sort": 2,
  32900. "value_type": "individual"
  32901. },
  32902. "type": "graph",
  32903. "xaxis": {
  32904. "buckets": null,
  32905. "mode": "time",
  32906. "name": null,
  32907. "show": true,
  32908. "values": [
  32909. ]
  32910. },
  32911. "yaxes": [
  32912. {
  32913. "format": "short",
  32914. "label": null,
  32915. "logBase": 1,
  32916. "max": null,
  32917. "min": 0,
  32918. "show": true
  32919. },
  32920. {
  32921. "format": "short",
  32922. "label": null,
  32923. "logBase": 1,
  32924. "max": null,
  32925. "min": null,
  32926. "show": false
  32927. }
  32928. ]
  32929. }
  32930. ],
  32931. "repeat": null,
  32932. "repeatIteration": null,
  32933. "repeatRowId": null,
  32934. "showTitle": true,
  32935. "title": "Discovery",
  32936. "titleSize": "h6"
  32937. },
  32938. {
  32939. "collapse": false,
  32940. "height": "250px",
  32941. "panels": [
  32942. {
  32943. "aliasColors": {
  32944. },
  32945. "bars": false,
  32946. "dashLength": 10,
  32947. "dashes": false,
  32948. "datasource": "$datasource",
  32949. "fill": 1,
  32950. "id": 4,
  32951. "legend": {
  32952. "avg": false,
  32953. "current": false,
  32954. "max": false,
  32955. "min": false,
  32956. "show": true,
  32957. "total": false,
  32958. "values": false
  32959. },
  32960. "lines": true,
  32961. "linewidth": 1,
  32962. "links": [
  32963. ],
  32964. "nullPointMode": "null as zero",
  32965. "percentage": false,
  32966. "pointradius": 5,
  32967. "points": false,
  32968. "renderer": "flot",
  32969. "seriesOverrides": [
  32970. ],
  32971. "spaceLength": 10,
  32972. "span": 4,
  32973. "stack": false,
  32974. "steppedLine": false,
  32975. "targets": [
  32976. {
  32977. "expr": "rate(prometheus_target_interval_length_seconds_sum{job=~\"$job\",instance=~\"$instance\"}[5m]) / rate(prometheus_target_interval_length_seconds_count{job=~\"$job\",instance=~\"$instance\"}[5m]) * 1e3",
  32978. "format": "time_series",
  32979. "intervalFactor": 2,
  32980. "legendFormat": "{{interval}} configured",
  32981. "legendLink": null,
  32982. "step": 10
  32983. }
  32984. ],
  32985. "thresholds": [
  32986. ],
  32987. "timeFrom": null,
  32988. "timeShift": null,
  32989. "title": "Average Scrape Interval Duration",
  32990. "tooltip": {
  32991. "shared": true,
  32992. "sort": 2,
  32993. "value_type": "individual"
  32994. },
  32995. "type": "graph",
  32996. "xaxis": {
  32997. "buckets": null,
  32998. "mode": "time",
  32999. "name": null,
  33000. "show": true,
  33001. "values": [
  33002. ]
  33003. },
  33004. "yaxes": [
  33005. {
  33006. "format": "ms",
  33007. "label": null,
  33008. "logBase": 1,
  33009. "max": null,
  33010. "min": 0,
  33011. "show": true
  33012. },
  33013. {
  33014. "format": "short",
  33015. "label": null,
  33016. "logBase": 1,
  33017. "max": null,
  33018. "min": null,
  33019. "show": false
  33020. }
  33021. ]
  33022. },
  33023. {
  33024. "aliasColors": {
  33025. },
  33026. "bars": false,
  33027. "dashLength": 10,
  33028. "dashes": false,
  33029. "datasource": "$datasource",
  33030. "fill": 10,
  33031. "id": 5,
  33032. "legend": {
  33033. "avg": false,
  33034. "current": false,
  33035. "max": false,
  33036. "min": false,
  33037. "show": true,
  33038. "total": false,
  33039. "values": false
  33040. },
  33041. "lines": true,
  33042. "linewidth": 0,
  33043. "links": [
  33044. ],
  33045. "nullPointMode": "null as zero",
  33046. "percentage": false,
  33047. "pointradius": 5,
  33048. "points": false,
  33049. "renderer": "flot",
  33050. "seriesOverrides": [
  33051. ],
  33052. "spaceLength": 10,
  33053. "span": 4,
  33054. "stack": true,
  33055. "steppedLine": false,
  33056. "targets": [
  33057. {
  33058. "expr": "sum by (job) (rate(prometheus_target_scrapes_exceeded_body_size_limit_total[1m]))",
  33059. "format": "time_series",
  33060. "intervalFactor": 2,
  33061. "legendFormat": "exceeded body size limit: {{job}}",
  33062. "legendLink": null,
  33063. "step": 10
  33064. },
  33065. {
  33066. "expr": "sum by (job) (rate(prometheus_target_scrapes_exceeded_sample_limit_total[1m]))",
  33067. "format": "time_series",
  33068. "intervalFactor": 2,
  33069. "legendFormat": "exceeded sample limit: {{job}}",
  33070. "legendLink": null,
  33071. "step": 10
  33072. },
  33073. {
  33074. "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_duplicate_timestamp_total[1m]))",
  33075. "format": "time_series",
  33076. "intervalFactor": 2,
  33077. "legendFormat": "duplicate timestamp: {{job}}",
  33078. "legendLink": null,
  33079. "step": 10
  33080. },
  33081. {
  33082. "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_out_of_bounds_total[1m]))",
  33083. "format": "time_series",
  33084. "intervalFactor": 2,
  33085. "legendFormat": "out of bounds: {{job}}",
  33086. "legendLink": null,
  33087. "step": 10
  33088. },
  33089. {
  33090. "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_out_of_order_total[1m]))",
  33091. "format": "time_series",
  33092. "intervalFactor": 2,
  33093. "legendFormat": "out of order: {{job}}",
  33094. "legendLink": null,
  33095. "step": 10
  33096. }
  33097. ],
  33098. "thresholds": [
  33099. ],
  33100. "timeFrom": null,
  33101. "timeShift": null,
  33102. "title": "Scrape failures",
  33103. "tooltip": {
  33104. "shared": true,
  33105. "sort": 2,
  33106. "value_type": "individual"
  33107. },
  33108. "type": "graph",
  33109. "xaxis": {
  33110. "buckets": null,
  33111. "mode": "time",
  33112. "name": null,
  33113. "show": true,
  33114. "values": [
  33115. ]
  33116. },
  33117. "yaxes": [
  33118. {
  33119. "format": "short",
  33120. "label": null,
  33121. "logBase": 1,
  33122. "max": null,
  33123. "min": 0,
  33124. "show": true
  33125. },
  33126. {
  33127. "format": "short",
  33128. "label": null,
  33129. "logBase": 1,
  33130. "max": null,
  33131. "min": null,
  33132. "show": false
  33133. }
  33134. ]
  33135. },
  33136. {
  33137. "aliasColors": {
  33138. },
  33139. "bars": false,
  33140. "dashLength": 10,
  33141. "dashes": false,
  33142. "datasource": "$datasource",
  33143. "fill": 10,
  33144. "id": 6,
  33145. "legend": {
  33146. "avg": false,
  33147. "current": false,
  33148. "max": false,
  33149. "min": false,
  33150. "show": true,
  33151. "total": false,
  33152. "values": false
  33153. },
  33154. "lines": true,
  33155. "linewidth": 0,
  33156. "links": [
  33157. ],
  33158. "nullPointMode": "null as zero",
  33159. "percentage": false,
  33160. "pointradius": 5,
  33161. "points": false,
  33162. "renderer": "flot",
  33163. "seriesOverrides": [
  33164. ],
  33165. "spaceLength": 10,
  33166. "span": 4,
  33167. "stack": true,
  33168. "steppedLine": false,
  33169. "targets": [
  33170. {
  33171. "expr": "rate(prometheus_tsdb_head_samples_appended_total{job=~\"$job\",instance=~\"$instance\"}[5m])",
  33172. "format": "time_series",
  33173. "intervalFactor": 2,
  33174. "legendFormat": "{{job}} {{instance}}",
  33175. "legendLink": null,
  33176. "step": 10
  33177. }
  33178. ],
  33179. "thresholds": [
  33180. ],
  33181. "timeFrom": null,
  33182. "timeShift": null,
  33183. "title": "Appended Samples",
  33184. "tooltip": {
  33185. "shared": true,
  33186. "sort": 2,
  33187. "value_type": "individual"
  33188. },
  33189. "type": "graph",
  33190. "xaxis": {
  33191. "buckets": null,
  33192. "mode": "time",
  33193. "name": null,
  33194. "show": true,
  33195. "values": [
  33196. ]
  33197. },
  33198. "yaxes": [
  33199. {
  33200. "format": "short",
  33201. "label": null,
  33202. "logBase": 1,
  33203. "max": null,
  33204. "min": 0,
  33205. "show": true
  33206. },
  33207. {
  33208. "format": "short",
  33209. "label": null,
  33210. "logBase": 1,
  33211. "max": null,
  33212. "min": null,
  33213. "show": false
  33214. }
  33215. ]
  33216. }
  33217. ],
  33218. "repeat": null,
  33219. "repeatIteration": null,
  33220. "repeatRowId": null,
  33221. "showTitle": true,
  33222. "title": "Retrieval",
  33223. "titleSize": "h6"
  33224. },
  33225. {
  33226. "collapse": false,
  33227. "height": "250px",
  33228. "panels": [
  33229. {
  33230. "aliasColors": {
  33231. },
  33232. "bars": false,
  33233. "dashLength": 10,
  33234. "dashes": false,
  33235. "datasource": "$datasource",
  33236. "fill": 10,
  33237. "id": 7,
  33238. "legend": {
  33239. "avg": false,
  33240. "current": false,
  33241. "max": false,
  33242. "min": false,
  33243. "show": true,
  33244. "total": false,
  33245. "values": false
  33246. },
  33247. "lines": true,
  33248. "linewidth": 0,
  33249. "links": [
  33250. ],
  33251. "nullPointMode": "null as zero",
  33252. "percentage": false,
  33253. "pointradius": 5,
  33254. "points": false,
  33255. "renderer": "flot",
  33256. "seriesOverrides": [
  33257. ],
  33258. "spaceLength": 10,
  33259. "span": 6,
  33260. "stack": true,
  33261. "steppedLine": false,
  33262. "targets": [
  33263. {
  33264. "expr": "prometheus_tsdb_head_series{job=~\"$job\",instance=~\"$instance\"}",
  33265. "format": "time_series",
  33266. "intervalFactor": 2,
  33267. "legendFormat": "{{job}} {{instance}} head series",
  33268. "legendLink": null,
  33269. "step": 10
  33270. }
  33271. ],
  33272. "thresholds": [
  33273. ],
  33274. "timeFrom": null,
  33275. "timeShift": null,
  33276. "title": "Head Series",
  33277. "tooltip": {
  33278. "shared": true,
  33279. "sort": 2,
  33280. "value_type": "individual"
  33281. },
  33282. "type": "graph",
  33283. "xaxis": {
  33284. "buckets": null,
  33285. "mode": "time",
  33286. "name": null,
  33287. "show": true,
  33288. "values": [
  33289. ]
  33290. },
  33291. "yaxes": [
  33292. {
  33293. "format": "short",
  33294. "label": null,
  33295. "logBase": 1,
  33296. "max": null,
  33297. "min": 0,
  33298. "show": true
  33299. },
  33300. {
  33301. "format": "short",
  33302. "label": null,
  33303. "logBase": 1,
  33304. "max": null,
  33305. "min": null,
  33306. "show": false
  33307. }
  33308. ]
  33309. },
  33310. {
  33311. "aliasColors": {
  33312. },
  33313. "bars": false,
  33314. "dashLength": 10,
  33315. "dashes": false,
  33316. "datasource": "$datasource",
  33317. "fill": 10,
  33318. "id": 8,
  33319. "legend": {
  33320. "avg": false,
  33321. "current": false,
  33322. "max": false,
  33323. "min": false,
  33324. "show": true,
  33325. "total": false,
  33326. "values": false
  33327. },
  33328. "lines": true,
  33329. "linewidth": 0,
  33330. "links": [
  33331. ],
  33332. "nullPointMode": "null as zero",
  33333. "percentage": false,
  33334. "pointradius": 5,
  33335. "points": false,
  33336. "renderer": "flot",
  33337. "seriesOverrides": [
  33338. ],
  33339. "spaceLength": 10,
  33340. "span": 6,
  33341. "stack": true,
  33342. "steppedLine": false,
  33343. "targets": [
  33344. {
  33345. "expr": "prometheus_tsdb_head_chunks{job=~\"$job\",instance=~\"$instance\"}",
  33346. "format": "time_series",
  33347. "intervalFactor": 2,
  33348. "legendFormat": "{{job}} {{instance}} head chunks",
  33349. "legendLink": null,
  33350. "step": 10
  33351. }
  33352. ],
  33353. "thresholds": [
  33354. ],
  33355. "timeFrom": null,
  33356. "timeShift": null,
  33357. "title": "Head Chunks",
  33358. "tooltip": {
  33359. "shared": true,
  33360. "sort": 2,
  33361. "value_type": "individual"
  33362. },
  33363. "type": "graph",
  33364. "xaxis": {
  33365. "buckets": null,
  33366. "mode": "time",
  33367. "name": null,
  33368. "show": true,
  33369. "values": [
  33370. ]
  33371. },
  33372. "yaxes": [
  33373. {
  33374. "format": "short",
  33375. "label": null,
  33376. "logBase": 1,
  33377. "max": null,
  33378. "min": 0,
  33379. "show": true
  33380. },
  33381. {
  33382. "format": "short",
  33383. "label": null,
  33384. "logBase": 1,
  33385. "max": null,
  33386. "min": null,
  33387. "show": false
  33388. }
  33389. ]
  33390. }
  33391. ],
  33392. "repeat": null,
  33393. "repeatIteration": null,
  33394. "repeatRowId": null,
  33395. "showTitle": true,
  33396. "title": "Storage",
  33397. "titleSize": "h6"
  33398. },
  33399. {
  33400. "collapse": false,
  33401. "height": "250px",
  33402. "panels": [
  33403. {
  33404. "aliasColors": {
  33405. },
  33406. "bars": false,
  33407. "dashLength": 10,
  33408. "dashes": false,
  33409. "datasource": "$datasource",
  33410. "fill": 10,
  33411. "id": 9,
  33412. "legend": {
  33413. "avg": false,
  33414. "current": false,
  33415. "max": false,
  33416. "min": false,
  33417. "show": true,
  33418. "total": false,
  33419. "values": false
  33420. },
  33421. "lines": true,
  33422. "linewidth": 0,
  33423. "links": [
  33424. ],
  33425. "nullPointMode": "null as zero",
  33426. "percentage": false,
  33427. "pointradius": 5,
  33428. "points": false,
  33429. "renderer": "flot",
  33430. "seriesOverrides": [
  33431. ],
  33432. "spaceLength": 10,
  33433. "span": 6,
  33434. "stack": true,
  33435. "steppedLine": false,
  33436. "targets": [
  33437. {
  33438. "expr": "rate(prometheus_engine_query_duration_seconds_count{job=~\"$job\",instance=~\"$instance\",slice=\"inner_eval\"}[5m])",
  33439. "format": "time_series",
  33440. "intervalFactor": 2,
  33441. "legendFormat": "{{job}} {{instance}}",
  33442. "legendLink": null,
  33443. "step": 10
  33444. }
  33445. ],
  33446. "thresholds": [
  33447. ],
  33448. "timeFrom": null,
  33449. "timeShift": null,
  33450. "title": "Query Rate",
  33451. "tooltip": {
  33452. "shared": true,
  33453. "sort": 2,
  33454. "value_type": "individual"
  33455. },
  33456. "type": "graph",
  33457. "xaxis": {
  33458. "buckets": null,
  33459. "mode": "time",
  33460. "name": null,
  33461. "show": true,
  33462. "values": [
  33463. ]
  33464. },
  33465. "yaxes": [
  33466. {
  33467. "format": "short",
  33468. "label": null,
  33469. "logBase": 1,
  33470. "max": null,
  33471. "min": 0,
  33472. "show": true
  33473. },
  33474. {
  33475. "format": "short",
  33476. "label": null,
  33477. "logBase": 1,
  33478. "max": null,
  33479. "min": null,
  33480. "show": false
  33481. }
  33482. ]
  33483. },
  33484. {
  33485. "aliasColors": {
  33486. },
  33487. "bars": false,
  33488. "dashLength": 10,
  33489. "dashes": false,
  33490. "datasource": "$datasource",
  33491. "fill": 10,
  33492. "id": 10,
  33493. "legend": {
  33494. "avg": false,
  33495. "current": false,
  33496. "max": false,
  33497. "min": false,
  33498. "show": true,
  33499. "total": false,
  33500. "values": false
  33501. },
  33502. "lines": true,
  33503. "linewidth": 0,
  33504. "links": [
  33505. ],
  33506. "nullPointMode": "null as zero",
  33507. "percentage": false,
  33508. "pointradius": 5,
  33509. "points": false,
  33510. "renderer": "flot",
  33511. "seriesOverrides": [
  33512. ],
  33513. "spaceLength": 10,
  33514. "span": 6,
  33515. "stack": true,
  33516. "steppedLine": false,
  33517. "targets": [
  33518. {
  33519. "expr": "max by (slice) (prometheus_engine_query_duration_seconds{quantile=\"0.9\",job=~\"$job\",instance=~\"$instance\"}) * 1e3",
  33520. "format": "time_series",
  33521. "intervalFactor": 2,
  33522. "legendFormat": "{{slice}}",
  33523. "legendLink": null,
  33524. "step": 10
  33525. }
  33526. ],
  33527. "thresholds": [
  33528. ],
  33529. "timeFrom": null,
  33530. "timeShift": null,
  33531. "title": "Stage Duration",
  33532. "tooltip": {
  33533. "shared": true,
  33534. "sort": 2,
  33535. "value_type": "individual"
  33536. },
  33537. "type": "graph",
  33538. "xaxis": {
  33539. "buckets": null,
  33540. "mode": "time",
  33541. "name": null,
  33542. "show": true,
  33543. "values": [
  33544. ]
  33545. },
  33546. "yaxes": [
  33547. {
  33548. "format": "ms",
  33549. "label": null,
  33550. "logBase": 1,
  33551. "max": null,
  33552. "min": 0,
  33553. "show": true
  33554. },
  33555. {
  33556. "format": "short",
  33557. "label": null,
  33558. "logBase": 1,
  33559. "max": null,
  33560. "min": null,
  33561. "show": false
  33562. }
  33563. ]
  33564. }
  33565. ],
  33566. "repeat": null,
  33567. "repeatIteration": null,
  33568. "repeatRowId": null,
  33569. "showTitle": true,
  33570. "title": "Query",
  33571. "titleSize": "h6"
  33572. }
  33573. ],
  33574. "schemaVersion": 14,
  33575. "style": "dark",
  33576. "tags": [
  33577. "prometheus-mixin"
  33578. ],
  33579. "templating": {
  33580. "list": [
  33581. {
  33582. "current": {
  33583. "text": "default",
  33584. "value": "default"
  33585. },
  33586. "hide": 0,
  33587. "label": "Data Source",
  33588. "name": "datasource",
  33589. "options": [
  33590. ],
  33591. "query": "prometheus",
  33592. "refresh": 1,
  33593. "regex": "",
  33594. "type": "datasource"
  33595. },
  33596. {
  33597. "allValue": ".+",
  33598. "current": {
  33599. "selected": true,
  33600. "text": "All",
  33601. "value": "$__all"
  33602. },
  33603. "datasource": "$datasource",
  33604. "hide": 0,
  33605. "includeAll": true,
  33606. "label": "job",
  33607. "multi": true,
  33608. "name": "job",
  33609. "options": [
  33610. ],
  33611. "query": "label_values(prometheus_build_info{job=\"prometheus-k8s\",namespace=\"monitoring\"}, job)",
  33612. "refresh": 1,
  33613. "regex": "",
  33614. "sort": 2,
  33615. "tagValuesQuery": "",
  33616. "tags": [
  33617. ],
  33618. "tagsQuery": "",
  33619. "type": "query",
  33620. "useTags": false
  33621. },
  33622. {
  33623. "allValue": ".+",
  33624. "current": {
  33625. "selected": true,
  33626. "text": "All",
  33627. "value": "$__all"
  33628. },
  33629. "datasource": "$datasource",
  33630. "hide": 0,
  33631. "includeAll": true,
  33632. "label": "instance",
  33633. "multi": true,
  33634. "name": "instance",
  33635. "options": [
  33636. ],
  33637. "query": "label_values(prometheus_build_info{job=~\"$job\"}, instance)",
  33638. "refresh": 1,
  33639. "regex": "",
  33640. "sort": 2,
  33641. "tagValuesQuery": "",
  33642. "tags": [
  33643. ],
  33644. "tagsQuery": "",
  33645. "type": "query",
  33646. "useTags": false
  33647. }
  33648. ]
  33649. },
  33650. "time": {
  33651. "from": "now-1h",
  33652. "to": "now"
  33653. },
  33654. "timepicker": {
  33655. "refresh_intervals": [
  33656. "5s",
  33657. "10s",
  33658. "30s",
  33659. "1m",
  33660. "5m",
  33661. "15m",
  33662. "30m",
  33663. "1h",
  33664. "2h",
  33665. "1d"
  33666. ],
  33667. "time_options": [
  33668. "5m",
  33669. "15m",
  33670. "1h",
  33671. "6h",
  33672. "12h",
  33673. "24h",
  33674. "2d",
  33675. "7d",
  33676. "30d"
  33677. ]
  33678. },
  33679. "timezone": "utc",
  33680. "title": "Prometheus / Overview",
  33681. "uid": "",
  33682. "version": 0
  33683. }
  33684. ---
  33685. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/proxy.yaml
  33686. apiVersion: v1
  33687. kind: ConfigMap
  33688. metadata:
  33689. namespace: monitoring
  33690. name: prometheus-kube-prometheus-proxy
  33691. annotations:
  33692. {}
  33693. labels:
  33694. grafana_dashboard: "1"
  33695. app: kube-prometheus-stack-grafana
  33696. app.kubernetes.io/managed-by: Helm
  33697. app.kubernetes.io/instance: prometheus
  33698. app.kubernetes.io/version: "44.3.0"
  33699. app.kubernetes.io/part-of: kube-prometheus-stack
  33700. chart: kube-prometheus-stack-44.3.0
  33701. release: "prometheus"
  33702. heritage: "Helm"
  33703. data:
  33704. proxy.json: |-
  33705. {
  33706. "__inputs": [
  33707. ],
  33708. "__requires": [
  33709. ],
  33710. "annotations": {
  33711. "list": [
  33712. ]
  33713. },
  33714. "editable": false,
  33715. "gnetId": null,
  33716. "graphTooltip": 0,
  33717. "hideControls": false,
  33718. "id": null,
  33719. "links": [
  33720. ],
  33721. "refresh": "10s",
  33722. "rows": [
  33723. {
  33724. "collapse": false,
  33725. "collapsed": false,
  33726. "panels": [
  33727. {
  33728. "cacheTimeout": null,
  33729. "colorBackground": false,
  33730. "colorValue": false,
  33731. "colors": [
  33732. "#299c46",
  33733. "rgba(237, 129, 40, 0.89)",
  33734. "#d44a3a"
  33735. ],
  33736. "datasource": "$datasource",
  33737. "format": "none",
  33738. "gauge": {
  33739. "maxValue": 100,
  33740. "minValue": 0,
  33741. "show": false,
  33742. "thresholdLabels": false,
  33743. "thresholdMarkers": true
  33744. },
  33745. "gridPos": {
  33746. },
  33747. "id": 2,
  33748. "interval": "1m",
  33749. "legend": {
  33750. "alignAsTable": true,
  33751. "rightSide": true
  33752. },
  33753. "links": [
  33754. ],
  33755. "mappingType": 1,
  33756. "mappingTypes": [
  33757. {
  33758. "name": "value to text",
  33759. "value": 1
  33760. },
  33761. {
  33762. "name": "range to text",
  33763. "value": 2
  33764. }
  33765. ],
  33766. "maxDataPoints": 100,
  33767. "nullPointMode": "connected",
  33768. "nullText": null,
  33769. "postfix": "",
  33770. "postfixFontSize": "50%",
  33771. "prefix": "",
  33772. "prefixFontSize": "50%",
  33773. "rangeMaps": [
  33774. {
  33775. "from": "null",
  33776. "text": "N/A",
  33777. "to": "null"
  33778. }
  33779. ],
  33780. "span": 2,
  33781. "sparkline": {
  33782. "fillColor": "rgba(31, 118, 189, 0.18)",
  33783. "full": false,
  33784. "lineColor": "rgb(31, 120, 193)",
  33785. "show": false
  33786. },
  33787. "tableColumn": "",
  33788. "targets": [
  33789. {
  33790. "expr": "sum(up{cluster=\"$cluster\", job=\"kube-proxy\"})",
  33791. "format": "time_series",
  33792. "intervalFactor": 2,
  33793. "legendFormat": "",
  33794. "refId": "A"
  33795. }
  33796. ],
  33797. "thresholds": "",
  33798. "title": "Up",
  33799. "tooltip": {
  33800. "shared": false
  33801. },
  33802. "type": "singlestat",
  33803. "valueFontSize": "80%",
  33804. "valueMaps": [
  33805. {
  33806. "op": "=",
  33807. "text": "N/A",
  33808. "value": "null"
  33809. }
  33810. ],
  33811. "valueName": "min"
  33812. },
  33813. {
  33814. "aliasColors": {
  33815. },
  33816. "bars": false,
  33817. "dashLength": 10,
  33818. "dashes": false,
  33819. "datasource": "$datasource",
  33820. "fill": 1,
  33821. "fillGradient": 0,
  33822. "gridPos": {
  33823. },
  33824. "id": 3,
  33825. "interval": "1m",
  33826. "legend": {
  33827. "alignAsTable": true,
  33828. "avg": false,
  33829. "current": false,
  33830. "max": false,
  33831. "min": false,
  33832. "rightSide": true,
  33833. "show": true,
  33834. "sideWidth": null,
  33835. "total": false,
  33836. "values": false
  33837. },
  33838. "lines": true,
  33839. "linewidth": 1,
  33840. "links": [
  33841. ],
  33842. "nullPointMode": "null",
  33843. "percentage": false,
  33844. "pointradius": 5,
  33845. "points": false,
  33846. "renderer": "flot",
  33847. "repeat": null,
  33848. "seriesOverrides": [
  33849. ],
  33850. "spaceLength": 10,
  33851. "span": 5,
  33852. "stack": false,
  33853. "steppedLine": false,
  33854. "targets": [
  33855. {
  33856. "expr": "sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\"}[$__rate_interval]))",
  33857. "format": "time_series",
  33858. "intervalFactor": 2,
  33859. "legendFormat": "rate",
  33860. "refId": "A"
  33861. }
  33862. ],
  33863. "thresholds": [
  33864. ],
  33865. "timeFrom": null,
  33866. "timeShift": null,
  33867. "title": "Rules Sync Rate",
  33868. "tooltip": {
  33869. "shared": false,
  33870. "sort": 0,
  33871. "value_type": "individual"
  33872. },
  33873. "type": "graph",
  33874. "xaxis": {
  33875. "buckets": null,
  33876. "mode": "time",
  33877. "name": null,
  33878. "show": true,
  33879. "values": [
  33880. ]
  33881. },
  33882. "yaxes": [
  33883. {
  33884. "format": "ops",
  33885. "label": null,
  33886. "logBase": 1,
  33887. "max": null,
  33888. "min": 0,
  33889. "show": true
  33890. },
  33891. {
  33892. "format": "ops",
  33893. "label": null,
  33894. "logBase": 1,
  33895. "max": null,
  33896. "min": 0,
  33897. "show": true
  33898. }
  33899. ]
  33900. },
  33901. {
  33902. "aliasColors": {
  33903. },
  33904. "bars": false,
  33905. "dashLength": 10,
  33906. "dashes": false,
  33907. "datasource": "$datasource",
  33908. "fill": 1,
  33909. "fillGradient": 0,
  33910. "gridPos": {
  33911. },
  33912. "id": 4,
  33913. "interval": "1m",
  33914. "legend": {
  33915. "alignAsTable": true,
  33916. "avg": false,
  33917. "current": true,
  33918. "max": false,
  33919. "min": false,
  33920. "rightSide": true,
  33921. "show": true,
  33922. "sideWidth": null,
  33923. "total": false,
  33924. "values": true
  33925. },
  33926. "lines": true,
  33927. "linewidth": 1,
  33928. "links": [
  33929. ],
  33930. "nullPointMode": "null",
  33931. "percentage": false,
  33932. "pointradius": 5,
  33933. "points": false,
  33934. "renderer": "flot",
  33935. "repeat": null,
  33936. "seriesOverrides": [
  33937. ],
  33938. "spaceLength": 10,
  33939. "span": 5,
  33940. "stack": false,
  33941. "steppedLine": false,
  33942. "targets": [
  33943. {
  33944. "expr": "histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\"}[$__rate_interval]))",
  33945. "format": "time_series",
  33946. "intervalFactor": 2,
  33947. "legendFormat": "{{instance}}",
  33948. "refId": "A"
  33949. }
  33950. ],
  33951. "thresholds": [
  33952. ],
  33953. "timeFrom": null,
  33954. "timeShift": null,
  33955. "title": "Rule Sync Latency 99th Quantile",
  33956. "tooltip": {
  33957. "shared": false,
  33958. "sort": 0,
  33959. "value_type": "individual"
  33960. },
  33961. "type": "graph",
  33962. "xaxis": {
  33963. "buckets": null,
  33964. "mode": "time",
  33965. "name": null,
  33966. "show": true,
  33967. "values": [
  33968. ]
  33969. },
  33970. "yaxes": [
  33971. {
  33972. "format": "s",
  33973. "label": null,
  33974. "logBase": 1,
  33975. "max": null,
  33976. "min": 0,
  33977. "show": true
  33978. },
  33979. {
  33980. "format": "s",
  33981. "label": null,
  33982. "logBase": 1,
  33983. "max": null,
  33984. "min": 0,
  33985. "show": true
  33986. }
  33987. ]
  33988. }
  33989. ],
  33990. "repeat": null,
  33991. "repeatIteration": null,
  33992. "repeatRowId": null,
  33993. "showTitle": false,
  33994. "title": "Dashboard Row",
  33995. "titleSize": "h6",
  33996. "type": "row"
  33997. },
  33998. {
  33999. "collapse": false,
  34000. "collapsed": false,
  34001. "panels": [
  34002. {
  34003. "aliasColors": {
  34004. },
  34005. "bars": false,
  34006. "dashLength": 10,
  34007. "dashes": false,
  34008. "datasource": "$datasource",
  34009. "fill": 1,
  34010. "fillGradient": 0,
  34011. "gridPos": {
  34012. },
  34013. "id": 5,
  34014. "interval": "1m",
  34015. "legend": {
  34016. "alignAsTable": true,
  34017. "avg": false,
  34018. "current": false,
  34019. "max": false,
  34020. "min": false,
  34021. "rightSide": true,
  34022. "show": true,
  34023. "sideWidth": null,
  34024. "total": false,
  34025. "values": false
  34026. },
  34027. "lines": true,
  34028. "linewidth": 1,
  34029. "links": [
  34030. ],
  34031. "nullPointMode": "null",
  34032. "percentage": false,
  34033. "pointradius": 5,
  34034. "points": false,
  34035. "renderer": "flot",
  34036. "repeat": null,
  34037. "seriesOverrides": [
  34038. ],
  34039. "spaceLength": 10,
  34040. "span": 6,
  34041. "stack": false,
  34042. "steppedLine": false,
  34043. "targets": [
  34044. {
  34045. "expr": "sum(rate(kubeproxy_network_programming_duration_seconds_count{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\"}[$__rate_interval]))",
  34046. "format": "time_series",
  34047. "intervalFactor": 2,
  34048. "legendFormat": "rate",
  34049. "refId": "A"
  34050. }
  34051. ],
  34052. "thresholds": [
  34053. ],
  34054. "timeFrom": null,
  34055. "timeShift": null,
  34056. "title": "Network Programming Rate",
  34057. "tooltip": {
  34058. "shared": false,
  34059. "sort": 0,
  34060. "value_type": "individual"
  34061. },
  34062. "type": "graph",
  34063. "xaxis": {
  34064. "buckets": null,
  34065. "mode": "time",
  34066. "name": null,
  34067. "show": true,
  34068. "values": [
  34069. ]
  34070. },
  34071. "yaxes": [
  34072. {
  34073. "format": "ops",
  34074. "label": null,
  34075. "logBase": 1,
  34076. "max": null,
  34077. "min": 0,
  34078. "show": true
  34079. },
  34080. {
  34081. "format": "ops",
  34082. "label": null,
  34083. "logBase": 1,
  34084. "max": null,
  34085. "min": 0,
  34086. "show": true
  34087. }
  34088. ]
  34089. },
  34090. {
  34091. "aliasColors": {
  34092. },
  34093. "bars": false,
  34094. "dashLength": 10,
  34095. "dashes": false,
  34096. "datasource": "$datasource",
  34097. "fill": 1,
  34098. "fillGradient": 0,
  34099. "gridPos": {
  34100. },
  34101. "id": 6,
  34102. "interval": "1m",
  34103. "legend": {
  34104. "alignAsTable": true,
  34105. "avg": false,
  34106. "current": true,
  34107. "max": false,
  34108. "min": false,
  34109. "rightSide": true,
  34110. "show": true,
  34111. "sideWidth": null,
  34112. "total": false,
  34113. "values": true
  34114. },
  34115. "lines": true,
  34116. "linewidth": 1,
  34117. "links": [
  34118. ],
  34119. "nullPointMode": "null",
  34120. "percentage": false,
  34121. "pointradius": 5,
  34122. "points": false,
  34123. "renderer": "flot",
  34124. "repeat": null,
  34125. "seriesOverrides": [
  34126. ],
  34127. "spaceLength": 10,
  34128. "span": 6,
  34129. "stack": false,
  34130. "steppedLine": false,
  34131. "targets": [
  34132. {
  34133. "expr": "histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\"}[$__rate_interval])) by (instance, le))",
  34134. "format": "time_series",
  34135. "intervalFactor": 2,
  34136. "legendFormat": "{{instance}}",
  34137. "refId": "A"
  34138. }
  34139. ],
  34140. "thresholds": [
  34141. ],
  34142. "timeFrom": null,
  34143. "timeShift": null,
  34144. "title": "Network Programming Latency 99th Quantile",
  34145. "tooltip": {
  34146. "shared": false,
  34147. "sort": 0,
  34148. "value_type": "individual"
  34149. },
  34150. "type": "graph",
  34151. "xaxis": {
  34152. "buckets": null,
  34153. "mode": "time",
  34154. "name": null,
  34155. "show": true,
  34156. "values": [
  34157. ]
  34158. },
  34159. "yaxes": [
  34160. {
  34161. "format": "s",
  34162. "label": null,
  34163. "logBase": 1,
  34164. "max": null,
  34165. "min": 0,
  34166. "show": true
  34167. },
  34168. {
  34169. "format": "s",
  34170. "label": null,
  34171. "logBase": 1,
  34172. "max": null,
  34173. "min": 0,
  34174. "show": true
  34175. }
  34176. ]
  34177. }
  34178. ],
  34179. "repeat": null,
  34180. "repeatIteration": null,
  34181. "repeatRowId": null,
  34182. "showTitle": false,
  34183. "title": "Dashboard Row",
  34184. "titleSize": "h6",
  34185. "type": "row"
  34186. },
  34187. {
  34188. "collapse": false,
  34189. "collapsed": false,
  34190. "panels": [
  34191. {
  34192. "aliasColors": {
  34193. },
  34194. "bars": false,
  34195. "dashLength": 10,
  34196. "dashes": false,
  34197. "datasource": "$datasource",
  34198. "fill": 1,
  34199. "fillGradient": 0,
  34200. "gridPos": {
  34201. },
  34202. "id": 7,
  34203. "interval": "1m",
  34204. "legend": {
  34205. "alignAsTable": true,
  34206. "avg": false,
  34207. "current": false,
  34208. "max": false,
  34209. "min": false,
  34210. "rightSide": true,
  34211. "show": true,
  34212. "sideWidth": null,
  34213. "total": false,
  34214. "values": false
  34215. },
  34216. "lines": true,
  34217. "linewidth": 1,
  34218. "links": [
  34219. ],
  34220. "nullPointMode": "null",
  34221. "percentage": false,
  34222. "pointradius": 5,
  34223. "points": false,
  34224. "renderer": "flot",
  34225. "repeat": null,
  34226. "seriesOverrides": [
  34227. ],
  34228. "spaceLength": 10,
  34229. "span": 4,
  34230. "stack": false,
  34231. "steppedLine": false,
  34232. "targets": [
  34233. {
  34234. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\",code=~\"2..\"}[$__rate_interval]))",
  34235. "format": "time_series",
  34236. "intervalFactor": 2,
  34237. "legendFormat": "2xx",
  34238. "refId": "A"
  34239. },
  34240. {
  34241. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\",code=~\"3..\"}[$__rate_interval]))",
  34242. "format": "time_series",
  34243. "intervalFactor": 2,
  34244. "legendFormat": "3xx",
  34245. "refId": "B"
  34246. },
  34247. {
  34248. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\",code=~\"4..\"}[$__rate_interval]))",
  34249. "format": "time_series",
  34250. "intervalFactor": 2,
  34251. "legendFormat": "4xx",
  34252. "refId": "C"
  34253. },
  34254. {
  34255. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\",code=~\"5..\"}[$__rate_interval]))",
  34256. "format": "time_series",
  34257. "intervalFactor": 2,
  34258. "legendFormat": "5xx",
  34259. "refId": "D"
  34260. }
  34261. ],
  34262. "thresholds": [
  34263. ],
  34264. "timeFrom": null,
  34265. "timeShift": null,
  34266. "title": "Kube API Request Rate",
  34267. "tooltip": {
  34268. "shared": false,
  34269. "sort": 0,
  34270. "value_type": "individual"
  34271. },
  34272. "type": "graph",
  34273. "xaxis": {
  34274. "buckets": null,
  34275. "mode": "time",
  34276. "name": null,
  34277. "show": true,
  34278. "values": [
  34279. ]
  34280. },
  34281. "yaxes": [
  34282. {
  34283. "format": "ops",
  34284. "label": null,
  34285. "logBase": 1,
  34286. "max": null,
  34287. "min": null,
  34288. "show": true
  34289. },
  34290. {
  34291. "format": "ops",
  34292. "label": null,
  34293. "logBase": 1,
  34294. "max": null,
  34295. "min": null,
  34296. "show": true
  34297. }
  34298. ]
  34299. },
  34300. {
  34301. "aliasColors": {
  34302. },
  34303. "bars": false,
  34304. "dashLength": 10,
  34305. "dashes": false,
  34306. "datasource": "$datasource",
  34307. "fill": 1,
  34308. "fillGradient": 0,
  34309. "gridPos": {
  34310. },
  34311. "id": 8,
  34312. "interval": "1m",
  34313. "legend": {
  34314. "alignAsTable": true,
  34315. "avg": false,
  34316. "current": false,
  34317. "max": false,
  34318. "min": false,
  34319. "rightSide": true,
  34320. "show": true,
  34321. "sideWidth": null,
  34322. "total": false,
  34323. "values": false
  34324. },
  34325. "lines": true,
  34326. "linewidth": 1,
  34327. "links": [
  34328. ],
  34329. "nullPointMode": "null",
  34330. "percentage": false,
  34331. "pointradius": 5,
  34332. "points": false,
  34333. "renderer": "flot",
  34334. "repeat": null,
  34335. "seriesOverrides": [
  34336. ],
  34337. "spaceLength": 10,
  34338. "span": 8,
  34339. "stack": false,
  34340. "steppedLine": false,
  34341. "targets": [
  34342. {
  34343. "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-proxy\",instance=~\"$instance\",verb=\"POST\"}[$__rate_interval])) by (verb, url, le))",
  34344. "format": "time_series",
  34345. "intervalFactor": 2,
  34346. "legendFormat": "{{verb}} {{url}}",
  34347. "refId": "A"
  34348. }
  34349. ],
  34350. "thresholds": [
  34351. ],
  34352. "timeFrom": null,
  34353. "timeShift": null,
  34354. "title": "Post Request Latency 99th Quantile",
  34355. "tooltip": {
  34356. "shared": false,
  34357. "sort": 0,
  34358. "value_type": "individual"
  34359. },
  34360. "type": "graph",
  34361. "xaxis": {
  34362. "buckets": null,
  34363. "mode": "time",
  34364. "name": null,
  34365. "show": true,
  34366. "values": [
  34367. ]
  34368. },
  34369. "yaxes": [
  34370. {
  34371. "format": "s",
  34372. "label": null,
  34373. "logBase": 1,
  34374. "max": null,
  34375. "min": 0,
  34376. "show": true
  34377. },
  34378. {
  34379. "format": "s",
  34380. "label": null,
  34381. "logBase": 1,
  34382. "max": null,
  34383. "min": 0,
  34384. "show": true
  34385. }
  34386. ]
  34387. }
  34388. ],
  34389. "repeat": null,
  34390. "repeatIteration": null,
  34391. "repeatRowId": null,
  34392. "showTitle": false,
  34393. "title": "Dashboard Row",
  34394. "titleSize": "h6",
  34395. "type": "row"
  34396. },
  34397. {
  34398. "collapse": false,
  34399. "collapsed": false,
  34400. "panels": [
  34401. {
  34402. "aliasColors": {
  34403. },
  34404. "bars": false,
  34405. "dashLength": 10,
  34406. "dashes": false,
  34407. "datasource": "$datasource",
  34408. "fill": 1,
  34409. "fillGradient": 0,
  34410. "gridPos": {
  34411. },
  34412. "id": 9,
  34413. "interval": "1m",
  34414. "legend": {
  34415. "alignAsTable": true,
  34416. "avg": false,
  34417. "current": true,
  34418. "max": false,
  34419. "min": false,
  34420. "rightSide": true,
  34421. "show": true,
  34422. "sideWidth": null,
  34423. "total": false,
  34424. "values": true
  34425. },
  34426. "lines": true,
  34427. "linewidth": 1,
  34428. "links": [
  34429. ],
  34430. "nullPointMode": "null",
  34431. "percentage": false,
  34432. "pointradius": 5,
  34433. "points": false,
  34434. "renderer": "flot",
  34435. "repeat": null,
  34436. "seriesOverrides": [
  34437. ],
  34438. "spaceLength": 10,
  34439. "span": 12,
  34440. "stack": false,
  34441. "steppedLine": false,
  34442. "targets": [
  34443. {
  34444. "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\", verb=\"GET\"}[$__rate_interval])) by (verb, url, le))",
  34445. "format": "time_series",
  34446. "intervalFactor": 2,
  34447. "legendFormat": "{{verb}} {{url}}",
  34448. "refId": "A"
  34449. }
  34450. ],
  34451. "thresholds": [
  34452. ],
  34453. "timeFrom": null,
  34454. "timeShift": null,
  34455. "title": "Get Request Latency 99th Quantile",
  34456. "tooltip": {
  34457. "shared": false,
  34458. "sort": 0,
  34459. "value_type": "individual"
  34460. },
  34461. "type": "graph",
  34462. "xaxis": {
  34463. "buckets": null,
  34464. "mode": "time",
  34465. "name": null,
  34466. "show": true,
  34467. "values": [
  34468. ]
  34469. },
  34470. "yaxes": [
  34471. {
  34472. "format": "s",
  34473. "label": null,
  34474. "logBase": 1,
  34475. "max": null,
  34476. "min": 0,
  34477. "show": true
  34478. },
  34479. {
  34480. "format": "s",
  34481. "label": null,
  34482. "logBase": 1,
  34483. "max": null,
  34484. "min": 0,
  34485. "show": true
  34486. }
  34487. ]
  34488. }
  34489. ],
  34490. "repeat": null,
  34491. "repeatIteration": null,
  34492. "repeatRowId": null,
  34493. "showTitle": false,
  34494. "title": "Dashboard Row",
  34495. "titleSize": "h6",
  34496. "type": "row"
  34497. },
  34498. {
  34499. "collapse": false,
  34500. "collapsed": false,
  34501. "panels": [
  34502. {
  34503. "aliasColors": {
  34504. },
  34505. "bars": false,
  34506. "dashLength": 10,
  34507. "dashes": false,
  34508. "datasource": "$datasource",
  34509. "fill": 1,
  34510. "fillGradient": 0,
  34511. "gridPos": {
  34512. },
  34513. "id": 10,
  34514. "interval": "1m",
  34515. "legend": {
  34516. "alignAsTable": true,
  34517. "avg": false,
  34518. "current": false,
  34519. "max": false,
  34520. "min": false,
  34521. "rightSide": true,
  34522. "show": true,
  34523. "sideWidth": null,
  34524. "total": false,
  34525. "values": false
  34526. },
  34527. "lines": true,
  34528. "linewidth": 1,
  34529. "links": [
  34530. ],
  34531. "nullPointMode": "null",
  34532. "percentage": false,
  34533. "pointradius": 5,
  34534. "points": false,
  34535. "renderer": "flot",
  34536. "repeat": null,
  34537. "seriesOverrides": [
  34538. ],
  34539. "spaceLength": 10,
  34540. "span": 4,
  34541. "stack": false,
  34542. "steppedLine": false,
  34543. "targets": [
  34544. {
  34545. "expr": "process_resident_memory_bytes{cluster=\"$cluster\", job=\"kube-proxy\",instance=~\"$instance\"}",
  34546. "format": "time_series",
  34547. "intervalFactor": 2,
  34548. "legendFormat": "{{instance}}",
  34549. "refId": "A"
  34550. }
  34551. ],
  34552. "thresholds": [
  34553. ],
  34554. "timeFrom": null,
  34555. "timeShift": null,
  34556. "title": "Memory",
  34557. "tooltip": {
  34558. "shared": false,
  34559. "sort": 0,
  34560. "value_type": "individual"
  34561. },
  34562. "type": "graph",
  34563. "xaxis": {
  34564. "buckets": null,
  34565. "mode": "time",
  34566. "name": null,
  34567. "show": true,
  34568. "values": [
  34569. ]
  34570. },
  34571. "yaxes": [
  34572. {
  34573. "format": "bytes",
  34574. "label": null,
  34575. "logBase": 1,
  34576. "max": null,
  34577. "min": null,
  34578. "show": true
  34579. },
  34580. {
  34581. "format": "bytes",
  34582. "label": null,
  34583. "logBase": 1,
  34584. "max": null,
  34585. "min": null,
  34586. "show": true
  34587. }
  34588. ]
  34589. },
  34590. {
  34591. "aliasColors": {
  34592. },
  34593. "bars": false,
  34594. "dashLength": 10,
  34595. "dashes": false,
  34596. "datasource": "$datasource",
  34597. "fill": 1,
  34598. "fillGradient": 0,
  34599. "gridPos": {
  34600. },
  34601. "id": 11,
  34602. "interval": "1m",
  34603. "legend": {
  34604. "alignAsTable": true,
  34605. "avg": false,
  34606. "current": false,
  34607. "max": false,
  34608. "min": false,
  34609. "rightSide": true,
  34610. "show": true,
  34611. "sideWidth": null,
  34612. "total": false,
  34613. "values": false
  34614. },
  34615. "lines": true,
  34616. "linewidth": 1,
  34617. "links": [
  34618. ],
  34619. "nullPointMode": "null",
  34620. "percentage": false,
  34621. "pointradius": 5,
  34622. "points": false,
  34623. "renderer": "flot",
  34624. "repeat": null,
  34625. "seriesOverrides": [
  34626. ],
  34627. "spaceLength": 10,
  34628. "span": 4,
  34629. "stack": false,
  34630. "steppedLine": false,
  34631. "targets": [
  34632. {
  34633. "expr": "rate(process_cpu_seconds_total{cluster=\"$cluster\", job=\"kube-proxy\",instance=~\"$instance\"}[$__rate_interval])",
  34634. "format": "time_series",
  34635. "intervalFactor": 2,
  34636. "legendFormat": "{{instance}}",
  34637. "refId": "A"
  34638. }
  34639. ],
  34640. "thresholds": [
  34641. ],
  34642. "timeFrom": null,
  34643. "timeShift": null,
  34644. "title": "CPU usage",
  34645. "tooltip": {
  34646. "shared": false,
  34647. "sort": 0,
  34648. "value_type": "individual"
  34649. },
  34650. "type": "graph",
  34651. "xaxis": {
  34652. "buckets": null,
  34653. "mode": "time",
  34654. "name": null,
  34655. "show": true,
  34656. "values": [
  34657. ]
  34658. },
  34659. "yaxes": [
  34660. {
  34661. "format": "short",
  34662. "label": null,
  34663. "logBase": 1,
  34664. "max": null,
  34665. "min": 0,
  34666. "show": true
  34667. },
  34668. {
  34669. "format": "short",
  34670. "label": null,
  34671. "logBase": 1,
  34672. "max": null,
  34673. "min": 0,
  34674. "show": true
  34675. }
  34676. ]
  34677. },
  34678. {
  34679. "aliasColors": {
  34680. },
  34681. "bars": false,
  34682. "dashLength": 10,
  34683. "dashes": false,
  34684. "datasource": "$datasource",
  34685. "fill": 1,
  34686. "fillGradient": 0,
  34687. "gridPos": {
  34688. },
  34689. "id": 12,
  34690. "interval": "1m",
  34691. "legend": {
  34692. "alignAsTable": true,
  34693. "avg": false,
  34694. "current": false,
  34695. "max": false,
  34696. "min": false,
  34697. "rightSide": true,
  34698. "show": true,
  34699. "sideWidth": null,
  34700. "total": false,
  34701. "values": false
  34702. },
  34703. "lines": true,
  34704. "linewidth": 1,
  34705. "links": [
  34706. ],
  34707. "nullPointMode": "null",
  34708. "percentage": false,
  34709. "pointradius": 5,
  34710. "points": false,
  34711. "renderer": "flot",
  34712. "repeat": null,
  34713. "seriesOverrides": [
  34714. ],
  34715. "spaceLength": 10,
  34716. "span": 4,
  34717. "stack": false,
  34718. "steppedLine": false,
  34719. "targets": [
  34720. {
  34721. "expr": "go_goroutines{cluster=\"$cluster\", job=\"kube-proxy\",instance=~\"$instance\"}",
  34722. "format": "time_series",
  34723. "intervalFactor": 2,
  34724. "legendFormat": "{{instance}}",
  34725. "refId": "A"
  34726. }
  34727. ],
  34728. "thresholds": [
  34729. ],
  34730. "timeFrom": null,
  34731. "timeShift": null,
  34732. "title": "Goroutines",
  34733. "tooltip": {
  34734. "shared": false,
  34735. "sort": 0,
  34736. "value_type": "individual"
  34737. },
  34738. "type": "graph",
  34739. "xaxis": {
  34740. "buckets": null,
  34741. "mode": "time",
  34742. "name": null,
  34743. "show": true,
  34744. "values": [
  34745. ]
  34746. },
  34747. "yaxes": [
  34748. {
  34749. "format": "short",
  34750. "label": null,
  34751. "logBase": 1,
  34752. "max": null,
  34753. "min": null,
  34754. "show": true
  34755. },
  34756. {
  34757. "format": "short",
  34758. "label": null,
  34759. "logBase": 1,
  34760. "max": null,
  34761. "min": null,
  34762. "show": true
  34763. }
  34764. ]
  34765. }
  34766. ],
  34767. "repeat": null,
  34768. "repeatIteration": null,
  34769. "repeatRowId": null,
  34770. "showTitle": false,
  34771. "title": "Dashboard Row",
  34772. "titleSize": "h6",
  34773. "type": "row"
  34774. }
  34775. ],
  34776. "schemaVersion": 14,
  34777. "style": "dark",
  34778. "tags": [
  34779. "kubernetes-mixin"
  34780. ],
  34781. "templating": {
  34782. "list": [
  34783. {
  34784. "current": {
  34785. "text": "default",
  34786. "value": "default"
  34787. },
  34788. "hide": 0,
  34789. "label": "Data Source",
  34790. "name": "datasource",
  34791. "options": [
  34792. ],
  34793. "query": "prometheus",
  34794. "refresh": 1,
  34795. "regex": "",
  34796. "type": "datasource"
  34797. },
  34798. {
  34799. "allValue": null,
  34800. "current": {
  34801. },
  34802. "datasource": "$datasource",
  34803. "hide": 2,
  34804. "includeAll": false,
  34805. "label": "cluster",
  34806. "multi": false,
  34807. "name": "cluster",
  34808. "options": [
  34809. ],
  34810. "query": "label_values(up{job=\"kube-proxy\"}, cluster)",
  34811. "refresh": 2,
  34812. "regex": "",
  34813. "sort": 1,
  34814. "tagValuesQuery": "",
  34815. "tags": [
  34816. ],
  34817. "tagsQuery": "",
  34818. "type": "query",
  34819. "useTags": false
  34820. },
  34821. {
  34822. "allValue": null,
  34823. "current": {
  34824. },
  34825. "datasource": "$datasource",
  34826. "hide": 0,
  34827. "includeAll": true,
  34828. "label": null,
  34829. "multi": false,
  34830. "name": "instance",
  34831. "options": [
  34832. ],
  34833. "query": "label_values(up{job=\"kube-proxy\", cluster=\"$cluster\", job=\"kube-proxy\"}, instance)",
  34834. "refresh": 2,
  34835. "regex": "",
  34836. "sort": 1,
  34837. "tagValuesQuery": "",
  34838. "tags": [
  34839. ],
  34840. "tagsQuery": "",
  34841. "type": "query",
  34842. "useTags": false
  34843. }
  34844. ]
  34845. },
  34846. "time": {
  34847. "from": "now-1h",
  34848. "to": "now"
  34849. },
  34850. "timepicker": {
  34851. "refresh_intervals": [
  34852. "5s",
  34853. "10s",
  34854. "30s",
  34855. "1m",
  34856. "5m",
  34857. "15m",
  34858. "30m",
  34859. "1h",
  34860. "2h",
  34861. "1d"
  34862. ],
  34863. "time_options": [
  34864. "5m",
  34865. "15m",
  34866. "1h",
  34867. "6h",
  34868. "12h",
  34869. "24h",
  34870. "2d",
  34871. "7d",
  34872. "30d"
  34873. ]
  34874. },
  34875. "timezone": "utc",
  34876. "title": "Kubernetes / Proxy",
  34877. "uid": "632e265de029684c40b21cb76bca4f94",
  34878. "version": 0
  34879. }
  34880. ---
  34881. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/scheduler.yaml
  34882. apiVersion: v1
  34883. kind: ConfigMap
  34884. metadata:
  34885. namespace: monitoring
  34886. name: prometheus-kube-prometheus-scheduler
  34887. annotations:
  34888. {}
  34889. labels:
  34890. grafana_dashboard: "1"
  34891. app: kube-prometheus-stack-grafana
  34892. app.kubernetes.io/managed-by: Helm
  34893. app.kubernetes.io/instance: prometheus
  34894. app.kubernetes.io/version: "44.3.0"
  34895. app.kubernetes.io/part-of: kube-prometheus-stack
  34896. chart: kube-prometheus-stack-44.3.0
  34897. release: "prometheus"
  34898. heritage: "Helm"
  34899. data:
  34900. scheduler.json: |-
  34901. {
  34902. "__inputs": [
  34903. ],
  34904. "__requires": [
  34905. ],
  34906. "annotations": {
  34907. "list": [
  34908. ]
  34909. },
  34910. "editable": false,
  34911. "gnetId": null,
  34912. "graphTooltip": 0,
  34913. "hideControls": false,
  34914. "id": null,
  34915. "links": [
  34916. ],
  34917. "refresh": "10s",
  34918. "rows": [
  34919. {
  34920. "collapse": false,
  34921. "collapsed": false,
  34922. "panels": [
  34923. {
  34924. "cacheTimeout": null,
  34925. "colorBackground": false,
  34926. "colorValue": false,
  34927. "colors": [
  34928. "#299c46",
  34929. "rgba(237, 129, 40, 0.89)",
  34930. "#d44a3a"
  34931. ],
  34932. "datasource": "$datasource",
  34933. "format": "none",
  34934. "gauge": {
  34935. "maxValue": 100,
  34936. "minValue": 0,
  34937. "show": false,
  34938. "thresholdLabels": false,
  34939. "thresholdMarkers": true
  34940. },
  34941. "gridPos": {
  34942. },
  34943. "id": 2,
  34944. "interval": "1m",
  34945. "legend": {
  34946. "alignAsTable": true,
  34947. "rightSide": true
  34948. },
  34949. "links": [
  34950. ],
  34951. "mappingType": 1,
  34952. "mappingTypes": [
  34953. {
  34954. "name": "value to text",
  34955. "value": 1
  34956. },
  34957. {
  34958. "name": "range to text",
  34959. "value": 2
  34960. }
  34961. ],
  34962. "maxDataPoints": 100,
  34963. "nullPointMode": "connected",
  34964. "nullText": null,
  34965. "postfix": "",
  34966. "postfixFontSize": "50%",
  34967. "prefix": "",
  34968. "prefixFontSize": "50%",
  34969. "rangeMaps": [
  34970. {
  34971. "from": "null",
  34972. "text": "N/A",
  34973. "to": "null"
  34974. }
  34975. ],
  34976. "span": 2,
  34977. "sparkline": {
  34978. "fillColor": "rgba(31, 118, 189, 0.18)",
  34979. "full": false,
  34980. "lineColor": "rgb(31, 120, 193)",
  34981. "show": false
  34982. },
  34983. "tableColumn": "",
  34984. "targets": [
  34985. {
  34986. "expr": "sum(up{cluster=\"$cluster\", job=\"kube-scheduler\"})",
  34987. "format": "time_series",
  34988. "intervalFactor": 2,
  34989. "legendFormat": "",
  34990. "refId": "A"
  34991. }
  34992. ],
  34993. "thresholds": "",
  34994. "title": "Up",
  34995. "tooltip": {
  34996. "shared": false
  34997. },
  34998. "type": "singlestat",
  34999. "valueFontSize": "80%",
  35000. "valueMaps": [
  35001. {
  35002. "op": "=",
  35003. "text": "N/A",
  35004. "value": "null"
  35005. }
  35006. ],
  35007. "valueName": "min"
  35008. },
  35009. {
  35010. "aliasColors": {
  35011. },
  35012. "bars": false,
  35013. "dashLength": 10,
  35014. "dashes": false,
  35015. "datasource": "$datasource",
  35016. "fill": 1,
  35017. "fillGradient": 0,
  35018. "gridPos": {
  35019. },
  35020. "id": 3,
  35021. "interval": "1m",
  35022. "legend": {
  35023. "alignAsTable": true,
  35024. "avg": false,
  35025. "current": true,
  35026. "max": false,
  35027. "min": false,
  35028. "rightSide": true,
  35029. "show": true,
  35030. "sideWidth": null,
  35031. "total": false,
  35032. "values": true
  35033. },
  35034. "lines": true,
  35035. "linewidth": 1,
  35036. "links": [
  35037. ],
  35038. "nullPointMode": "null",
  35039. "percentage": false,
  35040. "pointradius": 5,
  35041. "points": false,
  35042. "renderer": "flot",
  35043. "repeat": null,
  35044. "seriesOverrides": [
  35045. ],
  35046. "spaceLength": 10,
  35047. "span": 5,
  35048. "stack": false,
  35049. "steppedLine": false,
  35050. "targets": [
  35051. {
  35052. "expr": "sum(rate(scheduler_e2e_scheduling_duration_seconds_count{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance)",
  35053. "format": "time_series",
  35054. "intervalFactor": 2,
  35055. "legendFormat": "{{cluster}} {{instance}} e2e",
  35056. "refId": "A"
  35057. },
  35058. {
  35059. "expr": "sum(rate(scheduler_binding_duration_seconds_count{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance)",
  35060. "format": "time_series",
  35061. "intervalFactor": 2,
  35062. "legendFormat": "{{cluster}} {{instance}} binding",
  35063. "refId": "B"
  35064. },
  35065. {
  35066. "expr": "sum(rate(scheduler_scheduling_algorithm_duration_seconds_count{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance)",
  35067. "format": "time_series",
  35068. "intervalFactor": 2,
  35069. "legendFormat": "{{cluster}} {{instance}} scheduling algorithm",
  35070. "refId": "C"
  35071. },
  35072. {
  35073. "expr": "sum(rate(scheduler_volume_scheduling_duration_seconds_count{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance)",
  35074. "format": "time_series",
  35075. "intervalFactor": 2,
  35076. "legendFormat": "{{cluster}} {{instance}} volume",
  35077. "refId": "D"
  35078. }
  35079. ],
  35080. "thresholds": [
  35081. ],
  35082. "timeFrom": null,
  35083. "timeShift": null,
  35084. "title": "Scheduling Rate",
  35085. "tooltip": {
  35086. "shared": false,
  35087. "sort": 0,
  35088. "value_type": "individual"
  35089. },
  35090. "type": "graph",
  35091. "xaxis": {
  35092. "buckets": null,
  35093. "mode": "time",
  35094. "name": null,
  35095. "show": true,
  35096. "values": [
  35097. ]
  35098. },
  35099. "yaxes": [
  35100. {
  35101. "format": "ops",
  35102. "label": null,
  35103. "logBase": 1,
  35104. "max": null,
  35105. "min": 0,
  35106. "show": true
  35107. },
  35108. {
  35109. "format": "ops",
  35110. "label": null,
  35111. "logBase": 1,
  35112. "max": null,
  35113. "min": 0,
  35114. "show": true
  35115. }
  35116. ]
  35117. },
  35118. {
  35119. "aliasColors": {
  35120. },
  35121. "bars": false,
  35122. "dashLength": 10,
  35123. "dashes": false,
  35124. "datasource": "$datasource",
  35125. "fill": 1,
  35126. "fillGradient": 0,
  35127. "gridPos": {
  35128. },
  35129. "id": 4,
  35130. "interval": "1m",
  35131. "legend": {
  35132. "alignAsTable": true,
  35133. "avg": false,
  35134. "current": true,
  35135. "max": false,
  35136. "min": false,
  35137. "rightSide": true,
  35138. "show": true,
  35139. "sideWidth": null,
  35140. "total": false,
  35141. "values": true
  35142. },
  35143. "lines": true,
  35144. "linewidth": 1,
  35145. "links": [
  35146. ],
  35147. "nullPointMode": "null",
  35148. "percentage": false,
  35149. "pointradius": 5,
  35150. "points": false,
  35151. "renderer": "flot",
  35152. "repeat": null,
  35153. "seriesOverrides": [
  35154. ],
  35155. "spaceLength": 10,
  35156. "span": 5,
  35157. "stack": false,
  35158. "steppedLine": false,
  35159. "targets": [
  35160. {
  35161. "expr": "histogram_quantile(0.99, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-scheduler\",instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, le))",
  35162. "format": "time_series",
  35163. "intervalFactor": 2,
  35164. "legendFormat": "{{cluster}} {{instance}} e2e",
  35165. "refId": "A"
  35166. },
  35167. {
  35168. "expr": "histogram_quantile(0.99, sum(rate(scheduler_binding_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-scheduler\",instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, le))",
  35169. "format": "time_series",
  35170. "intervalFactor": 2,
  35171. "legendFormat": "{{cluster}} {{instance}} binding",
  35172. "refId": "B"
  35173. },
  35174. {
  35175. "expr": "histogram_quantile(0.99, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-scheduler\",instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, le))",
  35176. "format": "time_series",
  35177. "intervalFactor": 2,
  35178. "legendFormat": "{{cluster}} {{instance}} scheduling algorithm",
  35179. "refId": "C"
  35180. },
  35181. {
  35182. "expr": "histogram_quantile(0.99, sum(rate(scheduler_volume_scheduling_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-scheduler\",instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, le))",
  35183. "format": "time_series",
  35184. "intervalFactor": 2,
  35185. "legendFormat": "{{cluster}} {{instance}} volume",
  35186. "refId": "D"
  35187. }
  35188. ],
  35189. "thresholds": [
  35190. ],
  35191. "timeFrom": null,
  35192. "timeShift": null,
  35193. "title": "Scheduling latency 99th Quantile",
  35194. "tooltip": {
  35195. "shared": false,
  35196. "sort": 0,
  35197. "value_type": "individual"
  35198. },
  35199. "type": "graph",
  35200. "xaxis": {
  35201. "buckets": null,
  35202. "mode": "time",
  35203. "name": null,
  35204. "show": true,
  35205. "values": [
  35206. ]
  35207. },
  35208. "yaxes": [
  35209. {
  35210. "format": "s",
  35211. "label": null,
  35212. "logBase": 1,
  35213. "max": null,
  35214. "min": 0,
  35215. "show": true
  35216. },
  35217. {
  35218. "format": "s",
  35219. "label": null,
  35220. "logBase": 1,
  35221. "max": null,
  35222. "min": 0,
  35223. "show": true
  35224. }
  35225. ]
  35226. }
  35227. ],
  35228. "repeat": null,
  35229. "repeatIteration": null,
  35230. "repeatRowId": null,
  35231. "showTitle": false,
  35232. "title": "Dashboard Row",
  35233. "titleSize": "h6",
  35234. "type": "row"
  35235. },
  35236. {
  35237. "collapse": false,
  35238. "collapsed": false,
  35239. "panels": [
  35240. {
  35241. "aliasColors": {
  35242. },
  35243. "bars": false,
  35244. "dashLength": 10,
  35245. "dashes": false,
  35246. "datasource": "$datasource",
  35247. "fill": 1,
  35248. "fillGradient": 0,
  35249. "gridPos": {
  35250. },
  35251. "id": 5,
  35252. "interval": "1m",
  35253. "legend": {
  35254. "alignAsTable": true,
  35255. "avg": false,
  35256. "current": false,
  35257. "max": false,
  35258. "min": false,
  35259. "rightSide": true,
  35260. "show": true,
  35261. "sideWidth": null,
  35262. "total": false,
  35263. "values": false
  35264. },
  35265. "lines": true,
  35266. "linewidth": 1,
  35267. "links": [
  35268. ],
  35269. "nullPointMode": "null",
  35270. "percentage": false,
  35271. "pointradius": 5,
  35272. "points": false,
  35273. "renderer": "flot",
  35274. "repeat": null,
  35275. "seriesOverrides": [
  35276. ],
  35277. "spaceLength": 10,
  35278. "span": 4,
  35279. "stack": false,
  35280. "steppedLine": false,
  35281. "targets": [
  35282. {
  35283. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\",code=~\"2..\"}[$__rate_interval]))",
  35284. "format": "time_series",
  35285. "intervalFactor": 2,
  35286. "legendFormat": "2xx",
  35287. "refId": "A"
  35288. },
  35289. {
  35290. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\",code=~\"3..\"}[$__rate_interval]))",
  35291. "format": "time_series",
  35292. "intervalFactor": 2,
  35293. "legendFormat": "3xx",
  35294. "refId": "B"
  35295. },
  35296. {
  35297. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\",code=~\"4..\"}[$__rate_interval]))",
  35298. "format": "time_series",
  35299. "intervalFactor": 2,
  35300. "legendFormat": "4xx",
  35301. "refId": "C"
  35302. },
  35303. {
  35304. "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\",code=~\"5..\"}[$__rate_interval]))",
  35305. "format": "time_series",
  35306. "intervalFactor": 2,
  35307. "legendFormat": "5xx",
  35308. "refId": "D"
  35309. }
  35310. ],
  35311. "thresholds": [
  35312. ],
  35313. "timeFrom": null,
  35314. "timeShift": null,
  35315. "title": "Kube API Request Rate",
  35316. "tooltip": {
  35317. "shared": false,
  35318. "sort": 0,
  35319. "value_type": "individual"
  35320. },
  35321. "type": "graph",
  35322. "xaxis": {
  35323. "buckets": null,
  35324. "mode": "time",
  35325. "name": null,
  35326. "show": true,
  35327. "values": [
  35328. ]
  35329. },
  35330. "yaxes": [
  35331. {
  35332. "format": "ops",
  35333. "label": null,
  35334. "logBase": 1,
  35335. "max": null,
  35336. "min": 0,
  35337. "show": true
  35338. },
  35339. {
  35340. "format": "ops",
  35341. "label": null,
  35342. "logBase": 1,
  35343. "max": null,
  35344. "min": 0,
  35345. "show": true
  35346. }
  35347. ]
  35348. },
  35349. {
  35350. "aliasColors": {
  35351. },
  35352. "bars": false,
  35353. "dashLength": 10,
  35354. "dashes": false,
  35355. "datasource": "$datasource",
  35356. "fill": 1,
  35357. "fillGradient": 0,
  35358. "gridPos": {
  35359. },
  35360. "id": 6,
  35361. "interval": "1m",
  35362. "legend": {
  35363. "alignAsTable": true,
  35364. "avg": false,
  35365. "current": false,
  35366. "max": false,
  35367. "min": false,
  35368. "rightSide": true,
  35369. "show": true,
  35370. "sideWidth": null,
  35371. "total": false,
  35372. "values": false
  35373. },
  35374. "lines": true,
  35375. "linewidth": 1,
  35376. "links": [
  35377. ],
  35378. "nullPointMode": "null",
  35379. "percentage": false,
  35380. "pointradius": 5,
  35381. "points": false,
  35382. "renderer": "flot",
  35383. "repeat": null,
  35384. "seriesOverrides": [
  35385. ],
  35386. "spaceLength": 10,
  35387. "span": 8,
  35388. "stack": false,
  35389. "steppedLine": false,
  35390. "targets": [
  35391. {
  35392. "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\", verb=\"POST\"}[$__rate_interval])) by (verb, url, le))",
  35393. "format": "time_series",
  35394. "intervalFactor": 2,
  35395. "legendFormat": "{{verb}} {{url}}",
  35396. "refId": "A"
  35397. }
  35398. ],
  35399. "thresholds": [
  35400. ],
  35401. "timeFrom": null,
  35402. "timeShift": null,
  35403. "title": "Post Request Latency 99th Quantile",
  35404. "tooltip": {
  35405. "shared": false,
  35406. "sort": 0,
  35407. "value_type": "individual"
  35408. },
  35409. "type": "graph",
  35410. "xaxis": {
  35411. "buckets": null,
  35412. "mode": "time",
  35413. "name": null,
  35414. "show": true,
  35415. "values": [
  35416. ]
  35417. },
  35418. "yaxes": [
  35419. {
  35420. "format": "s",
  35421. "label": null,
  35422. "logBase": 1,
  35423. "max": null,
  35424. "min": 0,
  35425. "show": true
  35426. },
  35427. {
  35428. "format": "s",
  35429. "label": null,
  35430. "logBase": 1,
  35431. "max": null,
  35432. "min": 0,
  35433. "show": true
  35434. }
  35435. ]
  35436. }
  35437. ],
  35438. "repeat": null,
  35439. "repeatIteration": null,
  35440. "repeatRowId": null,
  35441. "showTitle": false,
  35442. "title": "Dashboard Row",
  35443. "titleSize": "h6",
  35444. "type": "row"
  35445. },
  35446. {
  35447. "collapse": false,
  35448. "collapsed": false,
  35449. "panels": [
  35450. {
  35451. "aliasColors": {
  35452. },
  35453. "bars": false,
  35454. "dashLength": 10,
  35455. "dashes": false,
  35456. "datasource": "$datasource",
  35457. "fill": 1,
  35458. "fillGradient": 0,
  35459. "gridPos": {
  35460. },
  35461. "id": 7,
  35462. "interval": "1m",
  35463. "legend": {
  35464. "alignAsTable": true,
  35465. "avg": false,
  35466. "current": true,
  35467. "max": false,
  35468. "min": false,
  35469. "rightSide": true,
  35470. "show": true,
  35471. "sideWidth": null,
  35472. "total": false,
  35473. "values": true
  35474. },
  35475. "lines": true,
  35476. "linewidth": 1,
  35477. "links": [
  35478. ],
  35479. "nullPointMode": "null",
  35480. "percentage": false,
  35481. "pointradius": 5,
  35482. "points": false,
  35483. "renderer": "flot",
  35484. "repeat": null,
  35485. "seriesOverrides": [
  35486. ],
  35487. "spaceLength": 10,
  35488. "span": 12,
  35489. "stack": false,
  35490. "steppedLine": false,
  35491. "targets": [
  35492. {
  35493. "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\", verb=\"GET\"}[$__rate_interval])) by (verb, url, le))",
  35494. "format": "time_series",
  35495. "intervalFactor": 2,
  35496. "legendFormat": "{{verb}} {{url}}",
  35497. "refId": "A"
  35498. }
  35499. ],
  35500. "thresholds": [
  35501. ],
  35502. "timeFrom": null,
  35503. "timeShift": null,
  35504. "title": "Get Request Latency 99th Quantile",
  35505. "tooltip": {
  35506. "shared": false,
  35507. "sort": 0,
  35508. "value_type": "individual"
  35509. },
  35510. "type": "graph",
  35511. "xaxis": {
  35512. "buckets": null,
  35513. "mode": "time",
  35514. "name": null,
  35515. "show": true,
  35516. "values": [
  35517. ]
  35518. },
  35519. "yaxes": [
  35520. {
  35521. "format": "s",
  35522. "label": null,
  35523. "logBase": 1,
  35524. "max": null,
  35525. "min": 0,
  35526. "show": true
  35527. },
  35528. {
  35529. "format": "s",
  35530. "label": null,
  35531. "logBase": 1,
  35532. "max": null,
  35533. "min": 0,
  35534. "show": true
  35535. }
  35536. ]
  35537. }
  35538. ],
  35539. "repeat": null,
  35540. "repeatIteration": null,
  35541. "repeatRowId": null,
  35542. "showTitle": false,
  35543. "title": "Dashboard Row",
  35544. "titleSize": "h6",
  35545. "type": "row"
  35546. },
  35547. {
  35548. "collapse": false,
  35549. "collapsed": false,
  35550. "panels": [
  35551. {
  35552. "aliasColors": {
  35553. },
  35554. "bars": false,
  35555. "dashLength": 10,
  35556. "dashes": false,
  35557. "datasource": "$datasource",
  35558. "fill": 1,
  35559. "fillGradient": 0,
  35560. "gridPos": {
  35561. },
  35562. "id": 8,
  35563. "interval": "1m",
  35564. "legend": {
  35565. "alignAsTable": true,
  35566. "avg": false,
  35567. "current": false,
  35568. "max": false,
  35569. "min": false,
  35570. "rightSide": true,
  35571. "show": true,
  35572. "sideWidth": null,
  35573. "total": false,
  35574. "values": false
  35575. },
  35576. "lines": true,
  35577. "linewidth": 1,
  35578. "links": [
  35579. ],
  35580. "nullPointMode": "null",
  35581. "percentage": false,
  35582. "pointradius": 5,
  35583. "points": false,
  35584. "renderer": "flot",
  35585. "repeat": null,
  35586. "seriesOverrides": [
  35587. ],
  35588. "spaceLength": 10,
  35589. "span": 4,
  35590. "stack": false,
  35591. "steppedLine": false,
  35592. "targets": [
  35593. {
  35594. "expr": "process_resident_memory_bytes{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\"}",
  35595. "format": "time_series",
  35596. "intervalFactor": 2,
  35597. "legendFormat": "{{instance}}",
  35598. "refId": "A"
  35599. }
  35600. ],
  35601. "thresholds": [
  35602. ],
  35603. "timeFrom": null,
  35604. "timeShift": null,
  35605. "title": "Memory",
  35606. "tooltip": {
  35607. "shared": false,
  35608. "sort": 0,
  35609. "value_type": "individual"
  35610. },
  35611. "type": "graph",
  35612. "xaxis": {
  35613. "buckets": null,
  35614. "mode": "time",
  35615. "name": null,
  35616. "show": true,
  35617. "values": [
  35618. ]
  35619. },
  35620. "yaxes": [
  35621. {
  35622. "format": "bytes",
  35623. "label": null,
  35624. "logBase": 1,
  35625. "max": null,
  35626. "min": null,
  35627. "show": true
  35628. },
  35629. {
  35630. "format": "bytes",
  35631. "label": null,
  35632. "logBase": 1,
  35633. "max": null,
  35634. "min": null,
  35635. "show": true
  35636. }
  35637. ]
  35638. },
  35639. {
  35640. "aliasColors": {
  35641. },
  35642. "bars": false,
  35643. "dashLength": 10,
  35644. "dashes": false,
  35645. "datasource": "$datasource",
  35646. "fill": 1,
  35647. "fillGradient": 0,
  35648. "gridPos": {
  35649. },
  35650. "id": 9,
  35651. "interval": "1m",
  35652. "legend": {
  35653. "alignAsTable": true,
  35654. "avg": false,
  35655. "current": false,
  35656. "max": false,
  35657. "min": false,
  35658. "rightSide": true,
  35659. "show": true,
  35660. "sideWidth": null,
  35661. "total": false,
  35662. "values": false
  35663. },
  35664. "lines": true,
  35665. "linewidth": 1,
  35666. "links": [
  35667. ],
  35668. "nullPointMode": "null",
  35669. "percentage": false,
  35670. "pointradius": 5,
  35671. "points": false,
  35672. "renderer": "flot",
  35673. "repeat": null,
  35674. "seriesOverrides": [
  35675. ],
  35676. "spaceLength": 10,
  35677. "span": 4,
  35678. "stack": false,
  35679. "steppedLine": false,
  35680. "targets": [
  35681. {
  35682. "expr": "rate(process_cpu_seconds_total{cluster=\"$cluster\", job=\"kube-scheduler\", instance=~\"$instance\"}[$__rate_interval])",
  35683. "format": "time_series",
  35684. "intervalFactor": 2,
  35685. "legendFormat": "{{instance}}",
  35686. "refId": "A"
  35687. }
  35688. ],
  35689. "thresholds": [
  35690. ],
  35691. "timeFrom": null,
  35692. "timeShift": null,
  35693. "title": "CPU usage",
  35694. "tooltip": {
  35695. "shared": false,
  35696. "sort": 0,
  35697. "value_type": "individual"
  35698. },
  35699. "type": "graph",
  35700. "xaxis": {
  35701. "buckets": null,
  35702. "mode": "time",
  35703. "name": null,
  35704. "show": true,
  35705. "values": [
  35706. ]
  35707. },
  35708. "yaxes": [
  35709. {
  35710. "format": "bytes",
  35711. "label": null,
  35712. "logBase": 1,
  35713. "max": null,
  35714. "min": 0,
  35715. "show": true
  35716. },
  35717. {
  35718. "format": "bytes",
  35719. "label": null,
  35720. "logBase": 1,
  35721. "max": null,
  35722. "min": 0,
  35723. "show": true
  35724. }
  35725. ]
  35726. },
  35727. {
  35728. "aliasColors": {
  35729. },
  35730. "bars": false,
  35731. "dashLength": 10,
  35732. "dashes": false,
  35733. "datasource": "$datasource",
  35734. "fill": 1,
  35735. "fillGradient": 0,
  35736. "gridPos": {
  35737. },
  35738. "id": 10,
  35739. "interval": "1m",
  35740. "legend": {
  35741. "alignAsTable": true,
  35742. "avg": false,
  35743. "current": false,
  35744. "max": false,
  35745. "min": false,
  35746. "rightSide": true,
  35747. "show": true,
  35748. "sideWidth": null,
  35749. "total": false,
  35750. "values": false
  35751. },
  35752. "lines": true,
  35753. "linewidth": 1,
  35754. "links": [
  35755. ],
  35756. "nullPointMode": "null",
  35757. "percentage": false,
  35758. "pointradius": 5,
  35759. "points": false,
  35760. "renderer": "flot",
  35761. "repeat": null,
  35762. "seriesOverrides": [
  35763. ],
  35764. "spaceLength": 10,
  35765. "span": 4,
  35766. "stack": false,
  35767. "steppedLine": false,
  35768. "targets": [
  35769. {
  35770. "expr": "go_goroutines{cluster=\"$cluster\", job=\"kube-scheduler\",instance=~\"$instance\"}",
  35771. "format": "time_series",
  35772. "intervalFactor": 2,
  35773. "legendFormat": "{{instance}}",
  35774. "refId": "A"
  35775. }
  35776. ],
  35777. "thresholds": [
  35778. ],
  35779. "timeFrom": null,
  35780. "timeShift": null,
  35781. "title": "Goroutines",
  35782. "tooltip": {
  35783. "shared": false,
  35784. "sort": 0,
  35785. "value_type": "individual"
  35786. },
  35787. "type": "graph",
  35788. "xaxis": {
  35789. "buckets": null,
  35790. "mode": "time",
  35791. "name": null,
  35792. "show": true,
  35793. "values": [
  35794. ]
  35795. },
  35796. "yaxes": [
  35797. {
  35798. "format": "short",
  35799. "label": null,
  35800. "logBase": 1,
  35801. "max": null,
  35802. "min": null,
  35803. "show": true
  35804. },
  35805. {
  35806. "format": "short",
  35807. "label": null,
  35808. "logBase": 1,
  35809. "max": null,
  35810. "min": null,
  35811. "show": true
  35812. }
  35813. ]
  35814. }
  35815. ],
  35816. "repeat": null,
  35817. "repeatIteration": null,
  35818. "repeatRowId": null,
  35819. "showTitle": false,
  35820. "title": "Dashboard Row",
  35821. "titleSize": "h6",
  35822. "type": "row"
  35823. }
  35824. ],
  35825. "schemaVersion": 14,
  35826. "style": "dark",
  35827. "tags": [
  35828. "kubernetes-mixin"
  35829. ],
  35830. "templating": {
  35831. "list": [
  35832. {
  35833. "current": {
  35834. "text": "default",
  35835. "value": "default"
  35836. },
  35837. "hide": 0,
  35838. "label": "Data Source",
  35839. "name": "datasource",
  35840. "options": [
  35841. ],
  35842. "query": "prometheus",
  35843. "refresh": 1,
  35844. "regex": "",
  35845. "type": "datasource"
  35846. },
  35847. {
  35848. "allValue": null,
  35849. "current": {
  35850. },
  35851. "datasource": "$datasource",
  35852. "hide": 2,
  35853. "includeAll": false,
  35854. "label": "cluster",
  35855. "multi": false,
  35856. "name": "cluster",
  35857. "options": [
  35858. ],
  35859. "query": "label_values(up{job=\"kube-scheduler\"}, cluster)",
  35860. "refresh": 2,
  35861. "regex": "",
  35862. "sort": 1,
  35863. "tagValuesQuery": "",
  35864. "tags": [
  35865. ],
  35866. "tagsQuery": "",
  35867. "type": "query",
  35868. "useTags": false
  35869. },
  35870. {
  35871. "allValue": null,
  35872. "current": {
  35873. },
  35874. "datasource": "$datasource",
  35875. "hide": 0,
  35876. "includeAll": true,
  35877. "label": null,
  35878. "multi": false,
  35879. "name": "instance",
  35880. "options": [
  35881. ],
  35882. "query": "label_values(up{job=\"kube-scheduler\", cluster=\"$cluster\"}, instance)",
  35883. "refresh": 2,
  35884. "regex": "",
  35885. "sort": 1,
  35886. "tagValuesQuery": "",
  35887. "tags": [
  35888. ],
  35889. "tagsQuery": "",
  35890. "type": "query",
  35891. "useTags": false
  35892. }
  35893. ]
  35894. },
  35895. "time": {
  35896. "from": "now-1h",
  35897. "to": "now"
  35898. },
  35899. "timepicker": {
  35900. "refresh_intervals": [
  35901. "5s",
  35902. "10s",
  35903. "30s",
  35904. "1m",
  35905. "5m",
  35906. "15m",
  35907. "30m",
  35908. "1h",
  35909. "2h",
  35910. "1d"
  35911. ],
  35912. "time_options": [
  35913. "5m",
  35914. "15m",
  35915. "1h",
  35916. "6h",
  35917. "12h",
  35918. "24h",
  35919. "2d",
  35920. "7d",
  35921. "30d"
  35922. ]
  35923. },
  35924. "timezone": "utc",
  35925. "title": "Kubernetes / Scheduler",
  35926. "uid": "2e6b6a3b4bddf1427b3a55aa1311c656",
  35927. "version": 0
  35928. }
  35929. ---
  35930. # Source: kube-prometheus-stack/templates/grafana/dashboards-1.14/workload-total.yaml
  35931. apiVersion: v1
  35932. kind: ConfigMap
  35933. metadata:
  35934. namespace: monitoring
  35935. name: prometheus-kube-prometheus-workload-total
  35936. annotations:
  35937. {}
  35938. labels:
  35939. grafana_dashboard: "1"
  35940. app: kube-prometheus-stack-grafana
  35941. app.kubernetes.io/managed-by: Helm
  35942. app.kubernetes.io/instance: prometheus
  35943. app.kubernetes.io/version: "44.3.0"
  35944. app.kubernetes.io/part-of: kube-prometheus-stack
  35945. chart: kube-prometheus-stack-44.3.0
  35946. release: "prometheus"
  35947. heritage: "Helm"
  35948. data:
  35949. workload-total.json: |-
  35950. {
  35951. "__inputs": [
  35952. ],
  35953. "__requires": [
  35954. ],
  35955. "annotations": {
  35956. "list": [
  35957. {
  35958. "builtIn": 1,
  35959. "datasource": "-- Grafana --",
  35960. "enable": true,
  35961. "hide": true,
  35962. "iconColor": "rgba(0, 211, 255, 1)",
  35963. "name": "Annotations & Alerts",
  35964. "type": "dashboard"
  35965. }
  35966. ]
  35967. },
  35968. "editable": true,
  35969. "gnetId": null,
  35970. "graphTooltip": 0,
  35971. "hideControls": false,
  35972. "id": null,
  35973. "links": [
  35974. ],
  35975. "panels": [
  35976. {
  35977. "collapse": false,
  35978. "collapsed": false,
  35979. "gridPos": {
  35980. "h": 1,
  35981. "w": 24,
  35982. "x": 0,
  35983. "y": 0
  35984. },
  35985. "id": 2,
  35986. "panels": [
  35987. ],
  35988. "repeat": null,
  35989. "repeatIteration": null,
  35990. "repeatRowId": null,
  35991. "showTitle": true,
  35992. "title": "Current Bandwidth",
  35993. "titleSize": "h6",
  35994. "type": "row"
  35995. },
  35996. {
  35997. "aliasColors": {
  35998. },
  35999. "bars": true,
  36000. "dashLength": 10,
  36001. "dashes": false,
  36002. "datasource": "$datasource",
  36003. "fill": 2,
  36004. "fillGradient": 0,
  36005. "gridPos": {
  36006. "h": 9,
  36007. "w": 12,
  36008. "x": 0,
  36009. "y": 1
  36010. },
  36011. "id": 3,
  36012. "legend": {
  36013. "alignAsTable": true,
  36014. "avg": false,
  36015. "current": true,
  36016. "hideEmpty": true,
  36017. "hideZero": true,
  36018. "max": false,
  36019. "min": false,
  36020. "rightSide": true,
  36021. "show": true,
  36022. "sideWidth": null,
  36023. "sort": "current",
  36024. "sortDesc": true,
  36025. "total": false,
  36026. "values": true
  36027. },
  36028. "lines": false,
  36029. "linewidth": 1,
  36030. "links": [
  36031. ],
  36032. "minSpan": 24,
  36033. "nullPointMode": "null",
  36034. "paceLength": 10,
  36035. "percentage": false,
  36036. "pointradius": 5,
  36037. "points": false,
  36038. "renderer": "flot",
  36039. "repeat": null,
  36040. "seriesOverrides": [
  36041. ],
  36042. "spaceLength": 10,
  36043. "span": 24,
  36044. "stack": false,
  36045. "steppedLine": false,
  36046. "targets": [
  36047. {
  36048. "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  36049. "format": "time_series",
  36050. "intervalFactor": 1,
  36051. "legendFormat": "{{ pod }}",
  36052. "refId": "A",
  36053. "step": 10
  36054. }
  36055. ],
  36056. "thresholds": [
  36057. ],
  36058. "timeFrom": null,
  36059. "timeShift": null,
  36060. "title": "Current Rate of Bytes Received",
  36061. "tooltip": {
  36062. "shared": true,
  36063. "sort": 2,
  36064. "value_type": "individual"
  36065. },
  36066. "type": "graph",
  36067. "xaxis": {
  36068. "buckets": null,
  36069. "mode": "series",
  36070. "name": null,
  36071. "show": false,
  36072. "values": [
  36073. "current"
  36074. ]
  36075. },
  36076. "yaxes": [
  36077. {
  36078. "format": "Bps",
  36079. "label": null,
  36080. "logBase": 1,
  36081. "max": null,
  36082. "min": 0,
  36083. "show": true
  36084. },
  36085. {
  36086. "format": "Bps",
  36087. "label": null,
  36088. "logBase": 1,
  36089. "max": null,
  36090. "min": 0,
  36091. "show": true
  36092. }
  36093. ]
  36094. },
  36095. {
  36096. "aliasColors": {
  36097. },
  36098. "bars": true,
  36099. "dashLength": 10,
  36100. "dashes": false,
  36101. "datasource": "$datasource",
  36102. "fill": 2,
  36103. "fillGradient": 0,
  36104. "gridPos": {
  36105. "h": 9,
  36106. "w": 12,
  36107. "x": 12,
  36108. "y": 1
  36109. },
  36110. "id": 4,
  36111. "legend": {
  36112. "alignAsTable": true,
  36113. "avg": false,
  36114. "current": true,
  36115. "hideEmpty": true,
  36116. "hideZero": true,
  36117. "max": false,
  36118. "min": false,
  36119. "rightSide": true,
  36120. "show": true,
  36121. "sideWidth": null,
  36122. "sort": "current",
  36123. "sortDesc": true,
  36124. "total": false,
  36125. "values": true
  36126. },
  36127. "lines": false,
  36128. "linewidth": 1,
  36129. "links": [
  36130. ],
  36131. "minSpan": 24,
  36132. "nullPointMode": "null",
  36133. "paceLength": 10,
  36134. "percentage": false,
  36135. "pointradius": 5,
  36136. "points": false,
  36137. "renderer": "flot",
  36138. "repeat": null,
  36139. "seriesOverrides": [
  36140. ],
  36141. "spaceLength": 10,
  36142. "span": 24,
  36143. "stack": false,
  36144. "steppedLine": false,
  36145. "targets": [
  36146. {
  36147. "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  36148. "format": "time_series",
  36149. "intervalFactor": 1,
  36150. "legendFormat": "{{ pod }}",
  36151. "refId": "A",
  36152. "step": 10
  36153. }
  36154. ],
  36155. "thresholds": [
  36156. ],
  36157. "timeFrom": null,
  36158. "timeShift": null,
  36159. "title": "Current Rate of Bytes Transmitted",
  36160. "tooltip": {
  36161. "shared": true,
  36162. "sort": 2,
  36163. "value_type": "individual"
  36164. },
  36165. "type": "graph",
  36166. "xaxis": {
  36167. "buckets": null,
  36168. "mode": "series",
  36169. "name": null,
  36170. "show": false,
  36171. "values": [
  36172. "current"
  36173. ]
  36174. },
  36175. "yaxes": [
  36176. {
  36177. "format": "Bps",
  36178. "label": null,
  36179. "logBase": 1,
  36180. "max": null,
  36181. "min": 0,
  36182. "show": true
  36183. },
  36184. {
  36185. "format": "Bps",
  36186. "label": null,
  36187. "logBase": 1,
  36188. "max": null,
  36189. "min": 0,
  36190. "show": true
  36191. }
  36192. ]
  36193. },
  36194. {
  36195. "collapse": true,
  36196. "collapsed": true,
  36197. "gridPos": {
  36198. "h": 1,
  36199. "w": 24,
  36200. "x": 0,
  36201. "y": 10
  36202. },
  36203. "id": 5,
  36204. "panels": [
  36205. {
  36206. "aliasColors": {
  36207. },
  36208. "bars": true,
  36209. "dashLength": 10,
  36210. "dashes": false,
  36211. "datasource": "$datasource",
  36212. "fill": 2,
  36213. "fillGradient": 0,
  36214. "gridPos": {
  36215. "h": 9,
  36216. "w": 12,
  36217. "x": 0,
  36218. "y": 11
  36219. },
  36220. "id": 6,
  36221. "legend": {
  36222. "alignAsTable": true,
  36223. "avg": false,
  36224. "current": true,
  36225. "hideEmpty": true,
  36226. "hideZero": true,
  36227. "max": false,
  36228. "min": false,
  36229. "rightSide": true,
  36230. "show": true,
  36231. "sideWidth": null,
  36232. "sort": "current",
  36233. "sortDesc": true,
  36234. "total": false,
  36235. "values": true
  36236. },
  36237. "lines": false,
  36238. "linewidth": 1,
  36239. "links": [
  36240. ],
  36241. "minSpan": 24,
  36242. "nullPointMode": "null",
  36243. "paceLength": 10,
  36244. "percentage": false,
  36245. "pointradius": 5,
  36246. "points": false,
  36247. "renderer": "flot",
  36248. "repeat": null,
  36249. "seriesOverrides": [
  36250. ],
  36251. "spaceLength": 10,
  36252. "span": 24,
  36253. "stack": false,
  36254. "steppedLine": false,
  36255. "targets": [
  36256. {
  36257. "expr": "sort_desc(avg(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  36258. "format": "time_series",
  36259. "intervalFactor": 1,
  36260. "legendFormat": "{{ pod }}",
  36261. "refId": "A",
  36262. "step": 10
  36263. }
  36264. ],
  36265. "thresholds": [
  36266. ],
  36267. "timeFrom": null,
  36268. "timeShift": null,
  36269. "title": "Average Rate of Bytes Received",
  36270. "tooltip": {
  36271. "shared": true,
  36272. "sort": 2,
  36273. "value_type": "individual"
  36274. },
  36275. "type": "graph",
  36276. "xaxis": {
  36277. "buckets": null,
  36278. "mode": "series",
  36279. "name": null,
  36280. "show": false,
  36281. "values": [
  36282. "current"
  36283. ]
  36284. },
  36285. "yaxes": [
  36286. {
  36287. "format": "Bps",
  36288. "label": null,
  36289. "logBase": 1,
  36290. "max": null,
  36291. "min": 0,
  36292. "show": true
  36293. },
  36294. {
  36295. "format": "Bps",
  36296. "label": null,
  36297. "logBase": 1,
  36298. "max": null,
  36299. "min": 0,
  36300. "show": true
  36301. }
  36302. ]
  36303. },
  36304. {
  36305. "aliasColors": {
  36306. },
  36307. "bars": true,
  36308. "dashLength": 10,
  36309. "dashes": false,
  36310. "datasource": "$datasource",
  36311. "fill": 2,
  36312. "fillGradient": 0,
  36313. "gridPos": {
  36314. "h": 9,
  36315. "w": 12,
  36316. "x": 12,
  36317. "y": 11
  36318. },
  36319. "id": 7,
  36320. "legend": {
  36321. "alignAsTable": true,
  36322. "avg": false,
  36323. "current": true,
  36324. "hideEmpty": true,
  36325. "hideZero": true,
  36326. "max": false,
  36327. "min": false,
  36328. "rightSide": true,
  36329. "show": true,
  36330. "sideWidth": null,
  36331. "sort": "current",
  36332. "sortDesc": true,
  36333. "total": false,
  36334. "values": true
  36335. },
  36336. "lines": false,
  36337. "linewidth": 1,
  36338. "links": [
  36339. ],
  36340. "minSpan": 24,
  36341. "nullPointMode": "null",
  36342. "paceLength": 10,
  36343. "percentage": false,
  36344. "pointradius": 5,
  36345. "points": false,
  36346. "renderer": "flot",
  36347. "repeat": null,
  36348. "seriesOverrides": [
  36349. ],
  36350. "spaceLength": 10,
  36351. "span": 24,
  36352. "stack": false,
  36353. "steppedLine": false,
  36354. "targets": [
  36355. {
  36356. "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  36357. "format": "time_series",
  36358. "intervalFactor": 1,
  36359. "legendFormat": "{{ pod }}",
  36360. "refId": "A",
  36361. "step": 10
  36362. }
  36363. ],
  36364. "thresholds": [
  36365. ],
  36366. "timeFrom": null,
  36367. "timeShift": null,
  36368. "title": "Average Rate of Bytes Transmitted",
  36369. "tooltip": {
  36370. "shared": true,
  36371. "sort": 2,
  36372. "value_type": "individual"
  36373. },
  36374. "type": "graph",
  36375. "xaxis": {
  36376. "buckets": null,
  36377. "mode": "series",
  36378. "name": null,
  36379. "show": false,
  36380. "values": [
  36381. "current"
  36382. ]
  36383. },
  36384. "yaxes": [
  36385. {
  36386. "format": "Bps",
  36387. "label": null,
  36388. "logBase": 1,
  36389. "max": null,
  36390. "min": 0,
  36391. "show": true
  36392. },
  36393. {
  36394. "format": "Bps",
  36395. "label": null,
  36396. "logBase": 1,
  36397. "max": null,
  36398. "min": 0,
  36399. "show": true
  36400. }
  36401. ]
  36402. }
  36403. ],
  36404. "repeat": null,
  36405. "repeatIteration": null,
  36406. "repeatRowId": null,
  36407. "showTitle": true,
  36408. "title": "Average Bandwidth",
  36409. "titleSize": "h6",
  36410. "type": "row"
  36411. },
  36412. {
  36413. "collapse": false,
  36414. "collapsed": false,
  36415. "gridPos": {
  36416. "h": 1,
  36417. "w": 24,
  36418. "x": 0,
  36419. "y": 11
  36420. },
  36421. "id": 8,
  36422. "panels": [
  36423. ],
  36424. "repeat": null,
  36425. "repeatIteration": null,
  36426. "repeatRowId": null,
  36427. "showTitle": true,
  36428. "title": "Bandwidth HIstory",
  36429. "titleSize": "h6",
  36430. "type": "row"
  36431. },
  36432. {
  36433. "aliasColors": {
  36434. },
  36435. "bars": false,
  36436. "dashLength": 10,
  36437. "dashes": false,
  36438. "datasource": "$datasource",
  36439. "fill": 2,
  36440. "fillGradient": 0,
  36441. "gridPos": {
  36442. "h": 9,
  36443. "w": 12,
  36444. "x": 0,
  36445. "y": 12
  36446. },
  36447. "id": 9,
  36448. "legend": {
  36449. "alignAsTable": false,
  36450. "avg": false,
  36451. "current": false,
  36452. "hideEmpty": true,
  36453. "hideZero": true,
  36454. "max": false,
  36455. "min": false,
  36456. "rightSide": false,
  36457. "show": true,
  36458. "sideWidth": null,
  36459. "total": false,
  36460. "values": false
  36461. },
  36462. "lines": true,
  36463. "linewidth": 2,
  36464. "links": [
  36465. ],
  36466. "minSpan": 12,
  36467. "nullPointMode": "connected",
  36468. "paceLength": 10,
  36469. "percentage": false,
  36470. "pointradius": 5,
  36471. "points": false,
  36472. "renderer": "flot",
  36473. "repeat": null,
  36474. "seriesOverrides": [
  36475. ],
  36476. "spaceLength": 10,
  36477. "span": 12,
  36478. "stack": true,
  36479. "steppedLine": false,
  36480. "targets": [
  36481. {
  36482. "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  36483. "format": "time_series",
  36484. "intervalFactor": 1,
  36485. "legendFormat": "{{pod}}",
  36486. "refId": "A",
  36487. "step": 10
  36488. }
  36489. ],
  36490. "thresholds": [
  36491. ],
  36492. "timeFrom": null,
  36493. "timeShift": null,
  36494. "title": "Receive Bandwidth",
  36495. "tooltip": {
  36496. "shared": true,
  36497. "sort": 2,
  36498. "value_type": "individual"
  36499. },
  36500. "type": "graph",
  36501. "xaxis": {
  36502. "buckets": null,
  36503. "mode": "time",
  36504. "name": null,
  36505. "show": true,
  36506. "values": [
  36507. ]
  36508. },
  36509. "yaxes": [
  36510. {
  36511. "format": "Bps",
  36512. "label": null,
  36513. "logBase": 1,
  36514. "max": null,
  36515. "min": 0,
  36516. "show": true
  36517. },
  36518. {
  36519. "format": "Bps",
  36520. "label": null,
  36521. "logBase": 1,
  36522. "max": null,
  36523. "min": 0,
  36524. "show": true
  36525. }
  36526. ]
  36527. },
  36528. {
  36529. "aliasColors": {
  36530. },
  36531. "bars": false,
  36532. "dashLength": 10,
  36533. "dashes": false,
  36534. "datasource": "$datasource",
  36535. "fill": 2,
  36536. "fillGradient": 0,
  36537. "gridPos": {
  36538. "h": 9,
  36539. "w": 12,
  36540. "x": 12,
  36541. "y": 12
  36542. },
  36543. "id": 10,
  36544. "legend": {
  36545. "alignAsTable": false,
  36546. "avg": false,
  36547. "current": false,
  36548. "hideEmpty": true,
  36549. "hideZero": true,
  36550. "max": false,
  36551. "min": false,
  36552. "rightSide": false,
  36553. "show": true,
  36554. "sideWidth": null,
  36555. "total": false,
  36556. "values": false
  36557. },
  36558. "lines": true,
  36559. "linewidth": 2,
  36560. "links": [
  36561. ],
  36562. "minSpan": 12,
  36563. "nullPointMode": "connected",
  36564. "paceLength": 10,
  36565. "percentage": false,
  36566. "pointradius": 5,
  36567. "points": false,
  36568. "renderer": "flot",
  36569. "repeat": null,
  36570. "seriesOverrides": [
  36571. ],
  36572. "spaceLength": 10,
  36573. "span": 12,
  36574. "stack": true,
  36575. "steppedLine": false,
  36576. "targets": [
  36577. {
  36578. "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  36579. "format": "time_series",
  36580. "intervalFactor": 1,
  36581. "legendFormat": "{{pod}}",
  36582. "refId": "A",
  36583. "step": 10
  36584. }
  36585. ],
  36586. "thresholds": [
  36587. ],
  36588. "timeFrom": null,
  36589. "timeShift": null,
  36590. "title": "Transmit Bandwidth",
  36591. "tooltip": {
  36592. "shared": true,
  36593. "sort": 2,
  36594. "value_type": "individual"
  36595. },
  36596. "type": "graph",
  36597. "xaxis": {
  36598. "buckets": null,
  36599. "mode": "time",
  36600. "name": null,
  36601. "show": true,
  36602. "values": [
  36603. ]
  36604. },
  36605. "yaxes": [
  36606. {
  36607. "format": "Bps",
  36608. "label": null,
  36609. "logBase": 1,
  36610. "max": null,
  36611. "min": 0,
  36612. "show": true
  36613. },
  36614. {
  36615. "format": "Bps",
  36616. "label": null,
  36617. "logBase": 1,
  36618. "max": null,
  36619. "min": 0,
  36620. "show": true
  36621. }
  36622. ]
  36623. },
  36624. {
  36625. "collapse": true,
  36626. "collapsed": true,
  36627. "gridPos": {
  36628. "h": 1,
  36629. "w": 24,
  36630. "x": 0,
  36631. "y": 21
  36632. },
  36633. "id": 11,
  36634. "panels": [
  36635. {
  36636. "aliasColors": {
  36637. },
  36638. "bars": false,
  36639. "dashLength": 10,
  36640. "dashes": false,
  36641. "datasource": "$datasource",
  36642. "fill": 2,
  36643. "fillGradient": 0,
  36644. "gridPos": {
  36645. "h": 9,
  36646. "w": 12,
  36647. "x": 0,
  36648. "y": 22
  36649. },
  36650. "id": 12,
  36651. "legend": {
  36652. "alignAsTable": false,
  36653. "avg": false,
  36654. "current": false,
  36655. "hideEmpty": true,
  36656. "hideZero": true,
  36657. "max": false,
  36658. "min": false,
  36659. "rightSide": false,
  36660. "show": true,
  36661. "sideWidth": null,
  36662. "total": false,
  36663. "values": false
  36664. },
  36665. "lines": true,
  36666. "linewidth": 2,
  36667. "links": [
  36668. ],
  36669. "minSpan": 12,
  36670. "nullPointMode": "connected",
  36671. "paceLength": 10,
  36672. "percentage": false,
  36673. "pointradius": 5,
  36674. "points": false,
  36675. "renderer": "flot",
  36676. "repeat": null,
  36677. "seriesOverrides": [
  36678. ],
  36679. "spaceLength": 10,
  36680. "span": 12,
  36681. "stack": true,
  36682. "steppedLine": false,
  36683. "targets": [
  36684. {
  36685. "expr": "sort_desc(sum(irate(container_network_receive_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  36686. "format": "time_series",
  36687. "intervalFactor": 1,
  36688. "legendFormat": "{{pod}}",
  36689. "refId": "A",
  36690. "step": 10
  36691. }
  36692. ],
  36693. "thresholds": [
  36694. ],
  36695. "timeFrom": null,
  36696. "timeShift": null,
  36697. "title": "Rate of Received Packets",
  36698. "tooltip": {
  36699. "shared": true,
  36700. "sort": 2,
  36701. "value_type": "individual"
  36702. },
  36703. "type": "graph",
  36704. "xaxis": {
  36705. "buckets": null,
  36706. "mode": "time",
  36707. "name": null,
  36708. "show": true,
  36709. "values": [
  36710. ]
  36711. },
  36712. "yaxes": [
  36713. {
  36714. "format": "pps",
  36715. "label": null,
  36716. "logBase": 1,
  36717. "max": null,
  36718. "min": 0,
  36719. "show": true
  36720. },
  36721. {
  36722. "format": "pps",
  36723. "label": null,
  36724. "logBase": 1,
  36725. "max": null,
  36726. "min": 0,
  36727. "show": true
  36728. }
  36729. ]
  36730. },
  36731. {
  36732. "aliasColors": {
  36733. },
  36734. "bars": false,
  36735. "dashLength": 10,
  36736. "dashes": false,
  36737. "datasource": "$datasource",
  36738. "fill": 2,
  36739. "fillGradient": 0,
  36740. "gridPos": {
  36741. "h": 9,
  36742. "w": 12,
  36743. "x": 12,
  36744. "y": 22
  36745. },
  36746. "id": 13,
  36747. "legend": {
  36748. "alignAsTable": false,
  36749. "avg": false,
  36750. "current": false,
  36751. "hideEmpty": true,
  36752. "hideZero": true,
  36753. "max": false,
  36754. "min": false,
  36755. "rightSide": false,
  36756. "show": true,
  36757. "sideWidth": null,
  36758. "total": false,
  36759. "values": false
  36760. },
  36761. "lines": true,
  36762. "linewidth": 2,
  36763. "links": [
  36764. ],
  36765. "minSpan": 12,
  36766. "nullPointMode": "connected",
  36767. "paceLength": 10,
  36768. "percentage": false,
  36769. "pointradius": 5,
  36770. "points": false,
  36771. "renderer": "flot",
  36772. "repeat": null,
  36773. "seriesOverrides": [
  36774. ],
  36775. "spaceLength": 10,
  36776. "span": 12,
  36777. "stack": true,
  36778. "steppedLine": false,
  36779. "targets": [
  36780. {
  36781. "expr": "sort_desc(sum(irate(container_network_transmit_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  36782. "format": "time_series",
  36783. "intervalFactor": 1,
  36784. "legendFormat": "{{pod}}",
  36785. "refId": "A",
  36786. "step": 10
  36787. }
  36788. ],
  36789. "thresholds": [
  36790. ],
  36791. "timeFrom": null,
  36792. "timeShift": null,
  36793. "title": "Rate of Transmitted Packets",
  36794. "tooltip": {
  36795. "shared": true,
  36796. "sort": 2,
  36797. "value_type": "individual"
  36798. },
  36799. "type": "graph",
  36800. "xaxis": {
  36801. "buckets": null,
  36802. "mode": "time",
  36803. "name": null,
  36804. "show": true,
  36805. "values": [
  36806. ]
  36807. },
  36808. "yaxes": [
  36809. {
  36810. "format": "pps",
  36811. "label": null,
  36812. "logBase": 1,
  36813. "max": null,
  36814. "min": 0,
  36815. "show": true
  36816. },
  36817. {
  36818. "format": "pps",
  36819. "label": null,
  36820. "logBase": 1,
  36821. "max": null,
  36822. "min": 0,
  36823. "show": true
  36824. }
  36825. ]
  36826. }
  36827. ],
  36828. "repeat": null,
  36829. "repeatIteration": null,
  36830. "repeatRowId": null,
  36831. "showTitle": true,
  36832. "title": "Packets",
  36833. "titleSize": "h6",
  36834. "type": "row"
  36835. },
  36836. {
  36837. "collapse": true,
  36838. "collapsed": true,
  36839. "gridPos": {
  36840. "h": 1,
  36841. "w": 24,
  36842. "x": 0,
  36843. "y": 22
  36844. },
  36845. "id": 14,
  36846. "panels": [
  36847. {
  36848. "aliasColors": {
  36849. },
  36850. "bars": false,
  36851. "dashLength": 10,
  36852. "dashes": false,
  36853. "datasource": "$datasource",
  36854. "fill": 2,
  36855. "fillGradient": 0,
  36856. "gridPos": {
  36857. "h": 9,
  36858. "w": 12,
  36859. "x": 0,
  36860. "y": 23
  36861. },
  36862. "id": 15,
  36863. "legend": {
  36864. "alignAsTable": false,
  36865. "avg": false,
  36866. "current": false,
  36867. "hideEmpty": true,
  36868. "hideZero": true,
  36869. "max": false,
  36870. "min": false,
  36871. "rightSide": false,
  36872. "show": true,
  36873. "sideWidth": null,
  36874. "total": false,
  36875. "values": false
  36876. },
  36877. "lines": true,
  36878. "linewidth": 2,
  36879. "links": [
  36880. ],
  36881. "minSpan": 12,
  36882. "nullPointMode": "connected",
  36883. "paceLength": 10,
  36884. "percentage": false,
  36885. "pointradius": 5,
  36886. "points": false,
  36887. "renderer": "flot",
  36888. "repeat": null,
  36889. "seriesOverrides": [
  36890. ],
  36891. "spaceLength": 10,
  36892. "span": 12,
  36893. "stack": true,
  36894. "steppedLine": false,
  36895. "targets": [
  36896. {
  36897. "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  36898. "format": "time_series",
  36899. "intervalFactor": 1,
  36900. "legendFormat": "{{pod}}",
  36901. "refId": "A",
  36902. "step": 10
  36903. }
  36904. ],
  36905. "thresholds": [
  36906. ],
  36907. "timeFrom": null,
  36908. "timeShift": null,
  36909. "title": "Rate of Received Packets Dropped",
  36910. "tooltip": {
  36911. "shared": true,
  36912. "sort": 2,
  36913. "value_type": "individual"
  36914. },
  36915. "type": "graph",
  36916. "xaxis": {
  36917. "buckets": null,
  36918. "mode": "time",
  36919. "name": null,
  36920. "show": true,
  36921. "values": [
  36922. ]
  36923. },
  36924. "yaxes": [
  36925. {
  36926. "format": "pps",
  36927. "label": null,
  36928. "logBase": 1,
  36929. "max": null,
  36930. "min": 0,
  36931. "show": true
  36932. },
  36933. {
  36934. "format": "pps",
  36935. "label": null,
  36936. "logBase": 1,
  36937. "max": null,
  36938. "min": 0,
  36939. "show": true
  36940. }
  36941. ]
  36942. },
  36943. {
  36944. "aliasColors": {
  36945. },
  36946. "bars": false,
  36947. "dashLength": 10,
  36948. "dashes": false,
  36949. "datasource": "$datasource",
  36950. "fill": 2,
  36951. "fillGradient": 0,
  36952. "gridPos": {
  36953. "h": 9,
  36954. "w": 12,
  36955. "x": 12,
  36956. "y": 23
  36957. },
  36958. "id": 16,
  36959. "legend": {
  36960. "alignAsTable": false,
  36961. "avg": false,
  36962. "current": false,
  36963. "hideEmpty": true,
  36964. "hideZero": true,
  36965. "max": false,
  36966. "min": false,
  36967. "rightSide": false,
  36968. "show": true,
  36969. "sideWidth": null,
  36970. "total": false,
  36971. "values": false
  36972. },
  36973. "lines": true,
  36974. "linewidth": 2,
  36975. "links": [
  36976. ],
  36977. "minSpan": 12,
  36978. "nullPointMode": "connected",
  36979. "paceLength": 10,
  36980. "percentage": false,
  36981. "pointradius": 5,
  36982. "points": false,
  36983. "renderer": "flot",
  36984. "repeat": null,
  36985. "seriesOverrides": [
  36986. ],
  36987. "spaceLength": 10,
  36988. "span": 12,
  36989. "stack": true,
  36990. "steppedLine": false,
  36991. "targets": [
  36992. {
  36993. "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\",namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n",
  36994. "format": "time_series",
  36995. "intervalFactor": 1,
  36996. "legendFormat": "{{pod}}",
  36997. "refId": "A",
  36998. "step": 10
  36999. }
  37000. ],
  37001. "thresholds": [
  37002. ],
  37003. "timeFrom": null,
  37004. "timeShift": null,
  37005. "title": "Rate of Transmitted Packets Dropped",
  37006. "tooltip": {
  37007. "shared": true,
  37008. "sort": 2,
  37009. "value_type": "individual"
  37010. },
  37011. "type": "graph",
  37012. "xaxis": {
  37013. "buckets": null,
  37014. "mode": "time",
  37015. "name": null,
  37016. "show": true,
  37017. "values": [
  37018. ]
  37019. },
  37020. "yaxes": [
  37021. {
  37022. "format": "pps",
  37023. "label": null,
  37024. "logBase": 1,
  37025. "max": null,
  37026. "min": 0,
  37027. "show": true
  37028. },
  37029. {
  37030. "format": "pps",
  37031. "label": null,
  37032. "logBase": 1,
  37033. "max": null,
  37034. "min": 0,
  37035. "show": true
  37036. }
  37037. ]
  37038. }
  37039. ],
  37040. "repeat": null,
  37041. "repeatIteration": null,
  37042. "repeatRowId": null,
  37043. "showTitle": true,
  37044. "title": "Errors",
  37045. "titleSize": "h6",
  37046. "type": "row"
  37047. }
  37048. ],
  37049. "refresh": "10s",
  37050. "rows": [
  37051. ],
  37052. "schemaVersion": 18,
  37053. "style": "dark",
  37054. "tags": [
  37055. "kubernetes-mixin"
  37056. ],
  37057. "templating": {
  37058. "list": [
  37059. {
  37060. "current": {
  37061. "text": "default",
  37062. "value": "default"
  37063. },
  37064. "hide": 0,
  37065. "label": "Data Source",
  37066. "name": "datasource",
  37067. "options": [
  37068. ],
  37069. "query": "prometheus",
  37070. "refresh": 1,
  37071. "regex": "",
  37072. "type": "datasource"
  37073. },
  37074. {
  37075. "allValue": null,
  37076. "current": {
  37077. },
  37078. "datasource": "$datasource",
  37079. "hide": 2,
  37080. "includeAll": false,
  37081. "label": null,
  37082. "multi": false,
  37083. "name": "cluster",
  37084. "options": [
  37085. ],
  37086. "query": "label_values(kube_pod_info{job=\"kube-state-metrics\"}, cluster)",
  37087. "refresh": 2,
  37088. "regex": "",
  37089. "sort": 0,
  37090. "tagValuesQuery": "",
  37091. "tags": [
  37092. ],
  37093. "tagsQuery": "",
  37094. "type": "query",
  37095. "useTags": false
  37096. },
  37097. {
  37098. "allValue": ".+",
  37099. "auto": false,
  37100. "auto_count": 30,
  37101. "auto_min": "10s",
  37102. "current": {
  37103. "text": "kube-system",
  37104. "value": "kube-system"
  37105. },
  37106. "datasource": "$datasource",
  37107. "definition": "label_values(container_network_receive_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\"}, namespace)",
  37108. "hide": 0,
  37109. "includeAll": true,
  37110. "label": null,
  37111. "multi": false,
  37112. "name": "namespace",
  37113. "options": [
  37114. ],
  37115. "query": "label_values(container_network_receive_packets_total{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\"}, namespace)",
  37116. "refresh": 2,
  37117. "regex": "",
  37118. "skipUrlSync": false,
  37119. "sort": 1,
  37120. "tagValuesQuery": "",
  37121. "tags": [
  37122. ],
  37123. "tagsQuery": "",
  37124. "type": "query",
  37125. "useTags": false
  37126. },
  37127. {
  37128. "allValue": null,
  37129. "auto": false,
  37130. "auto_count": 30,
  37131. "auto_min": "10s",
  37132. "current": {
  37133. "text": "",
  37134. "value": ""
  37135. },
  37136. "datasource": "$datasource",
  37137. "definition": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\"}, workload)",
  37138. "hide": 0,
  37139. "includeAll": false,
  37140. "label": null,
  37141. "multi": false,
  37142. "name": "workload",
  37143. "options": [
  37144. ],
  37145. "query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\"}, workload)",
  37146. "refresh": 2,
  37147. "regex": "",
  37148. "skipUrlSync": false,
  37149. "sort": 1,
  37150. "tagValuesQuery": "",
  37151. "tags": [
  37152. ],
  37153. "tagsQuery": "",
  37154. "type": "query",
  37155. "useTags": false
  37156. },
  37157. {
  37158. "allValue": null,
  37159. "auto": false,
  37160. "auto_count": 30,
  37161. "auto_min": "10s",
  37162. "current": {
  37163. "text": "deployment",
  37164. "value": "deployment"
  37165. },
  37166. "datasource": "$datasource",
  37167. "definition": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\"}, workload_type)",
  37168. "hide": 0,
  37169. "includeAll": false,
  37170. "label": null,
  37171. "multi": false,
  37172. "name": "type",
  37173. "options": [
  37174. ],
  37175. "query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\",namespace=~\"$namespace\", workload=~\"$workload\"}, workload_type)",
  37176. "refresh": 2,
  37177. "regex": "",
  37178. "skipUrlSync": false,
  37179. "sort": 0,
  37180. "tagValuesQuery": "",
  37181. "tags": [
  37182. ],
  37183. "tagsQuery": "",
  37184. "type": "query",
  37185. "useTags": false
  37186. },
  37187. {
  37188. "allValue": null,
  37189. "auto": false,
  37190. "auto_count": 30,
  37191. "auto_min": "10s",
  37192. "current": {
  37193. "text": "5m",
  37194. "value": "5m"
  37195. },
  37196. "datasource": "$datasource",
  37197. "hide": 0,
  37198. "includeAll": false,
  37199. "label": null,
  37200. "multi": false,
  37201. "name": "resolution",
  37202. "options": [
  37203. {
  37204. "selected": false,
  37205. "text": "30s",
  37206. "value": "30s"
  37207. },
  37208. {
  37209. "selected": true,
  37210. "text": "5m",
  37211. "value": "5m"
  37212. },
  37213. {
  37214. "selected": false,
  37215. "text": "1h",
  37216. "value": "1h"
  37217. }
  37218. ],
  37219. "query": "30s,5m,1h",
  37220. "refresh": 2,
  37221. "regex": "",
  37222. "skipUrlSync": false,
  37223. "sort": 1,
  37224. "tagValuesQuery": "",
  37225. "tags": [
  37226. ],
  37227. "tagsQuery": "",
  37228. "type": "interval",
  37229. "useTags": false
  37230. },
  37231. {
  37232. "allValue": null,
  37233. "auto": false,
  37234. "auto_count": 30,
  37235. "auto_min": "10s",
  37236. "current": {
  37237. "text": "5m",
  37238. "value": "5m"
  37239. },
  37240. "datasource": "$datasource",
  37241. "hide": 2,
  37242. "includeAll": false,
  37243. "label": null,
  37244. "multi": false,
  37245. "name": "interval",
  37246. "options": [
  37247. {
  37248. "selected": true,
  37249. "text": "4h",
  37250. "value": "4h"
  37251. }
  37252. ],
  37253. "query": "4h",
  37254. "refresh": 2,
  37255. "regex": "",
  37256. "skipUrlSync": false,
  37257. "sort": 1,
  37258. "tagValuesQuery": "",
  37259. "tags": [
  37260. ],
  37261. "tagsQuery": "",
  37262. "type": "interval",
  37263. "useTags": false
  37264. }
  37265. ]
  37266. },
  37267. "time": {
  37268. "from": "now-1h",
  37269. "to": "now"
  37270. },
  37271. "timepicker": {
  37272. "refresh_intervals": [
  37273. "5s",
  37274. "10s",
  37275. "30s",
  37276. "1m",
  37277. "5m",
  37278. "15m",
  37279. "30m",
  37280. "1h",
  37281. "2h",
  37282. "1d"
  37283. ],
  37284. "time_options": [
  37285. "5m",
  37286. "15m",
  37287. "1h",
  37288. "6h",
  37289. "12h",
  37290. "24h",
  37291. "2d",
  37292. "7d",
  37293. "30d"
  37294. ]
  37295. },
  37296. "timezone": "utc",
  37297. "title": "Kubernetes / Networking / Workload",
  37298. "uid": "728bf77cc1166d2f3133bf25846876cc",
  37299. "version": 0
  37300. }
  37301. ---
  37302. # Source: kube-prometheus-stack/charts/grafana/templates/clusterrole.yaml
  37303. kind: ClusterRole
  37304. apiVersion: rbac.authorization.k8s.io/v1
  37305. metadata:
  37306. labels:
  37307. helm.sh/chart: grafana-6.50.2
  37308. app.kubernetes.io/name: grafana
  37309. app.kubernetes.io/instance: prometheus
  37310. app.kubernetes.io/version: "9.3.1"
  37311. app.kubernetes.io/managed-by: Helm
  37312. name: prometheus-grafana-clusterrole
  37313. rules:
  37314. - apiGroups: [""] # "" indicates the core API group
  37315. resources: ["configmaps", "secrets"]
  37316. verbs: ["get", "watch", "list"]
  37317. ---
  37318. # Source: kube-prometheus-stack/charts/kube-state-metrics/templates/role.yaml
  37319. apiVersion: rbac.authorization.k8s.io/v1
  37320. kind: ClusterRole
  37321. metadata:
  37322. labels:
  37323. helm.sh/chart: kube-state-metrics-4.24.0
  37324. app.kubernetes.io/managed-by: Helm
  37325. app.kubernetes.io/component: metrics
  37326. app.kubernetes.io/part-of: kube-state-metrics
  37327. app.kubernetes.io/name: kube-state-metrics
  37328. app.kubernetes.io/instance: prometheus
  37329. app.kubernetes.io/version: "2.7.0"
  37330. release: prometheus
  37331. name: prometheus-kube-state-metrics
  37332. rules:
  37333. - apiGroups: ["certificates.k8s.io"]
  37334. resources:
  37335. - certificatesigningrequests
  37336. verbs: ["list", "watch"]
  37337. - apiGroups: [""]
  37338. resources:
  37339. - configmaps
  37340. verbs: ["list", "watch"]
  37341. - apiGroups: ["batch"]
  37342. resources:
  37343. - cronjobs
  37344. verbs: ["list", "watch"]
  37345. - apiGroups: ["extensions", "apps"]
  37346. resources:
  37347. - daemonsets
  37348. verbs: ["list", "watch"]
  37349. - apiGroups: ["extensions", "apps"]
  37350. resources:
  37351. - deployments
  37352. verbs: ["list", "watch"]
  37353. - apiGroups: [""]
  37354. resources:
  37355. - endpoints
  37356. verbs: ["list", "watch"]
  37357. - apiGroups: ["autoscaling"]
  37358. resources:
  37359. - horizontalpodautoscalers
  37360. verbs: ["list", "watch"]
  37361. - apiGroups: ["extensions", "networking.k8s.io"]
  37362. resources:
  37363. - ingresses
  37364. verbs: ["list", "watch"]
  37365. - apiGroups: ["batch"]
  37366. resources:
  37367. - jobs
  37368. verbs: ["list", "watch"]
  37369. - apiGroups: ["coordination.k8s.io"]
  37370. resources:
  37371. - leases
  37372. verbs: ["list", "watch"]
  37373. - apiGroups: [""]
  37374. resources:
  37375. - limitranges
  37376. verbs: ["list", "watch"]
  37377. - apiGroups: ["admissionregistration.k8s.io"]
  37378. resources:
  37379. - mutatingwebhookconfigurations
  37380. verbs: ["list", "watch"]
  37381. - apiGroups: [""]
  37382. resources:
  37383. - namespaces
  37384. verbs: ["list", "watch"]
  37385. - apiGroups: ["networking.k8s.io"]
  37386. resources:
  37387. - networkpolicies
  37388. verbs: ["list", "watch"]
  37389. - apiGroups: [""]
  37390. resources:
  37391. - nodes
  37392. verbs: ["list", "watch"]
  37393. - apiGroups: [""]
  37394. resources:
  37395. - persistentvolumeclaims
  37396. verbs: ["list", "watch"]
  37397. - apiGroups: [""]
  37398. resources:
  37399. - persistentvolumes
  37400. verbs: ["list", "watch"]
  37401. - apiGroups: ["policy"]
  37402. resources:
  37403. - poddisruptionbudgets
  37404. verbs: ["list", "watch"]
  37405. - apiGroups: [""]
  37406. resources:
  37407. - pods
  37408. verbs: ["list", "watch"]
  37409. - apiGroups: ["extensions", "apps"]
  37410. resources:
  37411. - replicasets
  37412. verbs: ["list", "watch"]
  37413. - apiGroups: [""]
  37414. resources:
  37415. - replicationcontrollers
  37416. verbs: ["list", "watch"]
  37417. - apiGroups: [""]
  37418. resources:
  37419. - resourcequotas
  37420. verbs: ["list", "watch"]
  37421. - apiGroups: [""]
  37422. resources:
  37423. - secrets
  37424. verbs: ["list", "watch"]
  37425. - apiGroups: [""]
  37426. resources:
  37427. - services
  37428. verbs: ["list", "watch"]
  37429. - apiGroups: ["apps"]
  37430. resources:
  37431. - statefulsets
  37432. verbs: ["list", "watch"]
  37433. - apiGroups: ["storage.k8s.io"]
  37434. resources:
  37435. - storageclasses
  37436. verbs: ["list", "watch"]
  37437. - apiGroups: ["admissionregistration.k8s.io"]
  37438. resources:
  37439. - validatingwebhookconfigurations
  37440. verbs: ["list", "watch"]
  37441. - apiGroups: ["storage.k8s.io"]
  37442. resources:
  37443. - volumeattachments
  37444. verbs: ["list", "watch"]
  37445. ---
  37446. # Source: kube-prometheus-stack/templates/prometheus-operator/clusterrole.yaml
  37447. apiVersion: rbac.authorization.k8s.io/v1
  37448. kind: ClusterRole
  37449. metadata:
  37450. name: prometheus-kube-prometheus-operator
  37451. labels:
  37452. app: kube-prometheus-stack-operator
  37453. app.kubernetes.io/managed-by: Helm
  37454. app.kubernetes.io/instance: prometheus
  37455. app.kubernetes.io/version: "44.3.0"
  37456. app.kubernetes.io/part-of: kube-prometheus-stack
  37457. chart: kube-prometheus-stack-44.3.0
  37458. release: "prometheus"
  37459. heritage: "Helm"
  37460. rules:
  37461. - apiGroups:
  37462. - monitoring.coreos.com
  37463. resources:
  37464. - alertmanagers
  37465. - alertmanagers/finalizers
  37466. - alertmanagerconfigs
  37467. - prometheuses
  37468. - prometheuses/status
  37469. - prometheuses/finalizers
  37470. - thanosrulers
  37471. - thanosrulers/finalizers
  37472. - servicemonitors
  37473. - podmonitors
  37474. - probes
  37475. - prometheusrules
  37476. verbs:
  37477. - '*'
  37478. - apiGroups:
  37479. - apps
  37480. resources:
  37481. - statefulsets
  37482. verbs:
  37483. - '*'
  37484. - apiGroups:
  37485. - ""
  37486. resources:
  37487. - configmaps
  37488. - secrets
  37489. verbs:
  37490. - '*'
  37491. - apiGroups:
  37492. - ""
  37493. resources:
  37494. - pods
  37495. verbs:
  37496. - list
  37497. - delete
  37498. - apiGroups:
  37499. - ""
  37500. resources:
  37501. - services
  37502. - services/finalizers
  37503. - endpoints
  37504. verbs:
  37505. - get
  37506. - create
  37507. - update
  37508. - delete
  37509. - apiGroups:
  37510. - ""
  37511. resources:
  37512. - nodes
  37513. verbs:
  37514. - list
  37515. - watch
  37516. - apiGroups:
  37517. - ""
  37518. resources:
  37519. - namespaces
  37520. verbs:
  37521. - get
  37522. - list
  37523. - watch
  37524. - apiGroups:
  37525. - networking.k8s.io
  37526. resources:
  37527. - ingresses
  37528. verbs:
  37529. - get
  37530. - list
  37531. - watch
  37532. ---
  37533. # Source: kube-prometheus-stack/templates/prometheus/clusterrole.yaml
  37534. apiVersion: rbac.authorization.k8s.io/v1
  37535. kind: ClusterRole
  37536. metadata:
  37537. name: prometheus-kube-prometheus-prometheus
  37538. labels:
  37539. app: kube-prometheus-stack-prometheus
  37540. app.kubernetes.io/managed-by: Helm
  37541. app.kubernetes.io/instance: prometheus
  37542. app.kubernetes.io/version: "44.3.0"
  37543. app.kubernetes.io/part-of: kube-prometheus-stack
  37544. chart: kube-prometheus-stack-44.3.0
  37545. release: "prometheus"
  37546. heritage: "Helm"
  37547. rules:
  37548. # This permission are not in the kube-prometheus repo
  37549. # they're grabbed from https://github.com/prometheus/prometheus/blob/master/documentation/examples/rbac-setup.yml
  37550. - apiGroups: [""]
  37551. resources:
  37552. - nodes
  37553. - nodes/metrics
  37554. - services
  37555. - endpoints
  37556. - pods
  37557. verbs: ["get", "list", "watch"]
  37558. - apiGroups:
  37559. - "networking.k8s.io"
  37560. resources:
  37561. - ingresses
  37562. verbs: ["get", "list", "watch"]
  37563. - nonResourceURLs: ["/metrics", "/metrics/cadvisor"]
  37564. verbs: ["get"]
  37565. ---
  37566. # Source: kube-prometheus-stack/charts/grafana/templates/clusterrolebinding.yaml
  37567. kind: ClusterRoleBinding
  37568. apiVersion: rbac.authorization.k8s.io/v1
  37569. metadata:
  37570. name: prometheus-grafana-clusterrolebinding
  37571. labels:
  37572. helm.sh/chart: grafana-6.50.2
  37573. app.kubernetes.io/name: grafana
  37574. app.kubernetes.io/instance: prometheus
  37575. app.kubernetes.io/version: "9.3.1"
  37576. app.kubernetes.io/managed-by: Helm
  37577. subjects:
  37578. - kind: ServiceAccount
  37579. name: prometheus-grafana
  37580. namespace: monitoring
  37581. roleRef:
  37582. kind: ClusterRole
  37583. name: prometheus-grafana-clusterrole
  37584. apiGroup: rbac.authorization.k8s.io
  37585. ---
  37586. # Source: kube-prometheus-stack/charts/kube-state-metrics/templates/clusterrolebinding.yaml
  37587. apiVersion: rbac.authorization.k8s.io/v1
  37588. kind: ClusterRoleBinding
  37589. metadata:
  37590. labels:
  37591. helm.sh/chart: kube-state-metrics-4.24.0
  37592. app.kubernetes.io/managed-by: Helm
  37593. app.kubernetes.io/component: metrics
  37594. app.kubernetes.io/part-of: kube-state-metrics
  37595. app.kubernetes.io/name: kube-state-metrics
  37596. app.kubernetes.io/instance: prometheus
  37597. app.kubernetes.io/version: "2.7.0"
  37598. release: prometheus
  37599. name: prometheus-kube-state-metrics
  37600. roleRef:
  37601. apiGroup: rbac.authorization.k8s.io
  37602. kind: ClusterRole
  37603. name: prometheus-kube-state-metrics
  37604. subjects:
  37605. - kind: ServiceAccount
  37606. name: prometheus-kube-state-metrics
  37607. namespace: monitoring
  37608. ---
  37609. # Source: kube-prometheus-stack/templates/prometheus-operator/clusterrolebinding.yaml
  37610. apiVersion: rbac.authorization.k8s.io/v1
  37611. kind: ClusterRoleBinding
  37612. metadata:
  37613. name: prometheus-kube-prometheus-operator
  37614. labels:
  37615. app: kube-prometheus-stack-operator
  37616. app.kubernetes.io/managed-by: Helm
  37617. app.kubernetes.io/instance: prometheus
  37618. app.kubernetes.io/version: "44.3.0"
  37619. app.kubernetes.io/part-of: kube-prometheus-stack
  37620. chart: kube-prometheus-stack-44.3.0
  37621. release: "prometheus"
  37622. heritage: "Helm"
  37623. roleRef:
  37624. apiGroup: rbac.authorization.k8s.io
  37625. kind: ClusterRole
  37626. name: prometheus-kube-prometheus-operator
  37627. subjects:
  37628. - kind: ServiceAccount
  37629. name: prometheus-kube-prometheus-operator
  37630. namespace: monitoring
  37631. ---
  37632. # Source: kube-prometheus-stack/templates/prometheus/clusterrolebinding.yaml
  37633. apiVersion: rbac.authorization.k8s.io/v1
  37634. kind: ClusterRoleBinding
  37635. metadata:
  37636. name: prometheus-kube-prometheus-prometheus
  37637. labels:
  37638. app: kube-prometheus-stack-prometheus
  37639. app.kubernetes.io/managed-by: Helm
  37640. app.kubernetes.io/instance: prometheus
  37641. app.kubernetes.io/version: "44.3.0"
  37642. app.kubernetes.io/part-of: kube-prometheus-stack
  37643. chart: kube-prometheus-stack-44.3.0
  37644. release: "prometheus"
  37645. heritage: "Helm"
  37646. roleRef:
  37647. apiGroup: rbac.authorization.k8s.io
  37648. kind: ClusterRole
  37649. name: prometheus-kube-prometheus-prometheus
  37650. subjects:
  37651. - kind: ServiceAccount
  37652. name: prometheus-kube-prometheus-prometheus
  37653. namespace: monitoring
  37654. ---
  37655. # Source: kube-prometheus-stack/charts/grafana/templates/role.yaml
  37656. apiVersion: rbac.authorization.k8s.io/v1
  37657. kind: Role
  37658. metadata:
  37659. name: prometheus-grafana
  37660. namespace: monitoring
  37661. labels:
  37662. helm.sh/chart: grafana-6.50.2
  37663. app.kubernetes.io/name: grafana
  37664. app.kubernetes.io/instance: prometheus
  37665. app.kubernetes.io/version: "9.3.1"
  37666. app.kubernetes.io/managed-by: Helm
  37667. rules: []
  37668. ---
  37669. # Source: kube-prometheus-stack/charts/grafana/templates/rolebinding.yaml
  37670. apiVersion: rbac.authorization.k8s.io/v1
  37671. kind: RoleBinding
  37672. metadata:
  37673. name: prometheus-grafana
  37674. namespace: monitoring
  37675. labels:
  37676. helm.sh/chart: grafana-6.50.2
  37677. app.kubernetes.io/name: grafana
  37678. app.kubernetes.io/instance: prometheus
  37679. app.kubernetes.io/version: "9.3.1"
  37680. app.kubernetes.io/managed-by: Helm
  37681. roleRef:
  37682. apiGroup: rbac.authorization.k8s.io
  37683. kind: Role
  37684. name: prometheus-grafana
  37685. subjects:
  37686. - kind: ServiceAccount
  37687. name: prometheus-grafana
  37688. namespace: monitoring
  37689. ---
  37690. # Source: kube-prometheus-stack/charts/grafana/templates/service.yaml
  37691. apiVersion: v1
  37692. kind: Service
  37693. metadata:
  37694. name: prometheus-grafana
  37695. namespace: monitoring
  37696. labels:
  37697. helm.sh/chart: grafana-6.50.2
  37698. app.kubernetes.io/name: grafana
  37699. app.kubernetes.io/instance: prometheus
  37700. app.kubernetes.io/version: "9.3.1"
  37701. app.kubernetes.io/managed-by: Helm
  37702. spec:
  37703. type: ClusterIP
  37704. ports:
  37705. - name: http-web
  37706. port: 80
  37707. protocol: TCP
  37708. targetPort: 3000
  37709. selector:
  37710. app.kubernetes.io/name: grafana
  37711. app.kubernetes.io/instance: prometheus
  37712. ---
  37713. # Source: kube-prometheus-stack/charts/kube-state-metrics/templates/service.yaml
  37714. apiVersion: v1
  37715. kind: Service
  37716. metadata:
  37717. name: prometheus-kube-state-metrics
  37718. namespace: monitoring
  37719. labels:
  37720. helm.sh/chart: kube-state-metrics-4.24.0
  37721. app.kubernetes.io/managed-by: Helm
  37722. app.kubernetes.io/component: metrics
  37723. app.kubernetes.io/part-of: kube-state-metrics
  37724. app.kubernetes.io/name: kube-state-metrics
  37725. app.kubernetes.io/instance: prometheus
  37726. app.kubernetes.io/version: "2.7.0"
  37727. release: prometheus
  37728. annotations:
  37729. prometheus.io/scrape: 'true'
  37730. spec:
  37731. type: "ClusterIP"
  37732. ports:
  37733. - name: "http"
  37734. protocol: TCP
  37735. port: 8080
  37736. targetPort: 8080
  37737. selector:
  37738. app.kubernetes.io/name: kube-state-metrics
  37739. app.kubernetes.io/instance: prometheus
  37740. ---
  37741. # Source: kube-prometheus-stack/charts/prometheus-node-exporter/templates/service.yaml
  37742. apiVersion: v1
  37743. kind: Service
  37744. metadata:
  37745. name: prometheus-prometheus-node-exporter
  37746. namespace: monitoring
  37747. labels:
  37748. helm.sh/chart: prometheus-node-exporter-4.8.1
  37749. app.kubernetes.io/managed-by: Helm
  37750. app.kubernetes.io/component: metrics
  37751. app.kubernetes.io/part-of: prometheus-node-exporter
  37752. app.kubernetes.io/name: prometheus-node-exporter
  37753. app.kubernetes.io/instance: prometheus
  37754. app.kubernetes.io/version: "1.5.0"
  37755. jobLabel: node-exporter
  37756. release: prometheus
  37757. annotations:
  37758. prometheus.io/scrape: "true"
  37759. spec:
  37760. type: ClusterIP
  37761. ports:
  37762. - port: 9100
  37763. targetPort: 9100
  37764. protocol: TCP
  37765. name: http-metrics
  37766. selector:
  37767. app.kubernetes.io/name: prometheus-node-exporter
  37768. app.kubernetes.io/instance: prometheus
  37769. ---
  37770. # Source: kube-prometheus-stack/templates/alertmanager/service.yaml
  37771. apiVersion: v1
  37772. kind: Service
  37773. metadata:
  37774. name: prometheus-kube-prometheus-alertmanager
  37775. namespace: monitoring
  37776. labels:
  37777. app: kube-prometheus-stack-alertmanager
  37778. self-monitor: "true"
  37779. app.kubernetes.io/managed-by: Helm
  37780. app.kubernetes.io/instance: prometheus
  37781. app.kubernetes.io/version: "44.3.0"
  37782. app.kubernetes.io/part-of: kube-prometheus-stack
  37783. chart: kube-prometheus-stack-44.3.0
  37784. release: "prometheus"
  37785. heritage: "Helm"
  37786. spec:
  37787. ports:
  37788. - name: http-web
  37789. port: 9093
  37790. targetPort: 9093
  37791. protocol: TCP
  37792. selector:
  37793. app.kubernetes.io/name: alertmanager
  37794. alertmanager: prometheus-kube-prometheus-alertmanager
  37795. type: "ClusterIP"
  37796. ---
  37797. # Source: kube-prometheus-stack/templates/exporters/core-dns/service.yaml
  37798. apiVersion: v1
  37799. kind: Service
  37800. metadata:
  37801. name: prometheus-kube-prometheus-coredns
  37802. labels:
  37803. app: kube-prometheus-stack-coredns
  37804. jobLabel: coredns
  37805. app.kubernetes.io/managed-by: Helm
  37806. app.kubernetes.io/instance: prometheus
  37807. app.kubernetes.io/version: "44.3.0"
  37808. app.kubernetes.io/part-of: kube-prometheus-stack
  37809. chart: kube-prometheus-stack-44.3.0
  37810. release: "prometheus"
  37811. heritage: "Helm"
  37812. namespace: kube-system
  37813. spec:
  37814. clusterIP: None
  37815. ports:
  37816. - name: http-metrics
  37817. port: 9153
  37818. protocol: TCP
  37819. targetPort: 9153
  37820. selector:
  37821. k8s-app: kube-dns
  37822. ---
  37823. # Source: kube-prometheus-stack/templates/exporters/kube-controller-manager/service.yaml
  37824. apiVersion: v1
  37825. kind: Service
  37826. metadata:
  37827. name: prometheus-kube-prometheus-kube-controller-manager
  37828. labels:
  37829. app: kube-prometheus-stack-kube-controller-manager
  37830. jobLabel: kube-controller-manager
  37831. app.kubernetes.io/managed-by: Helm
  37832. app.kubernetes.io/instance: prometheus
  37833. app.kubernetes.io/version: "44.3.0"
  37834. app.kubernetes.io/part-of: kube-prometheus-stack
  37835. chart: kube-prometheus-stack-44.3.0
  37836. release: "prometheus"
  37837. heritage: "Helm"
  37838. namespace: kube-system
  37839. spec:
  37840. clusterIP: None
  37841. ports:
  37842. - name: http-metrics
  37843. port: 10252
  37844. protocol: TCP
  37845. targetPort: 10252
  37846. selector:
  37847. component: kube-controller-manager
  37848. type: ClusterIP
  37849. ---
  37850. # Source: kube-prometheus-stack/templates/exporters/kube-etcd/service.yaml
  37851. apiVersion: v1
  37852. kind: Service
  37853. metadata:
  37854. name: prometheus-kube-prometheus-kube-etcd
  37855. labels:
  37856. app: kube-prometheus-stack-kube-etcd
  37857. jobLabel: kube-etcd
  37858. app.kubernetes.io/managed-by: Helm
  37859. app.kubernetes.io/instance: prometheus
  37860. app.kubernetes.io/version: "44.3.0"
  37861. app.kubernetes.io/part-of: kube-prometheus-stack
  37862. chart: kube-prometheus-stack-44.3.0
  37863. release: "prometheus"
  37864. heritage: "Helm"
  37865. namespace: kube-system
  37866. spec:
  37867. clusterIP: None
  37868. ports:
  37869. - name: http-metrics
  37870. port: 2381
  37871. protocol: TCP
  37872. targetPort: 2381
  37873. selector:
  37874. component: etcd
  37875. type: ClusterIP
  37876. ---
  37877. # Source: kube-prometheus-stack/templates/exporters/kube-proxy/service.yaml
  37878. apiVersion: v1
  37879. kind: Service
  37880. metadata:
  37881. name: prometheus-kube-prometheus-kube-proxy
  37882. labels:
  37883. app: kube-prometheus-stack-kube-proxy
  37884. jobLabel: kube-proxy
  37885. app.kubernetes.io/managed-by: Helm
  37886. app.kubernetes.io/instance: prometheus
  37887. app.kubernetes.io/version: "44.3.0"
  37888. app.kubernetes.io/part-of: kube-prometheus-stack
  37889. chart: kube-prometheus-stack-44.3.0
  37890. release: "prometheus"
  37891. heritage: "Helm"
  37892. namespace: kube-system
  37893. spec:
  37894. clusterIP: None
  37895. ports:
  37896. - name: http-metrics
  37897. port: 10249
  37898. protocol: TCP
  37899. targetPort: 10249
  37900. selector:
  37901. k8s-app: kube-proxy
  37902. type: ClusterIP
  37903. ---
  37904. # Source: kube-prometheus-stack/templates/exporters/kube-scheduler/service.yaml
  37905. apiVersion: v1
  37906. kind: Service
  37907. metadata:
  37908. name: prometheus-kube-prometheus-kube-scheduler
  37909. labels:
  37910. app: kube-prometheus-stack-kube-scheduler
  37911. jobLabel: kube-scheduler
  37912. app.kubernetes.io/managed-by: Helm
  37913. app.kubernetes.io/instance: prometheus
  37914. app.kubernetes.io/version: "44.3.0"
  37915. app.kubernetes.io/part-of: kube-prometheus-stack
  37916. chart: kube-prometheus-stack-44.3.0
  37917. release: "prometheus"
  37918. heritage: "Helm"
  37919. namespace: kube-system
  37920. spec:
  37921. clusterIP: None
  37922. ports:
  37923. - name: http-metrics
  37924. port: 10251
  37925. protocol: TCP
  37926. targetPort: 10251
  37927. selector:
  37928. component: kube-scheduler
  37929. type: ClusterIP
  37930. ---
  37931. # Source: kube-prometheus-stack/templates/prometheus-operator/service.yaml
  37932. apiVersion: v1
  37933. kind: Service
  37934. metadata:
  37935. name: prometheus-kube-prometheus-operator
  37936. namespace: monitoring
  37937. labels:
  37938. app: kube-prometheus-stack-operator
  37939. app.kubernetes.io/managed-by: Helm
  37940. app.kubernetes.io/instance: prometheus
  37941. app.kubernetes.io/version: "44.3.0"
  37942. app.kubernetes.io/part-of: kube-prometheus-stack
  37943. chart: kube-prometheus-stack-44.3.0
  37944. release: "prometheus"
  37945. heritage: "Helm"
  37946. spec:
  37947. ports:
  37948. - name: https
  37949. port: 443
  37950. targetPort: https
  37951. selector:
  37952. app: kube-prometheus-stack-operator
  37953. release: "prometheus"
  37954. type: "ClusterIP"
  37955. ---
  37956. # Source: kube-prometheus-stack/templates/prometheus/service.yaml
  37957. apiVersion: v1
  37958. kind: Service
  37959. metadata:
  37960. name: prometheus-kube-prometheus-prometheus
  37961. namespace: monitoring
  37962. labels:
  37963. app: kube-prometheus-stack-prometheus
  37964. self-monitor: "true"
  37965. app.kubernetes.io/managed-by: Helm
  37966. app.kubernetes.io/instance: prometheus
  37967. app.kubernetes.io/version: "44.3.0"
  37968. app.kubernetes.io/part-of: kube-prometheus-stack
  37969. chart: kube-prometheus-stack-44.3.0
  37970. release: "prometheus"
  37971. heritage: "Helm"
  37972. spec:
  37973. ports:
  37974. - name: http-web
  37975. port: 9090
  37976. targetPort: 9090
  37977. publishNotReadyAddresses: false
  37978. selector:
  37979. app.kubernetes.io/name: prometheus
  37980. prometheus: prometheus-kube-prometheus-prometheus
  37981. type: "ClusterIP"
  37982. ---
  37983. # Source: kube-prometheus-stack/charts/prometheus-node-exporter/templates/daemonset.yaml
  37984. apiVersion: apps/v1
  37985. kind: DaemonSet
  37986. metadata:
  37987. name: prometheus-prometheus-node-exporter
  37988. namespace: monitoring
  37989. labels:
  37990. helm.sh/chart: prometheus-node-exporter-4.8.1
  37991. app.kubernetes.io/managed-by: Helm
  37992. app.kubernetes.io/component: metrics
  37993. app.kubernetes.io/part-of: prometheus-node-exporter
  37994. app.kubernetes.io/name: prometheus-node-exporter
  37995. app.kubernetes.io/instance: prometheus
  37996. app.kubernetes.io/version: "1.5.0"
  37997. jobLabel: node-exporter
  37998. release: prometheus
  37999. spec:
  38000. selector:
  38001. matchLabels:
  38002. app.kubernetes.io/name: prometheus-node-exporter
  38003. app.kubernetes.io/instance: prometheus
  38004. updateStrategy:
  38005. rollingUpdate:
  38006. maxUnavailable: 1
  38007. type: RollingUpdate
  38008. template:
  38009. metadata:
  38010. annotations:
  38011. cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
  38012. labels:
  38013. helm.sh/chart: prometheus-node-exporter-4.8.1
  38014. app.kubernetes.io/managed-by: Helm
  38015. app.kubernetes.io/component: metrics
  38016. app.kubernetes.io/part-of: prometheus-node-exporter
  38017. app.kubernetes.io/name: prometheus-node-exporter
  38018. app.kubernetes.io/instance: prometheus
  38019. app.kubernetes.io/version: "1.5.0"
  38020. jobLabel: node-exporter
  38021. release: prometheus
  38022. spec:
  38023. automountServiceAccountToken: false
  38024. securityContext:
  38025. fsGroup: 65534
  38026. runAsGroup: 65534
  38027. runAsNonRoot: true
  38028. runAsUser: 65534
  38029. serviceAccountName: prometheus-prometheus-node-exporter
  38030. containers:
  38031. - name: node-exporter
  38032. image: quay.io/prometheus/node-exporter:v1.5.0
  38033. imagePullPolicy: IfNotPresent
  38034. args:
  38035. - --path.procfs=/host/proc
  38036. - --path.sysfs=/host/sys
  38037. - --path.rootfs=/host/root
  38038. - --web.listen-address=[$(HOST_IP)]:9100
  38039. - --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+)($|/)
  38040. - --collector.filesystem.fs-types-exclude=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$
  38041. env:
  38042. - name: HOST_IP
  38043. value: 0.0.0.0
  38044. ports:
  38045. - name: http-metrics
  38046. containerPort: 9100
  38047. protocol: TCP
  38048. livenessProbe:
  38049. failureThreshold: 3
  38050. httpGet:
  38051. httpHeaders:
  38052. path: /
  38053. port: 9100
  38054. scheme: HTTP
  38055. initialDelaySeconds: 0
  38056. periodSeconds: 10
  38057. successThreshold: 1
  38058. timeoutSeconds: 1
  38059. readinessProbe:
  38060. failureThreshold: 3
  38061. httpGet:
  38062. httpHeaders:
  38063. path: /
  38064. port: 9100
  38065. scheme: HTTP
  38066. initialDelaySeconds: 0
  38067. periodSeconds: 10
  38068. successThreshold: 1
  38069. timeoutSeconds: 1
  38070. volumeMounts:
  38071. - name: proc
  38072. mountPath: /host/proc
  38073. readOnly: true
  38074. - name: sys
  38075. mountPath: /host/sys
  38076. readOnly: true
  38077. - name: root
  38078. mountPath: /host/root
  38079. mountPropagation: HostToContainer
  38080. readOnly: true
  38081. hostNetwork: true
  38082. hostPID: true
  38083. tolerations:
  38084. - effect: NoSchedule
  38085. operator: Exists
  38086. volumes:
  38087. - name: proc
  38088. hostPath:
  38089. path: /proc
  38090. - name: sys
  38091. hostPath:
  38092. path: /sys
  38093. - name: root
  38094. hostPath:
  38095. path: /
  38096. ---
  38097. # Source: kube-prometheus-stack/charts/grafana/templates/deployment.yaml
  38098. apiVersion: apps/v1
  38099. kind: Deployment
  38100. metadata:
  38101. name: prometheus-grafana
  38102. namespace: monitoring
  38103. labels:
  38104. helm.sh/chart: grafana-6.50.2
  38105. app.kubernetes.io/name: grafana
  38106. app.kubernetes.io/instance: prometheus
  38107. app.kubernetes.io/version: "9.3.1"
  38108. app.kubernetes.io/managed-by: Helm
  38109. spec:
  38110. replicas: 1
  38111. revisionHistoryLimit: 10
  38112. selector:
  38113. matchLabels:
  38114. app.kubernetes.io/name: grafana
  38115. app.kubernetes.io/instance: prometheus
  38116. strategy:
  38117. type: RollingUpdate
  38118. template:
  38119. metadata:
  38120. labels:
  38121. app.kubernetes.io/name: grafana
  38122. app.kubernetes.io/instance: prometheus
  38123. annotations:
  38124. checksum/config: 13a89fd7932a141123505f22d32ef51a2e7bc268374f1a13cbc632fb278a16cb
  38125. checksum/dashboards-json-config: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
  38126. checksum/sc-dashboard-provider-config: 65162b99e6bdb0f96ee95353a76effc7f575a61ee91fd9932ce83588c9add479
  38127. checksum/secret: 25451f0c2dfac29475034add0097960ac2e5e7e95d2b9997f437dafef739bf4f
  38128. spec:
  38129. serviceAccountName: prometheus-grafana
  38130. automountServiceAccountToken: true
  38131. securityContext:
  38132. fsGroup: 472
  38133. runAsGroup: 472
  38134. runAsUser: 472
  38135. enableServiceLinks: true
  38136. containers:
  38137. - name: grafana-sc-dashboard
  38138. image: "quay.io/kiwigrid/k8s-sidecar:1.22.0"
  38139. imagePullPolicy: IfNotPresent
  38140. env:
  38141. - name: METHOD
  38142. value: WATCH
  38143. - name: LABEL
  38144. value: "grafana_dashboard"
  38145. - name: LABEL_VALUE
  38146. value: "1"
  38147. - name: FOLDER
  38148. value: "/tmp/dashboards"
  38149. - name: RESOURCE
  38150. value: "both"
  38151. - name: REQ_USERNAME
  38152. valueFrom:
  38153. secretKeyRef:
  38154. name: prometheus-grafana
  38155. key: admin-user
  38156. - name: REQ_PASSWORD
  38157. valueFrom:
  38158. secretKeyRef:
  38159. name: prometheus-grafana
  38160. key: admin-password
  38161. - name: REQ_URL
  38162. value: http://localhost:3000/api/admin/provisioning/dashboards/reload
  38163. - name: REQ_METHOD
  38164. value: POST
  38165. volumeMounts:
  38166. - name: sc-dashboard-volume
  38167. mountPath: "/tmp/dashboards"
  38168. - name: grafana-sc-datasources
  38169. image: "quay.io/kiwigrid/k8s-sidecar:1.22.0"
  38170. imagePullPolicy: IfNotPresent
  38171. env:
  38172. - name: METHOD
  38173. value: WATCH
  38174. - name: LABEL
  38175. value: "grafana_datasource"
  38176. - name: LABEL_VALUE
  38177. value: "1"
  38178. - name: FOLDER
  38179. value: "/etc/grafana/provisioning/datasources"
  38180. - name: RESOURCE
  38181. value: "both"
  38182. - name: REQ_USERNAME
  38183. valueFrom:
  38184. secretKeyRef:
  38185. name: prometheus-grafana
  38186. key: admin-user
  38187. - name: REQ_PASSWORD
  38188. valueFrom:
  38189. secretKeyRef:
  38190. name: prometheus-grafana
  38191. key: admin-password
  38192. - name: REQ_URL
  38193. value: http://localhost:3000/api/admin/provisioning/datasources/reload
  38194. - name: REQ_METHOD
  38195. value: POST
  38196. volumeMounts:
  38197. - name: sc-datasources-volume
  38198. mountPath: "/etc/grafana/provisioning/datasources"
  38199. - name: grafana
  38200. image: "grafana/grafana:9.3.1"
  38201. imagePullPolicy: IfNotPresent
  38202. volumeMounts:
  38203. - name: config
  38204. mountPath: "/etc/grafana/grafana.ini"
  38205. subPath: grafana.ini
  38206. - name: storage
  38207. mountPath: "/var/lib/grafana"
  38208. - name: sc-dashboard-volume
  38209. mountPath: "/tmp/dashboards"
  38210. - name: sc-dashboard-provider
  38211. mountPath: "/etc/grafana/provisioning/dashboards/sc-dashboardproviders.yaml"
  38212. subPath: provider.yaml
  38213. - name: sc-datasources-volume
  38214. mountPath: "/etc/grafana/provisioning/datasources"
  38215. ports:
  38216. - name: grafana
  38217. containerPort: 3000
  38218. protocol: TCP
  38219. env:
  38220. - name: GF_SECURITY_ADMIN_USER
  38221. valueFrom:
  38222. secretKeyRef:
  38223. name: prometheus-grafana
  38224. key: admin-user
  38225. - name: GF_SECURITY_ADMIN_PASSWORD
  38226. valueFrom:
  38227. secretKeyRef:
  38228. name: prometheus-grafana
  38229. key: admin-password
  38230. - name: GF_PATHS_DATA
  38231. value: /var/lib/grafana/
  38232. - name: GF_PATHS_LOGS
  38233. value: /var/log/grafana
  38234. - name: GF_PATHS_PLUGINS
  38235. value: /var/lib/grafana/plugins
  38236. - name: GF_PATHS_PROVISIONING
  38237. value: /etc/grafana/provisioning
  38238. livenessProbe:
  38239. failureThreshold: 10
  38240. httpGet:
  38241. path: /api/health
  38242. port: 3000
  38243. initialDelaySeconds: 60
  38244. timeoutSeconds: 30
  38245. readinessProbe:
  38246. httpGet:
  38247. path: /api/health
  38248. port: 3000
  38249. volumes:
  38250. - name: config
  38251. configMap:
  38252. name: prometheus-grafana
  38253. - name: storage
  38254. emptyDir: {}
  38255. - name: sc-dashboard-volume
  38256. emptyDir:
  38257. {}
  38258. - name: sc-dashboard-provider
  38259. configMap:
  38260. name: prometheus-grafana-config-dashboards
  38261. - name: sc-datasources-volume
  38262. emptyDir:
  38263. {}
  38264. ---
  38265. # Source: kube-prometheus-stack/charts/kube-state-metrics/templates/deployment.yaml
  38266. apiVersion: apps/v1
  38267. kind: Deployment
  38268. metadata:
  38269. name: prometheus-kube-state-metrics
  38270. namespace: monitoring
  38271. labels:
  38272. helm.sh/chart: kube-state-metrics-4.24.0
  38273. app.kubernetes.io/managed-by: Helm
  38274. app.kubernetes.io/component: metrics
  38275. app.kubernetes.io/part-of: kube-state-metrics
  38276. app.kubernetes.io/name: kube-state-metrics
  38277. app.kubernetes.io/instance: prometheus
  38278. app.kubernetes.io/version: "2.7.0"
  38279. release: prometheus
  38280. spec:
  38281. selector:
  38282. matchLabels:
  38283. app.kubernetes.io/name: kube-state-metrics
  38284. app.kubernetes.io/instance: prometheus
  38285. replicas: 1
  38286. template:
  38287. metadata:
  38288. labels:
  38289. helm.sh/chart: kube-state-metrics-4.24.0
  38290. app.kubernetes.io/managed-by: Helm
  38291. app.kubernetes.io/component: metrics
  38292. app.kubernetes.io/part-of: kube-state-metrics
  38293. app.kubernetes.io/name: kube-state-metrics
  38294. app.kubernetes.io/instance: prometheus
  38295. app.kubernetes.io/version: "2.7.0"
  38296. release: prometheus
  38297. spec:
  38298. hostNetwork: false
  38299. serviceAccountName: prometheus-kube-state-metrics
  38300. securityContext:
  38301. fsGroup: 65534
  38302. runAsGroup: 65534
  38303. runAsUser: 65534
  38304. containers:
  38305. - name: kube-state-metrics
  38306. args:
  38307. - --port=8080
  38308. - --resources=certificatesigningrequests,configmaps,cronjobs,daemonsets,deployments,endpoints,horizontalpodautoscalers,ingresses,jobs,leases,limitranges,mutatingwebhookconfigurations,namespaces,networkpolicies,nodes,persistentvolumeclaims,persistentvolumes,poddisruptionbudgets,pods,replicasets,replicationcontrollers,resourcequotas,secrets,services,statefulsets,storageclasses,validatingwebhookconfigurations,volumeattachments
  38309. imagePullPolicy: IfNotPresent
  38310. image: "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.7.0"
  38311. ports:
  38312. - containerPort: 8080
  38313. name: "http"
  38314. livenessProbe:
  38315. httpGet:
  38316. path: /healthz
  38317. port: 8080
  38318. initialDelaySeconds: 5
  38319. timeoutSeconds: 5
  38320. readinessProbe:
  38321. httpGet:
  38322. path: /
  38323. port: 8080
  38324. initialDelaySeconds: 5
  38325. timeoutSeconds: 5
  38326. ---
  38327. # Source: kube-prometheus-stack/templates/prometheus-operator/deployment.yaml
  38328. apiVersion: apps/v1
  38329. kind: Deployment
  38330. metadata:
  38331. name: prometheus-kube-prometheus-operator
  38332. namespace: monitoring
  38333. labels:
  38334. app: kube-prometheus-stack-operator
  38335. app.kubernetes.io/managed-by: Helm
  38336. app.kubernetes.io/instance: prometheus
  38337. app.kubernetes.io/version: "44.3.0"
  38338. app.kubernetes.io/part-of: kube-prometheus-stack
  38339. chart: kube-prometheus-stack-44.3.0
  38340. release: "prometheus"
  38341. heritage: "Helm"
  38342. spec:
  38343. replicas: 1
  38344. selector:
  38345. matchLabels:
  38346. app: kube-prometheus-stack-operator
  38347. release: "prometheus"
  38348. template:
  38349. metadata:
  38350. labels:
  38351. app: kube-prometheus-stack-operator
  38352. app.kubernetes.io/managed-by: Helm
  38353. app.kubernetes.io/instance: prometheus
  38354. app.kubernetes.io/version: "44.3.0"
  38355. app.kubernetes.io/part-of: kube-prometheus-stack
  38356. chart: kube-prometheus-stack-44.3.0
  38357. release: "prometheus"
  38358. heritage: "Helm"
  38359. spec:
  38360. containers:
  38361. - name: kube-prometheus-stack
  38362. image: "quay.io/prometheus-operator/prometheus-operator:v0.62.0"
  38363. imagePullPolicy: "IfNotPresent"
  38364. args:
  38365. - --kubelet-service=kube-system/prometheus-kube-prometheus-kubelet
  38366. - --localhost=127.0.0.1
  38367. - --prometheus-config-reloader=quay.io/prometheus-operator/prometheus-config-reloader:v0.62.0
  38368. - --config-reloader-cpu-request=200m
  38369. - --config-reloader-cpu-limit=200m
  38370. - --config-reloader-memory-request=50Mi
  38371. - --config-reloader-memory-limit=50Mi
  38372. - --thanos-default-base-image=quay.io/thanos/thanos:v0.30.1
  38373. - --web.enable-tls=true
  38374. - --web.cert-file=/cert/cert
  38375. - --web.key-file=/cert/key
  38376. - --web.listen-address=:10250
  38377. - --web.tls-min-version=VersionTLS13
  38378. ports:
  38379. - containerPort: 10250
  38380. name: https
  38381. resources:
  38382. {}
  38383. securityContext:
  38384. allowPrivilegeEscalation: false
  38385. readOnlyRootFilesystem: true
  38386. volumeMounts:
  38387. - name: tls-secret
  38388. mountPath: /cert
  38389. readOnly: true
  38390. volumes:
  38391. - name: tls-secret
  38392. secret:
  38393. defaultMode: 420
  38394. secretName: prometheus-kube-prometheus-admission
  38395. securityContext:
  38396. fsGroup: 65534
  38397. runAsGroup: 65534
  38398. runAsNonRoot: true
  38399. runAsUser: 65534
  38400. serviceAccountName: prometheus-kube-prometheus-operator
  38401. ---
  38402. # Source: kube-prometheus-stack/templates/alertmanager/alertmanager.yaml
  38403. apiVersion: monitoring.coreos.com/v1
  38404. kind: Alertmanager
  38405. metadata:
  38406. name: prometheus-kube-prometheus-alertmanager
  38407. namespace: monitoring
  38408. labels:
  38409. app: kube-prometheus-stack-alertmanager
  38410. app.kubernetes.io/managed-by: Helm
  38411. app.kubernetes.io/instance: prometheus
  38412. app.kubernetes.io/version: "44.3.0"
  38413. app.kubernetes.io/part-of: kube-prometheus-stack
  38414. chart: kube-prometheus-stack-44.3.0
  38415. release: "prometheus"
  38416. heritage: "Helm"
  38417. spec:
  38418. image: "quay.io/prometheus/alertmanager:v0.25.0"
  38419. version: v0.25.0
  38420. replicas: 1
  38421. listenLocal: false
  38422. serviceAccountName: prometheus-kube-prometheus-alertmanager
  38423. externalUrl: http://prometheus-kube-prometheus-alertmanager.monitoring:9093
  38424. paused: false
  38425. logFormat: "logfmt"
  38426. logLevel: "info"
  38427. retention: "120h"
  38428. alertmanagerConfigSelector: {}
  38429. alertmanagerConfigNamespaceSelector: {}
  38430. routePrefix: "/"
  38431. securityContext:
  38432. fsGroup: 2000
  38433. runAsGroup: 2000
  38434. runAsNonRoot: true
  38435. runAsUser: 1000
  38436. portName: http-web
  38437. ---
  38438. # Source: kube-prometheus-stack/templates/prometheus-operator/admission-webhooks/mutatingWebhookConfiguration.yaml
  38439. apiVersion: admissionregistration.k8s.io/v1
  38440. kind: MutatingWebhookConfiguration
  38441. metadata:
  38442. name: prometheus-kube-prometheus-admission
  38443. labels:
  38444. app: kube-prometheus-stack-admission
  38445. app.kubernetes.io/managed-by: Helm
  38446. app.kubernetes.io/instance: prometheus
  38447. app.kubernetes.io/version: "44.3.0"
  38448. app.kubernetes.io/part-of: kube-prometheus-stack
  38449. chart: kube-prometheus-stack-44.3.0
  38450. release: "prometheus"
  38451. heritage: "Helm"
  38452. webhooks:
  38453. - name: prometheusrulemutate.monitoring.coreos.com
  38454. failurePolicy: Ignore
  38455. rules:
  38456. - apiGroups:
  38457. - monitoring.coreos.com
  38458. apiVersions:
  38459. - "*"
  38460. resources:
  38461. - prometheusrules
  38462. operations:
  38463. - CREATE
  38464. - UPDATE
  38465. clientConfig:
  38466. service:
  38467. namespace: monitoring
  38468. name: prometheus-kube-prometheus-operator
  38469. path: /admission-prometheusrules/mutate
  38470. timeoutSeconds: 10
  38471. admissionReviewVersions: ["v1", "v1beta1"]
  38472. sideEffects: None
  38473. ---
  38474. # Source: kube-prometheus-stack/templates/prometheus/prometheus.yaml
  38475. apiVersion: monitoring.coreos.com/v1
  38476. kind: Prometheus
  38477. metadata:
  38478. name: prometheus-kube-prometheus-prometheus
  38479. namespace: monitoring
  38480. labels:
  38481. app: kube-prometheus-stack-prometheus
  38482. app.kubernetes.io/managed-by: Helm
  38483. app.kubernetes.io/instance: prometheus
  38484. app.kubernetes.io/version: "44.3.0"
  38485. app.kubernetes.io/part-of: kube-prometheus-stack
  38486. chart: kube-prometheus-stack-44.3.0
  38487. release: "prometheus"
  38488. heritage: "Helm"
  38489. spec:
  38490. alerting:
  38491. alertmanagers:
  38492. - namespace: monitoring
  38493. name: prometheus-kube-prometheus-alertmanager
  38494. port: http-web
  38495. pathPrefix: "/"
  38496. apiVersion: v2
  38497. image: "quay.io/prometheus/prometheus:v2.41.0"
  38498. version: v2.41.0
  38499. externalUrl: http://prometheus-kube-prometheus-prometheus.monitoring:9090
  38500. paused: false
  38501. replicas: 1
  38502. shards: 1
  38503. logLevel: info
  38504. logFormat: logfmt
  38505. listenLocal: false
  38506. enableAdminAPI: false
  38507. retention: "10d"
  38508. walCompression: true
  38509. routePrefix: "/"
  38510. serviceAccountName: prometheus-kube-prometheus-prometheus
  38511. serviceMonitorSelector:
  38512. matchLabels:
  38513. release: "prometheus"
  38514. serviceMonitorNamespaceSelector: {}
  38515. podMonitorSelector:
  38516. matchLabels:
  38517. release: "prometheus"
  38518. podMonitorNamespaceSelector: {}
  38519. probeSelector:
  38520. matchLabels:
  38521. release: "prometheus"
  38522. probeNamespaceSelector: {}
  38523. securityContext:
  38524. fsGroup: 2000
  38525. runAsGroup: 2000
  38526. runAsNonRoot: true
  38527. runAsUser: 1000
  38528. ruleNamespaceSelector: {}
  38529. ruleSelector:
  38530. matchLabels:
  38531. release: "prometheus"
  38532. portName: http-web
  38533. hostNetwork: false
  38534. ---
  38535. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/alertmanager.rules.yaml
  38536. apiVersion: monitoring.coreos.com/v1
  38537. kind: PrometheusRule
  38538. metadata:
  38539. name: prometheus-kube-prometheus-alertmanager.rules
  38540. namespace: monitoring
  38541. labels:
  38542. app: kube-prometheus-stack
  38543. app.kubernetes.io/managed-by: Helm
  38544. app.kubernetes.io/instance: prometheus
  38545. app.kubernetes.io/version: "44.3.0"
  38546. app.kubernetes.io/part-of: kube-prometheus-stack
  38547. chart: kube-prometheus-stack-44.3.0
  38548. release: "prometheus"
  38549. heritage: "Helm"
  38550. spec:
  38551. groups:
  38552. - name: alertmanager.rules
  38553. rules:
  38554. - alert: AlertmanagerFailedReload
  38555. annotations:
  38556. description: Configuration has failed to load for {{ $labels.namespace }}/{{ $labels.pod}}.
  38557. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/alertmanager/alertmanagerfailedreload
  38558. summary: Reloading an Alertmanager configuration has failed.
  38559. expr: |-
  38560. # Without max_over_time, failed scrapes could create false negatives, see
  38561. # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
  38562. max_over_time(alertmanager_config_last_reload_successful{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring"}[5m]) == 0
  38563. for: 10m
  38564. labels:
  38565. severity: critical
  38566. - alert: AlertmanagerMembersInconsistent
  38567. annotations:
  38568. description: Alertmanager {{ $labels.namespace }}/{{ $labels.pod}} has only found {{ $value }} members of the {{$labels.job}} cluster.
  38569. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/alertmanager/alertmanagermembersinconsistent
  38570. summary: A member of an Alertmanager cluster has not found all other cluster members.
  38571. expr: |-
  38572. # Without max_over_time, failed scrapes could create false negatives, see
  38573. # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
  38574. max_over_time(alertmanager_cluster_members{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring"}[5m])
  38575. < on (namespace,service) group_left
  38576. count by (namespace,service) (max_over_time(alertmanager_cluster_members{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring"}[5m]))
  38577. for: 15m
  38578. labels:
  38579. severity: critical
  38580. - alert: AlertmanagerFailedToSendAlerts
  38581. annotations:
  38582. description: Alertmanager {{ $labels.namespace }}/{{ $labels.pod}} failed to send {{ $value | humanizePercentage }} of notifications to {{ $labels.integration }}.
  38583. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/alertmanager/alertmanagerfailedtosendalerts
  38584. summary: An Alertmanager instance failed to send notifications.
  38585. expr: |-
  38586. (
  38587. rate(alertmanager_notifications_failed_total{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring"}[5m])
  38588. /
  38589. rate(alertmanager_notifications_total{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring"}[5m])
  38590. )
  38591. > 0.01
  38592. for: 5m
  38593. labels:
  38594. severity: warning
  38595. - alert: AlertmanagerClusterFailedToSendAlerts
  38596. annotations:
  38597. description: The minimum notification failure rate to {{ $labels.integration }} sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage }}.
  38598. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/alertmanager/alertmanagerclusterfailedtosendalerts
  38599. summary: All Alertmanager instances in a cluster failed to send notifications to a critical integration.
  38600. expr: |-
  38601. min by (namespace,service, integration) (
  38602. rate(alertmanager_notifications_failed_total{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring", integration=~`.*`}[5m])
  38603. /
  38604. rate(alertmanager_notifications_total{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring", integration=~`.*`}[5m])
  38605. )
  38606. > 0.01
  38607. for: 5m
  38608. labels:
  38609. severity: critical
  38610. - alert: AlertmanagerClusterFailedToSendAlerts
  38611. annotations:
  38612. description: The minimum notification failure rate to {{ $labels.integration }} sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage }}.
  38613. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/alertmanager/alertmanagerclusterfailedtosendalerts
  38614. summary: All Alertmanager instances in a cluster failed to send notifications to a non-critical integration.
  38615. expr: |-
  38616. min by (namespace,service, integration) (
  38617. rate(alertmanager_notifications_failed_total{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring", integration!~`.*`}[5m])
  38618. /
  38619. rate(alertmanager_notifications_total{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring", integration!~`.*`}[5m])
  38620. )
  38621. > 0.01
  38622. for: 5m
  38623. labels:
  38624. severity: warning
  38625. - alert: AlertmanagerConfigInconsistent
  38626. annotations:
  38627. description: Alertmanager instances within the {{$labels.job}} cluster have different configurations.
  38628. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/alertmanager/alertmanagerconfiginconsistent
  38629. summary: Alertmanager instances within the same cluster have different configurations.
  38630. expr: |-
  38631. count by (namespace,service) (
  38632. count_values by (namespace,service) ("config_hash", alertmanager_config_hash{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring"})
  38633. )
  38634. != 1
  38635. for: 20m
  38636. labels:
  38637. severity: critical
  38638. - alert: AlertmanagerClusterDown
  38639. annotations:
  38640. description: '{{ $value | humanizePercentage }} of Alertmanager instances within the {{$labels.job}} cluster have been up for less than half of the last 5m.'
  38641. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/alertmanager/alertmanagerclusterdown
  38642. summary: Half or more of the Alertmanager instances within the same cluster are down.
  38643. expr: |-
  38644. (
  38645. count by (namespace,service) (
  38646. avg_over_time(up{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring"}[5m]) < 0.5
  38647. )
  38648. /
  38649. count by (namespace,service) (
  38650. up{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring"}
  38651. )
  38652. )
  38653. >= 0.5
  38654. for: 5m
  38655. labels:
  38656. severity: critical
  38657. - alert: AlertmanagerClusterCrashlooping
  38658. annotations:
  38659. description: '{{ $value | humanizePercentage }} of Alertmanager instances within the {{$labels.job}} cluster have restarted at least 5 times in the last 10m.'
  38660. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/alertmanager/alertmanagerclustercrashlooping
  38661. summary: Half or more of the Alertmanager instances within the same cluster are crashlooping.
  38662. expr: |-
  38663. (
  38664. count by (namespace,service) (
  38665. changes(process_start_time_seconds{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring"}[10m]) > 4
  38666. )
  38667. /
  38668. count by (namespace,service) (
  38669. up{job="prometheus-kube-prometheus-alertmanager",namespace="monitoring"}
  38670. )
  38671. )
  38672. >= 0.5
  38673. for: 5m
  38674. labels:
  38675. severity: critical
  38676. ---
  38677. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/config-reloaders.yaml
  38678. apiVersion: monitoring.coreos.com/v1
  38679. kind: PrometheusRule
  38680. metadata:
  38681. name: prometheus-kube-prometheus-config-reloaders
  38682. namespace: monitoring
  38683. labels:
  38684. app: kube-prometheus-stack
  38685. app.kubernetes.io/managed-by: Helm
  38686. app.kubernetes.io/instance: prometheus
  38687. app.kubernetes.io/version: "44.3.0"
  38688. app.kubernetes.io/part-of: kube-prometheus-stack
  38689. chart: kube-prometheus-stack-44.3.0
  38690. release: "prometheus"
  38691. heritage: "Helm"
  38692. spec:
  38693. groups:
  38694. - name: config-reloaders
  38695. rules:
  38696. - alert: ConfigReloaderSidecarErrors
  38697. annotations:
  38698. description: 'Errors encountered while the {{$labels.pod}} config-reloader sidecar attempts to sync config in {{$labels.namespace}} namespace.
  38699. As a result, configuration for service running in {{$labels.pod}} may be stale and cannot be updated anymore.'
  38700. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus-operator/configreloadersidecarerrors
  38701. summary: config-reloader sidecar has not had a successful reload for 10m
  38702. expr: max_over_time(reloader_last_reload_successful{namespace=~".+"}[5m]) == 0
  38703. for: 10m
  38704. labels:
  38705. severity: warning
  38706. ---
  38707. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/etcd.yaml
  38708. apiVersion: monitoring.coreos.com/v1
  38709. kind: PrometheusRule
  38710. metadata:
  38711. name: prometheus-kube-prometheus-etcd
  38712. namespace: monitoring
  38713. labels:
  38714. app: kube-prometheus-stack
  38715. app.kubernetes.io/managed-by: Helm
  38716. app.kubernetes.io/instance: prometheus
  38717. app.kubernetes.io/version: "44.3.0"
  38718. app.kubernetes.io/part-of: kube-prometheus-stack
  38719. chart: kube-prometheus-stack-44.3.0
  38720. release: "prometheus"
  38721. heritage: "Helm"
  38722. spec:
  38723. groups:
  38724. - name: etcd
  38725. rules:
  38726. - alert: etcdMembersDown
  38727. annotations:
  38728. description: 'etcd cluster "{{ $labels.job }}": members are down ({{ $value }}).'
  38729. summary: etcd cluster members are down.
  38730. expr: |-
  38731. max without (endpoint) (
  38732. sum without (instance) (up{job=~".*etcd.*"} == bool 0)
  38733. or
  38734. count without (To) (
  38735. sum without (instance) (rate(etcd_network_peer_sent_failures_total{job=~".*etcd.*"}[120s])) > 0.01
  38736. )
  38737. )
  38738. > 0
  38739. for: 10m
  38740. labels:
  38741. severity: critical
  38742. - alert: etcdInsufficientMembers
  38743. annotations:
  38744. description: 'etcd cluster "{{ $labels.job }}": insufficient members ({{ $value }}).'
  38745. summary: etcd cluster has insufficient number of members.
  38746. expr: sum(up{job=~".*etcd.*"} == bool 1) without (instance) < ((count(up{job=~".*etcd.*"}) without (instance) + 1) / 2)
  38747. for: 3m
  38748. labels:
  38749. severity: critical
  38750. - alert: etcdNoLeader
  38751. annotations:
  38752. description: 'etcd cluster "{{ $labels.job }}": member {{ $labels.instance }} has no leader.'
  38753. summary: etcd cluster has no leader.
  38754. expr: etcd_server_has_leader{job=~".*etcd.*"} == 0
  38755. for: 1m
  38756. labels:
  38757. severity: critical
  38758. - alert: etcdHighNumberOfLeaderChanges
  38759. annotations:
  38760. description: 'etcd cluster "{{ $labels.job }}": {{ $value }} leader changes within the last 15 minutes. Frequent elections may be a sign of insufficient resources, high network latency, or disruptions by other components and should be investigated.'
  38761. summary: etcd cluster has high number of leader changes.
  38762. expr: increase((max without (instance) (etcd_server_leader_changes_seen_total{job=~".*etcd.*"}) or 0*absent(etcd_server_leader_changes_seen_total{job=~".*etcd.*"}))[15m:1m]) >= 4
  38763. for: 5m
  38764. labels:
  38765. severity: warning
  38766. - alert: etcdHighNumberOfFailedGRPCRequests
  38767. annotations:
  38768. description: 'etcd cluster "{{ $labels.job }}": {{ $value }}% of requests for {{ $labels.grpc_method }} failed on etcd instance {{ $labels.instance }}.'
  38769. summary: etcd cluster has high number of failed grpc requests.
  38770. expr: |-
  38771. 100 * sum(rate(grpc_server_handled_total{job=~".*etcd.*", grpc_code=~"Unknown|FailedPrecondition|ResourceExhausted|Internal|Unavailable|DataLoss|DeadlineExceeded"}[5m])) without (grpc_type, grpc_code)
  38772. /
  38773. sum(rate(grpc_server_handled_total{job=~".*etcd.*"}[5m])) without (grpc_type, grpc_code)
  38774. > 1
  38775. for: 10m
  38776. labels:
  38777. severity: warning
  38778. - alert: etcdHighNumberOfFailedGRPCRequests
  38779. annotations:
  38780. description: 'etcd cluster "{{ $labels.job }}": {{ $value }}% of requests for {{ $labels.grpc_method }} failed on etcd instance {{ $labels.instance }}.'
  38781. summary: etcd cluster has high number of failed grpc requests.
  38782. expr: |-
  38783. 100 * sum(rate(grpc_server_handled_total{job=~".*etcd.*", grpc_code=~"Unknown|FailedPrecondition|ResourceExhausted|Internal|Unavailable|DataLoss|DeadlineExceeded"}[5m])) without (grpc_type, grpc_code)
  38784. /
  38785. sum(rate(grpc_server_handled_total{job=~".*etcd.*"}[5m])) without (grpc_type, grpc_code)
  38786. > 5
  38787. for: 5m
  38788. labels:
  38789. severity: critical
  38790. - alert: etcdGRPCRequestsSlow
  38791. annotations:
  38792. description: 'etcd cluster "{{ $labels.job }}": 99th percentile of gRPC requests is {{ $value }}s on etcd instance {{ $labels.instance }} for {{ $labels.grpc_method }} method.'
  38793. summary: etcd grpc requests are slow
  38794. expr: |-
  38795. histogram_quantile(0.99, sum(rate(grpc_server_handling_seconds_bucket{job=~".*etcd.*", grpc_method!="Defragment", grpc_type="unary"}[5m])) without(grpc_type))
  38796. > 0.15
  38797. for: 10m
  38798. labels:
  38799. severity: critical
  38800. - alert: etcdMemberCommunicationSlow
  38801. annotations:
  38802. description: 'etcd cluster "{{ $labels.job }}": member communication with {{ $labels.To }} is taking {{ $value }}s on etcd instance {{ $labels.instance }}.'
  38803. summary: etcd cluster member communication is slow.
  38804. expr: |-
  38805. histogram_quantile(0.99, rate(etcd_network_peer_round_trip_time_seconds_bucket{job=~".*etcd.*"}[5m]))
  38806. > 0.15
  38807. for: 10m
  38808. labels:
  38809. severity: warning
  38810. - alert: etcdHighNumberOfFailedProposals
  38811. annotations:
  38812. description: 'etcd cluster "{{ $labels.job }}": {{ $value }} proposal failures within the last 30 minutes on etcd instance {{ $labels.instance }}.'
  38813. summary: etcd cluster has high number of proposal failures.
  38814. expr: rate(etcd_server_proposals_failed_total{job=~".*etcd.*"}[15m]) > 5
  38815. for: 15m
  38816. labels:
  38817. severity: warning
  38818. - alert: etcdHighFsyncDurations
  38819. annotations:
  38820. description: 'etcd cluster "{{ $labels.job }}": 99th percentile fsync durations are {{ $value }}s on etcd instance {{ $labels.instance }}.'
  38821. summary: etcd cluster 99th percentile fsync durations are too high.
  38822. expr: |-
  38823. histogram_quantile(0.99, rate(etcd_disk_wal_fsync_duration_seconds_bucket{job=~".*etcd.*"}[5m]))
  38824. > 0.5
  38825. for: 10m
  38826. labels:
  38827. severity: warning
  38828. - alert: etcdHighFsyncDurations
  38829. annotations:
  38830. description: 'etcd cluster "{{ $labels.job }}": 99th percentile fsync durations are {{ $value }}s on etcd instance {{ $labels.instance }}.'
  38831. summary: etcd cluster 99th percentile fsync durations are too high.
  38832. expr: |-
  38833. histogram_quantile(0.99, rate(etcd_disk_wal_fsync_duration_seconds_bucket{job=~".*etcd.*"}[5m]))
  38834. > 1
  38835. for: 10m
  38836. labels:
  38837. severity: critical
  38838. - alert: etcdHighCommitDurations
  38839. annotations:
  38840. description: 'etcd cluster "{{ $labels.job }}": 99th percentile commit durations {{ $value }}s on etcd instance {{ $labels.instance }}.'
  38841. summary: etcd cluster 99th percentile commit durations are too high.
  38842. expr: |-
  38843. histogram_quantile(0.99, rate(etcd_disk_backend_commit_duration_seconds_bucket{job=~".*etcd.*"}[5m]))
  38844. > 0.25
  38845. for: 10m
  38846. labels:
  38847. severity: warning
  38848. - alert: etcdDatabaseQuotaLowSpace
  38849. annotations:
  38850. description: 'etcd cluster "{{ $labels.job }}": database size exceeds the defined quota on etcd instance {{ $labels.instance }}, please defrag or increase the quota as the writes to etcd will be disabled when it is full.'
  38851. summary: etcd cluster database is running full.
  38852. expr: (last_over_time(etcd_mvcc_db_total_size_in_bytes[5m]) / last_over_time(etcd_server_quota_backend_bytes[5m]))*100 > 95
  38853. for: 10m
  38854. labels:
  38855. severity: critical
  38856. - alert: etcdExcessiveDatabaseGrowth
  38857. annotations:
  38858. description: 'etcd cluster "{{ $labels.job }}": Predicting running out of disk space in the next four hours, based on write observations within the past four hours on etcd instance {{ $labels.instance }}, please check as it might be disruptive.'
  38859. summary: etcd cluster database growing very fast.
  38860. expr: predict_linear(etcd_mvcc_db_total_size_in_bytes[4h], 4*60*60) > etcd_server_quota_backend_bytes
  38861. for: 10m
  38862. labels:
  38863. severity: warning
  38864. - alert: etcdDatabaseHighFragmentationRatio
  38865. annotations:
  38866. description: 'etcd cluster "{{ $labels.job }}": database size in use on instance {{ $labels.instance }} is {{ $value | humanizePercentage }} of the actual allocated disk space, please run defragmentation (e.g. etcdctl defrag) to retrieve the unused fragmented disk space.'
  38867. runbook_url: https://etcd.io/docs/v3.5/op-guide/maintenance/#defragmentation
  38868. summary: etcd database size in use is less than 50% of the actual allocated storage.
  38869. expr: (last_over_time(etcd_mvcc_db_total_size_in_use_in_bytes[5m]) / last_over_time(etcd_mvcc_db_total_size_in_bytes[5m])) < 0.5
  38870. for: 10m
  38871. labels:
  38872. severity: warning
  38873. ---
  38874. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/general.rules.yaml
  38875. apiVersion: monitoring.coreos.com/v1
  38876. kind: PrometheusRule
  38877. metadata:
  38878. name: prometheus-kube-prometheus-general.rules
  38879. namespace: monitoring
  38880. labels:
  38881. app: kube-prometheus-stack
  38882. app.kubernetes.io/managed-by: Helm
  38883. app.kubernetes.io/instance: prometheus
  38884. app.kubernetes.io/version: "44.3.0"
  38885. app.kubernetes.io/part-of: kube-prometheus-stack
  38886. chart: kube-prometheus-stack-44.3.0
  38887. release: "prometheus"
  38888. heritage: "Helm"
  38889. spec:
  38890. groups:
  38891. - name: general.rules
  38892. rules:
  38893. - alert: TargetDown
  38894. annotations:
  38895. description: '{{ printf "%.4g" $value }}% of the {{ $labels.job }}/{{ $labels.service }} targets in {{ $labels.namespace }} namespace are down.'
  38896. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/general/targetdown
  38897. summary: One or more targets are unreachable.
  38898. expr: 100 * (count(up == 0) BY (job, namespace, service) / count(up) BY (job, namespace, service)) > 10
  38899. for: 10m
  38900. labels:
  38901. severity: warning
  38902. - alert: Watchdog
  38903. annotations:
  38904. description: 'This is an alert meant to ensure that the entire alerting pipeline is functional.
  38905. This alert is always firing, therefore it should always be firing in Alertmanager
  38906. and always fire against a receiver. There are integrations with various notification
  38907. mechanisms that send a notification when this alert is not firing. For example the
  38908. "DeadMansSnitch" integration in PagerDuty.
  38909. '
  38910. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/general/watchdog
  38911. summary: An alert that should always be firing to certify that Alertmanager is working properly.
  38912. expr: vector(1)
  38913. labels:
  38914. severity: none
  38915. - alert: InfoInhibitor
  38916. annotations:
  38917. description: 'This is an alert that is used to inhibit info alerts.
  38918. By themselves, the info-level alerts are sometimes very noisy, but they are relevant when combined with
  38919. other alerts.
  38920. This alert fires whenever there''s a severity="info" alert, and stops firing when another alert with a
  38921. severity of ''warning'' or ''critical'' starts firing on the same namespace.
  38922. This alert should be routed to a null receiver and configured to inhibit alerts with severity="info".
  38923. '
  38924. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/general/infoinhibitor
  38925. summary: Info-level alert inhibition.
  38926. expr: ALERTS{severity = "info"} == 1 unless on(namespace) ALERTS{alertname != "InfoInhibitor", severity =~ "warning|critical", alertstate="firing"} == 1
  38927. labels:
  38928. severity: none
  38929. ---
  38930. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/k8s.rules.yaml
  38931. apiVersion: monitoring.coreos.com/v1
  38932. kind: PrometheusRule
  38933. metadata:
  38934. name: prometheus-kube-prometheus-k8s.rules
  38935. namespace: monitoring
  38936. labels:
  38937. app: kube-prometheus-stack
  38938. app.kubernetes.io/managed-by: Helm
  38939. app.kubernetes.io/instance: prometheus
  38940. app.kubernetes.io/version: "44.3.0"
  38941. app.kubernetes.io/part-of: kube-prometheus-stack
  38942. chart: kube-prometheus-stack-44.3.0
  38943. release: "prometheus"
  38944. heritage: "Helm"
  38945. spec:
  38946. groups:
  38947. - name: k8s.rules
  38948. rules:
  38949. - expr: |-
  38950. sum by (cluster, namespace, pod, container) (
  38951. irate(container_cpu_usage_seconds_total{job="kubelet", metrics_path="/metrics/cadvisor", image!=""}[5m])
  38952. ) * on (cluster, namespace, pod) group_left(node) topk by (cluster, namespace, pod) (
  38953. 1, max by(cluster, namespace, pod, node) (kube_pod_info{node!=""})
  38954. )
  38955. record: node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate
  38956. - expr: |-
  38957. container_memory_working_set_bytes{job="kubelet", metrics_path="/metrics/cadvisor", image!=""}
  38958. * on (namespace, pod) group_left(node) topk by(namespace, pod) (1,
  38959. max by(namespace, pod, node) (kube_pod_info{node!=""})
  38960. )
  38961. record: node_namespace_pod_container:container_memory_working_set_bytes
  38962. - expr: |-
  38963. container_memory_rss{job="kubelet", metrics_path="/metrics/cadvisor", image!=""}
  38964. * on (namespace, pod) group_left(node) topk by(namespace, pod) (1,
  38965. max by(namespace, pod, node) (kube_pod_info{node!=""})
  38966. )
  38967. record: node_namespace_pod_container:container_memory_rss
  38968. - expr: |-
  38969. container_memory_cache{job="kubelet", metrics_path="/metrics/cadvisor", image!=""}
  38970. * on (namespace, pod) group_left(node) topk by(namespace, pod) (1,
  38971. max by(namespace, pod, node) (kube_pod_info{node!=""})
  38972. )
  38973. record: node_namespace_pod_container:container_memory_cache
  38974. - expr: |-
  38975. container_memory_swap{job="kubelet", metrics_path="/metrics/cadvisor", image!=""}
  38976. * on (namespace, pod) group_left(node) topk by(namespace, pod) (1,
  38977. max by(namespace, pod, node) (kube_pod_info{node!=""})
  38978. )
  38979. record: node_namespace_pod_container:container_memory_swap
  38980. - expr: |-
  38981. kube_pod_container_resource_requests{resource="memory",job="kube-state-metrics"} * on (namespace, pod, cluster)
  38982. group_left() max by (namespace, pod, cluster) (
  38983. (kube_pod_status_phase{phase=~"Pending|Running"} == 1)
  38984. )
  38985. record: cluster:namespace:pod_memory:active:kube_pod_container_resource_requests
  38986. - expr: |-
  38987. sum by (namespace, cluster) (
  38988. sum by (namespace, pod, cluster) (
  38989. max by (namespace, pod, container, cluster) (
  38990. kube_pod_container_resource_requests{resource="memory",job="kube-state-metrics"}
  38991. ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) (
  38992. kube_pod_status_phase{phase=~"Pending|Running"} == 1
  38993. )
  38994. )
  38995. )
  38996. record: namespace_memory:kube_pod_container_resource_requests:sum
  38997. - expr: |-
  38998. kube_pod_container_resource_requests{resource="cpu",job="kube-state-metrics"} * on (namespace, pod, cluster)
  38999. group_left() max by (namespace, pod, cluster) (
  39000. (kube_pod_status_phase{phase=~"Pending|Running"} == 1)
  39001. )
  39002. record: cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests
  39003. - expr: |-
  39004. sum by (namespace, cluster) (
  39005. sum by (namespace, pod, cluster) (
  39006. max by (namespace, pod, container, cluster) (
  39007. kube_pod_container_resource_requests{resource="cpu",job="kube-state-metrics"}
  39008. ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) (
  39009. kube_pod_status_phase{phase=~"Pending|Running"} == 1
  39010. )
  39011. )
  39012. )
  39013. record: namespace_cpu:kube_pod_container_resource_requests:sum
  39014. - expr: |-
  39015. kube_pod_container_resource_limits{resource="memory",job="kube-state-metrics"} * on (namespace, pod, cluster)
  39016. group_left() max by (namespace, pod, cluster) (
  39017. (kube_pod_status_phase{phase=~"Pending|Running"} == 1)
  39018. )
  39019. record: cluster:namespace:pod_memory:active:kube_pod_container_resource_limits
  39020. - expr: |-
  39021. sum by (namespace, cluster) (
  39022. sum by (namespace, pod, cluster) (
  39023. max by (namespace, pod, container, cluster) (
  39024. kube_pod_container_resource_limits{resource="memory",job="kube-state-metrics"}
  39025. ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) (
  39026. kube_pod_status_phase{phase=~"Pending|Running"} == 1
  39027. )
  39028. )
  39029. )
  39030. record: namespace_memory:kube_pod_container_resource_limits:sum
  39031. - expr: |-
  39032. kube_pod_container_resource_limits{resource="cpu",job="kube-state-metrics"} * on (namespace, pod, cluster)
  39033. group_left() max by (namespace, pod, cluster) (
  39034. (kube_pod_status_phase{phase=~"Pending|Running"} == 1)
  39035. )
  39036. record: cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits
  39037. - expr: |-
  39038. sum by (namespace, cluster) (
  39039. sum by (namespace, pod, cluster) (
  39040. max by (namespace, pod, container, cluster) (
  39041. kube_pod_container_resource_limits{resource="cpu",job="kube-state-metrics"}
  39042. ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) (
  39043. kube_pod_status_phase{phase=~"Pending|Running"} == 1
  39044. )
  39045. )
  39046. )
  39047. record: namespace_cpu:kube_pod_container_resource_limits:sum
  39048. - expr: |-
  39049. max by (cluster, namespace, workload, pod) (
  39050. label_replace(
  39051. label_replace(
  39052. kube_pod_owner{job="kube-state-metrics", owner_kind="ReplicaSet"},
  39053. "replicaset", "$1", "owner_name", "(.*)"
  39054. ) * on(replicaset, namespace) group_left(owner_name) topk by(replicaset, namespace) (
  39055. 1, max by (replicaset, namespace, owner_name) (
  39056. kube_replicaset_owner{job="kube-state-metrics"}
  39057. )
  39058. ),
  39059. "workload", "$1", "owner_name", "(.*)"
  39060. )
  39061. )
  39062. labels:
  39063. workload_type: deployment
  39064. record: namespace_workload_pod:kube_pod_owner:relabel
  39065. - expr: |-
  39066. max by (cluster, namespace, workload, pod) (
  39067. label_replace(
  39068. kube_pod_owner{job="kube-state-metrics", owner_kind="DaemonSet"},
  39069. "workload", "$1", "owner_name", "(.*)"
  39070. )
  39071. )
  39072. labels:
  39073. workload_type: daemonset
  39074. record: namespace_workload_pod:kube_pod_owner:relabel
  39075. - expr: |-
  39076. max by (cluster, namespace, workload, pod) (
  39077. label_replace(
  39078. kube_pod_owner{job="kube-state-metrics", owner_kind="StatefulSet"},
  39079. "workload", "$1", "owner_name", "(.*)"
  39080. )
  39081. )
  39082. labels:
  39083. workload_type: statefulset
  39084. record: namespace_workload_pod:kube_pod_owner:relabel
  39085. - expr: |-
  39086. max by (cluster, namespace, workload, pod) (
  39087. label_replace(
  39088. kube_pod_owner{job="kube-state-metrics", owner_kind="Job"},
  39089. "workload", "$1", "owner_name", "(.*)"
  39090. )
  39091. )
  39092. labels:
  39093. workload_type: job
  39094. record: namespace_workload_pod:kube_pod_owner:relabel
  39095. ---
  39096. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kube-apiserver-availability.rules.yaml
  39097. apiVersion: monitoring.coreos.com/v1
  39098. kind: PrometheusRule
  39099. metadata:
  39100. name: prometheus-kube-prometheus-kube-apiserver-availability.rules
  39101. namespace: monitoring
  39102. labels:
  39103. app: kube-prometheus-stack
  39104. app.kubernetes.io/managed-by: Helm
  39105. app.kubernetes.io/instance: prometheus
  39106. app.kubernetes.io/version: "44.3.0"
  39107. app.kubernetes.io/part-of: kube-prometheus-stack
  39108. chart: kube-prometheus-stack-44.3.0
  39109. release: "prometheus"
  39110. heritage: "Helm"
  39111. spec:
  39112. groups:
  39113. - interval: 3m
  39114. name: kube-apiserver-availability.rules
  39115. rules:
  39116. - expr: avg_over_time(code_verb:apiserver_request_total:increase1h[30d]) * 24 * 30
  39117. record: code_verb:apiserver_request_total:increase30d
  39118. - expr: sum by (cluster, code) (code_verb:apiserver_request_total:increase30d{verb=~"LIST|GET"})
  39119. labels:
  39120. verb: read
  39121. record: code:apiserver_request_total:increase30d
  39122. - expr: sum by (cluster, code) (code_verb:apiserver_request_total:increase30d{verb=~"POST|PUT|PATCH|DELETE"})
  39123. labels:
  39124. verb: write
  39125. record: code:apiserver_request_total:increase30d
  39126. - expr: sum by (cluster, verb, scope) (increase(apiserver_request_slo_duration_seconds_count[1h]))
  39127. record: cluster_verb_scope:apiserver_request_slo_duration_seconds_count:increase1h
  39128. - expr: sum by (cluster, verb, scope) (avg_over_time(cluster_verb_scope:apiserver_request_slo_duration_seconds_count:increase1h[30d]) * 24 * 30)
  39129. record: cluster_verb_scope:apiserver_request_slo_duration_seconds_count:increase30d
  39130. - expr: sum by (cluster, verb, scope, le) (increase(apiserver_request_slo_duration_seconds_bucket[1h]))
  39131. record: cluster_verb_scope_le:apiserver_request_slo_duration_seconds_bucket:increase1h
  39132. - expr: sum by (cluster, verb, scope, le) (avg_over_time(cluster_verb_scope_le:apiserver_request_slo_duration_seconds_bucket:increase1h[30d]) * 24 * 30)
  39133. record: cluster_verb_scope_le:apiserver_request_slo_duration_seconds_bucket:increase30d
  39134. - expr: |-
  39135. 1 - (
  39136. (
  39137. # write too slow
  39138. sum by (cluster) (cluster_verb_scope:apiserver_request_slo_duration_seconds_count:increase30d{verb=~"POST|PUT|PATCH|DELETE"})
  39139. -
  39140. sum by (cluster) (cluster_verb_scope_le:apiserver_request_slo_duration_seconds_bucket:increase30d{verb=~"POST|PUT|PATCH|DELETE",le="1"})
  39141. ) +
  39142. (
  39143. # read too slow
  39144. sum by (cluster) (cluster_verb_scope:apiserver_request_slo_duration_seconds_count:increase30d{verb=~"LIST|GET"})
  39145. -
  39146. (
  39147. (
  39148. sum by (cluster) (cluster_verb_scope_le:apiserver_request_slo_duration_seconds_bucket:increase30d{verb=~"LIST|GET",scope=~"resource|",le="1"})
  39149. or
  39150. vector(0)
  39151. )
  39152. +
  39153. sum by (cluster) (cluster_verb_scope_le:apiserver_request_slo_duration_seconds_bucket:increase30d{verb=~"LIST|GET",scope="namespace",le="5"})
  39154. +
  39155. sum by (cluster) (cluster_verb_scope_le:apiserver_request_slo_duration_seconds_bucket:increase30d{verb=~"LIST|GET",scope="cluster",le="30"})
  39156. )
  39157. ) +
  39158. # errors
  39159. sum by (cluster) (code:apiserver_request_total:increase30d{code=~"5.."} or vector(0))
  39160. )
  39161. /
  39162. sum by (cluster) (code:apiserver_request_total:increase30d)
  39163. labels:
  39164. verb: all
  39165. record: apiserver_request:availability30d
  39166. - expr: |-
  39167. 1 - (
  39168. sum by (cluster) (cluster_verb_scope:apiserver_request_slo_duration_seconds_count:increase30d{verb=~"LIST|GET"})
  39169. -
  39170. (
  39171. # too slow
  39172. (
  39173. sum by (cluster) (cluster_verb_scope_le:apiserver_request_slo_duration_seconds_bucket:increase30d{verb=~"LIST|GET",scope=~"resource|",le="1"})
  39174. or
  39175. vector(0)
  39176. )
  39177. +
  39178. sum by (cluster) (cluster_verb_scope_le:apiserver_request_slo_duration_seconds_bucket:increase30d{verb=~"LIST|GET",scope="namespace",le="5"})
  39179. +
  39180. sum by (cluster) (cluster_verb_scope_le:apiserver_request_slo_duration_seconds_bucket:increase30d{verb=~"LIST|GET",scope="cluster",le="30"})
  39181. )
  39182. +
  39183. # errors
  39184. sum by (cluster) (code:apiserver_request_total:increase30d{verb="read",code=~"5.."} or vector(0))
  39185. )
  39186. /
  39187. sum by (cluster) (code:apiserver_request_total:increase30d{verb="read"})
  39188. labels:
  39189. verb: read
  39190. record: apiserver_request:availability30d
  39191. - expr: |-
  39192. 1 - (
  39193. (
  39194. # too slow
  39195. sum by (cluster) (cluster_verb_scope:apiserver_request_slo_duration_seconds_count:increase30d{verb=~"POST|PUT|PATCH|DELETE"})
  39196. -
  39197. sum by (cluster) (cluster_verb_scope_le:apiserver_request_slo_duration_seconds_bucket:increase30d{verb=~"POST|PUT|PATCH|DELETE",le="1"})
  39198. )
  39199. +
  39200. # errors
  39201. sum by (cluster) (code:apiserver_request_total:increase30d{verb="write",code=~"5.."} or vector(0))
  39202. )
  39203. /
  39204. sum by (cluster) (code:apiserver_request_total:increase30d{verb="write"})
  39205. labels:
  39206. verb: write
  39207. record: apiserver_request:availability30d
  39208. - expr: sum by (cluster,code,resource) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET"}[5m]))
  39209. labels:
  39210. verb: read
  39211. record: code_resource:apiserver_request_total:rate5m
  39212. - expr: sum by (cluster,code,resource) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE"}[5m]))
  39213. labels:
  39214. verb: write
  39215. record: code_resource:apiserver_request_total:rate5m
  39216. - expr: sum by (cluster, code, verb) (increase(apiserver_request_total{job="apiserver",verb=~"LIST|GET|POST|PUT|PATCH|DELETE",code=~"2.."}[1h]))
  39217. record: code_verb:apiserver_request_total:increase1h
  39218. - expr: sum by (cluster, code, verb) (increase(apiserver_request_total{job="apiserver",verb=~"LIST|GET|POST|PUT|PATCH|DELETE",code=~"3.."}[1h]))
  39219. record: code_verb:apiserver_request_total:increase1h
  39220. - expr: sum by (cluster, code, verb) (increase(apiserver_request_total{job="apiserver",verb=~"LIST|GET|POST|PUT|PATCH|DELETE",code=~"4.."}[1h]))
  39221. record: code_verb:apiserver_request_total:increase1h
  39222. - expr: sum by (cluster, code, verb) (increase(apiserver_request_total{job="apiserver",verb=~"LIST|GET|POST|PUT|PATCH|DELETE",code=~"5.."}[1h]))
  39223. record: code_verb:apiserver_request_total:increase1h
  39224. ---
  39225. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kube-apiserver-burnrate.rules.yaml
  39226. apiVersion: monitoring.coreos.com/v1
  39227. kind: PrometheusRule
  39228. metadata:
  39229. name: prometheus-kube-prometheus-kube-apiserver-burnrate.rules
  39230. namespace: monitoring
  39231. labels:
  39232. app: kube-prometheus-stack
  39233. app.kubernetes.io/managed-by: Helm
  39234. app.kubernetes.io/instance: prometheus
  39235. app.kubernetes.io/version: "44.3.0"
  39236. app.kubernetes.io/part-of: kube-prometheus-stack
  39237. chart: kube-prometheus-stack-44.3.0
  39238. release: "prometheus"
  39239. heritage: "Helm"
  39240. spec:
  39241. groups:
  39242. - name: kube-apiserver-burnrate.rules
  39243. rules:
  39244. - expr: |-
  39245. (
  39246. (
  39247. # too slow
  39248. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward"}[1d]))
  39249. -
  39250. (
  39251. (
  39252. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope=~"resource|",le="1"}[1d]))
  39253. or
  39254. vector(0)
  39255. )
  39256. +
  39257. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="namespace",le="5"}[1d]))
  39258. +
  39259. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="cluster",le="30"}[1d]))
  39260. )
  39261. )
  39262. +
  39263. # errors
  39264. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET",code=~"5.."}[1d]))
  39265. )
  39266. /
  39267. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET"}[1d]))
  39268. labels:
  39269. verb: read
  39270. record: apiserver_request:burnrate1d
  39271. - expr: |-
  39272. (
  39273. (
  39274. # too slow
  39275. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward"}[1h]))
  39276. -
  39277. (
  39278. (
  39279. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope=~"resource|",le="1"}[1h]))
  39280. or
  39281. vector(0)
  39282. )
  39283. +
  39284. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="namespace",le="5"}[1h]))
  39285. +
  39286. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="cluster",le="30"}[1h]))
  39287. )
  39288. )
  39289. +
  39290. # errors
  39291. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET",code=~"5.."}[1h]))
  39292. )
  39293. /
  39294. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET"}[1h]))
  39295. labels:
  39296. verb: read
  39297. record: apiserver_request:burnrate1h
  39298. - expr: |-
  39299. (
  39300. (
  39301. # too slow
  39302. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward"}[2h]))
  39303. -
  39304. (
  39305. (
  39306. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope=~"resource|",le="1"}[2h]))
  39307. or
  39308. vector(0)
  39309. )
  39310. +
  39311. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="namespace",le="5"}[2h]))
  39312. +
  39313. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="cluster",le="30"}[2h]))
  39314. )
  39315. )
  39316. +
  39317. # errors
  39318. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET",code=~"5.."}[2h]))
  39319. )
  39320. /
  39321. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET"}[2h]))
  39322. labels:
  39323. verb: read
  39324. record: apiserver_request:burnrate2h
  39325. - expr: |-
  39326. (
  39327. (
  39328. # too slow
  39329. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward"}[30m]))
  39330. -
  39331. (
  39332. (
  39333. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope=~"resource|",le="1"}[30m]))
  39334. or
  39335. vector(0)
  39336. )
  39337. +
  39338. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="namespace",le="5"}[30m]))
  39339. +
  39340. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="cluster",le="30"}[30m]))
  39341. )
  39342. )
  39343. +
  39344. # errors
  39345. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET",code=~"5.."}[30m]))
  39346. )
  39347. /
  39348. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET"}[30m]))
  39349. labels:
  39350. verb: read
  39351. record: apiserver_request:burnrate30m
  39352. - expr: |-
  39353. (
  39354. (
  39355. # too slow
  39356. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward"}[3d]))
  39357. -
  39358. (
  39359. (
  39360. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope=~"resource|",le="1"}[3d]))
  39361. or
  39362. vector(0)
  39363. )
  39364. +
  39365. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="namespace",le="5"}[3d]))
  39366. +
  39367. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="cluster",le="30"}[3d]))
  39368. )
  39369. )
  39370. +
  39371. # errors
  39372. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET",code=~"5.."}[3d]))
  39373. )
  39374. /
  39375. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET"}[3d]))
  39376. labels:
  39377. verb: read
  39378. record: apiserver_request:burnrate3d
  39379. - expr: |-
  39380. (
  39381. (
  39382. # too slow
  39383. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward"}[5m]))
  39384. -
  39385. (
  39386. (
  39387. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope=~"resource|",le="1"}[5m]))
  39388. or
  39389. vector(0)
  39390. )
  39391. +
  39392. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="namespace",le="5"}[5m]))
  39393. +
  39394. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="cluster",le="30"}[5m]))
  39395. )
  39396. )
  39397. +
  39398. # errors
  39399. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET",code=~"5.."}[5m]))
  39400. )
  39401. /
  39402. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET"}[5m]))
  39403. labels:
  39404. verb: read
  39405. record: apiserver_request:burnrate5m
  39406. - expr: |-
  39407. (
  39408. (
  39409. # too slow
  39410. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward"}[6h]))
  39411. -
  39412. (
  39413. (
  39414. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope=~"resource|",le="1"}[6h]))
  39415. or
  39416. vector(0)
  39417. )
  39418. +
  39419. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="namespace",le="5"}[6h]))
  39420. +
  39421. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward",scope="cluster",le="30"}[6h]))
  39422. )
  39423. )
  39424. +
  39425. # errors
  39426. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET",code=~"5.."}[6h]))
  39427. )
  39428. /
  39429. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"LIST|GET"}[6h]))
  39430. labels:
  39431. verb: read
  39432. record: apiserver_request:burnrate6h
  39433. - expr: |-
  39434. (
  39435. (
  39436. # too slow
  39437. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward"}[1d]))
  39438. -
  39439. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward",le="1"}[1d]))
  39440. )
  39441. +
  39442. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",code=~"5.."}[1d]))
  39443. )
  39444. /
  39445. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE"}[1d]))
  39446. labels:
  39447. verb: write
  39448. record: apiserver_request:burnrate1d
  39449. - expr: |-
  39450. (
  39451. (
  39452. # too slow
  39453. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward"}[1h]))
  39454. -
  39455. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward",le="1"}[1h]))
  39456. )
  39457. +
  39458. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",code=~"5.."}[1h]))
  39459. )
  39460. /
  39461. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE"}[1h]))
  39462. labels:
  39463. verb: write
  39464. record: apiserver_request:burnrate1h
  39465. - expr: |-
  39466. (
  39467. (
  39468. # too slow
  39469. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward"}[2h]))
  39470. -
  39471. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward",le="1"}[2h]))
  39472. )
  39473. +
  39474. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",code=~"5.."}[2h]))
  39475. )
  39476. /
  39477. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE"}[2h]))
  39478. labels:
  39479. verb: write
  39480. record: apiserver_request:burnrate2h
  39481. - expr: |-
  39482. (
  39483. (
  39484. # too slow
  39485. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward"}[30m]))
  39486. -
  39487. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward",le="1"}[30m]))
  39488. )
  39489. +
  39490. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",code=~"5.."}[30m]))
  39491. )
  39492. /
  39493. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE"}[30m]))
  39494. labels:
  39495. verb: write
  39496. record: apiserver_request:burnrate30m
  39497. - expr: |-
  39498. (
  39499. (
  39500. # too slow
  39501. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward"}[3d]))
  39502. -
  39503. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward",le="1"}[3d]))
  39504. )
  39505. +
  39506. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",code=~"5.."}[3d]))
  39507. )
  39508. /
  39509. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE"}[3d]))
  39510. labels:
  39511. verb: write
  39512. record: apiserver_request:burnrate3d
  39513. - expr: |-
  39514. (
  39515. (
  39516. # too slow
  39517. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward"}[5m]))
  39518. -
  39519. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward",le="1"}[5m]))
  39520. )
  39521. +
  39522. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",code=~"5.."}[5m]))
  39523. )
  39524. /
  39525. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE"}[5m]))
  39526. labels:
  39527. verb: write
  39528. record: apiserver_request:burnrate5m
  39529. - expr: |-
  39530. (
  39531. (
  39532. # too slow
  39533. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_count{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward"}[6h]))
  39534. -
  39535. sum by (cluster) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward",le="1"}[6h]))
  39536. )
  39537. +
  39538. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",code=~"5.."}[6h]))
  39539. )
  39540. /
  39541. sum by (cluster) (rate(apiserver_request_total{job="apiserver",verb=~"POST|PUT|PATCH|DELETE"}[6h]))
  39542. labels:
  39543. verb: write
  39544. record: apiserver_request:burnrate6h
  39545. ---
  39546. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kube-apiserver-histogram.rules.yaml
  39547. apiVersion: monitoring.coreos.com/v1
  39548. kind: PrometheusRule
  39549. metadata:
  39550. name: prometheus-kube-prometheus-kube-apiserver-histogram.rules
  39551. namespace: monitoring
  39552. labels:
  39553. app: kube-prometheus-stack
  39554. app.kubernetes.io/managed-by: Helm
  39555. app.kubernetes.io/instance: prometheus
  39556. app.kubernetes.io/version: "44.3.0"
  39557. app.kubernetes.io/part-of: kube-prometheus-stack
  39558. chart: kube-prometheus-stack-44.3.0
  39559. release: "prometheus"
  39560. heritage: "Helm"
  39561. spec:
  39562. groups:
  39563. - name: kube-apiserver-histogram.rules
  39564. rules:
  39565. - expr: histogram_quantile(0.99, sum by (cluster, le, resource) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"LIST|GET",subresource!~"proxy|attach|log|exec|portforward"}[5m]))) > 0
  39566. labels:
  39567. quantile: '0.99'
  39568. verb: read
  39569. record: cluster_quantile:apiserver_request_slo_duration_seconds:histogram_quantile
  39570. - expr: histogram_quantile(0.99, sum by (cluster, le, resource) (rate(apiserver_request_slo_duration_seconds_bucket{job="apiserver",verb=~"POST|PUT|PATCH|DELETE",subresource!~"proxy|attach|log|exec|portforward"}[5m]))) > 0
  39571. labels:
  39572. quantile: '0.99'
  39573. verb: write
  39574. record: cluster_quantile:apiserver_request_slo_duration_seconds:histogram_quantile
  39575. ---
  39576. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kube-apiserver-slos.yaml
  39577. apiVersion: monitoring.coreos.com/v1
  39578. kind: PrometheusRule
  39579. metadata:
  39580. name: prometheus-kube-prometheus-kube-apiserver-slos
  39581. namespace: monitoring
  39582. labels:
  39583. app: kube-prometheus-stack
  39584. app.kubernetes.io/managed-by: Helm
  39585. app.kubernetes.io/instance: prometheus
  39586. app.kubernetes.io/version: "44.3.0"
  39587. app.kubernetes.io/part-of: kube-prometheus-stack
  39588. chart: kube-prometheus-stack-44.3.0
  39589. release: "prometheus"
  39590. heritage: "Helm"
  39591. spec:
  39592. groups:
  39593. - name: kube-apiserver-slos
  39594. rules:
  39595. - alert: KubeAPIErrorBudgetBurn
  39596. annotations:
  39597. description: The API server is burning too much error budget.
  39598. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeapierrorbudgetburn
  39599. summary: The API server is burning too much error budget.
  39600. expr: |-
  39601. sum(apiserver_request:burnrate1h) > (14.40 * 0.01000)
  39602. and
  39603. sum(apiserver_request:burnrate5m) > (14.40 * 0.01000)
  39604. for: 2m
  39605. labels:
  39606. long: 1h
  39607. severity: critical
  39608. short: 5m
  39609. - alert: KubeAPIErrorBudgetBurn
  39610. annotations:
  39611. description: The API server is burning too much error budget.
  39612. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeapierrorbudgetburn
  39613. summary: The API server is burning too much error budget.
  39614. expr: |-
  39615. sum(apiserver_request:burnrate6h) > (6.00 * 0.01000)
  39616. and
  39617. sum(apiserver_request:burnrate30m) > (6.00 * 0.01000)
  39618. for: 15m
  39619. labels:
  39620. long: 6h
  39621. severity: critical
  39622. short: 30m
  39623. - alert: KubeAPIErrorBudgetBurn
  39624. annotations:
  39625. description: The API server is burning too much error budget.
  39626. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeapierrorbudgetburn
  39627. summary: The API server is burning too much error budget.
  39628. expr: |-
  39629. sum(apiserver_request:burnrate1d) > (3.00 * 0.01000)
  39630. and
  39631. sum(apiserver_request:burnrate2h) > (3.00 * 0.01000)
  39632. for: 1h
  39633. labels:
  39634. long: 1d
  39635. severity: warning
  39636. short: 2h
  39637. - alert: KubeAPIErrorBudgetBurn
  39638. annotations:
  39639. description: The API server is burning too much error budget.
  39640. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeapierrorbudgetburn
  39641. summary: The API server is burning too much error budget.
  39642. expr: |-
  39643. sum(apiserver_request:burnrate3d) > (1.00 * 0.01000)
  39644. and
  39645. sum(apiserver_request:burnrate6h) > (1.00 * 0.01000)
  39646. for: 3h
  39647. labels:
  39648. long: 3d
  39649. severity: warning
  39650. short: 6h
  39651. ---
  39652. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kube-prometheus-general.rules.yaml
  39653. apiVersion: monitoring.coreos.com/v1
  39654. kind: PrometheusRule
  39655. metadata:
  39656. name: prometheus-kube-prometheus-kube-prometheus-general.rules
  39657. namespace: monitoring
  39658. labels:
  39659. app: kube-prometheus-stack
  39660. app.kubernetes.io/managed-by: Helm
  39661. app.kubernetes.io/instance: prometheus
  39662. app.kubernetes.io/version: "44.3.0"
  39663. app.kubernetes.io/part-of: kube-prometheus-stack
  39664. chart: kube-prometheus-stack-44.3.0
  39665. release: "prometheus"
  39666. heritage: "Helm"
  39667. spec:
  39668. groups:
  39669. - name: kube-prometheus-general.rules
  39670. rules:
  39671. - expr: count without(instance, pod, node) (up == 1)
  39672. record: count:up1
  39673. - expr: count without(instance, pod, node) (up == 0)
  39674. record: count:up0
  39675. ---
  39676. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kube-prometheus-node-recording.rules.yaml
  39677. apiVersion: monitoring.coreos.com/v1
  39678. kind: PrometheusRule
  39679. metadata:
  39680. name: prometheus-kube-prometheus-kube-prometheus-node-recording.rules
  39681. namespace: monitoring
  39682. labels:
  39683. app: kube-prometheus-stack
  39684. app.kubernetes.io/managed-by: Helm
  39685. app.kubernetes.io/instance: prometheus
  39686. app.kubernetes.io/version: "44.3.0"
  39687. app.kubernetes.io/part-of: kube-prometheus-stack
  39688. chart: kube-prometheus-stack-44.3.0
  39689. release: "prometheus"
  39690. heritage: "Helm"
  39691. spec:
  39692. groups:
  39693. - name: kube-prometheus-node-recording.rules
  39694. rules:
  39695. - expr: sum(rate(node_cpu_seconds_total{mode!="idle",mode!="iowait",mode!="steal"}[3m])) BY (instance)
  39696. record: instance:node_cpu:rate:sum
  39697. - expr: sum(rate(node_network_receive_bytes_total[3m])) BY (instance)
  39698. record: instance:node_network_receive_bytes:rate:sum
  39699. - expr: sum(rate(node_network_transmit_bytes_total[3m])) BY (instance)
  39700. record: instance:node_network_transmit_bytes:rate:sum
  39701. - expr: sum(rate(node_cpu_seconds_total{mode!="idle",mode!="iowait",mode!="steal"}[5m])) WITHOUT (cpu, mode) / ON(instance) GROUP_LEFT() count(sum(node_cpu_seconds_total) BY (instance, cpu)) BY (instance)
  39702. record: instance:node_cpu:ratio
  39703. - expr: sum(rate(node_cpu_seconds_total{mode!="idle",mode!="iowait",mode!="steal"}[5m]))
  39704. record: cluster:node_cpu:sum_rate5m
  39705. - expr: cluster:node_cpu:sum_rate5m / count(sum(node_cpu_seconds_total) BY (instance, cpu))
  39706. record: cluster:node_cpu:ratio
  39707. ---
  39708. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kube-scheduler.rules.yaml
  39709. apiVersion: monitoring.coreos.com/v1
  39710. kind: PrometheusRule
  39711. metadata:
  39712. name: prometheus-kube-prometheus-kube-scheduler.rules
  39713. namespace: monitoring
  39714. labels:
  39715. app: kube-prometheus-stack
  39716. app.kubernetes.io/managed-by: Helm
  39717. app.kubernetes.io/instance: prometheus
  39718. app.kubernetes.io/version: "44.3.0"
  39719. app.kubernetes.io/part-of: kube-prometheus-stack
  39720. chart: kube-prometheus-stack-44.3.0
  39721. release: "prometheus"
  39722. heritage: "Helm"
  39723. spec:
  39724. groups:
  39725. - name: kube-scheduler.rules
  39726. rules:
  39727. - expr: histogram_quantile(0.99, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job="kube-scheduler"}[5m])) without(instance, pod))
  39728. labels:
  39729. quantile: '0.99'
  39730. record: cluster_quantile:scheduler_e2e_scheduling_duration_seconds:histogram_quantile
  39731. - expr: histogram_quantile(0.99, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job="kube-scheduler"}[5m])) without(instance, pod))
  39732. labels:
  39733. quantile: '0.99'
  39734. record: cluster_quantile:scheduler_scheduling_algorithm_duration_seconds:histogram_quantile
  39735. - expr: histogram_quantile(0.99, sum(rate(scheduler_binding_duration_seconds_bucket{job="kube-scheduler"}[5m])) without(instance, pod))
  39736. labels:
  39737. quantile: '0.99'
  39738. record: cluster_quantile:scheduler_binding_duration_seconds:histogram_quantile
  39739. - expr: histogram_quantile(0.9, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job="kube-scheduler"}[5m])) without(instance, pod))
  39740. labels:
  39741. quantile: '0.9'
  39742. record: cluster_quantile:scheduler_e2e_scheduling_duration_seconds:histogram_quantile
  39743. - expr: histogram_quantile(0.9, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job="kube-scheduler"}[5m])) without(instance, pod))
  39744. labels:
  39745. quantile: '0.9'
  39746. record: cluster_quantile:scheduler_scheduling_algorithm_duration_seconds:histogram_quantile
  39747. - expr: histogram_quantile(0.9, sum(rate(scheduler_binding_duration_seconds_bucket{job="kube-scheduler"}[5m])) without(instance, pod))
  39748. labels:
  39749. quantile: '0.9'
  39750. record: cluster_quantile:scheduler_binding_duration_seconds:histogram_quantile
  39751. - expr: histogram_quantile(0.5, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job="kube-scheduler"}[5m])) without(instance, pod))
  39752. labels:
  39753. quantile: '0.5'
  39754. record: cluster_quantile:scheduler_e2e_scheduling_duration_seconds:histogram_quantile
  39755. - expr: histogram_quantile(0.5, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job="kube-scheduler"}[5m])) without(instance, pod))
  39756. labels:
  39757. quantile: '0.5'
  39758. record: cluster_quantile:scheduler_scheduling_algorithm_duration_seconds:histogram_quantile
  39759. - expr: histogram_quantile(0.5, sum(rate(scheduler_binding_duration_seconds_bucket{job="kube-scheduler"}[5m])) without(instance, pod))
  39760. labels:
  39761. quantile: '0.5'
  39762. record: cluster_quantile:scheduler_binding_duration_seconds:histogram_quantile
  39763. ---
  39764. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kube-state-metrics.yaml
  39765. apiVersion: monitoring.coreos.com/v1
  39766. kind: PrometheusRule
  39767. metadata:
  39768. name: prometheus-kube-prometheus-kube-state-metrics
  39769. namespace: monitoring
  39770. labels:
  39771. app: kube-prometheus-stack
  39772. app.kubernetes.io/managed-by: Helm
  39773. app.kubernetes.io/instance: prometheus
  39774. app.kubernetes.io/version: "44.3.0"
  39775. app.kubernetes.io/part-of: kube-prometheus-stack
  39776. chart: kube-prometheus-stack-44.3.0
  39777. release: "prometheus"
  39778. heritage: "Helm"
  39779. spec:
  39780. groups:
  39781. - name: kube-state-metrics
  39782. rules:
  39783. - alert: KubeStateMetricsListErrors
  39784. annotations:
  39785. description: kube-state-metrics is experiencing errors at an elevated rate in list operations. This is likely causing it to not be able to expose metrics about Kubernetes objects correctly or at all.
  39786. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kube-state-metrics/kubestatemetricslisterrors
  39787. summary: kube-state-metrics is experiencing errors in list operations.
  39788. expr: |-
  39789. (sum(rate(kube_state_metrics_list_total{job="kube-state-metrics",result="error"}[5m]))
  39790. /
  39791. sum(rate(kube_state_metrics_list_total{job="kube-state-metrics"}[5m])))
  39792. > 0.01
  39793. for: 15m
  39794. labels:
  39795. severity: critical
  39796. - alert: KubeStateMetricsWatchErrors
  39797. annotations:
  39798. description: kube-state-metrics is experiencing errors at an elevated rate in watch operations. This is likely causing it to not be able to expose metrics about Kubernetes objects correctly or at all.
  39799. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kube-state-metrics/kubestatemetricswatcherrors
  39800. summary: kube-state-metrics is experiencing errors in watch operations.
  39801. expr: |-
  39802. (sum(rate(kube_state_metrics_watch_total{job="kube-state-metrics",result="error"}[5m]))
  39803. /
  39804. sum(rate(kube_state_metrics_watch_total{job="kube-state-metrics"}[5m])))
  39805. > 0.01
  39806. for: 15m
  39807. labels:
  39808. severity: critical
  39809. - alert: KubeStateMetricsShardingMismatch
  39810. annotations:
  39811. description: kube-state-metrics pods are running with different --total-shards configuration, some Kubernetes objects may be exposed multiple times or not exposed at all.
  39812. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kube-state-metrics/kubestatemetricsshardingmismatch
  39813. summary: kube-state-metrics sharding is misconfigured.
  39814. expr: stdvar (kube_state_metrics_total_shards{job="kube-state-metrics"}) != 0
  39815. for: 15m
  39816. labels:
  39817. severity: critical
  39818. - alert: KubeStateMetricsShardsMissing
  39819. annotations:
  39820. description: kube-state-metrics shards are missing, some Kubernetes objects are not being exposed.
  39821. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kube-state-metrics/kubestatemetricsshardsmissing
  39822. summary: kube-state-metrics shards are missing.
  39823. expr: |-
  39824. 2^max(kube_state_metrics_total_shards{job="kube-state-metrics"}) - 1
  39825. -
  39826. sum( 2 ^ max by (shard_ordinal) (kube_state_metrics_shard_ordinal{job="kube-state-metrics"}) )
  39827. != 0
  39828. for: 15m
  39829. labels:
  39830. severity: critical
  39831. ---
  39832. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kubelet.rules.yaml
  39833. apiVersion: monitoring.coreos.com/v1
  39834. kind: PrometheusRule
  39835. metadata:
  39836. name: prometheus-kube-prometheus-kubelet.rules
  39837. namespace: monitoring
  39838. labels:
  39839. app: kube-prometheus-stack
  39840. app.kubernetes.io/managed-by: Helm
  39841. app.kubernetes.io/instance: prometheus
  39842. app.kubernetes.io/version: "44.3.0"
  39843. app.kubernetes.io/part-of: kube-prometheus-stack
  39844. chart: kube-prometheus-stack-44.3.0
  39845. release: "prometheus"
  39846. heritage: "Helm"
  39847. spec:
  39848. groups:
  39849. - name: kubelet.rules
  39850. rules:
  39851. - expr: histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket[5m])) by (cluster, instance, le) * on(cluster, instance) group_left(node) kubelet_node_name{job="kubelet", metrics_path="/metrics"})
  39852. labels:
  39853. quantile: '0.99'
  39854. record: node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile
  39855. - expr: histogram_quantile(0.9, sum(rate(kubelet_pleg_relist_duration_seconds_bucket[5m])) by (cluster, instance, le) * on(cluster, instance) group_left(node) kubelet_node_name{job="kubelet", metrics_path="/metrics"})
  39856. labels:
  39857. quantile: '0.9'
  39858. record: node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile
  39859. - expr: histogram_quantile(0.5, sum(rate(kubelet_pleg_relist_duration_seconds_bucket[5m])) by (cluster, instance, le) * on(cluster, instance) group_left(node) kubelet_node_name{job="kubelet", metrics_path="/metrics"})
  39860. labels:
  39861. quantile: '0.5'
  39862. record: node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile
  39863. ---
  39864. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kubernetes-apps.yaml
  39865. apiVersion: monitoring.coreos.com/v1
  39866. kind: PrometheusRule
  39867. metadata:
  39868. name: prometheus-kube-prometheus-kubernetes-apps
  39869. namespace: monitoring
  39870. labels:
  39871. app: kube-prometheus-stack
  39872. app.kubernetes.io/managed-by: Helm
  39873. app.kubernetes.io/instance: prometheus
  39874. app.kubernetes.io/version: "44.3.0"
  39875. app.kubernetes.io/part-of: kube-prometheus-stack
  39876. chart: kube-prometheus-stack-44.3.0
  39877. release: "prometheus"
  39878. heritage: "Helm"
  39879. spec:
  39880. groups:
  39881. - name: kubernetes-apps
  39882. rules:
  39883. - alert: KubePodCrashLooping
  39884. annotations:
  39885. description: 'Pod {{ $labels.namespace }}/{{ $labels.pod }} ({{ $labels.container }}) is in waiting state (reason: "CrashLoopBackOff").'
  39886. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubepodcrashlooping
  39887. summary: Pod is crash looping.
  39888. expr: max_over_time(kube_pod_container_status_waiting_reason{reason="CrashLoopBackOff", job="kube-state-metrics", namespace=~".*"}[5m]) >= 1
  39889. for: 15m
  39890. labels:
  39891. severity: warning
  39892. - alert: KubePodNotReady
  39893. annotations:
  39894. description: Pod {{ $labels.namespace }}/{{ $labels.pod }} has been in a non-ready state for longer than 15 minutes.
  39895. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubepodnotready
  39896. summary: Pod has been in a non-ready state for more than 15 minutes.
  39897. expr: |-
  39898. sum by (namespace, pod, cluster) (
  39899. max by(namespace, pod, cluster) (
  39900. kube_pod_status_phase{job="kube-state-metrics", namespace=~".*", phase=~"Pending|Unknown|Failed"}
  39901. ) * on(namespace, pod, cluster) group_left(owner_kind) topk by(namespace, pod, cluster) (
  39902. 1, max by(namespace, pod, owner_kind, cluster) (kube_pod_owner{owner_kind!="Job"})
  39903. )
  39904. ) > 0
  39905. for: 15m
  39906. labels:
  39907. severity: warning
  39908. - alert: KubeDeploymentGenerationMismatch
  39909. annotations:
  39910. description: Deployment generation for {{ $labels.namespace }}/{{ $labels.deployment }} does not match, this indicates that the Deployment has failed but has not been rolled back.
  39911. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubedeploymentgenerationmismatch
  39912. summary: Deployment generation mismatch due to possible roll-back
  39913. expr: |-
  39914. kube_deployment_status_observed_generation{job="kube-state-metrics", namespace=~".*"}
  39915. !=
  39916. kube_deployment_metadata_generation{job="kube-state-metrics", namespace=~".*"}
  39917. for: 15m
  39918. labels:
  39919. severity: warning
  39920. - alert: KubeDeploymentReplicasMismatch
  39921. annotations:
  39922. description: Deployment {{ $labels.namespace }}/{{ $labels.deployment }} has not matched the expected number of replicas for longer than 15 minutes.
  39923. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubedeploymentreplicasmismatch
  39924. summary: Deployment has not matched the expected number of replicas.
  39925. expr: |-
  39926. (
  39927. kube_deployment_spec_replicas{job="kube-state-metrics", namespace=~".*"}
  39928. >
  39929. kube_deployment_status_replicas_available{job="kube-state-metrics", namespace=~".*"}
  39930. ) and (
  39931. changes(kube_deployment_status_replicas_updated{job="kube-state-metrics", namespace=~".*"}[10m])
  39932. ==
  39933. 0
  39934. )
  39935. for: 15m
  39936. labels:
  39937. severity: warning
  39938. - alert: KubeStatefulSetReplicasMismatch
  39939. annotations:
  39940. description: StatefulSet {{ $labels.namespace }}/{{ $labels.statefulset }} has not matched the expected number of replicas for longer than 15 minutes.
  39941. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubestatefulsetreplicasmismatch
  39942. summary: Deployment has not matched the expected number of replicas.
  39943. expr: |-
  39944. (
  39945. kube_statefulset_status_replicas_ready{job="kube-state-metrics", namespace=~".*"}
  39946. !=
  39947. kube_statefulset_status_replicas{job="kube-state-metrics", namespace=~".*"}
  39948. ) and (
  39949. changes(kube_statefulset_status_replicas_updated{job="kube-state-metrics", namespace=~".*"}[10m])
  39950. ==
  39951. 0
  39952. )
  39953. for: 15m
  39954. labels:
  39955. severity: warning
  39956. - alert: KubeStatefulSetGenerationMismatch
  39957. annotations:
  39958. description: StatefulSet generation for {{ $labels.namespace }}/{{ $labels.statefulset }} does not match, this indicates that the StatefulSet has failed but has not been rolled back.
  39959. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubestatefulsetgenerationmismatch
  39960. summary: StatefulSet generation mismatch due to possible roll-back
  39961. expr: |-
  39962. kube_statefulset_status_observed_generation{job="kube-state-metrics", namespace=~".*"}
  39963. !=
  39964. kube_statefulset_metadata_generation{job="kube-state-metrics", namespace=~".*"}
  39965. for: 15m
  39966. labels:
  39967. severity: warning
  39968. - alert: KubeStatefulSetUpdateNotRolledOut
  39969. annotations:
  39970. description: StatefulSet {{ $labels.namespace }}/{{ $labels.statefulset }} update has not been rolled out.
  39971. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubestatefulsetupdatenotrolledout
  39972. summary: StatefulSet update has not been rolled out.
  39973. expr: |-
  39974. (
  39975. max without (revision) (
  39976. kube_statefulset_status_current_revision{job="kube-state-metrics", namespace=~".*"}
  39977. unless
  39978. kube_statefulset_status_update_revision{job="kube-state-metrics", namespace=~".*"}
  39979. )
  39980. *
  39981. (
  39982. kube_statefulset_replicas{job="kube-state-metrics", namespace=~".*"}
  39983. !=
  39984. kube_statefulset_status_replicas_updated{job="kube-state-metrics", namespace=~".*"}
  39985. )
  39986. ) and (
  39987. changes(kube_statefulset_status_replicas_updated{job="kube-state-metrics", namespace=~".*"}[5m])
  39988. ==
  39989. 0
  39990. )
  39991. for: 15m
  39992. labels:
  39993. severity: warning
  39994. - alert: KubeDaemonSetRolloutStuck
  39995. annotations:
  39996. description: DaemonSet {{ $labels.namespace }}/{{ $labels.daemonset }} has not finished or progressed for at least 15 minutes.
  39997. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubedaemonsetrolloutstuck
  39998. summary: DaemonSet rollout is stuck.
  39999. expr: |-
  40000. (
  40001. (
  40002. kube_daemonset_status_current_number_scheduled{job="kube-state-metrics", namespace=~".*"}
  40003. !=
  40004. kube_daemonset_status_desired_number_scheduled{job="kube-state-metrics", namespace=~".*"}
  40005. ) or (
  40006. kube_daemonset_status_number_misscheduled{job="kube-state-metrics", namespace=~".*"}
  40007. !=
  40008. 0
  40009. ) or (
  40010. kube_daemonset_status_updated_number_scheduled{job="kube-state-metrics", namespace=~".*"}
  40011. !=
  40012. kube_daemonset_status_desired_number_scheduled{job="kube-state-metrics", namespace=~".*"}
  40013. ) or (
  40014. kube_daemonset_status_number_available{job="kube-state-metrics", namespace=~".*"}
  40015. !=
  40016. kube_daemonset_status_desired_number_scheduled{job="kube-state-metrics", namespace=~".*"}
  40017. )
  40018. ) and (
  40019. changes(kube_daemonset_status_updated_number_scheduled{job="kube-state-metrics", namespace=~".*"}[5m])
  40020. ==
  40021. 0
  40022. )
  40023. for: 15m
  40024. labels:
  40025. severity: warning
  40026. - alert: KubeContainerWaiting
  40027. annotations:
  40028. description: pod/{{ $labels.pod }} in namespace {{ $labels.namespace }} on container {{ $labels.container}} has been in waiting state for longer than 1 hour.
  40029. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubecontainerwaiting
  40030. summary: Pod container waiting longer than 1 hour
  40031. expr: sum by (namespace, pod, container, cluster) (kube_pod_container_status_waiting_reason{job="kube-state-metrics", namespace=~".*"}) > 0
  40032. for: 1h
  40033. labels:
  40034. severity: warning
  40035. - alert: KubeDaemonSetNotScheduled
  40036. annotations:
  40037. description: '{{ $value }} Pods of DaemonSet {{ $labels.namespace }}/{{ $labels.daemonset }} are not scheduled.'
  40038. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubedaemonsetnotscheduled
  40039. summary: DaemonSet pods are not scheduled.
  40040. expr: |-
  40041. kube_daemonset_status_desired_number_scheduled{job="kube-state-metrics", namespace=~".*"}
  40042. -
  40043. kube_daemonset_status_current_number_scheduled{job="kube-state-metrics", namespace=~".*"} > 0
  40044. for: 10m
  40045. labels:
  40046. severity: warning
  40047. - alert: KubeDaemonSetMisScheduled
  40048. annotations:
  40049. description: '{{ $value }} Pods of DaemonSet {{ $labels.namespace }}/{{ $labels.daemonset }} are running where they are not supposed to run.'
  40050. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubedaemonsetmisscheduled
  40051. summary: DaemonSet pods are misscheduled.
  40052. expr: kube_daemonset_status_number_misscheduled{job="kube-state-metrics", namespace=~".*"} > 0
  40053. for: 15m
  40054. labels:
  40055. severity: warning
  40056. - alert: KubeJobNotCompleted
  40057. annotations:
  40058. description: Job {{ $labels.namespace }}/{{ $labels.job_name }} is taking more than {{ "43200" | humanizeDuration }} to complete.
  40059. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubejobnotcompleted
  40060. summary: Job did not complete in time
  40061. expr: |-
  40062. time() - max by(namespace, job_name, cluster) (kube_job_status_start_time{job="kube-state-metrics", namespace=~".*"}
  40063. and
  40064. kube_job_status_active{job="kube-state-metrics", namespace=~".*"} > 0) > 43200
  40065. labels:
  40066. severity: warning
  40067. - alert: KubeJobFailed
  40068. annotations:
  40069. description: Job {{ $labels.namespace }}/{{ $labels.job_name }} failed to complete. Removing failed job after investigation should clear this alert.
  40070. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubejobfailed
  40071. summary: Job failed to complete.
  40072. expr: kube_job_failed{job="kube-state-metrics", namespace=~".*"} > 0
  40073. for: 15m
  40074. labels:
  40075. severity: warning
  40076. - alert: KubeHpaReplicasMismatch
  40077. annotations:
  40078. description: HPA {{ $labels.namespace }}/{{ $labels.horizontalpodautoscaler }} has not matched the desired number of replicas for longer than 15 minutes.
  40079. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubehpareplicasmismatch
  40080. summary: HPA has not matched desired number of replicas.
  40081. expr: |-
  40082. (kube_horizontalpodautoscaler_status_desired_replicas{job="kube-state-metrics", namespace=~".*"}
  40083. !=
  40084. kube_horizontalpodautoscaler_status_current_replicas{job="kube-state-metrics", namespace=~".*"})
  40085. and
  40086. (kube_horizontalpodautoscaler_status_current_replicas{job="kube-state-metrics", namespace=~".*"}
  40087. >
  40088. kube_horizontalpodautoscaler_spec_min_replicas{job="kube-state-metrics", namespace=~".*"})
  40089. and
  40090. (kube_horizontalpodautoscaler_status_current_replicas{job="kube-state-metrics", namespace=~".*"}
  40091. <
  40092. kube_horizontalpodautoscaler_spec_max_replicas{job="kube-state-metrics", namespace=~".*"})
  40093. and
  40094. changes(kube_horizontalpodautoscaler_status_current_replicas{job="kube-state-metrics", namespace=~".*"}[15m]) == 0
  40095. for: 15m
  40096. labels:
  40097. severity: warning
  40098. - alert: KubeHpaMaxedOut
  40099. annotations:
  40100. description: HPA {{ $labels.namespace }}/{{ $labels.horizontalpodautoscaler }} has been running at max replicas for longer than 15 minutes.
  40101. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubehpamaxedout
  40102. summary: HPA is running at max replicas
  40103. expr: |-
  40104. kube_horizontalpodautoscaler_status_current_replicas{job="kube-state-metrics", namespace=~".*"}
  40105. ==
  40106. kube_horizontalpodautoscaler_spec_max_replicas{job="kube-state-metrics", namespace=~".*"}
  40107. for: 15m
  40108. labels:
  40109. severity: warning
  40110. ---
  40111. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kubernetes-resources.yaml
  40112. apiVersion: monitoring.coreos.com/v1
  40113. kind: PrometheusRule
  40114. metadata:
  40115. name: prometheus-kube-prometheus-kubernetes-resources
  40116. namespace: monitoring
  40117. labels:
  40118. app: kube-prometheus-stack
  40119. app.kubernetes.io/managed-by: Helm
  40120. app.kubernetes.io/instance: prometheus
  40121. app.kubernetes.io/version: "44.3.0"
  40122. app.kubernetes.io/part-of: kube-prometheus-stack
  40123. chart: kube-prometheus-stack-44.3.0
  40124. release: "prometheus"
  40125. heritage: "Helm"
  40126. spec:
  40127. groups:
  40128. - name: kubernetes-resources
  40129. rules:
  40130. - alert: KubeCPUOvercommit
  40131. annotations:
  40132. description: Cluster has overcommitted CPU resource requests for Pods by {{ $value }} CPU shares and cannot tolerate node failure.
  40133. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubecpuovercommit
  40134. summary: Cluster has overcommitted CPU resource requests.
  40135. expr: |-
  40136. sum(namespace_cpu:kube_pod_container_resource_requests:sum{}) - (sum(kube_node_status_allocatable{resource="cpu"}) - max(kube_node_status_allocatable{resource="cpu"})) > 0
  40137. and
  40138. (sum(kube_node_status_allocatable{resource="cpu"}) - max(kube_node_status_allocatable{resource="cpu"})) > 0
  40139. for: 10m
  40140. labels:
  40141. severity: warning
  40142. - alert: KubeMemoryOvercommit
  40143. annotations:
  40144. description: Cluster has overcommitted memory resource requests for Pods by {{ $value | humanize }} bytes and cannot tolerate node failure.
  40145. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubememoryovercommit
  40146. summary: Cluster has overcommitted memory resource requests.
  40147. expr: |-
  40148. sum(namespace_memory:kube_pod_container_resource_requests:sum{}) - (sum(kube_node_status_allocatable{resource="memory"}) - max(kube_node_status_allocatable{resource="memory"})) > 0
  40149. and
  40150. (sum(kube_node_status_allocatable{resource="memory"}) - max(kube_node_status_allocatable{resource="memory"})) > 0
  40151. for: 10m
  40152. labels:
  40153. severity: warning
  40154. - alert: KubeCPUQuotaOvercommit
  40155. annotations:
  40156. description: Cluster has overcommitted CPU resource requests for Namespaces.
  40157. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubecpuquotaovercommit
  40158. summary: Cluster has overcommitted CPU resource requests.
  40159. expr: |-
  40160. sum(min without(resource) (kube_resourcequota{job="kube-state-metrics", type="hard", resource=~"(cpu|requests.cpu)"}))
  40161. /
  40162. sum(kube_node_status_allocatable{resource="cpu", job="kube-state-metrics"})
  40163. > 1.5
  40164. for: 5m
  40165. labels:
  40166. severity: warning
  40167. - alert: KubeMemoryQuotaOvercommit
  40168. annotations:
  40169. description: Cluster has overcommitted memory resource requests for Namespaces.
  40170. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubememoryquotaovercommit
  40171. summary: Cluster has overcommitted memory resource requests.
  40172. expr: |-
  40173. sum(min without(resource) (kube_resourcequota{job="kube-state-metrics", type="hard", resource=~"(memory|requests.memory)"}))
  40174. /
  40175. sum(kube_node_status_allocatable{resource="memory", job="kube-state-metrics"})
  40176. > 1.5
  40177. for: 5m
  40178. labels:
  40179. severity: warning
  40180. - alert: KubeQuotaAlmostFull
  40181. annotations:
  40182. description: Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage }} of its {{ $labels.resource }} quota.
  40183. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubequotaalmostfull
  40184. summary: Namespace quota is going to be full.
  40185. expr: |-
  40186. kube_resourcequota{job="kube-state-metrics", type="used"}
  40187. / ignoring(instance, job, type)
  40188. (kube_resourcequota{job="kube-state-metrics", type="hard"} > 0)
  40189. > 0.9 < 1
  40190. for: 15m
  40191. labels:
  40192. severity: info
  40193. - alert: KubeQuotaFullyUsed
  40194. annotations:
  40195. description: Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage }} of its {{ $labels.resource }} quota.
  40196. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubequotafullyused
  40197. summary: Namespace quota is fully used.
  40198. expr: |-
  40199. kube_resourcequota{job="kube-state-metrics", type="used"}
  40200. / ignoring(instance, job, type)
  40201. (kube_resourcequota{job="kube-state-metrics", type="hard"} > 0)
  40202. == 1
  40203. for: 15m
  40204. labels:
  40205. severity: info
  40206. - alert: KubeQuotaExceeded
  40207. annotations:
  40208. description: Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage }} of its {{ $labels.resource }} quota.
  40209. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubequotaexceeded
  40210. summary: Namespace quota has exceeded the limits.
  40211. expr: |-
  40212. kube_resourcequota{job="kube-state-metrics", type="used"}
  40213. / ignoring(instance, job, type)
  40214. (kube_resourcequota{job="kube-state-metrics", type="hard"} > 0)
  40215. > 1
  40216. for: 15m
  40217. labels:
  40218. severity: warning
  40219. - alert: CPUThrottlingHigh
  40220. annotations:
  40221. description: '{{ $value | humanizePercentage }} throttling of CPU in namespace {{ $labels.namespace }} for container {{ $labels.container }} in pod {{ $labels.pod }}.'
  40222. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/cputhrottlinghigh
  40223. summary: Processes experience elevated CPU throttling.
  40224. expr: |-
  40225. sum(increase(container_cpu_cfs_throttled_periods_total{container!="", }[5m])) by (container, pod, namespace)
  40226. /
  40227. sum(increase(container_cpu_cfs_periods_total{}[5m])) by (container, pod, namespace)
  40228. > ( 25 / 100 )
  40229. for: 15m
  40230. labels:
  40231. severity: info
  40232. ---
  40233. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kubernetes-storage.yaml
  40234. apiVersion: monitoring.coreos.com/v1
  40235. kind: PrometheusRule
  40236. metadata:
  40237. name: prometheus-kube-prometheus-kubernetes-storage
  40238. namespace: monitoring
  40239. labels:
  40240. app: kube-prometheus-stack
  40241. app.kubernetes.io/managed-by: Helm
  40242. app.kubernetes.io/instance: prometheus
  40243. app.kubernetes.io/version: "44.3.0"
  40244. app.kubernetes.io/part-of: kube-prometheus-stack
  40245. chart: kube-prometheus-stack-44.3.0
  40246. release: "prometheus"
  40247. heritage: "Helm"
  40248. spec:
  40249. groups:
  40250. - name: kubernetes-storage
  40251. rules:
  40252. - alert: KubePersistentVolumeFillingUp
  40253. annotations:
  40254. description: The PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is only {{ $value | humanizePercentage }} free.
  40255. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubepersistentvolumefillingup
  40256. summary: PersistentVolume is filling up.
  40257. expr: |-
  40258. (
  40259. kubelet_volume_stats_available_bytes{job="kubelet", namespace=~".*", metrics_path="/metrics"}
  40260. /
  40261. kubelet_volume_stats_capacity_bytes{job="kubelet", namespace=~".*", metrics_path="/metrics"}
  40262. ) < 0.03
  40263. and
  40264. kubelet_volume_stats_used_bytes{job="kubelet", namespace=~".*", metrics_path="/metrics"} > 0
  40265. unless on(namespace, persistentvolumeclaim)
  40266. kube_persistentvolumeclaim_access_mode{ access_mode="ReadOnlyMany"} == 1
  40267. unless on(namespace, persistentvolumeclaim)
  40268. kube_persistentvolumeclaim_labels{label_excluded_from_alerts="true"} == 1
  40269. for: 1m
  40270. labels:
  40271. severity: critical
  40272. - alert: KubePersistentVolumeFillingUp
  40273. annotations:
  40274. description: Based on recent sampling, the PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is expected to fill up within four days. Currently {{ $value | humanizePercentage }} is available.
  40275. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubepersistentvolumefillingup
  40276. summary: PersistentVolume is filling up.
  40277. expr: |-
  40278. (
  40279. kubelet_volume_stats_available_bytes{job="kubelet", namespace=~".*", metrics_path="/metrics"}
  40280. /
  40281. kubelet_volume_stats_capacity_bytes{job="kubelet", namespace=~".*", metrics_path="/metrics"}
  40282. ) < 0.15
  40283. and
  40284. kubelet_volume_stats_used_bytes{job="kubelet", namespace=~".*", metrics_path="/metrics"} > 0
  40285. and
  40286. predict_linear(kubelet_volume_stats_available_bytes{job="kubelet", namespace=~".*", metrics_path="/metrics"}[6h], 4 * 24 * 3600) < 0
  40287. unless on(namespace, persistentvolumeclaim)
  40288. kube_persistentvolumeclaim_access_mode{ access_mode="ReadOnlyMany"} == 1
  40289. unless on(namespace, persistentvolumeclaim)
  40290. kube_persistentvolumeclaim_labels{label_excluded_from_alerts="true"} == 1
  40291. for: 1h
  40292. labels:
  40293. severity: warning
  40294. - alert: KubePersistentVolumeInodesFillingUp
  40295. annotations:
  40296. description: The PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} only has {{ $value | humanizePercentage }} free inodes.
  40297. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubepersistentvolumeinodesfillingup
  40298. summary: PersistentVolumeInodes are filling up.
  40299. expr: |-
  40300. (
  40301. kubelet_volume_stats_inodes_free{job="kubelet", namespace=~".*", metrics_path="/metrics"}
  40302. /
  40303. kubelet_volume_stats_inodes{job="kubelet", namespace=~".*", metrics_path="/metrics"}
  40304. ) < 0.03
  40305. and
  40306. kubelet_volume_stats_inodes_used{job="kubelet", namespace=~".*", metrics_path="/metrics"} > 0
  40307. unless on(namespace, persistentvolumeclaim)
  40308. kube_persistentvolumeclaim_access_mode{ access_mode="ReadOnlyMany"} == 1
  40309. unless on(namespace, persistentvolumeclaim)
  40310. kube_persistentvolumeclaim_labels{label_excluded_from_alerts="true"} == 1
  40311. for: 1m
  40312. labels:
  40313. severity: critical
  40314. - alert: KubePersistentVolumeInodesFillingUp
  40315. annotations:
  40316. description: Based on recent sampling, the PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is expected to run out of inodes within four days. Currently {{ $value | humanizePercentage }} of its inodes are free.
  40317. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubepersistentvolumeinodesfillingup
  40318. summary: PersistentVolumeInodes are filling up.
  40319. expr: |-
  40320. (
  40321. kubelet_volume_stats_inodes_free{job="kubelet", namespace=~".*", metrics_path="/metrics"}
  40322. /
  40323. kubelet_volume_stats_inodes{job="kubelet", namespace=~".*", metrics_path="/metrics"}
  40324. ) < 0.15
  40325. and
  40326. kubelet_volume_stats_inodes_used{job="kubelet", namespace=~".*", metrics_path="/metrics"} > 0
  40327. and
  40328. predict_linear(kubelet_volume_stats_inodes_free{job="kubelet", namespace=~".*", metrics_path="/metrics"}[6h], 4 * 24 * 3600) < 0
  40329. unless on(namespace, persistentvolumeclaim)
  40330. kube_persistentvolumeclaim_access_mode{ access_mode="ReadOnlyMany"} == 1
  40331. unless on(namespace, persistentvolumeclaim)
  40332. kube_persistentvolumeclaim_labels{label_excluded_from_alerts="true"} == 1
  40333. for: 1h
  40334. labels:
  40335. severity: warning
  40336. - alert: KubePersistentVolumeErrors
  40337. annotations:
  40338. description: The persistent volume {{ $labels.persistentvolume }} has status {{ $labels.phase }}.
  40339. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubepersistentvolumeerrors
  40340. summary: PersistentVolume is having issues with provisioning.
  40341. expr: kube_persistentvolume_status_phase{phase=~"Failed|Pending",job="kube-state-metrics"} > 0
  40342. for: 5m
  40343. labels:
  40344. severity: critical
  40345. ---
  40346. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kubernetes-system-apiserver.yaml
  40347. apiVersion: monitoring.coreos.com/v1
  40348. kind: PrometheusRule
  40349. metadata:
  40350. name: prometheus-kube-prometheus-kubernetes-system-apiserver
  40351. namespace: monitoring
  40352. labels:
  40353. app: kube-prometheus-stack
  40354. app.kubernetes.io/managed-by: Helm
  40355. app.kubernetes.io/instance: prometheus
  40356. app.kubernetes.io/version: "44.3.0"
  40357. app.kubernetes.io/part-of: kube-prometheus-stack
  40358. chart: kube-prometheus-stack-44.3.0
  40359. release: "prometheus"
  40360. heritage: "Helm"
  40361. spec:
  40362. groups:
  40363. - name: kubernetes-system-apiserver
  40364. rules:
  40365. - alert: KubeClientCertificateExpiration
  40366. annotations:
  40367. description: A client certificate used to authenticate to kubernetes apiserver is expiring in less than 7.0 days.
  40368. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeclientcertificateexpiration
  40369. summary: Client certificate is about to expire.
  40370. expr: apiserver_client_certificate_expiration_seconds_count{job="apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket{job="apiserver"}[5m]))) < 604800
  40371. for: 5m
  40372. labels:
  40373. severity: warning
  40374. - alert: KubeClientCertificateExpiration
  40375. annotations:
  40376. description: A client certificate used to authenticate to kubernetes apiserver is expiring in less than 24.0 hours.
  40377. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeclientcertificateexpiration
  40378. summary: Client certificate is about to expire.
  40379. expr: apiserver_client_certificate_expiration_seconds_count{job="apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket{job="apiserver"}[5m]))) < 86400
  40380. for: 5m
  40381. labels:
  40382. severity: critical
  40383. - alert: KubeAggregatedAPIErrors
  40384. annotations:
  40385. description: Kubernetes aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. It has appeared unavailable {{ $value | humanize }} times averaged over the past 10m.
  40386. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeaggregatedapierrors
  40387. summary: Kubernetes aggregated API has reported errors.
  40388. expr: sum by(name, namespace, cluster)(increase(aggregator_unavailable_apiservice_total[10m])) > 4
  40389. labels:
  40390. severity: warning
  40391. - alert: KubeAggregatedAPIDown
  40392. annotations:
  40393. description: Kubernetes aggregated API {{ $labels.name }}/{{ $labels.namespace }} has been only {{ $value | humanize }}% available over the last 10m.
  40394. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeaggregatedapidown
  40395. summary: Kubernetes aggregated API is down.
  40396. expr: (1 - max by(name, namespace, cluster)(avg_over_time(aggregator_unavailable_apiservice[10m]))) * 100 < 85
  40397. for: 5m
  40398. labels:
  40399. severity: warning
  40400. - alert: KubeAPIDown
  40401. annotations:
  40402. description: KubeAPI has disappeared from Prometheus target discovery.
  40403. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeapidown
  40404. summary: Target disappeared from Prometheus target discovery.
  40405. expr: absent(up{job="apiserver"} == 1)
  40406. for: 15m
  40407. labels:
  40408. severity: critical
  40409. - alert: KubeAPITerminatedRequests
  40410. annotations:
  40411. description: The kubernetes apiserver has terminated {{ $value | humanizePercentage }} of its incoming requests.
  40412. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeapiterminatedrequests
  40413. summary: The kubernetes apiserver has terminated {{ $value | humanizePercentage }} of its incoming requests.
  40414. expr: sum(rate(apiserver_request_terminations_total{job="apiserver"}[10m])) / ( sum(rate(apiserver_request_total{job="apiserver"}[10m])) + sum(rate(apiserver_request_terminations_total{job="apiserver"}[10m])) ) > 0.20
  40415. for: 5m
  40416. labels:
  40417. severity: warning
  40418. ---
  40419. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kubernetes-system-controller-manager.yaml
  40420. apiVersion: monitoring.coreos.com/v1
  40421. kind: PrometheusRule
  40422. metadata:
  40423. name: prometheus-kube-prometheus-kubernetes-system-controller-manager
  40424. namespace: monitoring
  40425. labels:
  40426. app: kube-prometheus-stack
  40427. app.kubernetes.io/managed-by: Helm
  40428. app.kubernetes.io/instance: prometheus
  40429. app.kubernetes.io/version: "44.3.0"
  40430. app.kubernetes.io/part-of: kube-prometheus-stack
  40431. chart: kube-prometheus-stack-44.3.0
  40432. release: "prometheus"
  40433. heritage: "Helm"
  40434. spec:
  40435. groups:
  40436. - name: kubernetes-system-controller-manager
  40437. rules:
  40438. - alert: KubeControllerManagerDown
  40439. annotations:
  40440. description: KubeControllerManager has disappeared from Prometheus target discovery.
  40441. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubecontrollermanagerdown
  40442. summary: Target disappeared from Prometheus target discovery.
  40443. expr: absent(up{job="kube-controller-manager"} == 1)
  40444. for: 15m
  40445. labels:
  40446. severity: critical
  40447. ---
  40448. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kubernetes-system-kube-proxy.yaml
  40449. apiVersion: monitoring.coreos.com/v1
  40450. kind: PrometheusRule
  40451. metadata:
  40452. name: prometheus-kube-prometheus-kubernetes-system-kube-proxy
  40453. namespace: monitoring
  40454. labels:
  40455. app: kube-prometheus-stack
  40456. app.kubernetes.io/managed-by: Helm
  40457. app.kubernetes.io/instance: prometheus
  40458. app.kubernetes.io/version: "44.3.0"
  40459. app.kubernetes.io/part-of: kube-prometheus-stack
  40460. chart: kube-prometheus-stack-44.3.0
  40461. release: "prometheus"
  40462. heritage: "Helm"
  40463. spec:
  40464. groups:
  40465. - name: kubernetes-system-kube-proxy
  40466. rules:
  40467. - alert: KubeProxyDown
  40468. annotations:
  40469. description: KubeProxy has disappeared from Prometheus target discovery.
  40470. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeproxydown
  40471. summary: Target disappeared from Prometheus target discovery.
  40472. expr: absent(up{job="kube-proxy"} == 1)
  40473. for: 15m
  40474. labels:
  40475. severity: critical
  40476. ---
  40477. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kubernetes-system-kubelet.yaml
  40478. apiVersion: monitoring.coreos.com/v1
  40479. kind: PrometheusRule
  40480. metadata:
  40481. name: prometheus-kube-prometheus-kubernetes-system-kubelet
  40482. namespace: monitoring
  40483. labels:
  40484. app: kube-prometheus-stack
  40485. app.kubernetes.io/managed-by: Helm
  40486. app.kubernetes.io/instance: prometheus
  40487. app.kubernetes.io/version: "44.3.0"
  40488. app.kubernetes.io/part-of: kube-prometheus-stack
  40489. chart: kube-prometheus-stack-44.3.0
  40490. release: "prometheus"
  40491. heritage: "Helm"
  40492. spec:
  40493. groups:
  40494. - name: kubernetes-system-kubelet
  40495. rules:
  40496. - alert: KubeNodeNotReady
  40497. annotations:
  40498. description: '{{ $labels.node }} has been unready for more than 15 minutes.'
  40499. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubenodenotready
  40500. summary: Node is not ready.
  40501. expr: kube_node_status_condition{job="kube-state-metrics",condition="Ready",status="true"} == 0
  40502. for: 15m
  40503. labels:
  40504. severity: warning
  40505. - alert: KubeNodeUnreachable
  40506. annotations:
  40507. description: '{{ $labels.node }} is unreachable and some workloads may be rescheduled.'
  40508. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubenodeunreachable
  40509. summary: Node is unreachable.
  40510. expr: (kube_node_spec_taint{job="kube-state-metrics",key="node.kubernetes.io/unreachable",effect="NoSchedule"} unless ignoring(key,value) kube_node_spec_taint{job="kube-state-metrics",key=~"ToBeDeletedByClusterAutoscaler|cloud.google.com/impending-node-termination|aws-node-termination-handler/spot-itn"}) == 1
  40511. for: 15m
  40512. labels:
  40513. severity: warning
  40514. - alert: KubeletTooManyPods
  40515. annotations:
  40516. description: Kubelet '{{ $labels.node }}' is running at {{ $value | humanizePercentage }} of its Pod capacity.
  40517. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubelettoomanypods
  40518. summary: Kubelet is running at capacity.
  40519. expr: |-
  40520. count by(cluster, node) (
  40521. (kube_pod_status_phase{job="kube-state-metrics",phase="Running"} == 1) * on(instance,pod,namespace,cluster) group_left(node) topk by(instance,pod,namespace,cluster) (1, kube_pod_info{job="kube-state-metrics"})
  40522. )
  40523. /
  40524. max by(cluster, node) (
  40525. kube_node_status_capacity{job="kube-state-metrics",resource="pods"} != 1
  40526. ) > 0.95
  40527. for: 15m
  40528. labels:
  40529. severity: info
  40530. - alert: KubeNodeReadinessFlapping
  40531. annotations:
  40532. description: The readiness status of node {{ $labels.node }} has changed {{ $value }} times in the last 15 minutes.
  40533. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubenodereadinessflapping
  40534. summary: Node readiness status is flapping.
  40535. expr: sum(changes(kube_node_status_condition{status="true",condition="Ready"}[15m])) by (cluster, node) > 2
  40536. for: 15m
  40537. labels:
  40538. severity: warning
  40539. - alert: KubeletPlegDurationHigh
  40540. annotations:
  40541. description: The Kubelet Pod Lifecycle Event Generator has a 99th percentile duration of {{ $value }} seconds on node {{ $labels.node }}.
  40542. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeletplegdurationhigh
  40543. summary: Kubelet Pod Lifecycle Event Generator is taking too long to relist.
  40544. expr: node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile{quantile="0.99"} >= 10
  40545. for: 5m
  40546. labels:
  40547. severity: warning
  40548. - alert: KubeletPodStartUpLatencyHigh
  40549. annotations:
  40550. description: Kubelet Pod startup 99th percentile latency is {{ $value }} seconds on node {{ $labels.node }}.
  40551. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeletpodstartuplatencyhigh
  40552. summary: Kubelet Pod startup latency is too high.
  40553. expr: histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="kubelet", metrics_path="/metrics"}[5m])) by (cluster, instance, le)) * on(cluster, instance) group_left(node) kubelet_node_name{job="kubelet", metrics_path="/metrics"} > 60
  40554. for: 15m
  40555. labels:
  40556. severity: warning
  40557. - alert: KubeletClientCertificateExpiration
  40558. annotations:
  40559. description: Client certificate for Kubelet on node {{ $labels.node }} expires in {{ $value | humanizeDuration }}.
  40560. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeletclientcertificateexpiration
  40561. summary: Kubelet client certificate is about to expire.
  40562. expr: kubelet_certificate_manager_client_ttl_seconds < 604800
  40563. labels:
  40564. severity: warning
  40565. - alert: KubeletClientCertificateExpiration
  40566. annotations:
  40567. description: Client certificate for Kubelet on node {{ $labels.node }} expires in {{ $value | humanizeDuration }}.
  40568. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeletclientcertificateexpiration
  40569. summary: Kubelet client certificate is about to expire.
  40570. expr: kubelet_certificate_manager_client_ttl_seconds < 86400
  40571. labels:
  40572. severity: critical
  40573. - alert: KubeletServerCertificateExpiration
  40574. annotations:
  40575. description: Server certificate for Kubelet on node {{ $labels.node }} expires in {{ $value | humanizeDuration }}.
  40576. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeletservercertificateexpiration
  40577. summary: Kubelet server certificate is about to expire.
  40578. expr: kubelet_certificate_manager_server_ttl_seconds < 604800
  40579. labels:
  40580. severity: warning
  40581. - alert: KubeletServerCertificateExpiration
  40582. annotations:
  40583. description: Server certificate for Kubelet on node {{ $labels.node }} expires in {{ $value | humanizeDuration }}.
  40584. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeletservercertificateexpiration
  40585. summary: Kubelet server certificate is about to expire.
  40586. expr: kubelet_certificate_manager_server_ttl_seconds < 86400
  40587. labels:
  40588. severity: critical
  40589. - alert: KubeletClientCertificateRenewalErrors
  40590. annotations:
  40591. description: Kubelet on node {{ $labels.node }} has failed to renew its client certificate ({{ $value | humanize }} errors in the last 5 minutes).
  40592. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeletclientcertificaterenewalerrors
  40593. summary: Kubelet has failed to renew its client certificate.
  40594. expr: increase(kubelet_certificate_manager_client_expiration_renew_errors[5m]) > 0
  40595. for: 15m
  40596. labels:
  40597. severity: warning
  40598. - alert: KubeletServerCertificateRenewalErrors
  40599. annotations:
  40600. description: Kubelet on node {{ $labels.node }} has failed to renew its server certificate ({{ $value | humanize }} errors in the last 5 minutes).
  40601. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeletservercertificaterenewalerrors
  40602. summary: Kubelet has failed to renew its server certificate.
  40603. expr: increase(kubelet_server_expiration_renew_errors[5m]) > 0
  40604. for: 15m
  40605. labels:
  40606. severity: warning
  40607. - alert: KubeletDown
  40608. annotations:
  40609. description: Kubelet has disappeared from Prometheus target discovery.
  40610. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeletdown
  40611. summary: Target disappeared from Prometheus target discovery.
  40612. expr: absent(up{job="kubelet", metrics_path="/metrics"} == 1)
  40613. for: 15m
  40614. labels:
  40615. severity: critical
  40616. ---
  40617. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kubernetes-system-scheduler.yaml
  40618. apiVersion: monitoring.coreos.com/v1
  40619. kind: PrometheusRule
  40620. metadata:
  40621. name: prometheus-kube-prometheus-kubernetes-system-scheduler
  40622. namespace: monitoring
  40623. labels:
  40624. app: kube-prometheus-stack
  40625. app.kubernetes.io/managed-by: Helm
  40626. app.kubernetes.io/instance: prometheus
  40627. app.kubernetes.io/version: "44.3.0"
  40628. app.kubernetes.io/part-of: kube-prometheus-stack
  40629. chart: kube-prometheus-stack-44.3.0
  40630. release: "prometheus"
  40631. heritage: "Helm"
  40632. spec:
  40633. groups:
  40634. - name: kubernetes-system-scheduler
  40635. rules:
  40636. - alert: KubeSchedulerDown
  40637. annotations:
  40638. description: KubeScheduler has disappeared from Prometheus target discovery.
  40639. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeschedulerdown
  40640. summary: Target disappeared from Prometheus target discovery.
  40641. expr: absent(up{job="kube-scheduler"} == 1)
  40642. for: 15m
  40643. labels:
  40644. severity: critical
  40645. ---
  40646. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/kubernetes-system.yaml
  40647. apiVersion: monitoring.coreos.com/v1
  40648. kind: PrometheusRule
  40649. metadata:
  40650. name: prometheus-kube-prometheus-kubernetes-system
  40651. namespace: monitoring
  40652. labels:
  40653. app: kube-prometheus-stack
  40654. app.kubernetes.io/managed-by: Helm
  40655. app.kubernetes.io/instance: prometheus
  40656. app.kubernetes.io/version: "44.3.0"
  40657. app.kubernetes.io/part-of: kube-prometheus-stack
  40658. chart: kube-prometheus-stack-44.3.0
  40659. release: "prometheus"
  40660. heritage: "Helm"
  40661. spec:
  40662. groups:
  40663. - name: kubernetes-system
  40664. rules:
  40665. - alert: KubeVersionMismatch
  40666. annotations:
  40667. description: There are {{ $value }} different semantic versions of Kubernetes components running.
  40668. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeversionmismatch
  40669. summary: Different semantic versions of Kubernetes components running.
  40670. expr: count by (cluster) (count by (git_version, cluster) (label_replace(kubernetes_build_info{job!~"kube-dns|coredns"},"git_version","$1","git_version","(v[0-9]*.[0-9]*).*"))) > 1
  40671. for: 15m
  40672. labels:
  40673. severity: warning
  40674. - alert: KubeClientErrors
  40675. annotations:
  40676. description: Kubernetes API server client '{{ $labels.job }}/{{ $labels.instance }}' is experiencing {{ $value | humanizePercentage }} errors.'
  40677. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeclienterrors
  40678. summary: Kubernetes API server client is experiencing errors.
  40679. expr: |-
  40680. (sum(rate(rest_client_requests_total{code=~"5.."}[5m])) by (cluster, instance, job, namespace)
  40681. /
  40682. sum(rate(rest_client_requests_total[5m])) by (cluster, instance, job, namespace))
  40683. > 0.01
  40684. for: 15m
  40685. labels:
  40686. severity: warning
  40687. ---
  40688. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/node-exporter.rules.yaml
  40689. apiVersion: monitoring.coreos.com/v1
  40690. kind: PrometheusRule
  40691. metadata:
  40692. name: prometheus-kube-prometheus-node-exporter.rules
  40693. namespace: monitoring
  40694. labels:
  40695. app: kube-prometheus-stack
  40696. app.kubernetes.io/managed-by: Helm
  40697. app.kubernetes.io/instance: prometheus
  40698. app.kubernetes.io/version: "44.3.0"
  40699. app.kubernetes.io/part-of: kube-prometheus-stack
  40700. chart: kube-prometheus-stack-44.3.0
  40701. release: "prometheus"
  40702. heritage: "Helm"
  40703. spec:
  40704. groups:
  40705. - name: node-exporter.rules
  40706. rules:
  40707. - expr: |-
  40708. count without (cpu, mode) (
  40709. node_cpu_seconds_total{job="node-exporter",mode="idle"}
  40710. )
  40711. record: instance:node_num_cpu:sum
  40712. - expr: |-
  40713. 1 - avg without (cpu) (
  40714. sum without (mode) (rate(node_cpu_seconds_total{job="node-exporter", mode=~"idle|iowait|steal"}[5m]))
  40715. )
  40716. record: instance:node_cpu_utilisation:rate5m
  40717. - expr: |-
  40718. (
  40719. node_load1{job="node-exporter"}
  40720. /
  40721. instance:node_num_cpu:sum{job="node-exporter"}
  40722. )
  40723. record: instance:node_load1_per_cpu:ratio
  40724. - expr: |-
  40725. 1 - (
  40726. (
  40727. node_memory_MemAvailable_bytes{job="node-exporter"}
  40728. or
  40729. (
  40730. node_memory_Buffers_bytes{job="node-exporter"}
  40731. +
  40732. node_memory_Cached_bytes{job="node-exporter"}
  40733. +
  40734. node_memory_MemFree_bytes{job="node-exporter"}
  40735. +
  40736. node_memory_Slab_bytes{job="node-exporter"}
  40737. )
  40738. )
  40739. /
  40740. node_memory_MemTotal_bytes{job="node-exporter"}
  40741. )
  40742. record: instance:node_memory_utilisation:ratio
  40743. - expr: rate(node_vmstat_pgmajfault{job="node-exporter"}[5m])
  40744. record: instance:node_vmstat_pgmajfault:rate5m
  40745. - expr: rate(node_disk_io_time_seconds_total{job="node-exporter", device=~"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)"}[5m])
  40746. record: instance_device:node_disk_io_time_seconds:rate5m
  40747. - expr: rate(node_disk_io_time_weighted_seconds_total{job="node-exporter", device=~"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)"}[5m])
  40748. record: instance_device:node_disk_io_time_weighted_seconds:rate5m
  40749. - expr: |-
  40750. sum without (device) (
  40751. rate(node_network_receive_bytes_total{job="node-exporter", device!="lo"}[5m])
  40752. )
  40753. record: instance:node_network_receive_bytes_excluding_lo:rate5m
  40754. - expr: |-
  40755. sum without (device) (
  40756. rate(node_network_transmit_bytes_total{job="node-exporter", device!="lo"}[5m])
  40757. )
  40758. record: instance:node_network_transmit_bytes_excluding_lo:rate5m
  40759. - expr: |-
  40760. sum without (device) (
  40761. rate(node_network_receive_drop_total{job="node-exporter", device!="lo"}[5m])
  40762. )
  40763. record: instance:node_network_receive_drop_excluding_lo:rate5m
  40764. - expr: |-
  40765. sum without (device) (
  40766. rate(node_network_transmit_drop_total{job="node-exporter", device!="lo"}[5m])
  40767. )
  40768. record: instance:node_network_transmit_drop_excluding_lo:rate5m
  40769. ---
  40770. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/node-exporter.yaml
  40771. apiVersion: monitoring.coreos.com/v1
  40772. kind: PrometheusRule
  40773. metadata:
  40774. name: prometheus-kube-prometheus-node-exporter
  40775. namespace: monitoring
  40776. labels:
  40777. app: kube-prometheus-stack
  40778. app.kubernetes.io/managed-by: Helm
  40779. app.kubernetes.io/instance: prometheus
  40780. app.kubernetes.io/version: "44.3.0"
  40781. app.kubernetes.io/part-of: kube-prometheus-stack
  40782. chart: kube-prometheus-stack-44.3.0
  40783. release: "prometheus"
  40784. heritage: "Helm"
  40785. spec:
  40786. groups:
  40787. - name: node-exporter
  40788. rules:
  40789. - alert: NodeFilesystemSpaceFillingUp
  40790. annotations:
  40791. description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available space left and is filling up.
  40792. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodefilesystemspacefillingup
  40793. summary: Filesystem is predicted to run out of space within the next 24 hours.
  40794. expr: |-
  40795. (
  40796. node_filesystem_avail_bytes{job="node-exporter",fstype!="",mountpoint!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!="",mountpoint!=""} * 100 < 15
  40797. and
  40798. predict_linear(node_filesystem_avail_bytes{job="node-exporter",fstype!="",mountpoint!=""}[6h], 24*60*60) < 0
  40799. and
  40800. node_filesystem_readonly{job="node-exporter",fstype!="",mountpoint!=""} == 0
  40801. )
  40802. for: 1h
  40803. labels:
  40804. severity: warning
  40805. - alert: NodeFilesystemSpaceFillingUp
  40806. annotations:
  40807. description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available space left and is filling up fast.
  40808. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodefilesystemspacefillingup
  40809. summary: Filesystem is predicted to run out of space within the next 4 hours.
  40810. expr: |-
  40811. (
  40812. node_filesystem_avail_bytes{job="node-exporter",fstype!="",mountpoint!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!="",mountpoint!=""} * 100 < 10
  40813. and
  40814. predict_linear(node_filesystem_avail_bytes{job="node-exporter",fstype!="",mountpoint!=""}[6h], 4*60*60) < 0
  40815. and
  40816. node_filesystem_readonly{job="node-exporter",fstype!="",mountpoint!=""} == 0
  40817. )
  40818. for: 1h
  40819. labels:
  40820. severity: critical
  40821. - alert: NodeFilesystemAlmostOutOfSpace
  40822. annotations:
  40823. description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available space left.
  40824. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodefilesystemalmostoutofspace
  40825. summary: Filesystem has less than 5% space left.
  40826. expr: |-
  40827. (
  40828. node_filesystem_avail_bytes{job="node-exporter",fstype!="",mountpoint!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!="",mountpoint!=""} * 100 < 5
  40829. and
  40830. node_filesystem_readonly{job="node-exporter",fstype!="",mountpoint!=""} == 0
  40831. )
  40832. for: 30m
  40833. labels:
  40834. severity: warning
  40835. - alert: NodeFilesystemAlmostOutOfSpace
  40836. annotations:
  40837. description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available space left.
  40838. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodefilesystemalmostoutofspace
  40839. summary: Filesystem has less than 3% space left.
  40840. expr: |-
  40841. (
  40842. node_filesystem_avail_bytes{job="node-exporter",fstype!="",mountpoint!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!="",mountpoint!=""} * 100 < 3
  40843. and
  40844. node_filesystem_readonly{job="node-exporter",fstype!="",mountpoint!=""} == 0
  40845. )
  40846. for: 30m
  40847. labels:
  40848. severity: critical
  40849. - alert: NodeFilesystemFilesFillingUp
  40850. annotations:
  40851. description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available inodes left and is filling up.
  40852. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodefilesystemfilesfillingup
  40853. summary: Filesystem is predicted to run out of inodes within the next 24 hours.
  40854. expr: |-
  40855. (
  40856. node_filesystem_files_free{job="node-exporter",fstype!="",mountpoint!=""} / node_filesystem_files{job="node-exporter",fstype!="",mountpoint!=""} * 100 < 40
  40857. and
  40858. predict_linear(node_filesystem_files_free{job="node-exporter",fstype!="",mountpoint!=""}[6h], 24*60*60) < 0
  40859. and
  40860. node_filesystem_readonly{job="node-exporter",fstype!="",mountpoint!=""} == 0
  40861. )
  40862. for: 1h
  40863. labels:
  40864. severity: warning
  40865. - alert: NodeFilesystemFilesFillingUp
  40866. annotations:
  40867. description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available inodes left and is filling up fast.
  40868. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodefilesystemfilesfillingup
  40869. summary: Filesystem is predicted to run out of inodes within the next 4 hours.
  40870. expr: |-
  40871. (
  40872. node_filesystem_files_free{job="node-exporter",fstype!="",mountpoint!=""} / node_filesystem_files{job="node-exporter",fstype!="",mountpoint!=""} * 100 < 20
  40873. and
  40874. predict_linear(node_filesystem_files_free{job="node-exporter",fstype!="",mountpoint!=""}[6h], 4*60*60) < 0
  40875. and
  40876. node_filesystem_readonly{job="node-exporter",fstype!="",mountpoint!=""} == 0
  40877. )
  40878. for: 1h
  40879. labels:
  40880. severity: critical
  40881. - alert: NodeFilesystemAlmostOutOfFiles
  40882. annotations:
  40883. description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available inodes left.
  40884. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodefilesystemalmostoutoffiles
  40885. summary: Filesystem has less than 5% inodes left.
  40886. expr: |-
  40887. (
  40888. node_filesystem_files_free{job="node-exporter",fstype!="",mountpoint!=""} / node_filesystem_files{job="node-exporter",fstype!="",mountpoint!=""} * 100 < 5
  40889. and
  40890. node_filesystem_readonly{job="node-exporter",fstype!="",mountpoint!=""} == 0
  40891. )
  40892. for: 1h
  40893. labels:
  40894. severity: warning
  40895. - alert: NodeFilesystemAlmostOutOfFiles
  40896. annotations:
  40897. description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available inodes left.
  40898. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodefilesystemalmostoutoffiles
  40899. summary: Filesystem has less than 3% inodes left.
  40900. expr: |-
  40901. (
  40902. node_filesystem_files_free{job="node-exporter",fstype!="",mountpoint!=""} / node_filesystem_files{job="node-exporter",fstype!="",mountpoint!=""} * 100 < 3
  40903. and
  40904. node_filesystem_readonly{job="node-exporter",fstype!="",mountpoint!=""} == 0
  40905. )
  40906. for: 1h
  40907. labels:
  40908. severity: critical
  40909. - alert: NodeNetworkReceiveErrs
  40910. annotations:
  40911. description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} receive errors in the last two minutes.'
  40912. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodenetworkreceiveerrs
  40913. summary: Network interface is reporting many receive errors.
  40914. expr: rate(node_network_receive_errs_total[2m]) / rate(node_network_receive_packets_total[2m]) > 0.01
  40915. for: 1h
  40916. labels:
  40917. severity: warning
  40918. - alert: NodeNetworkTransmitErrs
  40919. annotations:
  40920. description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} transmit errors in the last two minutes.'
  40921. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodenetworktransmiterrs
  40922. summary: Network interface is reporting many transmit errors.
  40923. expr: rate(node_network_transmit_errs_total[2m]) / rate(node_network_transmit_packets_total[2m]) > 0.01
  40924. for: 1h
  40925. labels:
  40926. severity: warning
  40927. - alert: NodeHighNumberConntrackEntriesUsed
  40928. annotations:
  40929. description: '{{ $value | humanizePercentage }} of conntrack entries are used.'
  40930. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodehighnumberconntrackentriesused
  40931. summary: Number of conntrack are getting close to the limit.
  40932. expr: (node_nf_conntrack_entries / node_nf_conntrack_entries_limit) > 0.75
  40933. labels:
  40934. severity: warning
  40935. - alert: NodeTextFileCollectorScrapeError
  40936. annotations:
  40937. description: Node Exporter text file collector failed to scrape.
  40938. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodetextfilecollectorscrapeerror
  40939. summary: Node Exporter text file collector failed to scrape.
  40940. expr: node_textfile_scrape_error{job="node-exporter"} == 1
  40941. labels:
  40942. severity: warning
  40943. - alert: NodeClockSkewDetected
  40944. annotations:
  40945. description: Clock on {{ $labels.instance }} is out of sync by more than 300s. Ensure NTP is configured correctly on this host.
  40946. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodeclockskewdetected
  40947. summary: Clock skew detected.
  40948. expr: |-
  40949. (
  40950. node_timex_offset_seconds{job="node-exporter"} > 0.05
  40951. and
  40952. deriv(node_timex_offset_seconds{job="node-exporter"}[5m]) >= 0
  40953. )
  40954. or
  40955. (
  40956. node_timex_offset_seconds{job="node-exporter"} < -0.05
  40957. and
  40958. deriv(node_timex_offset_seconds{job="node-exporter"}[5m]) <= 0
  40959. )
  40960. for: 10m
  40961. labels:
  40962. severity: warning
  40963. - alert: NodeClockNotSynchronising
  40964. annotations:
  40965. description: Clock on {{ $labels.instance }} is not synchronising. Ensure NTP is configured on this host.
  40966. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodeclocknotsynchronising
  40967. summary: Clock not synchronising.
  40968. expr: |-
  40969. min_over_time(node_timex_sync_status{job="node-exporter"}[5m]) == 0
  40970. and
  40971. node_timex_maxerror_seconds{job="node-exporter"} >= 16
  40972. for: 10m
  40973. labels:
  40974. severity: warning
  40975. - alert: NodeRAIDDegraded
  40976. annotations:
  40977. description: RAID array '{{ $labels.device }}' on {{ $labels.instance }} is in degraded state due to one or more disks failures. Number of spare drives is insufficient to fix issue automatically.
  40978. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/noderaiddegraded
  40979. summary: RAID Array is degraded
  40980. expr: node_md_disks_required{job="node-exporter",device=~"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)"} - ignoring (state) (node_md_disks{state="active",job="node-exporter",device=~"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)"}) > 0
  40981. for: 15m
  40982. labels:
  40983. severity: critical
  40984. - alert: NodeRAIDDiskFailure
  40985. annotations:
  40986. description: At least one device in RAID array on {{ $labels.instance }} failed. Array '{{ $labels.device }}' needs attention and possibly a disk swap.
  40987. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/noderaiddiskfailure
  40988. summary: Failed device in RAID array
  40989. expr: node_md_disks{state="failed",job="node-exporter",device=~"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)"} > 0
  40990. labels:
  40991. severity: warning
  40992. - alert: NodeFileDescriptorLimit
  40993. annotations:
  40994. description: File descriptors limit at {{ $labels.instance }} is currently at {{ printf "%.2f" $value }}%.
  40995. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodefiledescriptorlimit
  40996. summary: Kernel is predicted to exhaust file descriptors limit soon.
  40997. expr: |-
  40998. (
  40999. node_filefd_allocated{job="node-exporter"} * 100 / node_filefd_maximum{job="node-exporter"} > 70
  41000. )
  41001. for: 15m
  41002. labels:
  41003. severity: warning
  41004. - alert: NodeFileDescriptorLimit
  41005. annotations:
  41006. description: File descriptors limit at {{ $labels.instance }} is currently at {{ printf "%.2f" $value }}%.
  41007. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/node/nodefiledescriptorlimit
  41008. summary: Kernel is predicted to exhaust file descriptors limit soon.
  41009. expr: |-
  41010. (
  41011. node_filefd_allocated{job="node-exporter"} * 100 / node_filefd_maximum{job="node-exporter"} > 90
  41012. )
  41013. for: 15m
  41014. labels:
  41015. severity: critical
  41016. ---
  41017. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/node-network.yaml
  41018. apiVersion: monitoring.coreos.com/v1
  41019. kind: PrometheusRule
  41020. metadata:
  41021. name: prometheus-kube-prometheus-node-network
  41022. namespace: monitoring
  41023. labels:
  41024. app: kube-prometheus-stack
  41025. app.kubernetes.io/managed-by: Helm
  41026. app.kubernetes.io/instance: prometheus
  41027. app.kubernetes.io/version: "44.3.0"
  41028. app.kubernetes.io/part-of: kube-prometheus-stack
  41029. chart: kube-prometheus-stack-44.3.0
  41030. release: "prometheus"
  41031. heritage: "Helm"
  41032. spec:
  41033. groups:
  41034. - name: node-network
  41035. rules:
  41036. - alert: NodeNetworkInterfaceFlapping
  41037. annotations:
  41038. description: Network interface "{{ $labels.device }}" changing its up status often on node-exporter {{ $labels.namespace }}/{{ $labels.pod }}
  41039. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/general/nodenetworkinterfaceflapping
  41040. summary: Network interface is often changing its status
  41041. expr: changes(node_network_up{job="node-exporter",device!~"veth.+"}[2m]) > 2
  41042. for: 2m
  41043. labels:
  41044. severity: warning
  41045. ---
  41046. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/node.rules.yaml
  41047. apiVersion: monitoring.coreos.com/v1
  41048. kind: PrometheusRule
  41049. metadata:
  41050. name: prometheus-kube-prometheus-node.rules
  41051. namespace: monitoring
  41052. labels:
  41053. app: kube-prometheus-stack
  41054. app.kubernetes.io/managed-by: Helm
  41055. app.kubernetes.io/instance: prometheus
  41056. app.kubernetes.io/version: "44.3.0"
  41057. app.kubernetes.io/part-of: kube-prometheus-stack
  41058. chart: kube-prometheus-stack-44.3.0
  41059. release: "prometheus"
  41060. heritage: "Helm"
  41061. spec:
  41062. groups:
  41063. - name: node.rules
  41064. rules:
  41065. - expr: |-
  41066. topk by(cluster, namespace, pod) (1,
  41067. max by (cluster, node, namespace, pod) (
  41068. label_replace(kube_pod_info{job="kube-state-metrics",node!=""}, "pod", "$1", "pod", "(.*)")
  41069. ))
  41070. record: 'node_namespace_pod:kube_pod_info:'
  41071. - expr: |-
  41072. count by (cluster, node) (
  41073. node_cpu_seconds_total{mode="idle",job="node-exporter"}
  41074. * on (namespace, pod) group_left(node)
  41075. topk by(namespace, pod) (1, node_namespace_pod:kube_pod_info:)
  41076. )
  41077. record: node:node_num_cpu:sum
  41078. - expr: |-
  41079. sum(
  41080. node_memory_MemAvailable_bytes{job="node-exporter"} or
  41081. (
  41082. node_memory_Buffers_bytes{job="node-exporter"} +
  41083. node_memory_Cached_bytes{job="node-exporter"} +
  41084. node_memory_MemFree_bytes{job="node-exporter"} +
  41085. node_memory_Slab_bytes{job="node-exporter"}
  41086. )
  41087. ) by (cluster)
  41088. record: :node_memory_MemAvailable_bytes:sum
  41089. - expr: |-
  41090. avg by (cluster, node) (
  41091. sum without (mode) (
  41092. rate(node_cpu_seconds_total{mode!="idle",mode!="iowait",mode!="steal",job="node-exporter"}[5m])
  41093. )
  41094. )
  41095. record: node:node_cpu_utilization:ratio_rate5m
  41096. - expr: |-
  41097. avg by (cluster) (
  41098. node:node_cpu_utilization:ratio_rate5m
  41099. )
  41100. record: cluster:node_cpu:ratio_rate5m
  41101. ---
  41102. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/prometheus-operator.yaml
  41103. apiVersion: monitoring.coreos.com/v1
  41104. kind: PrometheusRule
  41105. metadata:
  41106. name: prometheus-kube-prometheus-prometheus-operator
  41107. namespace: monitoring
  41108. labels:
  41109. app: kube-prometheus-stack
  41110. app.kubernetes.io/managed-by: Helm
  41111. app.kubernetes.io/instance: prometheus
  41112. app.kubernetes.io/version: "44.3.0"
  41113. app.kubernetes.io/part-of: kube-prometheus-stack
  41114. chart: kube-prometheus-stack-44.3.0
  41115. release: "prometheus"
  41116. heritage: "Helm"
  41117. spec:
  41118. groups:
  41119. - name: prometheus-operator
  41120. rules:
  41121. - alert: PrometheusOperatorListErrors
  41122. annotations:
  41123. description: Errors while performing List operations in controller {{$labels.controller}} in {{$labels.namespace}} namespace.
  41124. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus-operator/prometheusoperatorlisterrors
  41125. summary: Errors while performing list operations in controller.
  41126. expr: (sum by (controller,namespace) (rate(prometheus_operator_list_operations_failed_total{job="prometheus-kube-prometheus-operator",namespace="monitoring"}[10m])) / sum by (controller,namespace) (rate(prometheus_operator_list_operations_total{job="prometheus-kube-prometheus-operator",namespace="monitoring"}[10m]))) > 0.4
  41127. for: 15m
  41128. labels:
  41129. severity: warning
  41130. - alert: PrometheusOperatorWatchErrors
  41131. annotations:
  41132. description: Errors while performing watch operations in controller {{$labels.controller}} in {{$labels.namespace}} namespace.
  41133. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus-operator/prometheusoperatorwatcherrors
  41134. summary: Errors while performing watch operations in controller.
  41135. expr: (sum by (controller,namespace) (rate(prometheus_operator_watch_operations_failed_total{job="prometheus-kube-prometheus-operator",namespace="monitoring"}[5m])) / sum by (controller,namespace) (rate(prometheus_operator_watch_operations_total{job="prometheus-kube-prometheus-operator",namespace="monitoring"}[5m]))) > 0.4
  41136. for: 15m
  41137. labels:
  41138. severity: warning
  41139. - alert: PrometheusOperatorSyncFailed
  41140. annotations:
  41141. description: Controller {{ $labels.controller }} in {{ $labels.namespace }} namespace fails to reconcile {{ $value }} objects.
  41142. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus-operator/prometheusoperatorsyncfailed
  41143. summary: Last controller reconciliation failed
  41144. expr: min_over_time(prometheus_operator_syncs{status="failed",job="prometheus-kube-prometheus-operator",namespace="monitoring"}[5m]) > 0
  41145. for: 10m
  41146. labels:
  41147. severity: warning
  41148. - alert: PrometheusOperatorReconcileErrors
  41149. annotations:
  41150. description: '{{ $value | humanizePercentage }} of reconciling operations failed for {{ $labels.controller }} controller in {{ $labels.namespace }} namespace.'
  41151. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus-operator/prometheusoperatorreconcileerrors
  41152. summary: Errors while reconciling controller.
  41153. expr: (sum by (controller,namespace) (rate(prometheus_operator_reconcile_errors_total{job="prometheus-kube-prometheus-operator",namespace="monitoring"}[5m]))) / (sum by (controller,namespace) (rate(prometheus_operator_reconcile_operations_total{job="prometheus-kube-prometheus-operator",namespace="monitoring"}[5m]))) > 0.1
  41154. for: 10m
  41155. labels:
  41156. severity: warning
  41157. - alert: PrometheusOperatorNodeLookupErrors
  41158. annotations:
  41159. description: Errors while reconciling Prometheus in {{ $labels.namespace }} Namespace.
  41160. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus-operator/prometheusoperatornodelookuperrors
  41161. summary: Errors while reconciling Prometheus.
  41162. expr: rate(prometheus_operator_node_address_lookup_errors_total{job="prometheus-kube-prometheus-operator",namespace="monitoring"}[5m]) > 0.1
  41163. for: 10m
  41164. labels:
  41165. severity: warning
  41166. - alert: PrometheusOperatorNotReady
  41167. annotations:
  41168. description: Prometheus operator in {{ $labels.namespace }} namespace isn't ready to reconcile {{ $labels.controller }} resources.
  41169. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus-operator/prometheusoperatornotready
  41170. summary: Prometheus operator not ready
  41171. expr: min by (controller,namespace) (max_over_time(prometheus_operator_ready{job="prometheus-kube-prometheus-operator",namespace="monitoring"}[5m]) == 0)
  41172. for: 5m
  41173. labels:
  41174. severity: warning
  41175. - alert: PrometheusOperatorRejectedResources
  41176. annotations:
  41177. description: Prometheus operator in {{ $labels.namespace }} namespace rejected {{ printf "%0.0f" $value }} {{ $labels.controller }}/{{ $labels.resource }} resources.
  41178. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus-operator/prometheusoperatorrejectedresources
  41179. summary: Resources rejected by Prometheus operator
  41180. expr: min_over_time(prometheus_operator_managed_resources{state="rejected",job="prometheus-kube-prometheus-operator",namespace="monitoring"}[5m]) > 0
  41181. for: 5m
  41182. labels:
  41183. severity: warning
  41184. ---
  41185. # Source: kube-prometheus-stack/templates/prometheus/rules-1.14/prometheus.yaml
  41186. apiVersion: monitoring.coreos.com/v1
  41187. kind: PrometheusRule
  41188. metadata:
  41189. name: prometheus-kube-prometheus-prometheus
  41190. namespace: monitoring
  41191. labels:
  41192. app: kube-prometheus-stack
  41193. app.kubernetes.io/managed-by: Helm
  41194. app.kubernetes.io/instance: prometheus
  41195. app.kubernetes.io/version: "44.3.0"
  41196. app.kubernetes.io/part-of: kube-prometheus-stack
  41197. chart: kube-prometheus-stack-44.3.0
  41198. release: "prometheus"
  41199. heritage: "Helm"
  41200. spec:
  41201. groups:
  41202. - name: prometheus
  41203. rules:
  41204. - alert: PrometheusBadConfig
  41205. annotations:
  41206. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has failed to reload its configuration.
  41207. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusbadconfig
  41208. summary: Failed Prometheus configuration reload.
  41209. expr: |-
  41210. # Without max_over_time, failed scrapes could create false negatives, see
  41211. # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
  41212. max_over_time(prometheus_config_last_reload_successful{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) == 0
  41213. for: 10m
  41214. labels:
  41215. severity: critical
  41216. - alert: PrometheusNotificationQueueRunningFull
  41217. annotations:
  41218. description: Alert notification queue of Prometheus {{$labels.namespace}}/{{$labels.pod}} is running full.
  41219. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusnotificationqueuerunningfull
  41220. summary: Prometheus alert notification queue predicted to run full in less than 30m.
  41221. expr: |-
  41222. # Without min_over_time, failed scrapes could create false negatives, see
  41223. # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
  41224. (
  41225. predict_linear(prometheus_notifications_queue_length{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m], 60 * 30)
  41226. >
  41227. min_over_time(prometheus_notifications_queue_capacity{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m])
  41228. )
  41229. for: 15m
  41230. labels:
  41231. severity: warning
  41232. - alert: PrometheusErrorSendingAlertsToSomeAlertmanagers
  41233. annotations:
  41234. description: '{{ printf "%.1f" $value }}% errors while sending alerts from Prometheus {{$labels.namespace}}/{{$labels.pod}} to Alertmanager {{$labels.alertmanager}}.'
  41235. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheuserrorsendingalertstosomealertmanagers
  41236. summary: Prometheus has encountered more than 1% errors sending alerts to a specific Alertmanager.
  41237. expr: |-
  41238. (
  41239. rate(prometheus_notifications_errors_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m])
  41240. /
  41241. rate(prometheus_notifications_sent_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m])
  41242. )
  41243. * 100
  41244. > 1
  41245. for: 15m
  41246. labels:
  41247. severity: warning
  41248. - alert: PrometheusNotConnectedToAlertmanagers
  41249. annotations:
  41250. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is not connected to any Alertmanagers.
  41251. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusnotconnectedtoalertmanagers
  41252. summary: Prometheus is not connected to any Alertmanagers.
  41253. expr: |-
  41254. # Without max_over_time, failed scrapes could create false negatives, see
  41255. # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
  41256. max_over_time(prometheus_notifications_alertmanagers_discovered{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) < 1
  41257. for: 10m
  41258. labels:
  41259. severity: warning
  41260. - alert: PrometheusTSDBReloadsFailing
  41261. annotations:
  41262. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has detected {{$value | humanize}} reload failures over the last 3h.
  41263. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheustsdbreloadsfailing
  41264. summary: Prometheus has issues reloading blocks from disk.
  41265. expr: increase(prometheus_tsdb_reloads_failures_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[3h]) > 0
  41266. for: 4h
  41267. labels:
  41268. severity: warning
  41269. - alert: PrometheusTSDBCompactionsFailing
  41270. annotations:
  41271. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has detected {{$value | humanize}} compaction failures over the last 3h.
  41272. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheustsdbcompactionsfailing
  41273. summary: Prometheus has issues compacting blocks.
  41274. expr: increase(prometheus_tsdb_compactions_failed_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[3h]) > 0
  41275. for: 4h
  41276. labels:
  41277. severity: warning
  41278. - alert: PrometheusNotIngestingSamples
  41279. annotations:
  41280. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is not ingesting samples.
  41281. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusnotingestingsamples
  41282. summary: Prometheus is not ingesting samples.
  41283. expr: |-
  41284. (
  41285. rate(prometheus_tsdb_head_samples_appended_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) <= 0
  41286. and
  41287. (
  41288. sum without(scrape_job) (prometheus_target_metadata_cache_entries{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}) > 0
  41289. or
  41290. sum without(rule_group) (prometheus_rule_group_rules{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}) > 0
  41291. )
  41292. )
  41293. for: 10m
  41294. labels:
  41295. severity: warning
  41296. - alert: PrometheusDuplicateTimestamps
  41297. annotations:
  41298. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is dropping {{ printf "%.4g" $value }} samples/s with different values but duplicated timestamp.
  41299. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusduplicatetimestamps
  41300. summary: Prometheus is dropping samples with duplicate timestamps.
  41301. expr: rate(prometheus_target_scrapes_sample_duplicate_timestamp_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) > 0
  41302. for: 10m
  41303. labels:
  41304. severity: warning
  41305. - alert: PrometheusOutOfOrderTimestamps
  41306. annotations:
  41307. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is dropping {{ printf "%.4g" $value }} samples/s with timestamps arriving out of order.
  41308. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusoutofordertimestamps
  41309. summary: Prometheus drops samples with out-of-order timestamps.
  41310. expr: rate(prometheus_target_scrapes_sample_out_of_order_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) > 0
  41311. for: 10m
  41312. labels:
  41313. severity: warning
  41314. - alert: PrometheusRemoteStorageFailures
  41315. annotations:
  41316. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} failed to send {{ printf "%.1f" $value }}% of the samples to {{ $labels.remote_name}}:{{ $labels.url }}
  41317. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusremotestoragefailures
  41318. summary: Prometheus fails to send samples to remote storage.
  41319. expr: |-
  41320. (
  41321. (rate(prometheus_remote_storage_failed_samples_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) or rate(prometheus_remote_storage_samples_failed_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]))
  41322. /
  41323. (
  41324. (rate(prometheus_remote_storage_failed_samples_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) or rate(prometheus_remote_storage_samples_failed_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]))
  41325. +
  41326. (rate(prometheus_remote_storage_succeeded_samples_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) or rate(prometheus_remote_storage_samples_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]))
  41327. )
  41328. )
  41329. * 100
  41330. > 1
  41331. for: 15m
  41332. labels:
  41333. severity: critical
  41334. - alert: PrometheusRemoteWriteBehind
  41335. annotations:
  41336. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} remote write is {{ printf "%.1f" $value }}s behind for {{ $labels.remote_name}}:{{ $labels.url }}.
  41337. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusremotewritebehind
  41338. summary: Prometheus remote write is behind.
  41339. expr: |-
  41340. # Without max_over_time, failed scrapes could create false negatives, see
  41341. # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
  41342. (
  41343. max_over_time(prometheus_remote_storage_highest_timestamp_in_seconds{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m])
  41344. - ignoring(remote_name, url) group_right
  41345. max_over_time(prometheus_remote_storage_queue_highest_sent_timestamp_seconds{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m])
  41346. )
  41347. > 120
  41348. for: 15m
  41349. labels:
  41350. severity: critical
  41351. - alert: PrometheusRemoteWriteDesiredShards
  41352. annotations:
  41353. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} remote write desired shards calculation wants to run {{ $value }} shards for queue {{ $labels.remote_name}}:{{ $labels.url }}, which is more than the max of {{ printf `prometheus_remote_storage_shards_max{instance="%s",job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}` $labels.instance | query | first | value }}.
  41354. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusremotewritedesiredshards
  41355. summary: Prometheus remote write desired shards calculation wants to run more than configured max shards.
  41356. expr: |-
  41357. # Without max_over_time, failed scrapes could create false negatives, see
  41358. # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
  41359. (
  41360. max_over_time(prometheus_remote_storage_shards_desired{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m])
  41361. >
  41362. max_over_time(prometheus_remote_storage_shards_max{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m])
  41363. )
  41364. for: 15m
  41365. labels:
  41366. severity: warning
  41367. - alert: PrometheusRuleFailures
  41368. annotations:
  41369. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has failed to evaluate {{ printf "%.0f" $value }} rules in the last 5m.
  41370. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusrulefailures
  41371. summary: Prometheus is failing rule evaluations.
  41372. expr: increase(prometheus_rule_evaluation_failures_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) > 0
  41373. for: 15m
  41374. labels:
  41375. severity: critical
  41376. - alert: PrometheusMissingRuleEvaluations
  41377. annotations:
  41378. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has missed {{ printf "%.0f" $value }} rule group evaluations in the last 5m.
  41379. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusmissingruleevaluations
  41380. summary: Prometheus is missing rule evaluations due to slow rule group evaluation.
  41381. expr: increase(prometheus_rule_group_iterations_missed_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) > 0
  41382. for: 15m
  41383. labels:
  41384. severity: warning
  41385. - alert: PrometheusTargetLimitHit
  41386. annotations:
  41387. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has dropped {{ printf "%.0f" $value }} targets because the number of targets exceeded the configured target_limit.
  41388. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheustargetlimithit
  41389. summary: Prometheus has dropped targets because some scrape configs have exceeded the targets limit.
  41390. expr: increase(prometheus_target_scrape_pool_exceeded_target_limit_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) > 0
  41391. for: 15m
  41392. labels:
  41393. severity: warning
  41394. - alert: PrometheusLabelLimitHit
  41395. annotations:
  41396. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has dropped {{ printf "%.0f" $value }} targets because some samples exceeded the configured label_limit, label_name_length_limit or label_value_length_limit.
  41397. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheuslabellimithit
  41398. summary: Prometheus has dropped targets because some scrape configs have exceeded the labels limit.
  41399. expr: increase(prometheus_target_scrape_pool_exceeded_label_limits_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) > 0
  41400. for: 15m
  41401. labels:
  41402. severity: warning
  41403. - alert: PrometheusScrapeBodySizeLimitHit
  41404. annotations:
  41405. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has failed {{ printf "%.0f" $value }} scrapes in the last 5m because some targets exceeded the configured body_size_limit.
  41406. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusscrapebodysizelimithit
  41407. summary: Prometheus has dropped some targets that exceeded body size limit.
  41408. expr: increase(prometheus_target_scrapes_exceeded_body_size_limit_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) > 0
  41409. for: 15m
  41410. labels:
  41411. severity: warning
  41412. - alert: PrometheusScrapeSampleLimitHit
  41413. annotations:
  41414. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has failed {{ printf "%.0f" $value }} scrapes in the last 5m because some targets exceeded the configured sample_limit.
  41415. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusscrapesamplelimithit
  41416. summary: Prometheus has failed scrapes that have exceeded the configured sample limit.
  41417. expr: increase(prometheus_target_scrapes_exceeded_sample_limit_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) > 0
  41418. for: 15m
  41419. labels:
  41420. severity: warning
  41421. - alert: PrometheusTargetSyncFailure
  41422. annotations:
  41423. description: '{{ printf "%.0f" $value }} targets in Prometheus {{$labels.namespace}}/{{$labels.pod}} have failed to sync because invalid configuration was supplied.'
  41424. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheustargetsyncfailure
  41425. summary: Prometheus has failed to sync targets.
  41426. expr: increase(prometheus_target_sync_failed_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[30m]) > 0
  41427. for: 5m
  41428. labels:
  41429. severity: critical
  41430. - alert: PrometheusHighQueryLoad
  41431. annotations:
  41432. description: Prometheus {{$labels.namespace}}/{{$labels.pod}} query API has less than 20% available capacity in its query engine for the last 15 minutes.
  41433. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheushighqueryload
  41434. summary: Prometheus is reaching its maximum capacity serving concurrent requests.
  41435. expr: avg_over_time(prometheus_engine_queries{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) / max_over_time(prometheus_engine_queries_concurrent_max{job="prometheus-kube-prometheus-prometheus",namespace="monitoring"}[5m]) > 0.8
  41436. for: 15m
  41437. labels:
  41438. severity: warning
  41439. - alert: PrometheusErrorSendingAlertsToAnyAlertmanager
  41440. annotations:
  41441. description: '{{ printf "%.1f" $value }}% minimum errors while sending alerts from Prometheus {{$labels.namespace}}/{{$labels.pod}} to any Alertmanager.'
  41442. runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheuserrorsendingalertstoanyalertmanager
  41443. summary: Prometheus encounters more than 3% errors sending alerts to any Alertmanager.
  41444. expr: |-
  41445. min without (alertmanager) (
  41446. rate(prometheus_notifications_errors_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring",alertmanager!~``}[5m])
  41447. /
  41448. rate(prometheus_notifications_sent_total{job="prometheus-kube-prometheus-prometheus",namespace="monitoring",alertmanager!~``}[5m])
  41449. )
  41450. * 100
  41451. > 3
  41452. for: 15m
  41453. labels:
  41454. severity: critical
  41455. ---
  41456. # Source: kube-prometheus-stack/charts/grafana/templates/servicemonitor.yaml
  41457. apiVersion: monitoring.coreos.com/v1
  41458. kind: ServiceMonitor
  41459. metadata:
  41460. name: prometheus-grafana
  41461. namespace: monitoring
  41462. labels:
  41463. helm.sh/chart: grafana-6.50.2
  41464. app.kubernetes.io/name: grafana
  41465. app.kubernetes.io/instance: prometheus
  41466. app.kubernetes.io/version: "9.3.1"
  41467. app.kubernetes.io/managed-by: Helm
  41468. spec:
  41469. endpoints:
  41470. - port: http-web
  41471. scrapeTimeout: 30s
  41472. honorLabels: true
  41473. path: /metrics
  41474. scheme: http
  41475. jobLabel: "prometheus"
  41476. selector:
  41477. matchLabels:
  41478. app.kubernetes.io/name: grafana
  41479. app.kubernetes.io/instance: prometheus
  41480. namespaceSelector:
  41481. matchNames:
  41482. - monitoring
  41483. ---
  41484. # Source: kube-prometheus-stack/charts/kube-state-metrics/templates/servicemonitor.yaml
  41485. apiVersion: monitoring.coreos.com/v1
  41486. kind: ServiceMonitor
  41487. metadata:
  41488. name: prometheus-kube-state-metrics
  41489. namespace: monitoring
  41490. labels:
  41491. helm.sh/chart: kube-state-metrics-4.24.0
  41492. app.kubernetes.io/managed-by: Helm
  41493. app.kubernetes.io/component: metrics
  41494. app.kubernetes.io/part-of: kube-state-metrics
  41495. app.kubernetes.io/name: kube-state-metrics
  41496. app.kubernetes.io/instance: prometheus
  41497. app.kubernetes.io/version: "2.7.0"
  41498. release: prometheus
  41499. spec:
  41500. jobLabel: app.kubernetes.io/name
  41501. selector:
  41502. matchLabels:
  41503. app.kubernetes.io/name: kube-state-metrics
  41504. app.kubernetes.io/instance: prometheus
  41505. endpoints:
  41506. - port: http
  41507. honorLabels: true
  41508. ---
  41509. # Source: kube-prometheus-stack/charts/prometheus-node-exporter/templates/servicemonitor.yaml
  41510. apiVersion: monitoring.coreos.com/v1
  41511. kind: ServiceMonitor
  41512. metadata:
  41513. name: prometheus-prometheus-node-exporter
  41514. namespace: monitoring
  41515. labels:
  41516. helm.sh/chart: prometheus-node-exporter-4.8.1
  41517. app.kubernetes.io/managed-by: Helm
  41518. app.kubernetes.io/component: metrics
  41519. app.kubernetes.io/part-of: prometheus-node-exporter
  41520. app.kubernetes.io/name: prometheus-node-exporter
  41521. app.kubernetes.io/instance: prometheus
  41522. app.kubernetes.io/version: "1.5.0"
  41523. jobLabel: node-exporter
  41524. release: prometheus
  41525. spec:
  41526. jobLabel: jobLabel
  41527. selector:
  41528. matchLabels:
  41529. app.kubernetes.io/name: prometheus-node-exporter
  41530. app.kubernetes.io/instance: prometheus
  41531. endpoints:
  41532. - port: http-metrics
  41533. scheme: http
  41534. ---
  41535. # Source: kube-prometheus-stack/templates/alertmanager/servicemonitor.yaml
  41536. apiVersion: monitoring.coreos.com/v1
  41537. kind: ServiceMonitor
  41538. metadata:
  41539. name: prometheus-kube-prometheus-alertmanager
  41540. namespace: monitoring
  41541. labels:
  41542. app: kube-prometheus-stack-alertmanager
  41543. app.kubernetes.io/managed-by: Helm
  41544. app.kubernetes.io/instance: prometheus
  41545. app.kubernetes.io/version: "44.3.0"
  41546. app.kubernetes.io/part-of: kube-prometheus-stack
  41547. chart: kube-prometheus-stack-44.3.0
  41548. release: "prometheus"
  41549. heritage: "Helm"
  41550. spec:
  41551. selector:
  41552. matchLabels:
  41553. app: kube-prometheus-stack-alertmanager
  41554. release: "prometheus"
  41555. self-monitor: "true"
  41556. namespaceSelector:
  41557. matchNames:
  41558. - "monitoring"
  41559. endpoints:
  41560. - port: http-web
  41561. enableHttp2: true
  41562. path: "/metrics"
  41563. ---
  41564. # Source: kube-prometheus-stack/templates/exporters/core-dns/servicemonitor.yaml
  41565. apiVersion: monitoring.coreos.com/v1
  41566. kind: ServiceMonitor
  41567. metadata:
  41568. name: prometheus-kube-prometheus-coredns
  41569. namespace: monitoring
  41570. labels:
  41571. app: kube-prometheus-stack-coredns
  41572. app.kubernetes.io/managed-by: Helm
  41573. app.kubernetes.io/instance: prometheus
  41574. app.kubernetes.io/version: "44.3.0"
  41575. app.kubernetes.io/part-of: kube-prometheus-stack
  41576. chart: kube-prometheus-stack-44.3.0
  41577. release: "prometheus"
  41578. heritage: "Helm"
  41579. spec:
  41580. jobLabel: jobLabel
  41581. selector:
  41582. matchLabels:
  41583. app: kube-prometheus-stack-coredns
  41584. release: "prometheus"
  41585. namespaceSelector:
  41586. matchNames:
  41587. - "kube-system"
  41588. endpoints:
  41589. - port: http-metrics
  41590. bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
  41591. ---
  41592. # Source: kube-prometheus-stack/templates/exporters/kube-api-server/servicemonitor.yaml
  41593. apiVersion: monitoring.coreos.com/v1
  41594. kind: ServiceMonitor
  41595. metadata:
  41596. name: prometheus-kube-prometheus-apiserver
  41597. namespace: monitoring
  41598. labels:
  41599. app: kube-prometheus-stack-apiserver
  41600. app.kubernetes.io/managed-by: Helm
  41601. app.kubernetes.io/instance: prometheus
  41602. app.kubernetes.io/version: "44.3.0"
  41603. app.kubernetes.io/part-of: kube-prometheus-stack
  41604. chart: kube-prometheus-stack-44.3.0
  41605. release: "prometheus"
  41606. heritage: "Helm"
  41607. spec:
  41608. endpoints:
  41609. - bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
  41610. port: https
  41611. scheme: https
  41612. metricRelabelings:
  41613. - action: drop
  41614. regex: apiserver_request_duration_seconds_bucket;(0.15|0.2|0.3|0.35|0.4|0.45|0.6|0.7|0.8|0.9|1.25|1.5|1.75|2|3|3.5|4|4.5|6|7|8|9|15|25|40|50)
  41615. sourceLabels:
  41616. - __name__
  41617. - le
  41618. tlsConfig:
  41619. caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
  41620. serverName: kubernetes
  41621. insecureSkipVerify: false
  41622. jobLabel: component
  41623. namespaceSelector:
  41624. matchNames:
  41625. - default
  41626. selector:
  41627. matchLabels:
  41628. component: apiserver
  41629. provider: kubernetes
  41630. ---
  41631. # Source: kube-prometheus-stack/templates/exporters/kube-controller-manager/servicemonitor.yaml
  41632. apiVersion: monitoring.coreos.com/v1
  41633. kind: ServiceMonitor
  41634. metadata:
  41635. name: prometheus-kube-prometheus-kube-controller-manager
  41636. namespace: monitoring
  41637. labels:
  41638. app: kube-prometheus-stack-kube-controller-manager
  41639. app.kubernetes.io/managed-by: Helm
  41640. app.kubernetes.io/instance: prometheus
  41641. app.kubernetes.io/version: "44.3.0"
  41642. app.kubernetes.io/part-of: kube-prometheus-stack
  41643. chart: kube-prometheus-stack-44.3.0
  41644. release: "prometheus"
  41645. heritage: "Helm"
  41646. spec:
  41647. jobLabel: jobLabel
  41648. selector:
  41649. matchLabels:
  41650. app: kube-prometheus-stack-kube-controller-manager
  41651. release: "prometheus"
  41652. namespaceSelector:
  41653. matchNames:
  41654. - "kube-system"
  41655. endpoints:
  41656. - port: http-metrics
  41657. bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
  41658. ---
  41659. # Source: kube-prometheus-stack/templates/exporters/kube-etcd/servicemonitor.yaml
  41660. apiVersion: monitoring.coreos.com/v1
  41661. kind: ServiceMonitor
  41662. metadata:
  41663. name: prometheus-kube-prometheus-kube-etcd
  41664. namespace: monitoring
  41665. labels:
  41666. app: kube-prometheus-stack-kube-etcd
  41667. app.kubernetes.io/managed-by: Helm
  41668. app.kubernetes.io/instance: prometheus
  41669. app.kubernetes.io/version: "44.3.0"
  41670. app.kubernetes.io/part-of: kube-prometheus-stack
  41671. chart: kube-prometheus-stack-44.3.0
  41672. release: "prometheus"
  41673. heritage: "Helm"
  41674. spec:
  41675. jobLabel: jobLabel
  41676. selector:
  41677. matchLabels:
  41678. app: kube-prometheus-stack-kube-etcd
  41679. release: "prometheus"
  41680. namespaceSelector:
  41681. matchNames:
  41682. - "kube-system"
  41683. endpoints:
  41684. - port: http-metrics
  41685. bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
  41686. ---
  41687. # Source: kube-prometheus-stack/templates/exporters/kube-proxy/servicemonitor.yaml
  41688. apiVersion: monitoring.coreos.com/v1
  41689. kind: ServiceMonitor
  41690. metadata:
  41691. name: prometheus-kube-prometheus-kube-proxy
  41692. namespace: monitoring
  41693. labels:
  41694. app: kube-prometheus-stack-kube-proxy
  41695. app.kubernetes.io/managed-by: Helm
  41696. app.kubernetes.io/instance: prometheus
  41697. app.kubernetes.io/version: "44.3.0"
  41698. app.kubernetes.io/part-of: kube-prometheus-stack
  41699. chart: kube-prometheus-stack-44.3.0
  41700. release: "prometheus"
  41701. heritage: "Helm"
  41702. spec:
  41703. jobLabel: jobLabel
  41704. selector:
  41705. matchLabels:
  41706. app: kube-prometheus-stack-kube-proxy
  41707. release: "prometheus"
  41708. namespaceSelector:
  41709. matchNames:
  41710. - "kube-system"
  41711. endpoints:
  41712. - port: http-metrics
  41713. bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
  41714. ---
  41715. # Source: kube-prometheus-stack/templates/exporters/kube-scheduler/servicemonitor.yaml
  41716. apiVersion: monitoring.coreos.com/v1
  41717. kind: ServiceMonitor
  41718. metadata:
  41719. name: prometheus-kube-prometheus-kube-scheduler
  41720. namespace: monitoring
  41721. labels:
  41722. app: kube-prometheus-stack-kube-scheduler
  41723. app.kubernetes.io/managed-by: Helm
  41724. app.kubernetes.io/instance: prometheus
  41725. app.kubernetes.io/version: "44.3.0"
  41726. app.kubernetes.io/part-of: kube-prometheus-stack
  41727. chart: kube-prometheus-stack-44.3.0
  41728. release: "prometheus"
  41729. heritage: "Helm"
  41730. spec:
  41731. jobLabel: jobLabel
  41732. selector:
  41733. matchLabels:
  41734. app: kube-prometheus-stack-kube-scheduler
  41735. release: "prometheus"
  41736. namespaceSelector:
  41737. matchNames:
  41738. - "kube-system"
  41739. endpoints:
  41740. - port: http-metrics
  41741. bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
  41742. ---
  41743. # Source: kube-prometheus-stack/templates/exporters/kubelet/servicemonitor.yaml
  41744. apiVersion: monitoring.coreos.com/v1
  41745. kind: ServiceMonitor
  41746. metadata:
  41747. name: prometheus-kube-prometheus-kubelet
  41748. namespace: monitoring
  41749. labels:
  41750. app: kube-prometheus-stack-kubelet
  41751. app.kubernetes.io/managed-by: Helm
  41752. app.kubernetes.io/instance: prometheus
  41753. app.kubernetes.io/version: "44.3.0"
  41754. app.kubernetes.io/part-of: kube-prometheus-stack
  41755. chart: kube-prometheus-stack-44.3.0
  41756. release: "prometheus"
  41757. heritage: "Helm"
  41758. spec:
  41759. endpoints:
  41760. - port: https-metrics
  41761. scheme: https
  41762. tlsConfig:
  41763. caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
  41764. insecureSkipVerify: true
  41765. bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
  41766. honorLabels: true
  41767. relabelings:
  41768. - action: replace
  41769. sourceLabels:
  41770. - __metrics_path__
  41771. targetLabel: metrics_path
  41772. - port: https-metrics
  41773. scheme: https
  41774. path: /metrics/cadvisor
  41775. honorLabels: true
  41776. tlsConfig:
  41777. caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
  41778. insecureSkipVerify: true
  41779. bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
  41780. metricRelabelings:
  41781. - action: drop
  41782. regex: container_cpu_(cfs_throttled_seconds_total|load_average_10s|system_seconds_total|user_seconds_total)
  41783. sourceLabels:
  41784. - __name__
  41785. - action: drop
  41786. regex: container_fs_(io_current|io_time_seconds_total|io_time_weighted_seconds_total|reads_merged_total|sector_reads_total|sector_writes_total|writes_merged_total)
  41787. sourceLabels:
  41788. - __name__
  41789. - action: drop
  41790. regex: container_memory_(mapped_file|swap)
  41791. sourceLabels:
  41792. - __name__
  41793. - action: drop
  41794. regex: container_(file_descriptors|tasks_state|threads_max)
  41795. sourceLabels:
  41796. - __name__
  41797. - action: drop
  41798. regex: container_spec.*
  41799. sourceLabels:
  41800. - __name__
  41801. - action: drop
  41802. regex: .+;
  41803. sourceLabels:
  41804. - id
  41805. - pod
  41806. relabelings:
  41807. - action: replace
  41808. sourceLabels:
  41809. - __metrics_path__
  41810. targetLabel: metrics_path
  41811. - port: https-metrics
  41812. scheme: https
  41813. path: /metrics/probes
  41814. honorLabels: true
  41815. tlsConfig:
  41816. caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
  41817. insecureSkipVerify: true
  41818. bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
  41819. relabelings:
  41820. - action: replace
  41821. sourceLabels:
  41822. - __metrics_path__
  41823. targetLabel: metrics_path
  41824. jobLabel: k8s-app
  41825. namespaceSelector:
  41826. matchNames:
  41827. - kube-system
  41828. selector:
  41829. matchLabels:
  41830. app.kubernetes.io/name: kubelet
  41831. k8s-app: kubelet
  41832. ---
  41833. # Source: kube-prometheus-stack/templates/prometheus-operator/servicemonitor.yaml
  41834. apiVersion: monitoring.coreos.com/v1
  41835. kind: ServiceMonitor
  41836. metadata:
  41837. name: prometheus-kube-prometheus-operator
  41838. namespace: monitoring
  41839. labels:
  41840. app: kube-prometheus-stack-operator
  41841. app.kubernetes.io/managed-by: Helm
  41842. app.kubernetes.io/instance: prometheus
  41843. app.kubernetes.io/version: "44.3.0"
  41844. app.kubernetes.io/part-of: kube-prometheus-stack
  41845. chart: kube-prometheus-stack-44.3.0
  41846. release: "prometheus"
  41847. heritage: "Helm"
  41848. spec:
  41849. endpoints:
  41850. - port: https
  41851. scheme: https
  41852. tlsConfig:
  41853. serverName: prometheus-kube-prometheus-operator
  41854. ca:
  41855. secret:
  41856. name: prometheus-kube-prometheus-admission
  41857. key: ca
  41858. optional: false
  41859. honorLabels: true
  41860. selector:
  41861. matchLabels:
  41862. app: kube-prometheus-stack-operator
  41863. release: "prometheus"
  41864. namespaceSelector:
  41865. matchNames:
  41866. - "monitoring"
  41867. ---
  41868. # Source: kube-prometheus-stack/templates/prometheus/servicemonitor.yaml
  41869. apiVersion: monitoring.coreos.com/v1
  41870. kind: ServiceMonitor
  41871. metadata:
  41872. name: prometheus-kube-prometheus-prometheus
  41873. namespace: monitoring
  41874. labels:
  41875. app: kube-prometheus-stack-prometheus
  41876. app.kubernetes.io/managed-by: Helm
  41877. app.kubernetes.io/instance: prometheus
  41878. app.kubernetes.io/version: "44.3.0"
  41879. app.kubernetes.io/part-of: kube-prometheus-stack
  41880. chart: kube-prometheus-stack-44.3.0
  41881. release: "prometheus"
  41882. heritage: "Helm"
  41883. spec:
  41884. selector:
  41885. matchLabels:
  41886. app: kube-prometheus-stack-prometheus
  41887. release: "prometheus"
  41888. self-monitor: "true"
  41889. namespaceSelector:
  41890. matchNames:
  41891. - "monitoring"
  41892. endpoints:
  41893. - port: http-web
  41894. path: "/metrics"
  41895. ---
  41896. # Source: kube-prometheus-stack/templates/prometheus-operator/admission-webhooks/validatingWebhookConfiguration.yaml
  41897. apiVersion: admissionregistration.k8s.io/v1
  41898. kind: ValidatingWebhookConfiguration
  41899. metadata:
  41900. name: prometheus-kube-prometheus-admission
  41901. labels:
  41902. app: kube-prometheus-stack-admission
  41903. app.kubernetes.io/managed-by: Helm
  41904. app.kubernetes.io/instance: prometheus
  41905. app.kubernetes.io/version: "44.3.0"
  41906. app.kubernetes.io/part-of: kube-prometheus-stack
  41907. chart: kube-prometheus-stack-44.3.0
  41908. release: "prometheus"
  41909. heritage: "Helm"
  41910. webhooks:
  41911. - name: prometheusrulemutate.monitoring.coreos.com
  41912. failurePolicy: Ignore
  41913. rules:
  41914. - apiGroups:
  41915. - monitoring.coreos.com
  41916. apiVersions:
  41917. - "*"
  41918. resources:
  41919. - prometheusrules
  41920. operations:
  41921. - CREATE
  41922. - UPDATE
  41923. clientConfig:
  41924. service:
  41925. namespace: monitoring
  41926. name: prometheus-kube-prometheus-operator
  41927. path: /admission-prometheusrules/validate
  41928. timeoutSeconds: 10
  41929. admissionReviewVersions: ["v1", "v1beta1"]
  41930. sideEffects: None
  41931. ---
  41932. # Source: kube-prometheus-stack/charts/grafana/templates/tests/test-serviceaccount.yaml
  41933. apiVersion: v1
  41934. kind: ServiceAccount
  41935. metadata:
  41936. labels:
  41937. helm.sh/chart: grafana-6.50.2
  41938. app.kubernetes.io/name: grafana
  41939. app.kubernetes.io/instance: prometheus
  41940. app.kubernetes.io/version: "9.3.1"
  41941. app.kubernetes.io/managed-by: Helm
  41942. name: prometheus-grafana-test
  41943. namespace: monitoring
  41944. annotations:
  41945. "helm.sh/hook": test-success
  41946. "helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded"
  41947. ---
  41948. # Source: kube-prometheus-stack/templates/prometheus-operator/admission-webhooks/job-patch/serviceaccount.yaml
  41949. apiVersion: v1
  41950. kind: ServiceAccount
  41951. metadata:
  41952. name: prometheus-kube-prometheus-admission
  41953. namespace: monitoring
  41954. annotations:
  41955. "helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
  41956. "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
  41957. labels:
  41958. app: kube-prometheus-stack-admission
  41959. app.kubernetes.io/managed-by: Helm
  41960. app.kubernetes.io/instance: prometheus
  41961. app.kubernetes.io/version: "44.3.0"
  41962. app.kubernetes.io/part-of: kube-prometheus-stack
  41963. chart: kube-prometheus-stack-44.3.0
  41964. release: "prometheus"
  41965. heritage: "Helm"
  41966. ---
  41967. # Source: kube-prometheus-stack/charts/grafana/templates/tests/test-configmap.yaml
  41968. apiVersion: v1
  41969. kind: ConfigMap
  41970. metadata:
  41971. name: prometheus-grafana-test
  41972. namespace: monitoring
  41973. annotations:
  41974. "helm.sh/hook": test-success
  41975. "helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded"
  41976. labels:
  41977. helm.sh/chart: grafana-6.50.2
  41978. app.kubernetes.io/name: grafana
  41979. app.kubernetes.io/instance: prometheus
  41980. app.kubernetes.io/version: "9.3.1"
  41981. app.kubernetes.io/managed-by: Helm
  41982. data:
  41983. run.sh: |-
  41984. @test "Test Health" {
  41985. url="http://prometheus-grafana/api/health"
  41986. code=$(wget --server-response --spider --timeout 90 --tries 10 ${url} 2>&1 | awk '/^ HTTP/{print $2}')
  41987. [ "$code" == "200" ]
  41988. }
  41989. ---
  41990. # Source: kube-prometheus-stack/templates/prometheus-operator/admission-webhooks/job-patch/clusterrole.yaml
  41991. apiVersion: rbac.authorization.k8s.io/v1
  41992. kind: ClusterRole
  41993. metadata:
  41994. name: prometheus-kube-prometheus-admission
  41995. annotations:
  41996. "helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
  41997. "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
  41998. labels:
  41999. app: kube-prometheus-stack-admission
  42000. app.kubernetes.io/managed-by: Helm
  42001. app.kubernetes.io/instance: prometheus
  42002. app.kubernetes.io/version: "44.3.0"
  42003. app.kubernetes.io/part-of: kube-prometheus-stack
  42004. chart: kube-prometheus-stack-44.3.0
  42005. release: "prometheus"
  42006. heritage: "Helm"
  42007. rules:
  42008. - apiGroups:
  42009. - admissionregistration.k8s.io
  42010. resources:
  42011. - validatingwebhookconfigurations
  42012. - mutatingwebhookconfigurations
  42013. verbs:
  42014. - get
  42015. - update
  42016. ---
  42017. # Source: kube-prometheus-stack/templates/prometheus-operator/admission-webhooks/job-patch/clusterrolebinding.yaml
  42018. apiVersion: rbac.authorization.k8s.io/v1
  42019. kind: ClusterRoleBinding
  42020. metadata:
  42021. name: prometheus-kube-prometheus-admission
  42022. annotations:
  42023. "helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
  42024. "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
  42025. labels:
  42026. app: kube-prometheus-stack-admission
  42027. app.kubernetes.io/managed-by: Helm
  42028. app.kubernetes.io/instance: prometheus
  42029. app.kubernetes.io/version: "44.3.0"
  42030. app.kubernetes.io/part-of: kube-prometheus-stack
  42031. chart: kube-prometheus-stack-44.3.0
  42032. release: "prometheus"
  42033. heritage: "Helm"
  42034. roleRef:
  42035. apiGroup: rbac.authorization.k8s.io
  42036. kind: ClusterRole
  42037. name: prometheus-kube-prometheus-admission
  42038. subjects:
  42039. - kind: ServiceAccount
  42040. name: prometheus-kube-prometheus-admission
  42041. namespace: monitoring
  42042. ---
  42043. # Source: kube-prometheus-stack/templates/prometheus-operator/admission-webhooks/job-patch/role.yaml
  42044. apiVersion: rbac.authorization.k8s.io/v1
  42045. kind: Role
  42046. metadata:
  42047. name: prometheus-kube-prometheus-admission
  42048. namespace: monitoring
  42049. annotations:
  42050. "helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
  42051. "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
  42052. labels:
  42053. app: kube-prometheus-stack-admission
  42054. app.kubernetes.io/managed-by: Helm
  42055. app.kubernetes.io/instance: prometheus
  42056. app.kubernetes.io/version: "44.3.0"
  42057. app.kubernetes.io/part-of: kube-prometheus-stack
  42058. chart: kube-prometheus-stack-44.3.0
  42059. release: "prometheus"
  42060. heritage: "Helm"
  42061. rules:
  42062. - apiGroups:
  42063. - ""
  42064. resources:
  42065. - secrets
  42066. verbs:
  42067. - get
  42068. - create
  42069. ---
  42070. # Source: kube-prometheus-stack/templates/prometheus-operator/admission-webhooks/job-patch/rolebinding.yaml
  42071. apiVersion: rbac.authorization.k8s.io/v1
  42072. kind: RoleBinding
  42073. metadata:
  42074. name: prometheus-kube-prometheus-admission
  42075. namespace: monitoring
  42076. annotations:
  42077. "helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
  42078. "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
  42079. labels:
  42080. app: kube-prometheus-stack-admission
  42081. app.kubernetes.io/managed-by: Helm
  42082. app.kubernetes.io/instance: prometheus
  42083. app.kubernetes.io/version: "44.3.0"
  42084. app.kubernetes.io/part-of: kube-prometheus-stack
  42085. chart: kube-prometheus-stack-44.3.0
  42086. release: "prometheus"
  42087. heritage: "Helm"
  42088. roleRef:
  42089. apiGroup: rbac.authorization.k8s.io
  42090. kind: Role
  42091. name: prometheus-kube-prometheus-admission
  42092. subjects:
  42093. - kind: ServiceAccount
  42094. name: prometheus-kube-prometheus-admission
  42095. namespace: monitoring
  42096. ---
  42097. # Source: kube-prometheus-stack/charts/grafana/templates/tests/test.yaml
  42098. apiVersion: v1
  42099. kind: Pod
  42100. metadata:
  42101. name: prometheus-grafana-test
  42102. labels:
  42103. helm.sh/chart: grafana-6.50.2
  42104. app.kubernetes.io/name: grafana
  42105. app.kubernetes.io/instance: prometheus
  42106. app.kubernetes.io/version: "9.3.1"
  42107. app.kubernetes.io/managed-by: Helm
  42108. annotations:
  42109. "helm.sh/hook": test-success
  42110. "helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded"
  42111. namespace: monitoring
  42112. spec:
  42113. serviceAccountName: prometheus-grafana-test
  42114. containers:
  42115. - name: prometheus-test
  42116. image: "bats/bats:v1.4.1"
  42117. imagePullPolicy: "IfNotPresent"
  42118. command: ["/opt/bats/bin/bats", "-t", "/tests/run.sh"]
  42119. volumeMounts:
  42120. - mountPath: /tests
  42121. name: tests
  42122. readOnly: true
  42123. volumes:
  42124. - name: tests
  42125. configMap:
  42126. name: prometheus-grafana-test
  42127. restartPolicy: Never
  42128. ---
  42129. # Source: kube-prometheus-stack/templates/prometheus-operator/admission-webhooks/job-patch/job-createSecret.yaml
  42130. apiVersion: batch/v1
  42131. kind: Job
  42132. metadata:
  42133. name: prometheus-kube-prometheus-admission-create
  42134. namespace: monitoring
  42135. annotations:
  42136. "helm.sh/hook": pre-install,pre-upgrade
  42137. "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
  42138. labels:
  42139. app: kube-prometheus-stack-admission-create
  42140. app.kubernetes.io/managed-by: Helm
  42141. app.kubernetes.io/instance: prometheus
  42142. app.kubernetes.io/version: "44.3.0"
  42143. app.kubernetes.io/part-of: kube-prometheus-stack
  42144. chart: kube-prometheus-stack-44.3.0
  42145. release: "prometheus"
  42146. heritage: "Helm"
  42147. spec:
  42148. template:
  42149. metadata:
  42150. name: prometheus-kube-prometheus-admission-create
  42151. labels:
  42152. app: kube-prometheus-stack-admission-create
  42153. app.kubernetes.io/managed-by: Helm
  42154. app.kubernetes.io/instance: prometheus
  42155. app.kubernetes.io/version: "44.3.0"
  42156. app.kubernetes.io/part-of: kube-prometheus-stack
  42157. chart: kube-prometheus-stack-44.3.0
  42158. release: "prometheus"
  42159. heritage: "Helm"
  42160. spec:
  42161. containers:
  42162. - name: create
  42163. image: registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.3.0
  42164. imagePullPolicy: IfNotPresent
  42165. args:
  42166. - create
  42167. - --host=prometheus-kube-prometheus-operator,prometheus-kube-prometheus-operator.monitoring.svc
  42168. - --namespace=monitoring
  42169. - --secret-name=prometheus-kube-prometheus-admission
  42170. securityContext:
  42171. {}
  42172. resources:
  42173. {}
  42174. restartPolicy: OnFailure
  42175. serviceAccountName: prometheus-kube-prometheus-admission
  42176. securityContext:
  42177. runAsGroup: 2000
  42178. runAsNonRoot: true
  42179. runAsUser: 2000
  42180. ---
  42181. # Source: kube-prometheus-stack/templates/prometheus-operator/admission-webhooks/job-patch/job-patchWebhook.yaml
  42182. apiVersion: batch/v1
  42183. kind: Job
  42184. metadata:
  42185. name: prometheus-kube-prometheus-admission-patch
  42186. namespace: monitoring
  42187. annotations:
  42188. "helm.sh/hook": post-install,post-upgrade
  42189. "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
  42190. labels:
  42191. app: kube-prometheus-stack-admission-patch
  42192. app.kubernetes.io/managed-by: Helm
  42193. app.kubernetes.io/instance: prometheus
  42194. app.kubernetes.io/version: "44.3.0"
  42195. app.kubernetes.io/part-of: kube-prometheus-stack
  42196. chart: kube-prometheus-stack-44.3.0
  42197. release: "prometheus"
  42198. heritage: "Helm"
  42199. spec:
  42200. template:
  42201. metadata:
  42202. name: prometheus-kube-prometheus-admission-patch
  42203. labels:
  42204. app: kube-prometheus-stack-admission-patch
  42205. app.kubernetes.io/managed-by: Helm
  42206. app.kubernetes.io/instance: prometheus
  42207. app.kubernetes.io/version: "44.3.0"
  42208. app.kubernetes.io/part-of: kube-prometheus-stack
  42209. chart: kube-prometheus-stack-44.3.0
  42210. release: "prometheus"
  42211. heritage: "Helm"
  42212. spec:
  42213. containers:
  42214. - name: patch
  42215. image: registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.3.0
  42216. imagePullPolicy: IfNotPresent
  42217. args:
  42218. - patch
  42219. - --webhook-name=prometheus-kube-prometheus-admission
  42220. - --namespace=monitoring
  42221. - --secret-name=prometheus-kube-prometheus-admission
  42222. - --patch-failure-policy=
  42223. securityContext:
  42224. {}
  42225. resources:
  42226. {}
  42227. restartPolicy: OnFailure
  42228. serviceAccountName: prometheus-kube-prometheus-admission
  42229. securityContext:
  42230. runAsGroup: 2000
  42231. runAsNonRoot: true
  42232. runAsUser: 2000