1
0

synapse.json 204 KB

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