ResoDB-cluster_rev20.json 176 KB

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