synapse.json 344 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765
  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. "__elements": {},
  13. "__requires": [
  14. {
  15. "type": "grafana",
  16. "id": "grafana",
  17. "name": "Grafana",
  18. "version": "9.2.2"
  19. },
  20. {
  21. "type": "panel",
  22. "id": "graph",
  23. "name": "Graph (old)",
  24. "version": ""
  25. },
  26. {
  27. "type": "panel",
  28. "id": "heatmap",
  29. "name": "Heatmap",
  30. "version": ""
  31. },
  32. {
  33. "type": "datasource",
  34. "id": "prometheus",
  35. "name": "Prometheus",
  36. "version": "1.0.0"
  37. },
  38. {
  39. "type": "panel",
  40. "id": "timeseries",
  41. "name": "Time series",
  42. "version": ""
  43. }
  44. ],
  45. "annotations": {
  46. "list": [
  47. {
  48. "builtIn": 1,
  49. "datasource": {
  50. "uid": "$datasource"
  51. },
  52. "enable": false,
  53. "hide": true,
  54. "iconColor": "rgba(0, 211, 255, 1)",
  55. "limit": 100,
  56. "name": "Annotations & Alerts",
  57. "showIn": 0,
  58. "type": "dashboard"
  59. }
  60. ]
  61. },
  62. "editable": true,
  63. "fiscalYearStartMonth": 0,
  64. "graphTooltip": 0,
  65. "id": null,
  66. "links": [
  67. {
  68. "asDropdown": false,
  69. "icon": "external link",
  70. "includeVars": true,
  71. "keepTime": true,
  72. "tags": [
  73. "matrix"
  74. ],
  75. "title": "Dashboards",
  76. "type": "dashboards"
  77. }
  78. ],
  79. "liveNow": false,
  80. "panels": [
  81. {
  82. "collapsed": false,
  83. "datasource": {
  84. "type": "prometheus",
  85. "uid": "000000001"
  86. },
  87. "gridPos": {
  88. "h": 1,
  89. "w": 24,
  90. "x": 0,
  91. "y": 0
  92. },
  93. "id": 73,
  94. "panels": [],
  95. "targets": [
  96. {
  97. "datasource": {
  98. "type": "prometheus",
  99. "uid": "000000001"
  100. },
  101. "refId": "A"
  102. }
  103. ],
  104. "title": "Overview",
  105. "type": "row"
  106. },
  107. {
  108. "cards": {
  109. "cardPadding": -1,
  110. "cardRound": 0
  111. },
  112. "color": {
  113. "cardColor": "#b4ff00",
  114. "colorScale": "sqrt",
  115. "colorScheme": "interpolateInferno",
  116. "exponent": 0.5,
  117. "mode": "spectrum"
  118. },
  119. "dataFormat": "tsbuckets",
  120. "datasource": {
  121. "uid": "$datasource"
  122. },
  123. "fieldConfig": {
  124. "defaults": {
  125. "custom": {
  126. "hideFrom": {
  127. "legend": false,
  128. "tooltip": false,
  129. "viz": false
  130. },
  131. "scaleDistribution": {
  132. "type": "linear"
  133. }
  134. }
  135. },
  136. "overrides": []
  137. },
  138. "gridPos": {
  139. "h": 9,
  140. "w": 12,
  141. "x": 0,
  142. "y": 1
  143. },
  144. "heatmap": {},
  145. "hideZeroBuckets": false,
  146. "highlightCards": true,
  147. "id": 189,
  148. "legend": {
  149. "show": false
  150. },
  151. "links": [],
  152. "options": {
  153. "calculate": false,
  154. "calculation": {},
  155. "cellGap": -1,
  156. "cellRadius": 0,
  157. "cellValues": {},
  158. "color": {
  159. "exponent": 0.5,
  160. "fill": "#b4ff00",
  161. "mode": "scheme",
  162. "reverse": false,
  163. "scale": "exponential",
  164. "scheme": "Inferno",
  165. "steps": 128
  166. },
  167. "exemplars": {
  168. "color": "rgba(255,0,255,0.7)"
  169. },
  170. "filterValues": {
  171. "le": 1e-9
  172. },
  173. "legend": {
  174. "show": false
  175. },
  176. "rowsFrame": {
  177. "layout": "auto"
  178. },
  179. "showValue": "never",
  180. "tooltip": {
  181. "show": true,
  182. "yHistogram": true
  183. },
  184. "yAxis": {
  185. "axisPlacement": "left",
  186. "reverse": false,
  187. "unit": "s"
  188. }
  189. },
  190. "pluginVersion": "9.2.2",
  191. "reverseYBuckets": false,
  192. "targets": [
  193. {
  194. "datasource": {
  195. "uid": "$datasource"
  196. },
  197. "expr": "sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le)",
  198. "format": "heatmap",
  199. "interval": "",
  200. "intervalFactor": 1,
  201. "legendFormat": "{{le}}",
  202. "refId": "A"
  203. }
  204. ],
  205. "title": "Event Send Time (excluding errors, all workers)",
  206. "tooltip": {
  207. "show": true,
  208. "showHistogram": true
  209. },
  210. "type": "heatmap",
  211. "xAxis": {
  212. "show": true
  213. },
  214. "yAxis": {
  215. "format": "s",
  216. "logBase": 2,
  217. "show": true
  218. },
  219. "yBucketBound": "auto"
  220. },
  221. {
  222. "aliasColors": {},
  223. "bars": false,
  224. "dashLength": 10,
  225. "dashes": false,
  226. "datasource": {
  227. "uid": "$datasource"
  228. },
  229. "description": "",
  230. "fieldConfig": {
  231. "defaults": {
  232. "links": []
  233. },
  234. "overrides": []
  235. },
  236. "fill": 0,
  237. "fillGradient": 0,
  238. "gridPos": {
  239. "h": 9,
  240. "w": 12,
  241. "x": 12,
  242. "y": 1
  243. },
  244. "hiddenSeries": false,
  245. "id": 152,
  246. "legend": {
  247. "avg": false,
  248. "current": false,
  249. "max": false,
  250. "min": false,
  251. "rightSide": false,
  252. "show": true,
  253. "total": false,
  254. "values": false
  255. },
  256. "lines": true,
  257. "linewidth": 0,
  258. "links": [],
  259. "nullPointMode": "connected",
  260. "options": {
  261. "alertThreshold": true
  262. },
  263. "paceLength": 10,
  264. "percentage": false,
  265. "pluginVersion": "9.2.2",
  266. "pointradius": 5,
  267. "points": false,
  268. "renderer": "flot",
  269. "seriesOverrides": [
  270. {
  271. "alias": "Avg",
  272. "fill": 0,
  273. "linewidth": 3
  274. },
  275. {
  276. "alias": "99%",
  277. "color": "#C4162A",
  278. "fillBelowTo": "90%"
  279. },
  280. {
  281. "alias": "90%",
  282. "color": "#FF7383",
  283. "fillBelowTo": "75%"
  284. },
  285. {
  286. "alias": "75%",
  287. "color": "#FFEE52",
  288. "fillBelowTo": "50%"
  289. },
  290. {
  291. "alias": "50%",
  292. "color": "#73BF69",
  293. "fillBelowTo": "25%"
  294. },
  295. {
  296. "alias": "25%",
  297. "color": "#1F60C4",
  298. "fillBelowTo": "5%"
  299. },
  300. {
  301. "alias": "5%",
  302. "lines": false
  303. },
  304. {
  305. "alias": "Average",
  306. "color": "rgb(255, 255, 255)",
  307. "lines": true,
  308. "linewidth": 3
  309. },
  310. {
  311. "alias": "Events",
  312. "color": "#B877D9",
  313. "hideTooltip": true,
  314. "points": true,
  315. "yaxis": 2,
  316. "zindex": -3
  317. }
  318. ],
  319. "spaceLength": 10,
  320. "stack": false,
  321. "steppedLine": false,
  322. "targets": [
  323. {
  324. "datasource": {
  325. "uid": "$datasource"
  326. },
  327. "expr": "histogram_quantile(0.99, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))",
  328. "format": "time_series",
  329. "intervalFactor": 1,
  330. "legendFormat": "99%",
  331. "refId": "D"
  332. },
  333. {
  334. "datasource": {
  335. "uid": "$datasource"
  336. },
  337. "expr": "histogram_quantile(0.9, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))",
  338. "format": "time_series",
  339. "interval": "",
  340. "intervalFactor": 1,
  341. "legendFormat": "90%",
  342. "refId": "A"
  343. },
  344. {
  345. "datasource": {
  346. "uid": "$datasource"
  347. },
  348. "expr": "histogram_quantile(0.75, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))",
  349. "format": "time_series",
  350. "intervalFactor": 1,
  351. "legendFormat": "75%",
  352. "refId": "C"
  353. },
  354. {
  355. "datasource": {
  356. "uid": "$datasource"
  357. },
  358. "expr": "histogram_quantile(0.5, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))",
  359. "format": "time_series",
  360. "intervalFactor": 1,
  361. "legendFormat": "50%",
  362. "refId": "B"
  363. },
  364. {
  365. "datasource": {
  366. "uid": "$datasource"
  367. },
  368. "expr": "histogram_quantile(0.25, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))",
  369. "legendFormat": "25%",
  370. "refId": "F"
  371. },
  372. {
  373. "datasource": {
  374. "uid": "$datasource"
  375. },
  376. "expr": "histogram_quantile(0.05, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))",
  377. "legendFormat": "5%",
  378. "refId": "G"
  379. },
  380. {
  381. "datasource": {
  382. "uid": "$datasource"
  383. },
  384. "expr": "sum(rate(synapse_http_server_response_time_seconds_sum{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) / sum(rate(synapse_http_server_response_time_seconds_count{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size]))",
  385. "legendFormat": "Average",
  386. "refId": "H"
  387. },
  388. {
  389. "datasource": {
  390. "uid": "$datasource"
  391. },
  392. "expr": "sum(rate(synapse_storage_events_persisted_events_total{instance=\"$instance\"}[$bucket_size]))",
  393. "hide": false,
  394. "instant": false,
  395. "legendFormat": "Events",
  396. "refId": "E"
  397. }
  398. ],
  399. "thresholds": [
  400. {
  401. "$$hashKey": "object:283",
  402. "colorMode": "warning",
  403. "fill": false,
  404. "line": true,
  405. "op": "gt",
  406. "value": 1,
  407. "yaxis": "left"
  408. },
  409. {
  410. "$$hashKey": "object:284",
  411. "colorMode": "critical",
  412. "fill": false,
  413. "line": true,
  414. "op": "gt",
  415. "value": 2,
  416. "yaxis": "left"
  417. }
  418. ],
  419. "timeRegions": [],
  420. "title": "Event Send Time Quantiles (excluding errors, all workers)",
  421. "tooltip": {
  422. "shared": true,
  423. "sort": 2,
  424. "value_type": "individual"
  425. },
  426. "type": "graph",
  427. "xaxis": {
  428. "mode": "time",
  429. "show": true,
  430. "values": []
  431. },
  432. "yaxes": [
  433. {
  434. "$$hashKey": "object:255",
  435. "format": "s",
  436. "label": "",
  437. "logBase": 1,
  438. "min": "0",
  439. "show": true
  440. },
  441. {
  442. "$$hashKey": "object:256",
  443. "format": "hertz",
  444. "label": "",
  445. "logBase": 1,
  446. "min": "0",
  447. "show": true
  448. }
  449. ],
  450. "yaxis": {
  451. "align": false
  452. }
  453. },
  454. {
  455. "aliasColors": {},
  456. "bars": false,
  457. "dashLength": 10,
  458. "dashes": false,
  459. "datasource": {
  460. "uid": "$datasource"
  461. },
  462. "fieldConfig": {
  463. "defaults": {
  464. "links": []
  465. },
  466. "overrides": []
  467. },
  468. "fill": 1,
  469. "fillGradient": 0,
  470. "gridPos": {
  471. "h": 9,
  472. "w": 12,
  473. "x": 0,
  474. "y": 10
  475. },
  476. "hiddenSeries": false,
  477. "id": 75,
  478. "legend": {
  479. "avg": false,
  480. "current": false,
  481. "max": false,
  482. "min": false,
  483. "show": true,
  484. "total": false,
  485. "values": false
  486. },
  487. "lines": true,
  488. "linewidth": 3,
  489. "links": [],
  490. "nullPointMode": "null",
  491. "options": {
  492. "alertThreshold": true
  493. },
  494. "paceLength": 10,
  495. "percentage": false,
  496. "pluginVersion": "9.2.2",
  497. "pointradius": 5,
  498. "points": false,
  499. "renderer": "flot",
  500. "seriesOverrides": [],
  501. "spaceLength": 10,
  502. "stack": false,
  503. "steppedLine": false,
  504. "targets": [
  505. {
  506. "datasource": {
  507. "uid": "$datasource"
  508. },
  509. "expr": "rate(process_cpu_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  510. "format": "time_series",
  511. "interval": "",
  512. "intervalFactor": 1,
  513. "legendFormat": "{{job}}-{{index}} ",
  514. "refId": "A"
  515. }
  516. ],
  517. "thresholds": [
  518. {
  519. "$$hashKey": "object:566",
  520. "colorMode": "critical",
  521. "fill": true,
  522. "line": true,
  523. "op": "gt",
  524. "value": 1,
  525. "yaxis": "left"
  526. }
  527. ],
  528. "timeRegions": [],
  529. "title": "CPU usage",
  530. "tooltip": {
  531. "shared": false,
  532. "sort": 0,
  533. "value_type": "individual"
  534. },
  535. "type": "graph",
  536. "xaxis": {
  537. "mode": "time",
  538. "show": true,
  539. "values": []
  540. },
  541. "yaxes": [
  542. {
  543. "$$hashKey": "object:538",
  544. "format": "percentunit",
  545. "logBase": 1,
  546. "max": "1.5",
  547. "min": "0",
  548. "show": true
  549. },
  550. {
  551. "$$hashKey": "object:539",
  552. "format": "short",
  553. "logBase": 1,
  554. "show": true
  555. }
  556. ],
  557. "yaxis": {
  558. "align": false
  559. }
  560. },
  561. {
  562. "aliasColors": {},
  563. "bars": false,
  564. "dashLength": 10,
  565. "dashes": false,
  566. "datasource": {
  567. "uid": "$datasource"
  568. },
  569. "editable": true,
  570. "error": false,
  571. "fieldConfig": {
  572. "defaults": {
  573. "links": []
  574. },
  575. "overrides": []
  576. },
  577. "fill": 1,
  578. "fillGradient": 0,
  579. "grid": {},
  580. "gridPos": {
  581. "h": 9,
  582. "w": 12,
  583. "x": 12,
  584. "y": 10
  585. },
  586. "hiddenSeries": false,
  587. "id": 198,
  588. "legend": {
  589. "avg": false,
  590. "current": false,
  591. "max": false,
  592. "min": false,
  593. "show": true,
  594. "total": false,
  595. "values": false
  596. },
  597. "lines": true,
  598. "linewidth": 3,
  599. "links": [],
  600. "nullPointMode": "null",
  601. "options": {
  602. "alertThreshold": true
  603. },
  604. "paceLength": 10,
  605. "percentage": false,
  606. "pluginVersion": "9.2.2",
  607. "pointradius": 5,
  608. "points": false,
  609. "renderer": "flot",
  610. "seriesOverrides": [],
  611. "spaceLength": 10,
  612. "stack": false,
  613. "steppedLine": false,
  614. "targets": [
  615. {
  616. "datasource": {
  617. "uid": "$datasource"
  618. },
  619. "expr": "process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  620. "format": "time_series",
  621. "interval": "",
  622. "intervalFactor": 2,
  623. "legendFormat": "{{job}} {{index}}",
  624. "refId": "A",
  625. "step": 20,
  626. "target": ""
  627. },
  628. {
  629. "datasource": {
  630. "uid": "$datasource"
  631. },
  632. "expr": "sum(process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})",
  633. "hide": true,
  634. "interval": "",
  635. "legendFormat": "total",
  636. "refId": "B"
  637. }
  638. ],
  639. "thresholds": [],
  640. "timeRegions": [],
  641. "title": "Memory",
  642. "tooltip": {
  643. "shared": false,
  644. "sort": 0,
  645. "value_type": "cumulative"
  646. },
  647. "transformations": [],
  648. "type": "graph",
  649. "xaxis": {
  650. "mode": "time",
  651. "show": true,
  652. "values": []
  653. },
  654. "yaxes": [
  655. {
  656. "$$hashKey": "object:1560",
  657. "format": "bytes",
  658. "logBase": 1,
  659. "min": "0",
  660. "show": true
  661. },
  662. {
  663. "$$hashKey": "object:1561",
  664. "format": "short",
  665. "logBase": 1,
  666. "show": true
  667. }
  668. ],
  669. "yaxis": {
  670. "align": false
  671. }
  672. },
  673. {
  674. "aliasColors": {},
  675. "bars": false,
  676. "dashLength": 10,
  677. "dashes": false,
  678. "datasource": {
  679. "uid": "$datasource"
  680. },
  681. "fieldConfig": {
  682. "defaults": {
  683. "links": []
  684. },
  685. "overrides": []
  686. },
  687. "fill": 1,
  688. "fillGradient": 0,
  689. "gridPos": {
  690. "h": 7,
  691. "w": 12,
  692. "x": 12,
  693. "y": 19
  694. },
  695. "hiddenSeries": false,
  696. "id": 37,
  697. "legend": {
  698. "avg": false,
  699. "current": false,
  700. "max": false,
  701. "min": false,
  702. "show": true,
  703. "total": false,
  704. "values": false
  705. },
  706. "lines": true,
  707. "linewidth": 1,
  708. "links": [],
  709. "nullPointMode": "null",
  710. "options": {
  711. "alertThreshold": true
  712. },
  713. "paceLength": 10,
  714. "percentage": false,
  715. "pluginVersion": "9.2.2",
  716. "pointradius": 5,
  717. "points": false,
  718. "renderer": "flot",
  719. "seriesOverrides": [
  720. {
  721. "$$hashKey": "object:639",
  722. "alias": "/max$/",
  723. "color": "#890F02",
  724. "fill": 0,
  725. "legend": false
  726. }
  727. ],
  728. "spaceLength": 10,
  729. "stack": false,
  730. "steppedLine": false,
  731. "targets": [
  732. {
  733. "datasource": {
  734. "uid": "$datasource"
  735. },
  736. "expr": "process_open_fds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  737. "format": "time_series",
  738. "hide": false,
  739. "interval": "",
  740. "intervalFactor": 2,
  741. "legendFormat": "{{job}}-{{index}}",
  742. "refId": "A",
  743. "step": 20
  744. },
  745. {
  746. "datasource": {
  747. "uid": "$datasource"
  748. },
  749. "expr": "process_max_fds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  750. "format": "time_series",
  751. "hide": true,
  752. "interval": "",
  753. "intervalFactor": 2,
  754. "legendFormat": "{{job}}-{{index}} max",
  755. "refId": "B",
  756. "step": 20
  757. }
  758. ],
  759. "thresholds": [],
  760. "timeRegions": [],
  761. "title": "Open FDs",
  762. "tooltip": {
  763. "shared": false,
  764. "sort": 0,
  765. "value_type": "individual"
  766. },
  767. "type": "graph",
  768. "xaxis": {
  769. "mode": "time",
  770. "show": true,
  771. "values": []
  772. },
  773. "yaxes": [
  774. {
  775. "$$hashKey": "object:650",
  776. "format": "none",
  777. "label": "",
  778. "logBase": 1,
  779. "show": true
  780. },
  781. {
  782. "$$hashKey": "object:651",
  783. "format": "short",
  784. "logBase": 1,
  785. "show": true
  786. }
  787. ],
  788. "yaxis": {
  789. "align": false
  790. }
  791. },
  792. {
  793. "collapsed": true,
  794. "datasource": {
  795. "type": "prometheus",
  796. "uid": "$datasource"
  797. },
  798. "gridPos": {
  799. "h": 1,
  800. "w": 24,
  801. "x": 0,
  802. "y": 26
  803. },
  804. "id": 54,
  805. "panels": [
  806. {
  807. "aliasColors": {},
  808. "bars": false,
  809. "dashLength": 10,
  810. "dashes": false,
  811. "datasource": {
  812. "uid": "$datasource"
  813. },
  814. "editable": true,
  815. "error": false,
  816. "fieldConfig": {
  817. "defaults": {
  818. "links": []
  819. },
  820. "overrides": []
  821. },
  822. "fill": 1,
  823. "fillGradient": 0,
  824. "grid": {},
  825. "gridPos": {
  826. "h": 7,
  827. "w": 12,
  828. "x": 0,
  829. "y": 27
  830. },
  831. "hiddenSeries": false,
  832. "id": 5,
  833. "legend": {
  834. "alignAsTable": false,
  835. "avg": false,
  836. "current": false,
  837. "hideEmpty": false,
  838. "hideZero": false,
  839. "max": false,
  840. "min": false,
  841. "rightSide": false,
  842. "show": true,
  843. "total": false,
  844. "values": false
  845. },
  846. "lines": true,
  847. "linewidth": 3,
  848. "links": [],
  849. "nullPointMode": "null",
  850. "options": {
  851. "alertThreshold": true
  852. },
  853. "paceLength": 10,
  854. "percentage": false,
  855. "pluginVersion": "9.2.2",
  856. "pointradius": 5,
  857. "points": false,
  858. "renderer": "flot",
  859. "seriesOverrides": [
  860. {
  861. "$$hashKey": "object:1240",
  862. "alias": "/user/"
  863. },
  864. {
  865. "$$hashKey": "object:1241",
  866. "alias": "/system/"
  867. }
  868. ],
  869. "spaceLength": 10,
  870. "stack": false,
  871. "steppedLine": false,
  872. "targets": [
  873. {
  874. "datasource": {
  875. "uid": "$datasource"
  876. },
  877. "expr": "rate(process_cpu_system_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  878. "format": "time_series",
  879. "intervalFactor": 1,
  880. "legendFormat": "{{job}}-{{index}} system ",
  881. "metric": "",
  882. "refId": "B",
  883. "step": 20
  884. },
  885. {
  886. "datasource": {
  887. "uid": "$datasource"
  888. },
  889. "expr": "rate(process_cpu_user_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  890. "format": "time_series",
  891. "hide": false,
  892. "interval": "",
  893. "intervalFactor": 1,
  894. "legendFormat": "{{job}}-{{index}} user",
  895. "refId": "A",
  896. "step": 20
  897. }
  898. ],
  899. "thresholds": [
  900. {
  901. "$$hashKey": "object:1278",
  902. "colorMode": "custom",
  903. "fillColor": "rgba(255, 255, 255, 1)",
  904. "line": true,
  905. "lineColor": "rgba(216, 200, 27, 0.27)",
  906. "op": "gt",
  907. "value": 0.5,
  908. "yaxis": "left"
  909. },
  910. {
  911. "$$hashKey": "object:1279",
  912. "colorMode": "custom",
  913. "fillColor": "rgba(255, 255, 255, 1)",
  914. "line": true,
  915. "lineColor": "rgb(87, 6, 16)",
  916. "op": "gt",
  917. "value": 0.8,
  918. "yaxis": "left"
  919. },
  920. {
  921. "$$hashKey": "object:1498",
  922. "colorMode": "critical",
  923. "fill": true,
  924. "line": true,
  925. "op": "gt",
  926. "value": 1,
  927. "yaxis": "left"
  928. }
  929. ],
  930. "timeRegions": [],
  931. "title": "CPU",
  932. "tooltip": {
  933. "shared": false,
  934. "sort": 0,
  935. "value_type": "individual"
  936. },
  937. "type": "graph",
  938. "xaxis": {
  939. "mode": "time",
  940. "show": true,
  941. "values": []
  942. },
  943. "yaxes": [
  944. {
  945. "$$hashKey": "object:1250",
  946. "format": "percentunit",
  947. "label": "",
  948. "logBase": 1,
  949. "max": "1.2",
  950. "min": 0,
  951. "show": true
  952. },
  953. {
  954. "$$hashKey": "object:1251",
  955. "format": "short",
  956. "logBase": 1,
  957. "show": true
  958. }
  959. ],
  960. "yaxis": {
  961. "align": false
  962. }
  963. },
  964. {
  965. "datasource": {
  966. "type": "prometheus",
  967. "uid": "${DS_PROMETHEUS}"
  968. },
  969. "description": "Shows the time in which the given percentage of reactor ticks completed, over the sampled timespan",
  970. "fieldConfig": {
  971. "defaults": {
  972. "color": {
  973. "mode": "palette-classic"
  974. },
  975. "custom": {
  976. "axisCenteredZero": false,
  977. "axisColorMode": "text",
  978. "axisLabel": "",
  979. "axisPlacement": "auto",
  980. "barAlignment": 0,
  981. "drawStyle": "line",
  982. "fillOpacity": 10,
  983. "gradientMode": "none",
  984. "hideFrom": {
  985. "legend": false,
  986. "tooltip": false,
  987. "viz": false
  988. },
  989. "lineInterpolation": "linear",
  990. "lineWidth": 1,
  991. "pointSize": 5,
  992. "scaleDistribution": {
  993. "type": "linear"
  994. },
  995. "showPoints": "never",
  996. "spanNulls": true,
  997. "stacking": {
  998. "group": "A",
  999. "mode": "none"
  1000. },
  1001. "thresholdsStyle": {
  1002. "mode": "off"
  1003. }
  1004. },
  1005. "links": [],
  1006. "mappings": [],
  1007. "thresholds": {
  1008. "mode": "absolute",
  1009. "steps": [
  1010. {
  1011. "color": "green",
  1012. "value": null
  1013. },
  1014. {
  1015. "color": "red",
  1016. "value": 80
  1017. }
  1018. ]
  1019. },
  1020. "unit": "s"
  1021. },
  1022. "overrides": []
  1023. },
  1024. "gridPos": {
  1025. "h": 7,
  1026. "w": 12,
  1027. "x": 12,
  1028. "y": 27
  1029. },
  1030. "id": 105,
  1031. "interval": "",
  1032. "links": [],
  1033. "options": {
  1034. "legend": {
  1035. "calcs": [],
  1036. "displayMode": "list",
  1037. "placement": "bottom",
  1038. "showLegend": true
  1039. },
  1040. "tooltip": {
  1041. "mode": "single",
  1042. "sort": "none"
  1043. }
  1044. },
  1045. "pluginVersion": "8.3.2",
  1046. "targets": [
  1047. {
  1048. "datasource": {
  1049. "type": "prometheus",
  1050. "uid": "${DS_PROMETHEUS}"
  1051. },
  1052. "exemplar": true,
  1053. "expr": "histogram_quantile(0.999, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  1054. "hide": false,
  1055. "interval": "",
  1056. "legendFormat": "{{job}}-{{index}} 99.9%",
  1057. "refId": "E"
  1058. },
  1059. {
  1060. "datasource": {
  1061. "type": "prometheus",
  1062. "uid": "${DS_PROMETHEUS}"
  1063. },
  1064. "exemplar": true,
  1065. "expr": "histogram_quantile(0.99, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  1066. "format": "time_series",
  1067. "interval": "",
  1068. "intervalFactor": 2,
  1069. "legendFormat": "{{job}}-{{index}} 99%",
  1070. "refId": "A",
  1071. "step": 20
  1072. },
  1073. {
  1074. "datasource": {
  1075. "type": "prometheus",
  1076. "uid": "${DS_PROMETHEUS}"
  1077. },
  1078. "exemplar": true,
  1079. "expr": "histogram_quantile(0.95, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  1080. "format": "time_series",
  1081. "interval": "",
  1082. "intervalFactor": 1,
  1083. "legendFormat": "{{job}}-{{index}} 95%",
  1084. "refId": "B"
  1085. },
  1086. {
  1087. "datasource": {
  1088. "type": "prometheus",
  1089. "uid": "${DS_PROMETHEUS}"
  1090. },
  1091. "expr": "histogram_quantile(0.90, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  1092. "format": "time_series",
  1093. "intervalFactor": 1,
  1094. "legendFormat": "{{job}}-{{index}} 90%",
  1095. "refId": "C"
  1096. },
  1097. {
  1098. "datasource": {
  1099. "type": "prometheus",
  1100. "uid": "${DS_PROMETHEUS}"
  1101. },
  1102. "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])",
  1103. "format": "time_series",
  1104. "intervalFactor": 1,
  1105. "legendFormat": "{{job}}-{{index}} mean",
  1106. "refId": "D"
  1107. }
  1108. ],
  1109. "title": "Reactor tick quantiles",
  1110. "type": "timeseries"
  1111. },
  1112. {
  1113. "aliasColors": {},
  1114. "bars": false,
  1115. "dashLength": 10,
  1116. "dashes": false,
  1117. "datasource": {
  1118. "uid": "$datasource"
  1119. },
  1120. "editable": true,
  1121. "error": false,
  1122. "fieldConfig": {
  1123. "defaults": {
  1124. "links": []
  1125. },
  1126. "overrides": []
  1127. },
  1128. "fill": 0,
  1129. "fillGradient": 0,
  1130. "grid": {},
  1131. "gridPos": {
  1132. "h": 7,
  1133. "w": 12,
  1134. "x": 0,
  1135. "y": 34
  1136. },
  1137. "hiddenSeries": false,
  1138. "id": 34,
  1139. "legend": {
  1140. "avg": false,
  1141. "current": false,
  1142. "max": false,
  1143. "min": false,
  1144. "show": true,
  1145. "total": false,
  1146. "values": false
  1147. },
  1148. "lines": true,
  1149. "linewidth": 1,
  1150. "links": [],
  1151. "nullPointMode": "null",
  1152. "options": {
  1153. "alertThreshold": true
  1154. },
  1155. "paceLength": 10,
  1156. "percentage": false,
  1157. "pluginVersion": "9.2.2",
  1158. "pointradius": 5,
  1159. "points": false,
  1160. "renderer": "flot",
  1161. "seriesOverrides": [],
  1162. "spaceLength": 10,
  1163. "stack": false,
  1164. "steppedLine": false,
  1165. "targets": [
  1166. {
  1167. "datasource": {
  1168. "uid": "$datasource"
  1169. },
  1170. "expr": "process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  1171. "format": "time_series",
  1172. "interval": "",
  1173. "intervalFactor": 2,
  1174. "legendFormat": "{{job}} {{index}}",
  1175. "refId": "A",
  1176. "step": 20,
  1177. "target": ""
  1178. },
  1179. {
  1180. "datasource": {
  1181. "uid": "$datasource"
  1182. },
  1183. "expr": "sum(process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})",
  1184. "interval": "",
  1185. "legendFormat": "total",
  1186. "refId": "B"
  1187. }
  1188. ],
  1189. "thresholds": [],
  1190. "timeRegions": [],
  1191. "title": "Memory",
  1192. "tooltip": {
  1193. "shared": false,
  1194. "sort": 0,
  1195. "value_type": "cumulative"
  1196. },
  1197. "transformations": [],
  1198. "type": "graph",
  1199. "xaxis": {
  1200. "mode": "time",
  1201. "show": true,
  1202. "values": []
  1203. },
  1204. "yaxes": [
  1205. {
  1206. "format": "bytes",
  1207. "logBase": 1,
  1208. "min": "0",
  1209. "show": true
  1210. },
  1211. {
  1212. "format": "short",
  1213. "logBase": 1,
  1214. "show": true
  1215. }
  1216. ],
  1217. "yaxis": {
  1218. "align": false
  1219. }
  1220. },
  1221. {
  1222. "aliasColors": {},
  1223. "bars": false,
  1224. "dashLength": 10,
  1225. "dashes": false,
  1226. "datasource": {
  1227. "uid": "$datasource"
  1228. },
  1229. "fieldConfig": {
  1230. "defaults": {
  1231. "links": []
  1232. },
  1233. "overrides": []
  1234. },
  1235. "fill": 1,
  1236. "fillGradient": 0,
  1237. "gridPos": {
  1238. "h": 7,
  1239. "w": 12,
  1240. "x": 12,
  1241. "y": 34
  1242. },
  1243. "hiddenSeries": false,
  1244. "id": 49,
  1245. "legend": {
  1246. "avg": false,
  1247. "current": false,
  1248. "max": false,
  1249. "min": false,
  1250. "show": true,
  1251. "total": false,
  1252. "values": false
  1253. },
  1254. "lines": true,
  1255. "linewidth": 1,
  1256. "links": [],
  1257. "nullPointMode": "null",
  1258. "options": {
  1259. "alertThreshold": true
  1260. },
  1261. "paceLength": 10,
  1262. "percentage": false,
  1263. "pluginVersion": "9.2.2",
  1264. "pointradius": 5,
  1265. "points": false,
  1266. "renderer": "flot",
  1267. "seriesOverrides": [
  1268. {
  1269. "alias": "/^up/",
  1270. "legend": false,
  1271. "yaxis": 2
  1272. }
  1273. ],
  1274. "spaceLength": 10,
  1275. "stack": false,
  1276. "steppedLine": false,
  1277. "targets": [
  1278. {
  1279. "datasource": {
  1280. "uid": "$datasource"
  1281. },
  1282. "expr": "scrape_duration_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  1283. "format": "time_series",
  1284. "interval": "",
  1285. "intervalFactor": 2,
  1286. "legendFormat": "{{job}}-{{index}}",
  1287. "refId": "A",
  1288. "step": 20
  1289. }
  1290. ],
  1291. "thresholds": [],
  1292. "timeRegions": [],
  1293. "title": "Prometheus scrape time",
  1294. "tooltip": {
  1295. "shared": false,
  1296. "sort": 0,
  1297. "value_type": "individual"
  1298. },
  1299. "type": "graph",
  1300. "xaxis": {
  1301. "mode": "time",
  1302. "show": true,
  1303. "values": []
  1304. },
  1305. "yaxes": [
  1306. {
  1307. "format": "s",
  1308. "logBase": 1,
  1309. "min": "0",
  1310. "show": true
  1311. },
  1312. {
  1313. "decimals": 0,
  1314. "format": "none",
  1315. "label": "",
  1316. "logBase": 1,
  1317. "max": "0",
  1318. "min": "-1",
  1319. "show": false
  1320. }
  1321. ],
  1322. "yaxis": {
  1323. "align": false
  1324. }
  1325. },
  1326. {
  1327. "aliasColors": {},
  1328. "bars": false,
  1329. "dashLength": 10,
  1330. "dashes": false,
  1331. "datasource": {
  1332. "uid": "$datasource"
  1333. },
  1334. "fieldConfig": {
  1335. "defaults": {
  1336. "links": []
  1337. },
  1338. "overrides": []
  1339. },
  1340. "fill": 0,
  1341. "fillGradient": 0,
  1342. "gridPos": {
  1343. "h": 7,
  1344. "w": 12,
  1345. "x": 0,
  1346. "y": 41
  1347. },
  1348. "hiddenSeries": false,
  1349. "id": 53,
  1350. "legend": {
  1351. "avg": false,
  1352. "current": false,
  1353. "max": false,
  1354. "min": false,
  1355. "show": true,
  1356. "total": false,
  1357. "values": false
  1358. },
  1359. "lines": true,
  1360. "linewidth": 1,
  1361. "links": [],
  1362. "nullPointMode": "null",
  1363. "options": {
  1364. "alertThreshold": true
  1365. },
  1366. "paceLength": 10,
  1367. "percentage": false,
  1368. "pluginVersion": "9.2.2",
  1369. "pointradius": 5,
  1370. "points": false,
  1371. "renderer": "flot",
  1372. "seriesOverrides": [],
  1373. "spaceLength": 10,
  1374. "stack": false,
  1375. "steppedLine": false,
  1376. "targets": [
  1377. {
  1378. "datasource": {
  1379. "uid": "$datasource"
  1380. },
  1381. "expr": "min_over_time(up{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  1382. "format": "time_series",
  1383. "intervalFactor": 2,
  1384. "legendFormat": "{{job}}-{{index}}",
  1385. "refId": "A"
  1386. }
  1387. ],
  1388. "thresholds": [],
  1389. "timeRegions": [],
  1390. "title": "Up",
  1391. "tooltip": {
  1392. "shared": false,
  1393. "sort": 0,
  1394. "value_type": "individual"
  1395. },
  1396. "type": "graph",
  1397. "xaxis": {
  1398. "mode": "time",
  1399. "show": true,
  1400. "values": []
  1401. },
  1402. "yaxes": [
  1403. {
  1404. "format": "short",
  1405. "logBase": 1,
  1406. "show": true
  1407. },
  1408. {
  1409. "format": "short",
  1410. "logBase": 1,
  1411. "show": true
  1412. }
  1413. ],
  1414. "yaxis": {
  1415. "align": false
  1416. }
  1417. },
  1418. {
  1419. "aliasColors": {},
  1420. "bars": false,
  1421. "dashLength": 10,
  1422. "dashes": false,
  1423. "datasource": {
  1424. "uid": "$datasource"
  1425. },
  1426. "fieldConfig": {
  1427. "defaults": {
  1428. "links": []
  1429. },
  1430. "overrides": []
  1431. },
  1432. "fill": 1,
  1433. "fillGradient": 0,
  1434. "gridPos": {
  1435. "h": 7,
  1436. "w": 12,
  1437. "x": 12,
  1438. "y": 41
  1439. },
  1440. "hiddenSeries": false,
  1441. "id": 120,
  1442. "legend": {
  1443. "avg": false,
  1444. "current": false,
  1445. "max": false,
  1446. "min": false,
  1447. "show": true,
  1448. "total": false,
  1449. "values": false
  1450. },
  1451. "lines": true,
  1452. "linewidth": 1,
  1453. "links": [],
  1454. "nullPointMode": "null as zero",
  1455. "options": {
  1456. "alertThreshold": true
  1457. },
  1458. "percentage": false,
  1459. "pluginVersion": "9.2.2",
  1460. "pointradius": 2,
  1461. "points": false,
  1462. "renderer": "flot",
  1463. "seriesOverrides": [],
  1464. "spaceLength": 10,
  1465. "stack": true,
  1466. "steppedLine": false,
  1467. "targets": [
  1468. {
  1469. "datasource": {
  1470. "uid": "$datasource"
  1471. },
  1472. "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])",
  1473. "format": "time_series",
  1474. "hide": false,
  1475. "instant": false,
  1476. "intervalFactor": 1,
  1477. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  1478. "refId": "A"
  1479. },
  1480. {
  1481. "datasource": {
  1482. "uid": "$datasource"
  1483. },
  1484. "expr": "rate(synapse_background_process_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_background_process_ru_stime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  1485. "format": "time_series",
  1486. "hide": false,
  1487. "instant": false,
  1488. "interval": "",
  1489. "intervalFactor": 1,
  1490. "legendFormat": "{{job}}-{{index}} {{name}}",
  1491. "refId": "B"
  1492. }
  1493. ],
  1494. "thresholds": [
  1495. {
  1496. "colorMode": "critical",
  1497. "fill": true,
  1498. "line": true,
  1499. "op": "gt",
  1500. "value": 1,
  1501. "yaxis": "left"
  1502. }
  1503. ],
  1504. "timeRegions": [],
  1505. "title": "Stacked CPU usage",
  1506. "tooltip": {
  1507. "shared": false,
  1508. "sort": 0,
  1509. "value_type": "individual"
  1510. },
  1511. "type": "graph",
  1512. "xaxis": {
  1513. "mode": "time",
  1514. "show": true,
  1515. "values": []
  1516. },
  1517. "yaxes": [
  1518. {
  1519. "$$hashKey": "object:572",
  1520. "format": "percentunit",
  1521. "logBase": 1,
  1522. "show": true
  1523. },
  1524. {
  1525. "$$hashKey": "object:573",
  1526. "format": "short",
  1527. "logBase": 1,
  1528. "show": true
  1529. }
  1530. ],
  1531. "yaxis": {
  1532. "align": false
  1533. }
  1534. },
  1535. {
  1536. "aliasColors": {},
  1537. "bars": false,
  1538. "dashLength": 10,
  1539. "dashes": false,
  1540. "datasource": {
  1541. "type": "prometheus",
  1542. "uid": "$datasource"
  1543. },
  1544. "fieldConfig": {
  1545. "defaults": {
  1546. "links": []
  1547. },
  1548. "overrides": []
  1549. },
  1550. "fill": 1,
  1551. "fillGradient": 0,
  1552. "gridPos": {
  1553. "h": 7,
  1554. "w": 12,
  1555. "x": 0,
  1556. "y": 48
  1557. },
  1558. "hiddenSeries": false,
  1559. "id": 136,
  1560. "interval": "",
  1561. "legend": {
  1562. "avg": false,
  1563. "current": false,
  1564. "max": false,
  1565. "min": false,
  1566. "show": true,
  1567. "total": false,
  1568. "values": false
  1569. },
  1570. "lines": true,
  1571. "linewidth": 1,
  1572. "nullPointMode": "null",
  1573. "options": {
  1574. "alertThreshold": true
  1575. },
  1576. "percentage": false,
  1577. "pluginVersion": "9.2.2",
  1578. "pointradius": 2,
  1579. "points": false,
  1580. "renderer": "flot",
  1581. "seriesOverrides": [],
  1582. "spaceLength": 10,
  1583. "stack": false,
  1584. "steppedLine": false,
  1585. "targets": [
  1586. {
  1587. "datasource": {
  1588. "uid": "$datasource"
  1589. },
  1590. "editorMode": "code",
  1591. "expr": "rate(synapse_http_client_requests_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  1592. "legendFormat": "{{job}}-{{index}} {{method}}",
  1593. "range": true,
  1594. "refId": "A"
  1595. },
  1596. {
  1597. "datasource": {
  1598. "uid": "$datasource"
  1599. },
  1600. "editorMode": "code",
  1601. "expr": "rate(synapse_http_matrixfederationclient_requests_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  1602. "legendFormat": "{{job}}-{{index}} {{method}} (federation)",
  1603. "range": true,
  1604. "refId": "B"
  1605. }
  1606. ],
  1607. "thresholds": [],
  1608. "timeRegions": [],
  1609. "title": "Outgoing HTTP request rate",
  1610. "tooltip": {
  1611. "shared": false,
  1612. "sort": 0,
  1613. "value_type": "individual"
  1614. },
  1615. "type": "graph",
  1616. "xaxis": {
  1617. "mode": "time",
  1618. "show": true,
  1619. "values": []
  1620. },
  1621. "yaxes": [
  1622. {
  1623. "$$hashKey": "object:123",
  1624. "format": "reqps",
  1625. "logBase": 1,
  1626. "show": true
  1627. },
  1628. {
  1629. "$$hashKey": "object:124",
  1630. "format": "short",
  1631. "logBase": 1,
  1632. "show": true
  1633. }
  1634. ],
  1635. "yaxis": {
  1636. "align": false
  1637. }
  1638. },
  1639. {
  1640. "datasource": {
  1641. "type": "prometheus",
  1642. "uid": "${DS_PROMETHEUS}"
  1643. },
  1644. "fieldConfig": {
  1645. "defaults": {
  1646. "color": {
  1647. "mode": "palette-classic"
  1648. },
  1649. "custom": {
  1650. "axisCenteredZero": false,
  1651. "axisColorMode": "text",
  1652. "axisLabel": "active threads",
  1653. "axisPlacement": "auto",
  1654. "barAlignment": 0,
  1655. "drawStyle": "line",
  1656. "fillOpacity": 0,
  1657. "gradientMode": "none",
  1658. "hideFrom": {
  1659. "legend": false,
  1660. "tooltip": false,
  1661. "viz": false
  1662. },
  1663. "lineInterpolation": "linear",
  1664. "lineWidth": 1,
  1665. "pointSize": 5,
  1666. "scaleDistribution": {
  1667. "type": "linear"
  1668. },
  1669. "showPoints": "auto",
  1670. "spanNulls": false,
  1671. "stacking": {
  1672. "group": "A",
  1673. "mode": "none"
  1674. },
  1675. "thresholdsStyle": {
  1676. "mode": "off"
  1677. }
  1678. },
  1679. "mappings": [],
  1680. "thresholds": {
  1681. "mode": "absolute",
  1682. "steps": [
  1683. {
  1684. "color": "green",
  1685. "value": null
  1686. },
  1687. {
  1688. "color": "red",
  1689. "value": 80
  1690. }
  1691. ]
  1692. }
  1693. },
  1694. "overrides": []
  1695. },
  1696. "gridPos": {
  1697. "h": 7,
  1698. "w": 12,
  1699. "x": 12,
  1700. "y": 48
  1701. },
  1702. "id": 207,
  1703. "options": {
  1704. "legend": {
  1705. "calcs": [],
  1706. "displayMode": "list",
  1707. "placement": "bottom",
  1708. "showLegend": true
  1709. },
  1710. "tooltip": {
  1711. "mode": "single",
  1712. "sort": "none"
  1713. }
  1714. },
  1715. "targets": [
  1716. {
  1717. "datasource": {
  1718. "type": "prometheus",
  1719. "uid": "${DS_PROMETHEUS}"
  1720. },
  1721. "exemplar": true,
  1722. "expr": "synapse_threadpool_working_threads{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  1723. "interval": "",
  1724. "legendFormat": "{{job}}-{{index}} {{name}}",
  1725. "refId": "A"
  1726. }
  1727. ],
  1728. "title": "Threadpool activity",
  1729. "type": "timeseries"
  1730. }
  1731. ],
  1732. "targets": [
  1733. {
  1734. "datasource": {
  1735. "type": "prometheus",
  1736. "uid": "$datasource"
  1737. },
  1738. "refId": "A"
  1739. }
  1740. ],
  1741. "title": "Process info",
  1742. "type": "row"
  1743. },
  1744. {
  1745. "collapsed": true,
  1746. "datasource": {
  1747. "type": "prometheus",
  1748. "uid": "$datasource"
  1749. },
  1750. "gridPos": {
  1751. "h": 1,
  1752. "w": 24,
  1753. "x": 0,
  1754. "y": 27
  1755. },
  1756. "id": 56,
  1757. "panels": [
  1758. {
  1759. "cards": {
  1760. "cardPadding": -1,
  1761. "cardRound": 0
  1762. },
  1763. "color": {
  1764. "cardColor": "#b4ff00",
  1765. "colorScale": "sqrt",
  1766. "colorScheme": "interpolateInferno",
  1767. "exponent": 0.5,
  1768. "mode": "spectrum"
  1769. },
  1770. "dataFormat": "tsbuckets",
  1771. "datasource": {
  1772. "uid": "$datasource"
  1773. },
  1774. "fieldConfig": {
  1775. "defaults": {
  1776. "custom": {
  1777. "hideFrom": {
  1778. "legend": false,
  1779. "tooltip": false,
  1780. "viz": false
  1781. },
  1782. "scaleDistribution": {
  1783. "type": "linear"
  1784. }
  1785. }
  1786. },
  1787. "overrides": []
  1788. },
  1789. "gridPos": {
  1790. "h": 9,
  1791. "w": 12,
  1792. "x": 0,
  1793. "y": 56
  1794. },
  1795. "heatmap": {},
  1796. "hideZeroBuckets": false,
  1797. "highlightCards": true,
  1798. "id": 85,
  1799. "legend": {
  1800. "show": false
  1801. },
  1802. "links": [],
  1803. "options": {
  1804. "calculate": false,
  1805. "calculation": {},
  1806. "cellGap": -1,
  1807. "cellRadius": 0,
  1808. "cellValues": {},
  1809. "color": {
  1810. "exponent": 0.5,
  1811. "fill": "#b4ff00",
  1812. "mode": "scheme",
  1813. "reverse": false,
  1814. "scale": "exponential",
  1815. "scheme": "Inferno",
  1816. "steps": 128
  1817. },
  1818. "exemplars": {
  1819. "color": "rgba(255,0,255,0.7)"
  1820. },
  1821. "filterValues": {
  1822. "le": 1e-9
  1823. },
  1824. "legend": {
  1825. "show": false
  1826. },
  1827. "rowsFrame": {
  1828. "layout": "auto"
  1829. },
  1830. "showValue": "never",
  1831. "tooltip": {
  1832. "show": true,
  1833. "yHistogram": true
  1834. },
  1835. "yAxis": {
  1836. "axisPlacement": "left",
  1837. "reverse": false,
  1838. "unit": "s"
  1839. }
  1840. },
  1841. "pluginVersion": "9.2.2",
  1842. "reverseYBuckets": false,
  1843. "targets": [
  1844. {
  1845. "datasource": {
  1846. "uid": "$datasource"
  1847. },
  1848. "expr": "sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\"}[$bucket_size])) by (le)",
  1849. "format": "heatmap",
  1850. "intervalFactor": 1,
  1851. "legendFormat": "{{le}}",
  1852. "refId": "A"
  1853. }
  1854. ],
  1855. "title": "Event Send Time (Including errors, across all workers)",
  1856. "tooltip": {
  1857. "show": true,
  1858. "showHistogram": true
  1859. },
  1860. "type": "heatmap",
  1861. "xAxis": {
  1862. "show": true
  1863. },
  1864. "yAxis": {
  1865. "format": "s",
  1866. "logBase": 2,
  1867. "show": true
  1868. },
  1869. "yBucketBound": "auto"
  1870. },
  1871. {
  1872. "aliasColors": {},
  1873. "bars": false,
  1874. "dashLength": 10,
  1875. "dashes": false,
  1876. "datasource": {
  1877. "uid": "$datasource"
  1878. },
  1879. "description": "",
  1880. "editable": true,
  1881. "error": false,
  1882. "fieldConfig": {
  1883. "defaults": {
  1884. "links": []
  1885. },
  1886. "overrides": []
  1887. },
  1888. "fill": 1,
  1889. "fillGradient": 0,
  1890. "grid": {},
  1891. "gridPos": {
  1892. "h": 9,
  1893. "w": 12,
  1894. "x": 12,
  1895. "y": 56
  1896. },
  1897. "hiddenSeries": false,
  1898. "id": 33,
  1899. "legend": {
  1900. "avg": false,
  1901. "current": false,
  1902. "max": false,
  1903. "min": false,
  1904. "show": false,
  1905. "total": false,
  1906. "values": false
  1907. },
  1908. "lines": true,
  1909. "linewidth": 2,
  1910. "links": [],
  1911. "nullPointMode": "null",
  1912. "options": {
  1913. "alertThreshold": true
  1914. },
  1915. "paceLength": 10,
  1916. "percentage": false,
  1917. "pluginVersion": "9.2.2",
  1918. "pointradius": 5,
  1919. "points": false,
  1920. "renderer": "flot",
  1921. "seriesOverrides": [],
  1922. "spaceLength": 10,
  1923. "stack": false,
  1924. "steppedLine": false,
  1925. "targets": [
  1926. {
  1927. "datasource": {
  1928. "uid": "$datasource"
  1929. },
  1930. "expr": "sum(rate(synapse_storage_events_persisted_events_total{instance=\"$instance\"}[$bucket_size])) without (job,index)",
  1931. "format": "time_series",
  1932. "interval": "",
  1933. "intervalFactor": 2,
  1934. "legendFormat": "",
  1935. "refId": "A",
  1936. "step": 20,
  1937. "target": ""
  1938. }
  1939. ],
  1940. "thresholds": [],
  1941. "timeRegions": [],
  1942. "title": "Events Persisted (all workers)",
  1943. "tooltip": {
  1944. "shared": true,
  1945. "sort": 0,
  1946. "value_type": "cumulative"
  1947. },
  1948. "type": "graph",
  1949. "xaxis": {
  1950. "mode": "time",
  1951. "show": true,
  1952. "values": []
  1953. },
  1954. "yaxes": [
  1955. {
  1956. "$$hashKey": "object:102",
  1957. "format": "hertz",
  1958. "logBase": 1,
  1959. "show": true
  1960. },
  1961. {
  1962. "$$hashKey": "object:103",
  1963. "format": "short",
  1964. "logBase": 1,
  1965. "show": true
  1966. }
  1967. ],
  1968. "yaxis": {
  1969. "align": false
  1970. }
  1971. },
  1972. {
  1973. "aliasColors": {},
  1974. "bars": false,
  1975. "dashLength": 10,
  1976. "dashes": false,
  1977. "datasource": {
  1978. "uid": "$datasource"
  1979. },
  1980. "decimals": 1,
  1981. "fill": 1,
  1982. "fillGradient": 0,
  1983. "gridPos": {
  1984. "h": 7,
  1985. "w": 12,
  1986. "x": 0,
  1987. "y": 65
  1988. },
  1989. "hiddenSeries": false,
  1990. "id": 40,
  1991. "legend": {
  1992. "avg": false,
  1993. "current": false,
  1994. "max": false,
  1995. "min": false,
  1996. "show": true,
  1997. "total": false,
  1998. "values": false
  1999. },
  2000. "lines": true,
  2001. "linewidth": 1,
  2002. "links": [],
  2003. "nullPointMode": "null",
  2004. "options": {
  2005. "alertThreshold": true
  2006. },
  2007. "percentage": false,
  2008. "pluginVersion": "9.2.2",
  2009. "pointradius": 5,
  2010. "points": false,
  2011. "renderer": "flot",
  2012. "seriesOverrides": [],
  2013. "spaceLength": 10,
  2014. "stack": false,
  2015. "steppedLine": false,
  2016. "targets": [
  2017. {
  2018. "datasource": {
  2019. "uid": "$datasource"
  2020. },
  2021. "expr": "rate(synapse_storage_events_persisted_by_source_type{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  2022. "format": "time_series",
  2023. "intervalFactor": 2,
  2024. "legendFormat": "{{type}}",
  2025. "refId": "D"
  2026. }
  2027. ],
  2028. "thresholds": [],
  2029. "timeRegions": [],
  2030. "title": "Events/s Local vs Remote",
  2031. "tooltip": {
  2032. "shared": true,
  2033. "sort": 2,
  2034. "value_type": "individual"
  2035. },
  2036. "type": "graph",
  2037. "xaxis": {
  2038. "mode": "time",
  2039. "show": true,
  2040. "values": []
  2041. },
  2042. "yaxes": [
  2043. {
  2044. "format": "hertz",
  2045. "label": "",
  2046. "logBase": 1,
  2047. "min": "0",
  2048. "show": true
  2049. },
  2050. {
  2051. "format": "short",
  2052. "logBase": 1,
  2053. "show": true
  2054. }
  2055. ],
  2056. "yaxis": {
  2057. "align": false
  2058. }
  2059. },
  2060. {
  2061. "aliasColors": {},
  2062. "bars": false,
  2063. "dashLength": 10,
  2064. "dashes": false,
  2065. "datasource": {
  2066. "uid": "$datasource"
  2067. },
  2068. "decimals": 1,
  2069. "fill": 1,
  2070. "fillGradient": 0,
  2071. "gridPos": {
  2072. "h": 7,
  2073. "w": 12,
  2074. "x": 12,
  2075. "y": 65
  2076. },
  2077. "hiddenSeries": false,
  2078. "id": 46,
  2079. "legend": {
  2080. "avg": false,
  2081. "current": false,
  2082. "max": false,
  2083. "min": false,
  2084. "show": true,
  2085. "total": false,
  2086. "values": false
  2087. },
  2088. "lines": true,
  2089. "linewidth": 1,
  2090. "links": [],
  2091. "nullPointMode": "null",
  2092. "options": {
  2093. "alertThreshold": true
  2094. },
  2095. "percentage": false,
  2096. "pluginVersion": "9.2.2",
  2097. "pointradius": 5,
  2098. "points": false,
  2099. "renderer": "flot",
  2100. "seriesOverrides": [],
  2101. "spaceLength": 10,
  2102. "stack": false,
  2103. "steppedLine": false,
  2104. "targets": [
  2105. {
  2106. "datasource": {
  2107. "uid": "$datasource"
  2108. },
  2109. "expr": "rate(synapse_storage_events_persisted_by_event_type{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  2110. "format": "time_series",
  2111. "instant": false,
  2112. "intervalFactor": 2,
  2113. "legendFormat": "{{type}}",
  2114. "refId": "A",
  2115. "step": 20
  2116. }
  2117. ],
  2118. "thresholds": [],
  2119. "timeRegions": [],
  2120. "title": "Events/s by Type",
  2121. "tooltip": {
  2122. "shared": false,
  2123. "sort": 2,
  2124. "value_type": "individual"
  2125. },
  2126. "type": "graph",
  2127. "xaxis": {
  2128. "mode": "time",
  2129. "show": true,
  2130. "values": []
  2131. },
  2132. "yaxes": [
  2133. {
  2134. "format": "hertz",
  2135. "logBase": 1,
  2136. "min": "0",
  2137. "show": true
  2138. },
  2139. {
  2140. "format": "short",
  2141. "logBase": 1,
  2142. "show": true
  2143. }
  2144. ],
  2145. "yaxis": {
  2146. "align": false
  2147. }
  2148. },
  2149. {
  2150. "aliasColors": {
  2151. "irc-freenode (local)": "#EAB839"
  2152. },
  2153. "bars": false,
  2154. "dashLength": 10,
  2155. "dashes": false,
  2156. "datasource": {
  2157. "uid": "$datasource"
  2158. },
  2159. "decimals": 1,
  2160. "fill": 1,
  2161. "fillGradient": 0,
  2162. "gridPos": {
  2163. "h": 7,
  2164. "w": 12,
  2165. "x": 0,
  2166. "y": 72
  2167. },
  2168. "hiddenSeries": false,
  2169. "id": 44,
  2170. "legend": {
  2171. "alignAsTable": true,
  2172. "avg": false,
  2173. "current": false,
  2174. "hideEmpty": true,
  2175. "hideZero": true,
  2176. "max": false,
  2177. "min": false,
  2178. "show": true,
  2179. "total": false,
  2180. "values": false
  2181. },
  2182. "lines": true,
  2183. "linewidth": 1,
  2184. "links": [],
  2185. "nullPointMode": "null",
  2186. "options": {
  2187. "alertThreshold": true
  2188. },
  2189. "percentage": false,
  2190. "pluginVersion": "9.2.2",
  2191. "pointradius": 5,
  2192. "points": false,
  2193. "renderer": "flot",
  2194. "seriesOverrides": [],
  2195. "spaceLength": 10,
  2196. "stack": false,
  2197. "steppedLine": false,
  2198. "targets": [
  2199. {
  2200. "datasource": {
  2201. "uid": "$datasource"
  2202. },
  2203. "expr": "rate(synapse_storage_events_persisted_by_origin{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  2204. "format": "time_series",
  2205. "intervalFactor": 2,
  2206. "legendFormat": "{{origin_entity}} ({{origin_type}})",
  2207. "refId": "A",
  2208. "step": 20
  2209. }
  2210. ],
  2211. "thresholds": [],
  2212. "timeRegions": [],
  2213. "title": "Events/s by Origin",
  2214. "tooltip": {
  2215. "shared": false,
  2216. "sort": 2,
  2217. "value_type": "individual"
  2218. },
  2219. "type": "graph",
  2220. "xaxis": {
  2221. "mode": "time",
  2222. "show": true,
  2223. "values": []
  2224. },
  2225. "yaxes": [
  2226. {
  2227. "format": "hertz",
  2228. "logBase": 1,
  2229. "min": "0",
  2230. "show": true
  2231. },
  2232. {
  2233. "format": "short",
  2234. "logBase": 1,
  2235. "show": true
  2236. }
  2237. ],
  2238. "yaxis": {
  2239. "align": false
  2240. }
  2241. },
  2242. {
  2243. "aliasColors": {},
  2244. "bars": false,
  2245. "dashLength": 10,
  2246. "dashes": false,
  2247. "datasource": {
  2248. "type": "prometheus",
  2249. "uid": "$datasource"
  2250. },
  2251. "decimals": 1,
  2252. "fill": 1,
  2253. "fillGradient": 0,
  2254. "gridPos": {
  2255. "h": 7,
  2256. "w": 12,
  2257. "x": 12,
  2258. "y": 72
  2259. },
  2260. "hiddenSeries": false,
  2261. "id": 45,
  2262. "legend": {
  2263. "alignAsTable": true,
  2264. "avg": false,
  2265. "current": false,
  2266. "hideEmpty": true,
  2267. "hideZero": true,
  2268. "max": false,
  2269. "min": false,
  2270. "show": true,
  2271. "total": false,
  2272. "values": false
  2273. },
  2274. "lines": true,
  2275. "linewidth": 1,
  2276. "links": [],
  2277. "nullPointMode": "null",
  2278. "options": {
  2279. "alertThreshold": true
  2280. },
  2281. "percentage": false,
  2282. "pluginVersion": "9.2.2",
  2283. "pointradius": 5,
  2284. "points": false,
  2285. "renderer": "flot",
  2286. "seriesOverrides": [],
  2287. "spaceLength": 10,
  2288. "stack": false,
  2289. "steppedLine": false,
  2290. "targets": [
  2291. {
  2292. "datasource": {
  2293. "uid": "$datasource"
  2294. },
  2295. "editorMode": "code",
  2296. "expr": "sum(rate(synapse_storage_events_persisted_events_sep_total{job=~\"$job\",index=~\"$index\", type=\"m.room.member\",instance=\"$instance\", origin_type=\"local\"}[$bucket_size])) by (origin_type, origin_entity)",
  2297. "format": "time_series",
  2298. "intervalFactor": 2,
  2299. "legendFormat": "{{origin_entity}} ({{origin_type}})",
  2300. "range": true,
  2301. "refId": "A",
  2302. "step": 20
  2303. }
  2304. ],
  2305. "thresholds": [],
  2306. "timeRegions": [],
  2307. "title": "Memberships/s by Origin",
  2308. "tooltip": {
  2309. "shared": true,
  2310. "sort": 2,
  2311. "value_type": "individual"
  2312. },
  2313. "type": "graph",
  2314. "xaxis": {
  2315. "mode": "time",
  2316. "show": true,
  2317. "values": []
  2318. },
  2319. "yaxes": [
  2320. {
  2321. "$$hashKey": "object:232",
  2322. "format": "hertz",
  2323. "logBase": 1,
  2324. "min": "0",
  2325. "show": true
  2326. },
  2327. {
  2328. "$$hashKey": "object:233",
  2329. "format": "short",
  2330. "logBase": 1,
  2331. "show": true
  2332. }
  2333. ],
  2334. "yaxis": {
  2335. "align": false
  2336. }
  2337. },
  2338. {
  2339. "aliasColors": {},
  2340. "bars": false,
  2341. "dashLength": 10,
  2342. "dashes": false,
  2343. "datasource": {
  2344. "type": "prometheus",
  2345. "uid": "${DS_PROMETHEUS}"
  2346. },
  2347. "fieldConfig": {
  2348. "defaults": {
  2349. "links": []
  2350. },
  2351. "overrides": []
  2352. },
  2353. "fill": 0,
  2354. "fillGradient": 0,
  2355. "gridPos": {
  2356. "h": 9,
  2357. "w": 12,
  2358. "x": 0,
  2359. "y": 79
  2360. },
  2361. "hiddenSeries": false,
  2362. "id": 118,
  2363. "legend": {
  2364. "avg": false,
  2365. "current": false,
  2366. "max": false,
  2367. "min": false,
  2368. "show": true,
  2369. "total": false,
  2370. "values": false
  2371. },
  2372. "lines": true,
  2373. "linewidth": 1,
  2374. "links": [],
  2375. "nullPointMode": "null",
  2376. "options": {
  2377. "alertThreshold": true
  2378. },
  2379. "paceLength": 10,
  2380. "percentage": false,
  2381. "pluginVersion": "9.2.2",
  2382. "pointradius": 5,
  2383. "points": false,
  2384. "renderer": "flot",
  2385. "repeatDirection": "h",
  2386. "seriesOverrides": [
  2387. {
  2388. "$$hashKey": "object:316",
  2389. "alias": "mean",
  2390. "linewidth": 2
  2391. }
  2392. ],
  2393. "spaceLength": 10,
  2394. "stack": false,
  2395. "steppedLine": false,
  2396. "targets": [
  2397. {
  2398. "datasource": {
  2399. "type": "prometheus",
  2400. "uid": "${DS_PROMETHEUS}"
  2401. },
  2402. "exemplar": true,
  2403. "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))",
  2404. "format": "time_series",
  2405. "interval": "",
  2406. "intervalFactor": 1,
  2407. "legendFormat": "{{job}}-{{index}} 99%",
  2408. "refId": "A"
  2409. },
  2410. {
  2411. "datasource": {
  2412. "type": "prometheus",
  2413. "uid": "${DS_PROMETHEUS}"
  2414. },
  2415. "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))",
  2416. "format": "time_series",
  2417. "interval": "",
  2418. "intervalFactor": 1,
  2419. "legendFormat": "{{job}}-{{index}} 95%",
  2420. "refId": "B"
  2421. },
  2422. {
  2423. "datasource": {
  2424. "type": "prometheus",
  2425. "uid": "${DS_PROMETHEUS}"
  2426. },
  2427. "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))",
  2428. "format": "time_series",
  2429. "intervalFactor": 1,
  2430. "legendFormat": "{{job}}-{{index}} 90%",
  2431. "refId": "C"
  2432. },
  2433. {
  2434. "datasource": {
  2435. "type": "prometheus",
  2436. "uid": "${DS_PROMETHEUS}"
  2437. },
  2438. "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))",
  2439. "format": "time_series",
  2440. "intervalFactor": 1,
  2441. "legendFormat": "{{job}}-{{index}} 50%",
  2442. "refId": "D"
  2443. },
  2444. {
  2445. "datasource": {
  2446. "type": "prometheus",
  2447. "uid": "${DS_PROMETHEUS}"
  2448. },
  2449. "editorMode": "code",
  2450. "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)",
  2451. "format": "time_series",
  2452. "intervalFactor": 1,
  2453. "legendFormat": "{{job}}-{{index}} mean",
  2454. "range": true,
  2455. "refId": "E"
  2456. }
  2457. ],
  2458. "thresholds": [],
  2459. "timeRegions": [],
  2460. "title": "Event send time quantiles by worker",
  2461. "tooltip": {
  2462. "shared": true,
  2463. "sort": 0,
  2464. "value_type": "individual"
  2465. },
  2466. "type": "graph",
  2467. "xaxis": {
  2468. "mode": "time",
  2469. "show": true,
  2470. "values": []
  2471. },
  2472. "yaxes": [
  2473. {
  2474. "$$hashKey": "object:263",
  2475. "format": "s",
  2476. "logBase": 1,
  2477. "show": true
  2478. },
  2479. {
  2480. "$$hashKey": "object:264",
  2481. "format": "short",
  2482. "logBase": 1,
  2483. "show": true
  2484. }
  2485. ],
  2486. "yaxis": {
  2487. "align": false
  2488. }
  2489. },
  2490. {
  2491. "datasource": {
  2492. "type": "prometheus",
  2493. "uid": "$datasource"
  2494. },
  2495. "description": "CPU and DB time spent on most expensive state resolution in a room, summed over all workers. This is a very rough proxy for \"how fast is state res\", but it doesn't accurately represent the system load (e.g. it completely ignores cheap state resolutions).\n",
  2496. "fieldConfig": {
  2497. "defaults": {
  2498. "color": {
  2499. "mode": "palette-classic"
  2500. },
  2501. "custom": {
  2502. "axisCenteredZero": false,
  2503. "axisColorMode": "text",
  2504. "axisLabel": "",
  2505. "axisPlacement": "auto",
  2506. "barAlignment": 0,
  2507. "drawStyle": "line",
  2508. "fillOpacity": 30,
  2509. "gradientMode": "none",
  2510. "hideFrom": {
  2511. "legend": false,
  2512. "tooltip": false,
  2513. "viz": false
  2514. },
  2515. "lineInterpolation": "linear",
  2516. "lineWidth": 1,
  2517. "pointSize": 5,
  2518. "scaleDistribution": {
  2519. "type": "linear"
  2520. },
  2521. "showPoints": "auto",
  2522. "spanNulls": false,
  2523. "stacking": {
  2524. "group": "A",
  2525. "mode": "normal"
  2526. },
  2527. "thresholdsStyle": {
  2528. "mode": "off"
  2529. }
  2530. },
  2531. "mappings": [],
  2532. "thresholds": {
  2533. "mode": "absolute",
  2534. "steps": [
  2535. {
  2536. "color": "green",
  2537. "value": null
  2538. },
  2539. {
  2540. "color": "red",
  2541. "value": 80
  2542. }
  2543. ]
  2544. },
  2545. "unit": "s/s"
  2546. },
  2547. "overrides": []
  2548. },
  2549. "gridPos": {
  2550. "h": 9,
  2551. "w": 12,
  2552. "x": 12,
  2553. "y": 79
  2554. },
  2555. "id": 222,
  2556. "options": {
  2557. "legend": {
  2558. "calcs": [],
  2559. "displayMode": "list",
  2560. "placement": "bottom",
  2561. "showLegend": false
  2562. },
  2563. "tooltip": {
  2564. "mode": "multi",
  2565. "sort": "none"
  2566. }
  2567. },
  2568. "targets": [
  2569. {
  2570. "datasource": {
  2571. "type": "prometheus",
  2572. "uid": "$datasource"
  2573. },
  2574. "exemplar": false,
  2575. "expr": "sum(rate(synapse_state_res_db_for_biggest_room_seconds_total{instance=\"$instance\"}[1m]))",
  2576. "format": "time_series",
  2577. "hide": false,
  2578. "instant": false,
  2579. "interval": "",
  2580. "legendFormat": "DB time",
  2581. "refId": "B"
  2582. },
  2583. {
  2584. "datasource": {
  2585. "type": "prometheus",
  2586. "uid": "$datasource"
  2587. },
  2588. "exemplar": false,
  2589. "expr": "sum(rate(synapse_state_res_cpu_for_biggest_room_seconds_total{instance=\"$instance\"}[1m]))",
  2590. "format": "time_series",
  2591. "hide": false,
  2592. "instant": false,
  2593. "interval": "",
  2594. "legendFormat": "CPU time",
  2595. "refId": "C"
  2596. }
  2597. ],
  2598. "title": "Stateres worst-case",
  2599. "type": "timeseries"
  2600. }
  2601. ],
  2602. "targets": [
  2603. {
  2604. "datasource": {
  2605. "type": "prometheus",
  2606. "uid": "$datasource"
  2607. },
  2608. "refId": "A"
  2609. }
  2610. ],
  2611. "title": "Event persistence",
  2612. "type": "row"
  2613. },
  2614. {
  2615. "collapsed": true,
  2616. "datasource": {
  2617. "type": "prometheus",
  2618. "uid": "$datasource"
  2619. },
  2620. "gridPos": {
  2621. "h": 1,
  2622. "w": 24,
  2623. "x": 0,
  2624. "y": 28
  2625. },
  2626. "id": 57,
  2627. "panels": [
  2628. {
  2629. "aliasColors": {},
  2630. "bars": false,
  2631. "dashLength": 10,
  2632. "dashes": false,
  2633. "datasource": {
  2634. "type": "prometheus",
  2635. "uid": "$datasource"
  2636. },
  2637. "editable": true,
  2638. "error": false,
  2639. "fieldConfig": {
  2640. "defaults": {
  2641. "links": []
  2642. },
  2643. "overrides": []
  2644. },
  2645. "fill": 2,
  2646. "fillGradient": 0,
  2647. "grid": {},
  2648. "gridPos": {
  2649. "h": 8,
  2650. "w": 12,
  2651. "x": 0,
  2652. "y": 57
  2653. },
  2654. "hiddenSeries": false,
  2655. "id": 4,
  2656. "legend": {
  2657. "alignAsTable": true,
  2658. "avg": false,
  2659. "current": false,
  2660. "hideEmpty": false,
  2661. "hideZero": true,
  2662. "max": false,
  2663. "min": false,
  2664. "rightSide": false,
  2665. "show": true,
  2666. "total": false,
  2667. "values": false
  2668. },
  2669. "lines": true,
  2670. "linewidth": 1,
  2671. "links": [],
  2672. "nullPointMode": "null",
  2673. "options": {
  2674. "alertThreshold": true
  2675. },
  2676. "percentage": false,
  2677. "pluginVersion": "9.2.2",
  2678. "pointradius": 5,
  2679. "points": false,
  2680. "renderer": "flot",
  2681. "seriesOverrides": [],
  2682. "spaceLength": 10,
  2683. "stack": false,
  2684. "steppedLine": false,
  2685. "targets": [
  2686. {
  2687. "datasource": {
  2688. "uid": "$datasource"
  2689. },
  2690. "expr": "rate(synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  2691. "format": "time_series",
  2692. "interval": "",
  2693. "intervalFactor": 2,
  2694. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  2695. "refId": "A",
  2696. "step": 20
  2697. }
  2698. ],
  2699. "thresholds": [
  2700. {
  2701. "$$hashKey": "object:234",
  2702. "colorMode": "custom",
  2703. "fill": true,
  2704. "fillColor": "rgba(216, 200, 27, 0.27)",
  2705. "op": "gt",
  2706. "value": 100,
  2707. "yaxis": "left"
  2708. },
  2709. {
  2710. "$$hashKey": "object:235",
  2711. "colorMode": "custom",
  2712. "fill": true,
  2713. "fillColor": "rgba(234, 112, 112, 0.22)",
  2714. "op": "gt",
  2715. "value": 250,
  2716. "yaxis": "left"
  2717. }
  2718. ],
  2719. "timeRegions": [],
  2720. "title": "Request Count by arrival time",
  2721. "tooltip": {
  2722. "shared": false,
  2723. "sort": 2,
  2724. "value_type": "individual"
  2725. },
  2726. "type": "graph",
  2727. "xaxis": {
  2728. "mode": "time",
  2729. "show": true,
  2730. "values": []
  2731. },
  2732. "yaxes": [
  2733. {
  2734. "$$hashKey": "object:206",
  2735. "format": "hertz",
  2736. "logBase": 1,
  2737. "show": true
  2738. },
  2739. {
  2740. "$$hashKey": "object:207",
  2741. "format": "short",
  2742. "logBase": 1,
  2743. "show": true
  2744. }
  2745. ],
  2746. "yaxis": {
  2747. "align": false
  2748. }
  2749. },
  2750. {
  2751. "aliasColors": {},
  2752. "bars": false,
  2753. "dashLength": 10,
  2754. "dashes": false,
  2755. "datasource": {
  2756. "type": "prometheus",
  2757. "uid": "$datasource"
  2758. },
  2759. "editable": true,
  2760. "error": false,
  2761. "fieldConfig": {
  2762. "defaults": {
  2763. "links": []
  2764. },
  2765. "overrides": []
  2766. },
  2767. "fill": 1,
  2768. "fillGradient": 0,
  2769. "grid": {},
  2770. "gridPos": {
  2771. "h": 8,
  2772. "w": 12,
  2773. "x": 12,
  2774. "y": 57
  2775. },
  2776. "hiddenSeries": false,
  2777. "id": 32,
  2778. "legend": {
  2779. "avg": false,
  2780. "current": false,
  2781. "max": false,
  2782. "min": false,
  2783. "show": true,
  2784. "total": false,
  2785. "values": false
  2786. },
  2787. "lines": true,
  2788. "linewidth": 2,
  2789. "links": [],
  2790. "nullPointMode": "null",
  2791. "options": {
  2792. "alertThreshold": true
  2793. },
  2794. "percentage": false,
  2795. "pluginVersion": "9.2.2",
  2796. "pointradius": 5,
  2797. "points": false,
  2798. "renderer": "flot",
  2799. "seriesOverrides": [],
  2800. "spaceLength": 10,
  2801. "stack": false,
  2802. "steppedLine": false,
  2803. "targets": [
  2804. {
  2805. "datasource": {
  2806. "uid": "$datasource"
  2807. },
  2808. "expr": "rate(synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\",method!=\"OPTIONS\"}[$bucket_size]) and topk(10,synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",method!=\"OPTIONS\"})",
  2809. "format": "time_series",
  2810. "intervalFactor": 2,
  2811. "legendFormat": "{{method}} {{servlet}} {{job}}-{{index}}",
  2812. "refId": "A",
  2813. "step": 20,
  2814. "target": ""
  2815. }
  2816. ],
  2817. "thresholds": [],
  2818. "timeRegions": [],
  2819. "title": "Top 10 Request Counts",
  2820. "tooltip": {
  2821. "shared": false,
  2822. "sort": 2,
  2823. "value_type": "cumulative"
  2824. },
  2825. "type": "graph",
  2826. "xaxis": {
  2827. "mode": "time",
  2828. "show": true,
  2829. "values": []
  2830. },
  2831. "yaxes": [
  2832. {
  2833. "$$hashKey": "object:305",
  2834. "format": "hertz",
  2835. "logBase": 1,
  2836. "show": true
  2837. },
  2838. {
  2839. "$$hashKey": "object:306",
  2840. "format": "short",
  2841. "logBase": 1,
  2842. "show": true
  2843. }
  2844. ],
  2845. "yaxis": {
  2846. "align": false
  2847. }
  2848. },
  2849. {
  2850. "aliasColors": {},
  2851. "bars": false,
  2852. "dashLength": 10,
  2853. "dashes": false,
  2854. "datasource": {
  2855. "type": "prometheus",
  2856. "uid": "$datasource"
  2857. },
  2858. "editable": true,
  2859. "error": false,
  2860. "fieldConfig": {
  2861. "defaults": {
  2862. "links": []
  2863. },
  2864. "overrides": []
  2865. },
  2866. "fill": 2,
  2867. "fillGradient": 0,
  2868. "grid": {},
  2869. "gridPos": {
  2870. "h": 8,
  2871. "w": 12,
  2872. "x": 0,
  2873. "y": 65
  2874. },
  2875. "hiddenSeries": false,
  2876. "id": 139,
  2877. "legend": {
  2878. "alignAsTable": true,
  2879. "avg": false,
  2880. "current": false,
  2881. "hideEmpty": false,
  2882. "hideZero": true,
  2883. "max": false,
  2884. "min": false,
  2885. "rightSide": false,
  2886. "show": true,
  2887. "total": false,
  2888. "values": false
  2889. },
  2890. "lines": true,
  2891. "linewidth": 1,
  2892. "links": [],
  2893. "nullPointMode": "null",
  2894. "options": {
  2895. "alertThreshold": true
  2896. },
  2897. "percentage": false,
  2898. "pluginVersion": "9.2.2",
  2899. "pointradius": 5,
  2900. "points": false,
  2901. "renderer": "flot",
  2902. "seriesOverrides": [],
  2903. "spaceLength": 10,
  2904. "stack": false,
  2905. "steppedLine": false,
  2906. "targets": [
  2907. {
  2908. "datasource": {
  2909. "uid": "$datasource"
  2910. },
  2911. "expr": "rate(synapse_http_server_in_flight_requests_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_http_server_in_flight_requests_ru_stime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  2912. "format": "time_series",
  2913. "interval": "",
  2914. "intervalFactor": 1,
  2915. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  2916. "refId": "A",
  2917. "step": 20
  2918. }
  2919. ],
  2920. "thresholds": [
  2921. {
  2922. "$$hashKey": "object:135",
  2923. "colorMode": "custom",
  2924. "fill": true,
  2925. "fillColor": "rgba(216, 200, 27, 0.27)",
  2926. "op": "gt",
  2927. "value": 100,
  2928. "yaxis": "left"
  2929. },
  2930. {
  2931. "$$hashKey": "object:136",
  2932. "colorMode": "custom",
  2933. "fill": true,
  2934. "fillColor": "rgba(234, 112, 112, 0.22)",
  2935. "op": "gt",
  2936. "value": 250,
  2937. "yaxis": "left"
  2938. }
  2939. ],
  2940. "timeRegions": [],
  2941. "title": "Total CPU Usage by Endpoint",
  2942. "tooltip": {
  2943. "shared": false,
  2944. "sort": 2,
  2945. "value_type": "individual"
  2946. },
  2947. "type": "graph",
  2948. "xaxis": {
  2949. "mode": "time",
  2950. "show": true,
  2951. "values": []
  2952. },
  2953. "yaxes": [
  2954. {
  2955. "$$hashKey": "object:107",
  2956. "format": "percentunit",
  2957. "logBase": 1,
  2958. "show": true
  2959. },
  2960. {
  2961. "$$hashKey": "object:108",
  2962. "format": "short",
  2963. "logBase": 1,
  2964. "show": true
  2965. }
  2966. ],
  2967. "yaxis": {
  2968. "align": false
  2969. }
  2970. },
  2971. {
  2972. "aliasColors": {},
  2973. "bars": false,
  2974. "dashLength": 10,
  2975. "dashes": false,
  2976. "datasource": {
  2977. "type": "prometheus",
  2978. "uid": "$datasource"
  2979. },
  2980. "editable": true,
  2981. "error": false,
  2982. "fieldConfig": {
  2983. "defaults": {
  2984. "links": []
  2985. },
  2986. "overrides": []
  2987. },
  2988. "fill": 0,
  2989. "fillGradient": 0,
  2990. "grid": {},
  2991. "gridPos": {
  2992. "h": 8,
  2993. "w": 12,
  2994. "x": 12,
  2995. "y": 65
  2996. },
  2997. "hiddenSeries": false,
  2998. "id": 52,
  2999. "legend": {
  3000. "alignAsTable": true,
  3001. "avg": false,
  3002. "current": false,
  3003. "hideEmpty": false,
  3004. "hideZero": true,
  3005. "max": false,
  3006. "min": false,
  3007. "rightSide": false,
  3008. "show": true,
  3009. "total": false,
  3010. "values": false
  3011. },
  3012. "lines": true,
  3013. "linewidth": 1,
  3014. "links": [],
  3015. "nullPointMode": "null",
  3016. "options": {
  3017. "alertThreshold": true
  3018. },
  3019. "percentage": false,
  3020. "pluginVersion": "9.2.2",
  3021. "pointradius": 5,
  3022. "points": false,
  3023. "renderer": "flot",
  3024. "seriesOverrides": [],
  3025. "spaceLength": 10,
  3026. "stack": false,
  3027. "steppedLine": false,
  3028. "targets": [
  3029. {
  3030. "datasource": {
  3031. "uid": "$datasource"
  3032. },
  3033. "expr": "(rate(synapse_http_server_in_flight_requests_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_http_server_in_flight_requests_ru_stime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) / rate(synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  3034. "format": "time_series",
  3035. "interval": "",
  3036. "intervalFactor": 1,
  3037. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  3038. "refId": "A",
  3039. "step": 20
  3040. }
  3041. ],
  3042. "thresholds": [
  3043. {
  3044. "$$hashKey": "object:417",
  3045. "colorMode": "custom",
  3046. "fill": true,
  3047. "fillColor": "rgba(216, 200, 27, 0.27)",
  3048. "op": "gt",
  3049. "value": 100,
  3050. "yaxis": "left"
  3051. },
  3052. {
  3053. "$$hashKey": "object:418",
  3054. "colorMode": "custom",
  3055. "fill": true,
  3056. "fillColor": "rgba(234, 112, 112, 0.22)",
  3057. "op": "gt",
  3058. "value": 250,
  3059. "yaxis": "left"
  3060. }
  3061. ],
  3062. "timeRegions": [],
  3063. "title": "Average CPU Usage by Endpoint",
  3064. "tooltip": {
  3065. "shared": false,
  3066. "sort": 2,
  3067. "value_type": "individual"
  3068. },
  3069. "type": "graph",
  3070. "xaxis": {
  3071. "mode": "time",
  3072. "show": true,
  3073. "values": []
  3074. },
  3075. "yaxes": [
  3076. {
  3077. "$$hashKey": "object:389",
  3078. "format": "s",
  3079. "logBase": 1,
  3080. "show": true
  3081. },
  3082. {
  3083. "$$hashKey": "object:390",
  3084. "format": "short",
  3085. "logBase": 1,
  3086. "show": true
  3087. }
  3088. ],
  3089. "yaxis": {
  3090. "align": false
  3091. }
  3092. },
  3093. {
  3094. "aliasColors": {},
  3095. "bars": false,
  3096. "dashLength": 10,
  3097. "dashes": false,
  3098. "datasource": {
  3099. "type": "prometheus",
  3100. "uid": "$datasource"
  3101. },
  3102. "editable": true,
  3103. "error": false,
  3104. "fieldConfig": {
  3105. "defaults": {
  3106. "links": []
  3107. },
  3108. "overrides": []
  3109. },
  3110. "fill": 1,
  3111. "fillGradient": 0,
  3112. "grid": {},
  3113. "gridPos": {
  3114. "h": 8,
  3115. "w": 12,
  3116. "x": 0,
  3117. "y": 73
  3118. },
  3119. "hiddenSeries": false,
  3120. "id": 7,
  3121. "legend": {
  3122. "alignAsTable": true,
  3123. "avg": false,
  3124. "current": false,
  3125. "hideEmpty": true,
  3126. "hideZero": true,
  3127. "max": false,
  3128. "min": false,
  3129. "show": true,
  3130. "total": false,
  3131. "values": false
  3132. },
  3133. "lines": true,
  3134. "linewidth": 1,
  3135. "links": [],
  3136. "nullPointMode": "null",
  3137. "options": {
  3138. "alertThreshold": true
  3139. },
  3140. "percentage": false,
  3141. "pluginVersion": "9.2.2",
  3142. "pointradius": 5,
  3143. "points": false,
  3144. "renderer": "flot",
  3145. "seriesOverrides": [],
  3146. "spaceLength": 10,
  3147. "stack": false,
  3148. "steppedLine": false,
  3149. "targets": [
  3150. {
  3151. "datasource": {
  3152. "uid": "$datasource"
  3153. },
  3154. "expr": "rate(synapse_http_server_in_flight_requests_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  3155. "format": "time_series",
  3156. "interval": "",
  3157. "intervalFactor": 1,
  3158. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  3159. "refId": "A",
  3160. "step": 20
  3161. }
  3162. ],
  3163. "thresholds": [],
  3164. "timeRegions": [],
  3165. "title": "DB Usage by endpoint",
  3166. "tooltip": {
  3167. "shared": false,
  3168. "sort": 2,
  3169. "value_type": "cumulative"
  3170. },
  3171. "type": "graph",
  3172. "xaxis": {
  3173. "mode": "time",
  3174. "show": true,
  3175. "values": []
  3176. },
  3177. "yaxes": [
  3178. {
  3179. "$$hashKey": "object:488",
  3180. "format": "percentunit",
  3181. "logBase": 1,
  3182. "show": true
  3183. },
  3184. {
  3185. "$$hashKey": "object:489",
  3186. "format": "short",
  3187. "logBase": 1,
  3188. "show": true
  3189. }
  3190. ],
  3191. "yaxis": {
  3192. "align": false
  3193. }
  3194. },
  3195. {
  3196. "aliasColors": {},
  3197. "bars": false,
  3198. "dashLength": 10,
  3199. "dashes": false,
  3200. "datasource": {
  3201. "uid": "$datasource"
  3202. },
  3203. "editable": true,
  3204. "error": false,
  3205. "fieldConfig": {
  3206. "defaults": {
  3207. "links": []
  3208. },
  3209. "overrides": []
  3210. },
  3211. "fill": 2,
  3212. "fillGradient": 0,
  3213. "grid": {},
  3214. "gridPos": {
  3215. "h": 8,
  3216. "w": 12,
  3217. "x": 12,
  3218. "y": 73
  3219. },
  3220. "hiddenSeries": false,
  3221. "id": 47,
  3222. "legend": {
  3223. "alignAsTable": true,
  3224. "avg": true,
  3225. "current": false,
  3226. "hideEmpty": false,
  3227. "hideZero": true,
  3228. "max": true,
  3229. "min": false,
  3230. "rightSide": false,
  3231. "show": true,
  3232. "total": false,
  3233. "values": true
  3234. },
  3235. "lines": true,
  3236. "linewidth": 1,
  3237. "links": [],
  3238. "nullPointMode": "null",
  3239. "options": {
  3240. "alertThreshold": true
  3241. },
  3242. "percentage": false,
  3243. "pluginVersion": "9.2.2",
  3244. "pointradius": 5,
  3245. "points": false,
  3246. "renderer": "flot",
  3247. "seriesOverrides": [],
  3248. "spaceLength": 10,
  3249. "stack": false,
  3250. "steppedLine": false,
  3251. "targets": [
  3252. {
  3253. "datasource": {
  3254. "uid": "$datasource"
  3255. },
  3256. "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))",
  3257. "format": "time_series",
  3258. "hide": false,
  3259. "interval": "",
  3260. "intervalFactor": 1,
  3261. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}}",
  3262. "refId": "A",
  3263. "step": 20
  3264. }
  3265. ],
  3266. "thresholds": [],
  3267. "timeRegions": [],
  3268. "title": "Non-sync avg response time",
  3269. "tooltip": {
  3270. "shared": false,
  3271. "sort": 2,
  3272. "value_type": "individual"
  3273. },
  3274. "type": "graph",
  3275. "xaxis": {
  3276. "mode": "time",
  3277. "show": true,
  3278. "values": []
  3279. },
  3280. "yaxes": [
  3281. {
  3282. "format": "s",
  3283. "logBase": 1,
  3284. "show": true
  3285. },
  3286. {
  3287. "format": "short",
  3288. "logBase": 1,
  3289. "show": false
  3290. }
  3291. ],
  3292. "yaxis": {
  3293. "align": false
  3294. }
  3295. },
  3296. {
  3297. "aliasColors": {},
  3298. "bars": false,
  3299. "dashLength": 10,
  3300. "dashes": false,
  3301. "datasource": {
  3302. "uid": "$datasource"
  3303. },
  3304. "fieldConfig": {
  3305. "defaults": {
  3306. "links": []
  3307. },
  3308. "overrides": []
  3309. },
  3310. "fill": 1,
  3311. "fillGradient": 0,
  3312. "gridPos": {
  3313. "h": 9,
  3314. "w": 12,
  3315. "x": 0,
  3316. "y": 81
  3317. },
  3318. "hiddenSeries": false,
  3319. "id": 103,
  3320. "legend": {
  3321. "avg": false,
  3322. "current": false,
  3323. "max": false,
  3324. "min": false,
  3325. "show": true,
  3326. "total": false,
  3327. "values": false
  3328. },
  3329. "lines": true,
  3330. "linewidth": 1,
  3331. "links": [],
  3332. "nullPointMode": "null",
  3333. "options": {
  3334. "alertThreshold": true
  3335. },
  3336. "percentage": false,
  3337. "pluginVersion": "9.2.2",
  3338. "pointradius": 5,
  3339. "points": false,
  3340. "renderer": "flot",
  3341. "seriesOverrides": [
  3342. {
  3343. "alias": "Total",
  3344. "color": "rgb(255, 255, 255)",
  3345. "fill": 0,
  3346. "linewidth": 3
  3347. }
  3348. ],
  3349. "spaceLength": 10,
  3350. "stack": false,
  3351. "steppedLine": false,
  3352. "targets": [
  3353. {
  3354. "datasource": {
  3355. "uid": "$datasource"
  3356. },
  3357. "expr": "topk(10,synapse_http_server_in_flight_requests_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})",
  3358. "format": "time_series",
  3359. "interval": "",
  3360. "intervalFactor": 1,
  3361. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}}",
  3362. "refId": "A"
  3363. },
  3364. {
  3365. "datasource": {
  3366. "uid": "$datasource"
  3367. },
  3368. "expr": "sum(avg_over_time(synapse_http_server_in_flight_requests_count{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  3369. "interval": "",
  3370. "legendFormat": "Total",
  3371. "refId": "B"
  3372. }
  3373. ],
  3374. "thresholds": [],
  3375. "timeRegions": [],
  3376. "title": "Requests in flight",
  3377. "tooltip": {
  3378. "shared": false,
  3379. "sort": 2,
  3380. "value_type": "individual"
  3381. },
  3382. "type": "graph",
  3383. "xaxis": {
  3384. "mode": "time",
  3385. "show": true,
  3386. "values": []
  3387. },
  3388. "yaxes": [
  3389. {
  3390. "format": "short",
  3391. "logBase": 1,
  3392. "show": true
  3393. },
  3394. {
  3395. "format": "short",
  3396. "logBase": 1,
  3397. "show": true
  3398. }
  3399. ],
  3400. "yaxis": {
  3401. "align": false
  3402. }
  3403. }
  3404. ],
  3405. "targets": [
  3406. {
  3407. "datasource": {
  3408. "type": "prometheus",
  3409. "uid": "$datasource"
  3410. },
  3411. "refId": "A"
  3412. }
  3413. ],
  3414. "title": "Requests",
  3415. "type": "row"
  3416. },
  3417. {
  3418. "collapsed": true,
  3419. "datasource": {
  3420. "type": "prometheus",
  3421. "uid": "$datasource"
  3422. },
  3423. "gridPos": {
  3424. "h": 1,
  3425. "w": 24,
  3426. "x": 0,
  3427. "y": 29
  3428. },
  3429. "id": 97,
  3430. "panels": [
  3431. {
  3432. "aliasColors": {},
  3433. "bars": false,
  3434. "dashLength": 10,
  3435. "dashes": false,
  3436. "datasource": {
  3437. "uid": "$datasource"
  3438. },
  3439. "fieldConfig": {
  3440. "defaults": {
  3441. "links": []
  3442. },
  3443. "overrides": []
  3444. },
  3445. "fill": 1,
  3446. "fillGradient": 0,
  3447. "gridPos": {
  3448. "h": 9,
  3449. "w": 12,
  3450. "x": 0,
  3451. "y": 5
  3452. },
  3453. "hiddenSeries": false,
  3454. "id": 99,
  3455. "legend": {
  3456. "avg": false,
  3457. "current": false,
  3458. "max": false,
  3459. "min": false,
  3460. "show": true,
  3461. "total": false,
  3462. "values": false
  3463. },
  3464. "lines": true,
  3465. "linewidth": 1,
  3466. "links": [],
  3467. "nullPointMode": "null",
  3468. "options": {
  3469. "alertThreshold": true
  3470. },
  3471. "paceLength": 10,
  3472. "percentage": false,
  3473. "pluginVersion": "8.4.3",
  3474. "pointradius": 5,
  3475. "points": false,
  3476. "renderer": "flot",
  3477. "seriesOverrides": [],
  3478. "spaceLength": 10,
  3479. "stack": false,
  3480. "steppedLine": false,
  3481. "targets": [
  3482. {
  3483. "datasource": {
  3484. "uid": "$datasource"
  3485. },
  3486. "expr": "rate(synapse_background_process_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_background_process_ru_stime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  3487. "format": "time_series",
  3488. "interval": "",
  3489. "intervalFactor": 1,
  3490. "legendFormat": "{{job}}-{{index}} {{name}}",
  3491. "refId": "A"
  3492. }
  3493. ],
  3494. "thresholds": [],
  3495. "timeRegions": [],
  3496. "title": "CPU usage by background jobs",
  3497. "tooltip": {
  3498. "shared": false,
  3499. "sort": 0,
  3500. "value_type": "individual"
  3501. },
  3502. "type": "graph",
  3503. "xaxis": {
  3504. "mode": "time",
  3505. "show": true,
  3506. "values": []
  3507. },
  3508. "yaxes": [
  3509. {
  3510. "format": "percentunit",
  3511. "logBase": 1,
  3512. "show": true
  3513. },
  3514. {
  3515. "format": "short",
  3516. "logBase": 1,
  3517. "show": true
  3518. }
  3519. ],
  3520. "yaxis": {
  3521. "align": false
  3522. }
  3523. },
  3524. {
  3525. "aliasColors": {},
  3526. "bars": false,
  3527. "dashLength": 10,
  3528. "dashes": false,
  3529. "datasource": {
  3530. "uid": "$datasource"
  3531. },
  3532. "fieldConfig": {
  3533. "defaults": {
  3534. "links": []
  3535. },
  3536. "overrides": []
  3537. },
  3538. "fill": 1,
  3539. "fillGradient": 0,
  3540. "gridPos": {
  3541. "h": 9,
  3542. "w": 12,
  3543. "x": 12,
  3544. "y": 5
  3545. },
  3546. "hiddenSeries": false,
  3547. "id": 101,
  3548. "legend": {
  3549. "avg": false,
  3550. "current": false,
  3551. "max": false,
  3552. "min": false,
  3553. "show": true,
  3554. "total": false,
  3555. "values": false
  3556. },
  3557. "lines": true,
  3558. "linewidth": 1,
  3559. "links": [],
  3560. "nullPointMode": "null",
  3561. "options": {
  3562. "alertThreshold": true
  3563. },
  3564. "paceLength": 10,
  3565. "percentage": false,
  3566. "pluginVersion": "8.4.3",
  3567. "pointradius": 5,
  3568. "points": false,
  3569. "renderer": "flot",
  3570. "seriesOverrides": [],
  3571. "spaceLength": 10,
  3572. "stack": false,
  3573. "steppedLine": false,
  3574. "targets": [
  3575. {
  3576. "datasource": {
  3577. "uid": "$datasource"
  3578. },
  3579. "expr": "rate(synapse_background_process_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) + rate(synapse_background_process_db_sched_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  3580. "format": "time_series",
  3581. "hide": false,
  3582. "intervalFactor": 1,
  3583. "legendFormat": "{{job}}-{{index}} {{name}}",
  3584. "refId": "A"
  3585. }
  3586. ],
  3587. "thresholds": [],
  3588. "timeRegions": [],
  3589. "title": "DB usage by background jobs (including scheduling time)",
  3590. "tooltip": {
  3591. "shared": false,
  3592. "sort": 0,
  3593. "value_type": "individual"
  3594. },
  3595. "type": "graph",
  3596. "xaxis": {
  3597. "mode": "time",
  3598. "show": true,
  3599. "values": []
  3600. },
  3601. "yaxes": [
  3602. {
  3603. "format": "percentunit",
  3604. "logBase": 1,
  3605. "show": true
  3606. },
  3607. {
  3608. "format": "short",
  3609. "logBase": 1,
  3610. "show": true
  3611. }
  3612. ],
  3613. "yaxis": {
  3614. "align": false
  3615. }
  3616. },
  3617. {
  3618. "aliasColors": {},
  3619. "bars": false,
  3620. "dashLength": 10,
  3621. "dashes": false,
  3622. "datasource": {
  3623. "uid": "$datasource"
  3624. },
  3625. "fieldConfig": {
  3626. "defaults": {
  3627. "links": []
  3628. },
  3629. "overrides": []
  3630. },
  3631. "fill": 1,
  3632. "fillGradient": 0,
  3633. "gridPos": {
  3634. "h": 8,
  3635. "w": 12,
  3636. "x": 0,
  3637. "y": 14
  3638. },
  3639. "hiddenSeries": false,
  3640. "id": 138,
  3641. "legend": {
  3642. "avg": false,
  3643. "current": false,
  3644. "max": false,
  3645. "min": false,
  3646. "show": true,
  3647. "total": false,
  3648. "values": false
  3649. },
  3650. "lines": true,
  3651. "linewidth": 1,
  3652. "nullPointMode": "null",
  3653. "options": {
  3654. "alertThreshold": true
  3655. },
  3656. "percentage": false,
  3657. "pluginVersion": "8.4.3",
  3658. "pointradius": 2,
  3659. "points": false,
  3660. "renderer": "flot",
  3661. "seriesOverrides": [],
  3662. "spaceLength": 10,
  3663. "stack": false,
  3664. "steppedLine": false,
  3665. "targets": [
  3666. {
  3667. "datasource": {
  3668. "uid": "$datasource"
  3669. },
  3670. "expr": "synapse_background_process_in_flight_count{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  3671. "legendFormat": "{{job}}-{{index}} {{name}}",
  3672. "refId": "A"
  3673. }
  3674. ],
  3675. "thresholds": [],
  3676. "timeRegions": [],
  3677. "title": "Background jobs in flight",
  3678. "tooltip": {
  3679. "shared": false,
  3680. "sort": 0,
  3681. "value_type": "individual"
  3682. },
  3683. "type": "graph",
  3684. "xaxis": {
  3685. "mode": "time",
  3686. "show": true,
  3687. "values": []
  3688. },
  3689. "yaxes": [
  3690. {
  3691. "format": "short",
  3692. "logBase": 1,
  3693. "show": true
  3694. },
  3695. {
  3696. "format": "short",
  3697. "logBase": 1,
  3698. "show": true
  3699. }
  3700. ],
  3701. "yaxis": {
  3702. "align": false
  3703. }
  3704. }
  3705. ],
  3706. "targets": [
  3707. {
  3708. "datasource": {
  3709. "type": "prometheus",
  3710. "uid": "$datasource"
  3711. },
  3712. "refId": "A"
  3713. }
  3714. ],
  3715. "title": "Background jobs",
  3716. "type": "row"
  3717. },
  3718. {
  3719. "collapsed": true,
  3720. "datasource": {
  3721. "type": "prometheus",
  3722. "uid": "$datasource"
  3723. },
  3724. "gridPos": {
  3725. "h": 1,
  3726. "w": 24,
  3727. "x": 0,
  3728. "y": 30
  3729. },
  3730. "id": 81,
  3731. "panels": [
  3732. {
  3733. "aliasColors": {},
  3734. "bars": false,
  3735. "dashLength": 10,
  3736. "dashes": false,
  3737. "datasource": {
  3738. "uid": "$datasource"
  3739. },
  3740. "fieldConfig": {
  3741. "defaults": {
  3742. "links": []
  3743. },
  3744. "overrides": []
  3745. },
  3746. "fill": 1,
  3747. "fillGradient": 0,
  3748. "gridPos": {
  3749. "h": 9,
  3750. "w": 12,
  3751. "x": 0,
  3752. "y": 59
  3753. },
  3754. "hiddenSeries": false,
  3755. "id": 79,
  3756. "legend": {
  3757. "avg": false,
  3758. "current": false,
  3759. "max": false,
  3760. "min": false,
  3761. "show": true,
  3762. "total": false,
  3763. "values": false
  3764. },
  3765. "lines": true,
  3766. "linewidth": 1,
  3767. "links": [],
  3768. "nullPointMode": "null",
  3769. "options": {
  3770. "alertThreshold": true
  3771. },
  3772. "paceLength": 10,
  3773. "percentage": false,
  3774. "pluginVersion": "9.2.2",
  3775. "pointradius": 5,
  3776. "points": false,
  3777. "renderer": "flot",
  3778. "seriesOverrides": [],
  3779. "spaceLength": 10,
  3780. "stack": false,
  3781. "steppedLine": false,
  3782. "targets": [
  3783. {
  3784. "datasource": {
  3785. "uid": "$datasource"
  3786. },
  3787. "expr": "sum(rate(synapse_federation_client_sent_transactions_total{instance=\"$instance\"}[$bucket_size]))",
  3788. "format": "time_series",
  3789. "intervalFactor": 1,
  3790. "legendFormat": "successful txn rate",
  3791. "refId": "A"
  3792. },
  3793. {
  3794. "datasource": {
  3795. "uid": "$datasource"
  3796. },
  3797. "expr": "sum(rate(synapse_util_metrics_block_count_total{block_name=\"_send_new_transaction\",instance=\"$instance\"}[$bucket_size]) - ignoring (block_name) rate(synapse_federation_client_sent_transactions_total{instance=\"$instance\"}[$bucket_size]))",
  3798. "legendFormat": "failed txn rate",
  3799. "refId": "B"
  3800. }
  3801. ],
  3802. "thresholds": [],
  3803. "timeRegions": [],
  3804. "title": "Outgoing federation transaction rate",
  3805. "tooltip": {
  3806. "shared": true,
  3807. "sort": 0,
  3808. "value_type": "individual"
  3809. },
  3810. "type": "graph",
  3811. "xaxis": {
  3812. "mode": "time",
  3813. "show": true,
  3814. "values": []
  3815. },
  3816. "yaxes": [
  3817. {
  3818. "format": "hertz",
  3819. "logBase": 1,
  3820. "show": true
  3821. },
  3822. {
  3823. "format": "short",
  3824. "logBase": 1,
  3825. "show": true
  3826. }
  3827. ],
  3828. "yaxis": {
  3829. "align": false
  3830. }
  3831. },
  3832. {
  3833. "aliasColors": {},
  3834. "bars": false,
  3835. "dashLength": 10,
  3836. "dashes": false,
  3837. "datasource": {
  3838. "uid": "$datasource"
  3839. },
  3840. "fieldConfig": {
  3841. "defaults": {
  3842. "links": []
  3843. },
  3844. "overrides": []
  3845. },
  3846. "fill": 1,
  3847. "fillGradient": 0,
  3848. "gridPos": {
  3849. "h": 9,
  3850. "w": 12,
  3851. "x": 12,
  3852. "y": 59
  3853. },
  3854. "hiddenSeries": false,
  3855. "id": 83,
  3856. "legend": {
  3857. "avg": false,
  3858. "current": false,
  3859. "max": false,
  3860. "min": false,
  3861. "show": true,
  3862. "total": false,
  3863. "values": false
  3864. },
  3865. "lines": true,
  3866. "linewidth": 1,
  3867. "links": [],
  3868. "nullPointMode": "null",
  3869. "options": {
  3870. "alertThreshold": true
  3871. },
  3872. "paceLength": 10,
  3873. "percentage": false,
  3874. "pluginVersion": "9.2.2",
  3875. "pointradius": 5,
  3876. "points": false,
  3877. "renderer": "flot",
  3878. "seriesOverrides": [],
  3879. "spaceLength": 10,
  3880. "stack": false,
  3881. "steppedLine": false,
  3882. "targets": [
  3883. {
  3884. "datasource": {
  3885. "uid": "$datasource"
  3886. },
  3887. "expr": "sum(rate(synapse_federation_server_received_pdus_total{instance=~\"$instance\"}[$bucket_size]))",
  3888. "format": "time_series",
  3889. "intervalFactor": 1,
  3890. "legendFormat": "pdus",
  3891. "refId": "A"
  3892. },
  3893. {
  3894. "datasource": {
  3895. "uid": "$datasource"
  3896. },
  3897. "expr": "sum(rate(synapse_federation_server_received_edus_total{instance=~\"$instance\"}[$bucket_size]))",
  3898. "format": "time_series",
  3899. "intervalFactor": 1,
  3900. "legendFormat": "edus",
  3901. "refId": "B"
  3902. }
  3903. ],
  3904. "thresholds": [],
  3905. "timeRegions": [],
  3906. "title": "Incoming PDU/EDU rate",
  3907. "tooltip": {
  3908. "shared": true,
  3909. "sort": 0,
  3910. "value_type": "individual"
  3911. },
  3912. "type": "graph",
  3913. "xaxis": {
  3914. "mode": "time",
  3915. "show": true,
  3916. "values": []
  3917. },
  3918. "yaxes": [
  3919. {
  3920. "format": "hertz",
  3921. "logBase": 1,
  3922. "show": true
  3923. },
  3924. {
  3925. "format": "short",
  3926. "logBase": 1,
  3927. "show": true
  3928. }
  3929. ],
  3930. "yaxis": {
  3931. "align": false
  3932. }
  3933. },
  3934. {
  3935. "aliasColors": {},
  3936. "bars": false,
  3937. "dashLength": 10,
  3938. "dashes": false,
  3939. "datasource": {
  3940. "uid": "$datasource"
  3941. },
  3942. "fieldConfig": {
  3943. "defaults": {
  3944. "links": []
  3945. },
  3946. "overrides": []
  3947. },
  3948. "fill": 1,
  3949. "fillGradient": 0,
  3950. "gridPos": {
  3951. "h": 9,
  3952. "w": 12,
  3953. "x": 0,
  3954. "y": 68
  3955. },
  3956. "hiddenSeries": false,
  3957. "id": 109,
  3958. "legend": {
  3959. "avg": false,
  3960. "current": false,
  3961. "max": false,
  3962. "min": false,
  3963. "show": true,
  3964. "total": false,
  3965. "values": false
  3966. },
  3967. "lines": true,
  3968. "linewidth": 1,
  3969. "links": [],
  3970. "nullPointMode": "null",
  3971. "options": {
  3972. "alertThreshold": true
  3973. },
  3974. "paceLength": 10,
  3975. "percentage": false,
  3976. "pluginVersion": "9.2.2",
  3977. "pointradius": 5,
  3978. "points": false,
  3979. "renderer": "flot",
  3980. "seriesOverrides": [],
  3981. "spaceLength": 10,
  3982. "stack": false,
  3983. "steppedLine": false,
  3984. "targets": [
  3985. {
  3986. "datasource": {
  3987. "uid": "$datasource"
  3988. },
  3989. "expr": "sum(rate(synapse_federation_client_sent_pdu_destinations:total_total{instance=\"$instance\"}[$bucket_size]))",
  3990. "format": "time_series",
  3991. "interval": "",
  3992. "intervalFactor": 1,
  3993. "legendFormat": "pdus",
  3994. "refId": "A"
  3995. },
  3996. {
  3997. "datasource": {
  3998. "uid": "$datasource"
  3999. },
  4000. "expr": "sum(rate(synapse_federation_client_sent_edus_total{instance=\"$instance\"}[$bucket_size]))",
  4001. "format": "time_series",
  4002. "intervalFactor": 1,
  4003. "legendFormat": "edus",
  4004. "refId": "B"
  4005. }
  4006. ],
  4007. "thresholds": [],
  4008. "timeRegions": [],
  4009. "title": "Outgoing PDU/EDU rate",
  4010. "tooltip": {
  4011. "shared": true,
  4012. "sort": 0,
  4013. "value_type": "individual"
  4014. },
  4015. "type": "graph",
  4016. "xaxis": {
  4017. "mode": "time",
  4018. "show": true,
  4019. "values": []
  4020. },
  4021. "yaxes": [
  4022. {
  4023. "format": "hertz",
  4024. "logBase": 1,
  4025. "show": true
  4026. },
  4027. {
  4028. "format": "short",
  4029. "logBase": 1,
  4030. "show": true
  4031. }
  4032. ],
  4033. "yaxis": {
  4034. "align": false
  4035. }
  4036. },
  4037. {
  4038. "aliasColors": {},
  4039. "bars": false,
  4040. "dashLength": 10,
  4041. "dashes": false,
  4042. "datasource": {
  4043. "type": "prometheus",
  4044. "uid": "$datasource"
  4045. },
  4046. "fieldConfig": {
  4047. "defaults": {
  4048. "links": []
  4049. },
  4050. "overrides": []
  4051. },
  4052. "fill": 1,
  4053. "fillGradient": 0,
  4054. "gridPos": {
  4055. "h": 9,
  4056. "w": 12,
  4057. "x": 12,
  4058. "y": 68
  4059. },
  4060. "hiddenSeries": false,
  4061. "id": 111,
  4062. "legend": {
  4063. "avg": false,
  4064. "current": false,
  4065. "max": false,
  4066. "min": false,
  4067. "show": true,
  4068. "total": false,
  4069. "values": false
  4070. },
  4071. "lines": true,
  4072. "linewidth": 1,
  4073. "links": [],
  4074. "nullPointMode": "null",
  4075. "options": {
  4076. "alertThreshold": true
  4077. },
  4078. "paceLength": 10,
  4079. "percentage": false,
  4080. "pluginVersion": "9.2.2",
  4081. "pointradius": 5,
  4082. "points": false,
  4083. "renderer": "flot",
  4084. "seriesOverrides": [],
  4085. "spaceLength": 10,
  4086. "stack": false,
  4087. "steppedLine": false,
  4088. "targets": [
  4089. {
  4090. "datasource": {
  4091. "uid": "$datasource"
  4092. },
  4093. "editorMode": "code",
  4094. "expr": "rate(synapse_federation_client_sent_edus_by_type_total{instance=\"$instance\"}[$bucket_size])",
  4095. "format": "time_series",
  4096. "interval": "",
  4097. "intervalFactor": 1,
  4098. "legendFormat": "{{type}}",
  4099. "range": true,
  4100. "refId": "A"
  4101. }
  4102. ],
  4103. "thresholds": [],
  4104. "timeRegions": [],
  4105. "title": "Outgoing EDUs by type",
  4106. "tooltip": {
  4107. "shared": true,
  4108. "sort": 0,
  4109. "value_type": "individual"
  4110. },
  4111. "type": "graph",
  4112. "xaxis": {
  4113. "mode": "time",
  4114. "show": true,
  4115. "values": []
  4116. },
  4117. "yaxes": [
  4118. {
  4119. "$$hashKey": "object:462",
  4120. "format": "hertz",
  4121. "logBase": 1,
  4122. "show": true
  4123. },
  4124. {
  4125. "$$hashKey": "object:463",
  4126. "format": "short",
  4127. "logBase": 1,
  4128. "show": true
  4129. }
  4130. ],
  4131. "yaxis": {
  4132. "align": false
  4133. }
  4134. },
  4135. {
  4136. "aliasColors": {},
  4137. "bars": false,
  4138. "dashLength": 10,
  4139. "dashes": false,
  4140. "datasource": {
  4141. "type": "prometheus",
  4142. "uid": "$datasource"
  4143. },
  4144. "description": "The number of events in the in-memory queues ",
  4145. "fieldConfig": {
  4146. "defaults": {
  4147. "links": []
  4148. },
  4149. "overrides": []
  4150. },
  4151. "fill": 1,
  4152. "fillGradient": 0,
  4153. "gridPos": {
  4154. "h": 8,
  4155. "w": 12,
  4156. "x": 0,
  4157. "y": 77
  4158. },
  4159. "hiddenSeries": false,
  4160. "id": 142,
  4161. "legend": {
  4162. "avg": false,
  4163. "current": false,
  4164. "max": false,
  4165. "min": false,
  4166. "show": true,
  4167. "total": false,
  4168. "values": false
  4169. },
  4170. "lines": true,
  4171. "linewidth": 1,
  4172. "nullPointMode": "null",
  4173. "options": {
  4174. "alertThreshold": true
  4175. },
  4176. "percentage": false,
  4177. "pluginVersion": "9.2.2",
  4178. "pointradius": 2,
  4179. "points": false,
  4180. "renderer": "flot",
  4181. "seriesOverrides": [],
  4182. "spaceLength": 10,
  4183. "stack": false,
  4184. "steppedLine": false,
  4185. "targets": [
  4186. {
  4187. "datasource": {
  4188. "type": "prometheus",
  4189. "uid": "$datasource"
  4190. },
  4191. "editorMode": "code",
  4192. "expr": "synapse_federation_transaction_queue_pending_pdus{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4193. "interval": "",
  4194. "legendFormat": "pending PDUs {{job}}-{{index}}",
  4195. "range": true,
  4196. "refId": "A"
  4197. },
  4198. {
  4199. "datasource": {
  4200. "type": "prometheus",
  4201. "uid": "$datasource"
  4202. },
  4203. "expr": "synapse_federation_transaction_queue_pending_edus{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4204. "interval": "",
  4205. "legendFormat": "pending EDUs {{job}}-{{index}}",
  4206. "refId": "B"
  4207. }
  4208. ],
  4209. "thresholds": [],
  4210. "timeRegions": [],
  4211. "title": "In-memory federation transmission queues",
  4212. "tooltip": {
  4213. "shared": true,
  4214. "sort": 0,
  4215. "value_type": "individual"
  4216. },
  4217. "type": "graph",
  4218. "xaxis": {
  4219. "mode": "time",
  4220. "show": true,
  4221. "values": []
  4222. },
  4223. "yaxes": [
  4224. {
  4225. "$$hashKey": "object:547",
  4226. "format": "short",
  4227. "label": "events",
  4228. "logBase": 1,
  4229. "min": "0",
  4230. "show": true
  4231. },
  4232. {
  4233. "$$hashKey": "object:548",
  4234. "format": "short",
  4235. "label": "",
  4236. "logBase": 1,
  4237. "show": true
  4238. }
  4239. ],
  4240. "yaxis": {
  4241. "align": false
  4242. }
  4243. },
  4244. {
  4245. "aliasColors": {},
  4246. "bars": false,
  4247. "dashLength": 10,
  4248. "dashes": false,
  4249. "datasource": {
  4250. "uid": "$datasource"
  4251. },
  4252. "description": "Number of events queued up on the master process for processing by the federation sender",
  4253. "fieldConfig": {
  4254. "defaults": {
  4255. "links": []
  4256. },
  4257. "overrides": []
  4258. },
  4259. "fill": 1,
  4260. "fillGradient": 0,
  4261. "gridPos": {
  4262. "h": 9,
  4263. "w": 12,
  4264. "x": 12,
  4265. "y": 77
  4266. },
  4267. "hiddenSeries": false,
  4268. "id": 140,
  4269. "legend": {
  4270. "avg": false,
  4271. "current": false,
  4272. "max": false,
  4273. "min": false,
  4274. "show": true,
  4275. "total": false,
  4276. "values": false
  4277. },
  4278. "lines": true,
  4279. "linewidth": 1,
  4280. "links": [],
  4281. "nullPointMode": "null",
  4282. "options": {
  4283. "alertThreshold": true
  4284. },
  4285. "paceLength": 10,
  4286. "percentage": false,
  4287. "pluginVersion": "9.2.2",
  4288. "pointradius": 5,
  4289. "points": false,
  4290. "renderer": "flot",
  4291. "seriesOverrides": [],
  4292. "spaceLength": 10,
  4293. "stack": false,
  4294. "steppedLine": false,
  4295. "targets": [
  4296. {
  4297. "datasource": {
  4298. "uid": "$datasource"
  4299. },
  4300. "expr": "synapse_federation_send_queue_presence_changed_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4301. "format": "time_series",
  4302. "interval": "",
  4303. "intervalFactor": 1,
  4304. "legendFormat": "presence changed",
  4305. "refId": "A"
  4306. },
  4307. {
  4308. "datasource": {
  4309. "uid": "$datasource"
  4310. },
  4311. "expr": "synapse_federation_send_queue_presence_map_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4312. "format": "time_series",
  4313. "hide": false,
  4314. "interval": "",
  4315. "intervalFactor": 1,
  4316. "legendFormat": "presence map",
  4317. "refId": "B"
  4318. },
  4319. {
  4320. "datasource": {
  4321. "uid": "$datasource"
  4322. },
  4323. "expr": "synapse_federation_send_queue_presence_destinations_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4324. "format": "time_series",
  4325. "hide": false,
  4326. "interval": "",
  4327. "intervalFactor": 1,
  4328. "legendFormat": "presence destinations",
  4329. "refId": "E"
  4330. },
  4331. {
  4332. "datasource": {
  4333. "uid": "$datasource"
  4334. },
  4335. "expr": "synapse_federation_send_queue_keyed_edu_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4336. "format": "time_series",
  4337. "hide": false,
  4338. "interval": "",
  4339. "intervalFactor": 1,
  4340. "legendFormat": "keyed edus",
  4341. "refId": "C"
  4342. },
  4343. {
  4344. "datasource": {
  4345. "uid": "$datasource"
  4346. },
  4347. "expr": "synapse_federation_send_queue_edus_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4348. "format": "time_series",
  4349. "hide": false,
  4350. "interval": "",
  4351. "intervalFactor": 1,
  4352. "legendFormat": "other edus",
  4353. "refId": "D"
  4354. },
  4355. {
  4356. "datasource": {
  4357. "uid": "$datasource"
  4358. },
  4359. "expr": "synapse_federation_send_queue_pos_time_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4360. "format": "time_series",
  4361. "hide": false,
  4362. "interval": "",
  4363. "intervalFactor": 1,
  4364. "legendFormat": "stream positions",
  4365. "refId": "F"
  4366. }
  4367. ],
  4368. "thresholds": [],
  4369. "timeRegions": [],
  4370. "title": "Outgoing EDU queues on master",
  4371. "tooltip": {
  4372. "shared": true,
  4373. "sort": 0,
  4374. "value_type": "individual"
  4375. },
  4376. "type": "graph",
  4377. "xaxis": {
  4378. "mode": "time",
  4379. "show": true,
  4380. "values": []
  4381. },
  4382. "yaxes": [
  4383. {
  4384. "format": "none",
  4385. "logBase": 1,
  4386. "min": "0",
  4387. "show": true
  4388. },
  4389. {
  4390. "format": "short",
  4391. "logBase": 1,
  4392. "show": true
  4393. }
  4394. ],
  4395. "yaxis": {
  4396. "align": false
  4397. }
  4398. },
  4399. {
  4400. "cards": {
  4401. "cardPadding": -1
  4402. },
  4403. "color": {
  4404. "cardColor": "#b4ff00",
  4405. "colorScale": "sqrt",
  4406. "colorScheme": "interpolateInferno",
  4407. "exponent": 0.5,
  4408. "min": 0,
  4409. "mode": "spectrum"
  4410. },
  4411. "dataFormat": "tsbuckets",
  4412. "datasource": {
  4413. "uid": "$datasource"
  4414. },
  4415. "fieldConfig": {
  4416. "defaults": {
  4417. "custom": {
  4418. "hideFrom": {
  4419. "legend": false,
  4420. "tooltip": false,
  4421. "viz": false
  4422. },
  4423. "scaleDistribution": {
  4424. "type": "linear"
  4425. }
  4426. }
  4427. },
  4428. "overrides": []
  4429. },
  4430. "gridPos": {
  4431. "h": 9,
  4432. "w": 12,
  4433. "x": 0,
  4434. "y": 85
  4435. },
  4436. "heatmap": {},
  4437. "hideZeroBuckets": false,
  4438. "highlightCards": true,
  4439. "id": 166,
  4440. "legend": {
  4441. "show": false
  4442. },
  4443. "links": [],
  4444. "options": {
  4445. "calculate": false,
  4446. "calculation": {},
  4447. "cellGap": -1,
  4448. "cellValues": {
  4449. "decimals": 2
  4450. },
  4451. "color": {
  4452. "exponent": 0.5,
  4453. "fill": "#b4ff00",
  4454. "min": 0,
  4455. "mode": "scheme",
  4456. "reverse": false,
  4457. "scale": "exponential",
  4458. "scheme": "Inferno",
  4459. "steps": 128
  4460. },
  4461. "exemplars": {
  4462. "color": "rgba(255,0,255,0.7)"
  4463. },
  4464. "filterValues": {
  4465. "le": 1e-9
  4466. },
  4467. "legend": {
  4468. "show": false
  4469. },
  4470. "rowsFrame": {
  4471. "layout": "auto"
  4472. },
  4473. "showValue": "never",
  4474. "tooltip": {
  4475. "show": true,
  4476. "yHistogram": true
  4477. },
  4478. "yAxis": {
  4479. "axisPlacement": "left",
  4480. "decimals": 0,
  4481. "reverse": false,
  4482. "unit": "s"
  4483. }
  4484. },
  4485. "pluginVersion": "9.2.2",
  4486. "reverseYBuckets": false,
  4487. "targets": [
  4488. {
  4489. "datasource": {
  4490. "uid": "$datasource"
  4491. },
  4492. "expr": "sum(rate(synapse_event_processing_lag_by_event_bucket{instance=\"$instance\",name=\"federation_sender\"}[$bucket_size])) by (le)",
  4493. "format": "heatmap",
  4494. "instant": false,
  4495. "interval": "",
  4496. "intervalFactor": 1,
  4497. "legendFormat": "{{ le }}",
  4498. "refId": "A"
  4499. }
  4500. ],
  4501. "title": "Federation send PDU lag",
  4502. "tooltip": {
  4503. "show": true,
  4504. "showHistogram": true
  4505. },
  4506. "tooltipDecimals": 2,
  4507. "type": "heatmap",
  4508. "xAxis": {
  4509. "show": true
  4510. },
  4511. "yAxis": {
  4512. "decimals": 0,
  4513. "format": "s",
  4514. "logBase": 1,
  4515. "show": true
  4516. },
  4517. "yBucketBound": "auto"
  4518. },
  4519. {
  4520. "aliasColors": {},
  4521. "bars": false,
  4522. "dashLength": 10,
  4523. "dashes": false,
  4524. "datasource": {
  4525. "uid": "$datasource"
  4526. },
  4527. "fieldConfig": {
  4528. "defaults": {
  4529. "links": []
  4530. },
  4531. "overrides": []
  4532. },
  4533. "fill": 0,
  4534. "fillGradient": 0,
  4535. "gridPos": {
  4536. "h": 9,
  4537. "w": 12,
  4538. "x": 12,
  4539. "y": 86
  4540. },
  4541. "hiddenSeries": false,
  4542. "id": 162,
  4543. "legend": {
  4544. "avg": false,
  4545. "current": false,
  4546. "max": false,
  4547. "min": false,
  4548. "rightSide": false,
  4549. "show": true,
  4550. "total": false,
  4551. "values": false
  4552. },
  4553. "lines": true,
  4554. "linewidth": 0,
  4555. "links": [],
  4556. "nullPointMode": "connected",
  4557. "options": {
  4558. "alertThreshold": true
  4559. },
  4560. "paceLength": 10,
  4561. "percentage": false,
  4562. "pluginVersion": "9.2.2",
  4563. "pointradius": 5,
  4564. "points": false,
  4565. "renderer": "flot",
  4566. "seriesOverrides": [
  4567. {
  4568. "alias": "Avg",
  4569. "fill": 0,
  4570. "linewidth": 3
  4571. },
  4572. {
  4573. "alias": "99%",
  4574. "color": "#C4162A",
  4575. "fillBelowTo": "90%"
  4576. },
  4577. {
  4578. "alias": "90%",
  4579. "color": "#FF7383",
  4580. "fillBelowTo": "75%"
  4581. },
  4582. {
  4583. "alias": "75%",
  4584. "color": "#FFEE52",
  4585. "fillBelowTo": "50%"
  4586. },
  4587. {
  4588. "alias": "50%",
  4589. "color": "#73BF69",
  4590. "fillBelowTo": "25%"
  4591. },
  4592. {
  4593. "alias": "25%",
  4594. "color": "#1F60C4",
  4595. "fillBelowTo": "5%"
  4596. },
  4597. {
  4598. "alias": "5%",
  4599. "lines": false
  4600. },
  4601. {
  4602. "alias": "Average",
  4603. "color": "rgb(255, 255, 255)",
  4604. "lines": true,
  4605. "linewidth": 3
  4606. }
  4607. ],
  4608. "spaceLength": 10,
  4609. "stack": false,
  4610. "steppedLine": false,
  4611. "targets": [
  4612. {
  4613. "datasource": {
  4614. "uid": "$datasource"
  4615. },
  4616. "expr": "histogram_quantile(0.99, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  4617. "format": "time_series",
  4618. "interval": "",
  4619. "intervalFactor": 1,
  4620. "legendFormat": "99%",
  4621. "refId": "D"
  4622. },
  4623. {
  4624. "datasource": {
  4625. "uid": "$datasource"
  4626. },
  4627. "expr": "histogram_quantile(0.9, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  4628. "format": "time_series",
  4629. "interval": "",
  4630. "intervalFactor": 1,
  4631. "legendFormat": "90%",
  4632. "refId": "A"
  4633. },
  4634. {
  4635. "datasource": {
  4636. "uid": "$datasource"
  4637. },
  4638. "expr": "histogram_quantile(0.75, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  4639. "format": "time_series",
  4640. "interval": "",
  4641. "intervalFactor": 1,
  4642. "legendFormat": "75%",
  4643. "refId": "C"
  4644. },
  4645. {
  4646. "datasource": {
  4647. "uid": "$datasource"
  4648. },
  4649. "expr": "histogram_quantile(0.5, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  4650. "format": "time_series",
  4651. "interval": "",
  4652. "intervalFactor": 1,
  4653. "legendFormat": "50%",
  4654. "refId": "B"
  4655. },
  4656. {
  4657. "datasource": {
  4658. "uid": "$datasource"
  4659. },
  4660. "expr": "histogram_quantile(0.25, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  4661. "interval": "",
  4662. "legendFormat": "25%",
  4663. "refId": "F"
  4664. },
  4665. {
  4666. "datasource": {
  4667. "uid": "$datasource"
  4668. },
  4669. "expr": "histogram_quantile(0.05, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  4670. "interval": "",
  4671. "legendFormat": "5%",
  4672. "refId": "G"
  4673. },
  4674. {
  4675. "datasource": {
  4676. "uid": "$datasource"
  4677. },
  4678. "expr": "sum(rate(synapse_event_processing_lag_by_event_sum{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) / sum(rate(synapse_event_processing_lag_by_event_count{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  4679. "interval": "",
  4680. "legendFormat": "Average",
  4681. "refId": "H"
  4682. }
  4683. ],
  4684. "thresholds": [
  4685. {
  4686. "colorMode": "warning",
  4687. "fill": false,
  4688. "line": true,
  4689. "op": "gt",
  4690. "value": 0.25,
  4691. "yaxis": "left"
  4692. },
  4693. {
  4694. "colorMode": "critical",
  4695. "fill": false,
  4696. "line": true,
  4697. "op": "gt",
  4698. "value": 1,
  4699. "yaxis": "left"
  4700. }
  4701. ],
  4702. "timeRegions": [],
  4703. "title": "Federation send PDU lag quantiles",
  4704. "tooltip": {
  4705. "shared": true,
  4706. "sort": 2,
  4707. "value_type": "individual"
  4708. },
  4709. "type": "graph",
  4710. "xaxis": {
  4711. "mode": "time",
  4712. "show": true,
  4713. "values": []
  4714. },
  4715. "yaxes": [
  4716. {
  4717. "format": "s",
  4718. "label": "",
  4719. "logBase": 1,
  4720. "min": "0",
  4721. "show": true
  4722. },
  4723. {
  4724. "format": "hertz",
  4725. "label": "",
  4726. "logBase": 1,
  4727. "min": "0",
  4728. "show": true
  4729. }
  4730. ],
  4731. "yaxis": {
  4732. "align": false
  4733. }
  4734. },
  4735. {
  4736. "cards": {
  4737. "cardPadding": -1
  4738. },
  4739. "color": {
  4740. "cardColor": "#b4ff00",
  4741. "colorScale": "sqrt",
  4742. "colorScheme": "interpolateInferno",
  4743. "exponent": 0.5,
  4744. "min": 0,
  4745. "mode": "spectrum"
  4746. },
  4747. "dataFormat": "tsbuckets",
  4748. "datasource": {
  4749. "uid": "$datasource"
  4750. },
  4751. "gridPos": {
  4752. "h": 9,
  4753. "w": 12,
  4754. "x": 0,
  4755. "y": 94
  4756. },
  4757. "heatmap": {},
  4758. "hideZeroBuckets": false,
  4759. "highlightCards": true,
  4760. "id": 164,
  4761. "legend": {
  4762. "show": false
  4763. },
  4764. "links": [],
  4765. "reverseYBuckets": false,
  4766. "targets": [
  4767. {
  4768. "datasource": {
  4769. "uid": "$datasource"
  4770. },
  4771. "expr": "sum(rate(synapse_federation_server_pdu_process_time_bucket{instance=\"$instance\"}[$bucket_size])) by (le)",
  4772. "format": "heatmap",
  4773. "instant": false,
  4774. "interval": "",
  4775. "intervalFactor": 1,
  4776. "legendFormat": "{{ le }}",
  4777. "refId": "A"
  4778. }
  4779. ],
  4780. "title": "Handle inbound PDU time",
  4781. "tooltip": {
  4782. "show": true,
  4783. "showHistogram": true
  4784. },
  4785. "tooltipDecimals": 2,
  4786. "type": "heatmap",
  4787. "xAxis": {
  4788. "show": true
  4789. },
  4790. "yAxis": {
  4791. "decimals": 0,
  4792. "format": "s",
  4793. "logBase": 1,
  4794. "show": true
  4795. },
  4796. "yBucketBound": "auto"
  4797. },
  4798. {
  4799. "aliasColors": {},
  4800. "bars": false,
  4801. "dashLength": 10,
  4802. "dashes": false,
  4803. "datasource": {
  4804. "uid": "$datasource"
  4805. },
  4806. "editable": true,
  4807. "error": false,
  4808. "fieldConfig": {
  4809. "defaults": {
  4810. "links": []
  4811. },
  4812. "overrides": []
  4813. },
  4814. "fill": 1,
  4815. "fillGradient": 0,
  4816. "grid": {},
  4817. "gridPos": {
  4818. "h": 9,
  4819. "w": 12,
  4820. "x": 12,
  4821. "y": 95
  4822. },
  4823. "hiddenSeries": false,
  4824. "id": 203,
  4825. "legend": {
  4826. "avg": false,
  4827. "current": false,
  4828. "max": false,
  4829. "min": false,
  4830. "show": true,
  4831. "total": false,
  4832. "values": false
  4833. },
  4834. "lines": true,
  4835. "linewidth": 2,
  4836. "links": [],
  4837. "nullPointMode": "null",
  4838. "options": {
  4839. "alertThreshold": true
  4840. },
  4841. "paceLength": 10,
  4842. "percentage": false,
  4843. "pluginVersion": "9.0.4",
  4844. "pointradius": 5,
  4845. "points": false,
  4846. "renderer": "flot",
  4847. "seriesOverrides": [],
  4848. "spaceLength": 10,
  4849. "stack": false,
  4850. "steppedLine": false,
  4851. "targets": [
  4852. {
  4853. "datasource": {
  4854. "uid": "$datasource"
  4855. },
  4856. "expr": "synapse_federation_server_oldest_inbound_pdu_in_staging{job=\"$job\",index=~\"$index\",instance=\"$instance\"}",
  4857. "format": "time_series",
  4858. "interval": "",
  4859. "intervalFactor": 1,
  4860. "legendFormat": "rss {{index}}",
  4861. "refId": "A",
  4862. "step": 4
  4863. }
  4864. ],
  4865. "thresholds": [],
  4866. "timeRegions": [],
  4867. "title": "Age of oldest event in staging area",
  4868. "tooltip": {
  4869. "msResolution": false,
  4870. "shared": true,
  4871. "sort": 0,
  4872. "value_type": "cumulative"
  4873. },
  4874. "type": "graph",
  4875. "xaxis": {
  4876. "mode": "time",
  4877. "show": true,
  4878. "values": []
  4879. },
  4880. "yaxes": [
  4881. {
  4882. "$$hashKey": "object:92",
  4883. "format": "ms",
  4884. "logBase": 1,
  4885. "min": 0,
  4886. "show": true
  4887. },
  4888. {
  4889. "$$hashKey": "object:93",
  4890. "format": "short",
  4891. "logBase": 1,
  4892. "show": true
  4893. }
  4894. ],
  4895. "yaxis": {
  4896. "align": false
  4897. }
  4898. },
  4899. {
  4900. "aliasColors": {},
  4901. "bars": false,
  4902. "dashLength": 10,
  4903. "dashes": false,
  4904. "datasource": {
  4905. "uid": "$datasource"
  4906. },
  4907. "editable": true,
  4908. "error": false,
  4909. "fieldConfig": {
  4910. "defaults": {
  4911. "links": []
  4912. },
  4913. "overrides": []
  4914. },
  4915. "fill": 1,
  4916. "fillGradient": 0,
  4917. "grid": {},
  4918. "gridPos": {
  4919. "h": 9,
  4920. "w": 12,
  4921. "x": 0,
  4922. "y": 103
  4923. },
  4924. "hiddenSeries": false,
  4925. "id": 202,
  4926. "legend": {
  4927. "avg": false,
  4928. "current": false,
  4929. "max": false,
  4930. "min": false,
  4931. "show": true,
  4932. "total": false,
  4933. "values": false
  4934. },
  4935. "lines": true,
  4936. "linewidth": 2,
  4937. "links": [],
  4938. "nullPointMode": "null",
  4939. "options": {
  4940. "alertThreshold": true
  4941. },
  4942. "paceLength": 10,
  4943. "percentage": false,
  4944. "pluginVersion": "9.0.4",
  4945. "pointradius": 5,
  4946. "points": false,
  4947. "renderer": "flot",
  4948. "seriesOverrides": [],
  4949. "spaceLength": 10,
  4950. "stack": false,
  4951. "steppedLine": false,
  4952. "targets": [
  4953. {
  4954. "datasource": {
  4955. "uid": "$datasource"
  4956. },
  4957. "expr": "synapse_federation_server_number_inbound_pdu_in_staging{job=\"$job\",index=~\"$index\",instance=\"$instance\"}",
  4958. "format": "time_series",
  4959. "interval": "",
  4960. "intervalFactor": 1,
  4961. "legendFormat": "rss {{index}}",
  4962. "refId": "A",
  4963. "step": 4
  4964. }
  4965. ],
  4966. "thresholds": [],
  4967. "timeRegions": [],
  4968. "title": "Number of events in federation staging area",
  4969. "tooltip": {
  4970. "msResolution": false,
  4971. "shared": true,
  4972. "sort": 0,
  4973. "value_type": "cumulative"
  4974. },
  4975. "type": "graph",
  4976. "xaxis": {
  4977. "mode": "time",
  4978. "show": true,
  4979. "values": []
  4980. },
  4981. "yaxes": [
  4982. {
  4983. "$$hashKey": "object:92",
  4984. "format": "none",
  4985. "logBase": 1,
  4986. "min": 0,
  4987. "show": true
  4988. },
  4989. {
  4990. "$$hashKey": "object:93",
  4991. "format": "short",
  4992. "logBase": 1,
  4993. "show": true
  4994. }
  4995. ],
  4996. "yaxis": {
  4997. "align": false
  4998. }
  4999. },
  5000. {
  5001. "aliasColors": {},
  5002. "bars": false,
  5003. "dashLength": 10,
  5004. "dashes": false,
  5005. "datasource": {
  5006. "type": "prometheus",
  5007. "uid": "$datasource"
  5008. },
  5009. "fill": 1,
  5010. "fillGradient": 0,
  5011. "gridPos": {
  5012. "h": 8,
  5013. "w": 12,
  5014. "x": 12,
  5015. "y": 104
  5016. },
  5017. "hiddenSeries": false,
  5018. "id": 205,
  5019. "legend": {
  5020. "avg": false,
  5021. "current": false,
  5022. "max": false,
  5023. "min": false,
  5024. "show": true,
  5025. "total": false,
  5026. "values": false
  5027. },
  5028. "lines": true,
  5029. "linewidth": 1,
  5030. "nullPointMode": "null",
  5031. "options": {
  5032. "alertThreshold": true
  5033. },
  5034. "percentage": false,
  5035. "pluginVersion": "9.0.4",
  5036. "pointradius": 2,
  5037. "points": false,
  5038. "renderer": "flot",
  5039. "seriesOverrides": [],
  5040. "spaceLength": 10,
  5041. "stack": false,
  5042. "steppedLine": false,
  5043. "targets": [
  5044. {
  5045. "datasource": {
  5046. "type": "prometheus",
  5047. "uid": "$datasource"
  5048. },
  5049. "expr": "sum(rate(synapse_federation_soft_failed_events_total{instance=\"$instance\"}[$bucket_size]))",
  5050. "interval": "",
  5051. "legendFormat": "soft-failed events",
  5052. "refId": "A"
  5053. }
  5054. ],
  5055. "thresholds": [],
  5056. "timeRegions": [],
  5057. "title": "Soft-failed event rate",
  5058. "tooltip": {
  5059. "shared": true,
  5060. "sort": 0,
  5061. "value_type": "individual"
  5062. },
  5063. "type": "graph",
  5064. "xaxis": {
  5065. "mode": "time",
  5066. "show": true,
  5067. "values": []
  5068. },
  5069. "yaxes": [
  5070. {
  5071. "$$hashKey": "object:131",
  5072. "format": "hertz",
  5073. "logBase": 1,
  5074. "show": true
  5075. },
  5076. {
  5077. "$$hashKey": "object:132",
  5078. "format": "short",
  5079. "logBase": 1,
  5080. "show": false
  5081. }
  5082. ],
  5083. "yaxis": {
  5084. "align": false
  5085. }
  5086. }
  5087. ],
  5088. "targets": [
  5089. {
  5090. "datasource": {
  5091. "type": "prometheus",
  5092. "uid": "$datasource"
  5093. },
  5094. "refId": "A"
  5095. }
  5096. ],
  5097. "title": "Federation",
  5098. "type": "row"
  5099. },
  5100. {
  5101. "collapsed": true,
  5102. "gridPos": {
  5103. "h": 1,
  5104. "w": 24,
  5105. "x": 0,
  5106. "y": 31
  5107. },
  5108. "id": 227,
  5109. "panels": [
  5110. {
  5111. "datasource": {
  5112. "type": "prometheus",
  5113. "uid": "${DS_PROMETHEUS}"
  5114. },
  5115. "fieldConfig": {
  5116. "defaults": {
  5117. "color": {
  5118. "mode": "palette-classic"
  5119. },
  5120. "custom": {
  5121. "axisLabel": "",
  5122. "axisPlacement": "auto",
  5123. "barAlignment": 0,
  5124. "drawStyle": "line",
  5125. "fillOpacity": 0,
  5126. "gradientMode": "none",
  5127. "hideFrom": {
  5128. "legend": false,
  5129. "tooltip": false,
  5130. "viz": false
  5131. },
  5132. "lineInterpolation": "linear",
  5133. "lineWidth": 1,
  5134. "pointSize": 5,
  5135. "scaleDistribution": {
  5136. "type": "linear"
  5137. },
  5138. "showPoints": "auto",
  5139. "spanNulls": false,
  5140. "stacking": {
  5141. "group": "A",
  5142. "mode": "none"
  5143. },
  5144. "thresholdsStyle": {
  5145. "mode": "off"
  5146. }
  5147. },
  5148. "mappings": [],
  5149. "thresholds": {
  5150. "mode": "absolute",
  5151. "steps": [
  5152. {
  5153. "color": "green"
  5154. },
  5155. {
  5156. "color": "red",
  5157. "value": 80
  5158. }
  5159. ]
  5160. }
  5161. },
  5162. "overrides": []
  5163. },
  5164. "gridPos": {
  5165. "h": 8,
  5166. "w": 12,
  5167. "x": 0,
  5168. "y": 1
  5169. },
  5170. "id": 239,
  5171. "options": {
  5172. "legend": {
  5173. "calcs": [],
  5174. "displayMode": "list",
  5175. "placement": "bottom",
  5176. "showLegend": true
  5177. },
  5178. "tooltip": {
  5179. "mode": "single",
  5180. "sort": "none"
  5181. }
  5182. },
  5183. "targets": [
  5184. {
  5185. "datasource": {
  5186. "type": "prometheus",
  5187. "uid": "${DS_PROMETHEUS}"
  5188. },
  5189. "expr": "sum(increase(synapse_rate_limit_reject_total{instance=\"$instance\"}[$bucket_size]))",
  5190. "refId": "A"
  5191. }
  5192. ],
  5193. "title": "Number of rate limit rejected requests",
  5194. "type": "timeseries"
  5195. },
  5196. {
  5197. "datasource": {
  5198. "type": "prometheus",
  5199. "uid": "${DS_PROMETHEUS}"
  5200. },
  5201. "fieldConfig": {
  5202. "defaults": {
  5203. "color": {
  5204. "mode": "palette-classic"
  5205. },
  5206. "custom": {
  5207. "axisLabel": "",
  5208. "axisPlacement": "auto",
  5209. "barAlignment": 0,
  5210. "drawStyle": "line",
  5211. "fillOpacity": 0,
  5212. "gradientMode": "none",
  5213. "hideFrom": {
  5214. "legend": false,
  5215. "tooltip": false,
  5216. "viz": false
  5217. },
  5218. "lineInterpolation": "linear",
  5219. "lineWidth": 1,
  5220. "pointSize": 5,
  5221. "scaleDistribution": {
  5222. "type": "linear"
  5223. },
  5224. "showPoints": "auto",
  5225. "spanNulls": false,
  5226. "stacking": {
  5227. "group": "A",
  5228. "mode": "none"
  5229. },
  5230. "thresholdsStyle": {
  5231. "mode": "off"
  5232. }
  5233. },
  5234. "mappings": [],
  5235. "thresholds": {
  5236. "mode": "absolute",
  5237. "steps": [
  5238. {
  5239. "color": "green"
  5240. },
  5241. {
  5242. "color": "red",
  5243. "value": 80
  5244. }
  5245. ]
  5246. }
  5247. },
  5248. "overrides": []
  5249. },
  5250. "gridPos": {
  5251. "h": 8,
  5252. "w": 12,
  5253. "x": 12,
  5254. "y": 1
  5255. },
  5256. "id": 235,
  5257. "options": {
  5258. "legend": {
  5259. "calcs": [],
  5260. "displayMode": "list",
  5261. "placement": "bottom",
  5262. "showLegend": true
  5263. },
  5264. "tooltip": {
  5265. "mode": "single",
  5266. "sort": "none"
  5267. }
  5268. },
  5269. "targets": [
  5270. {
  5271. "datasource": {
  5272. "type": "prometheus",
  5273. "uid": "${DS_PROMETHEUS}"
  5274. },
  5275. "expr": "sum(increase(synapse_rate_limit_sleep_total{instance=\"$instance\"}[$bucket_size]))",
  5276. "refId": "A"
  5277. }
  5278. ],
  5279. "title": "Number of requests being slept by the rate limiter",
  5280. "type": "timeseries"
  5281. },
  5282. {
  5283. "datasource": {
  5284. "type": "prometheus",
  5285. "uid": "${DS_PROMETHEUS}"
  5286. },
  5287. "description": "Why is the data zero (0)? https://github.com/matrix-org/synapse/pull/13541#discussion_r951926322",
  5288. "fieldConfig": {
  5289. "defaults": {
  5290. "color": {
  5291. "mode": "palette-classic"
  5292. },
  5293. "custom": {
  5294. "axisLabel": "",
  5295. "axisPlacement": "auto",
  5296. "barAlignment": 0,
  5297. "drawStyle": "line",
  5298. "fillOpacity": 0,
  5299. "gradientMode": "none",
  5300. "hideFrom": {
  5301. "legend": false,
  5302. "tooltip": false,
  5303. "viz": false
  5304. },
  5305. "lineInterpolation": "linear",
  5306. "lineWidth": 1,
  5307. "pointSize": 5,
  5308. "scaleDistribution": {
  5309. "type": "linear"
  5310. },
  5311. "showPoints": "auto",
  5312. "spanNulls": false,
  5313. "stacking": {
  5314. "group": "A",
  5315. "mode": "none"
  5316. },
  5317. "thresholdsStyle": {
  5318. "mode": "off"
  5319. }
  5320. },
  5321. "mappings": [],
  5322. "thresholds": {
  5323. "mode": "absolute",
  5324. "steps": [
  5325. {
  5326. "color": "green"
  5327. },
  5328. {
  5329. "color": "red",
  5330. "value": 80
  5331. }
  5332. ]
  5333. }
  5334. },
  5335. "overrides": []
  5336. },
  5337. "gridPos": {
  5338. "h": 8,
  5339. "w": 12,
  5340. "x": 0,
  5341. "y": 9
  5342. },
  5343. "id": 237,
  5344. "options": {
  5345. "legend": {
  5346. "calcs": [],
  5347. "displayMode": "list",
  5348. "placement": "bottom",
  5349. "showLegend": true
  5350. },
  5351. "tooltip": {
  5352. "mode": "single",
  5353. "sort": "none"
  5354. }
  5355. },
  5356. "pluginVersion": "9.0.4",
  5357. "targets": [
  5358. {
  5359. "datasource": {
  5360. "type": "prometheus",
  5361. "uid": "${DS_PROMETHEUS}"
  5362. },
  5363. "expr": "sum(increase(synapse_rate_limit_reject_affected_hosts{instance=\"$instance\"}[$bucket_size]))",
  5364. "refId": "A"
  5365. }
  5366. ],
  5367. "title": "Number of hosts being rejected by the rate limiter",
  5368. "type": "timeseries"
  5369. },
  5370. {
  5371. "datasource": {
  5372. "type": "prometheus",
  5373. "uid": "${DS_PROMETHEUS}"
  5374. },
  5375. "description": "https://github.com/matrix-org/synapse/pull/13541",
  5376. "fieldConfig": {
  5377. "defaults": {
  5378. "color": {
  5379. "mode": "palette-classic"
  5380. },
  5381. "custom": {
  5382. "axisLabel": "",
  5383. "axisPlacement": "auto",
  5384. "barAlignment": 0,
  5385. "drawStyle": "line",
  5386. "fillOpacity": 0,
  5387. "gradientMode": "none",
  5388. "hideFrom": {
  5389. "legend": false,
  5390. "tooltip": false,
  5391. "viz": false
  5392. },
  5393. "lineInterpolation": "linear",
  5394. "lineWidth": 1,
  5395. "pointSize": 5,
  5396. "scaleDistribution": {
  5397. "type": "linear"
  5398. },
  5399. "showPoints": "auto",
  5400. "spanNulls": false,
  5401. "stacking": {
  5402. "group": "A",
  5403. "mode": "none"
  5404. },
  5405. "thresholdsStyle": {
  5406. "mode": "off"
  5407. }
  5408. },
  5409. "mappings": [],
  5410. "thresholds": {
  5411. "mode": "absolute",
  5412. "steps": [
  5413. {
  5414. "color": "green"
  5415. },
  5416. {
  5417. "color": "red",
  5418. "value": 80
  5419. }
  5420. ]
  5421. }
  5422. },
  5423. "overrides": []
  5424. },
  5425. "gridPos": {
  5426. "h": 8,
  5427. "w": 12,
  5428. "x": 12,
  5429. "y": 9
  5430. },
  5431. "id": 233,
  5432. "options": {
  5433. "legend": {
  5434. "calcs": [],
  5435. "displayMode": "list",
  5436. "placement": "bottom",
  5437. "showLegend": true
  5438. },
  5439. "tooltip": {
  5440. "mode": "single",
  5441. "sort": "none"
  5442. }
  5443. },
  5444. "pluginVersion": "9.0.4",
  5445. "targets": [
  5446. {
  5447. "datasource": {
  5448. "type": "prometheus",
  5449. "uid": "${DS_PROMETHEUS}"
  5450. },
  5451. "expr": "sum(increase(synapse_rate_limit_sleep_affected_hosts{instance=\"$instance\"}[$bucket_size]))",
  5452. "refId": "A"
  5453. }
  5454. ],
  5455. "title": "Number of hosts being slept by the rate limiter",
  5456. "type": "timeseries"
  5457. },
  5458. {
  5459. "aliasColors": {},
  5460. "bars": false,
  5461. "dashLength": 10,
  5462. "dashes": false,
  5463. "datasource": {
  5464. "type": "prometheus",
  5465. "uid": "$datasource"
  5466. },
  5467. "description": "",
  5468. "fieldConfig": {
  5469. "defaults": {
  5470. "links": []
  5471. },
  5472. "overrides": []
  5473. },
  5474. "fill": 0,
  5475. "fillGradient": 0,
  5476. "gridPos": {
  5477. "h": 8,
  5478. "w": 12,
  5479. "x": 0,
  5480. "y": 17
  5481. },
  5482. "hiddenSeries": false,
  5483. "id": 229,
  5484. "legend": {
  5485. "avg": false,
  5486. "current": false,
  5487. "max": false,
  5488. "min": false,
  5489. "rightSide": false,
  5490. "show": true,
  5491. "total": false,
  5492. "values": false
  5493. },
  5494. "lines": true,
  5495. "linewidth": 0,
  5496. "links": [],
  5497. "nullPointMode": "connected",
  5498. "options": {
  5499. "alertThreshold": true
  5500. },
  5501. "paceLength": 10,
  5502. "percentage": false,
  5503. "pluginVersion": "9.0.4",
  5504. "pointradius": 5,
  5505. "points": false,
  5506. "renderer": "flot",
  5507. "seriesOverrides": [
  5508. {
  5509. "$$hashKey": "object:276",
  5510. "alias": "Avg",
  5511. "fill": 0,
  5512. "linewidth": 3
  5513. },
  5514. {
  5515. "$$hashKey": "object:277",
  5516. "alias": "99%",
  5517. "color": "#C4162A",
  5518. "fillBelowTo": "90%"
  5519. },
  5520. {
  5521. "$$hashKey": "object:278",
  5522. "alias": "90%",
  5523. "color": "#FF7383",
  5524. "fillBelowTo": "75%"
  5525. },
  5526. {
  5527. "$$hashKey": "object:279",
  5528. "alias": "75%",
  5529. "color": "#FFEE52",
  5530. "fillBelowTo": "50%"
  5531. },
  5532. {
  5533. "$$hashKey": "object:280",
  5534. "alias": "50%",
  5535. "color": "#73BF69",
  5536. "fillBelowTo": "25%"
  5537. },
  5538. {
  5539. "$$hashKey": "object:281",
  5540. "alias": "25%",
  5541. "color": "#1F60C4",
  5542. "fillBelowTo": "5%"
  5543. },
  5544. {
  5545. "$$hashKey": "object:282",
  5546. "alias": "5%",
  5547. "lines": false
  5548. },
  5549. {
  5550. "$$hashKey": "object:283",
  5551. "alias": "Average",
  5552. "color": "rgb(255, 255, 255)",
  5553. "lines": true,
  5554. "linewidth": 3
  5555. },
  5556. {
  5557. "$$hashKey": "object:284",
  5558. "alias": ">99%",
  5559. "color": "#B877D9",
  5560. "fill": 3,
  5561. "lines": true
  5562. }
  5563. ],
  5564. "spaceLength": 10,
  5565. "stack": false,
  5566. "steppedLine": false,
  5567. "targets": [
  5568. {
  5569. "datasource": {
  5570. "uid": "$datasource"
  5571. },
  5572. "editorMode": "code",
  5573. "expr": "histogram_quantile(0.9995, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  5574. "format": "time_series",
  5575. "hide": false,
  5576. "intervalFactor": 1,
  5577. "legendFormat": ">99%",
  5578. "range": true,
  5579. "refId": "E"
  5580. },
  5581. {
  5582. "datasource": {
  5583. "uid": "$datasource"
  5584. },
  5585. "editorMode": "code",
  5586. "expr": "histogram_quantile(0.99, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  5587. "format": "time_series",
  5588. "intervalFactor": 1,
  5589. "legendFormat": "99%",
  5590. "range": true,
  5591. "refId": "D"
  5592. },
  5593. {
  5594. "datasource": {
  5595. "uid": "$datasource"
  5596. },
  5597. "expr": "histogram_quantile(0.9, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  5598. "format": "time_series",
  5599. "interval": "",
  5600. "intervalFactor": 1,
  5601. "legendFormat": "90%",
  5602. "refId": "A"
  5603. },
  5604. {
  5605. "datasource": {
  5606. "uid": "$datasource"
  5607. },
  5608. "expr": "histogram_quantile(0.75, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  5609. "format": "time_series",
  5610. "intervalFactor": 1,
  5611. "legendFormat": "75%",
  5612. "refId": "C"
  5613. },
  5614. {
  5615. "datasource": {
  5616. "uid": "$datasource"
  5617. },
  5618. "expr": "histogram_quantile(0.5, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  5619. "format": "time_series",
  5620. "intervalFactor": 1,
  5621. "legendFormat": "50%",
  5622. "refId": "B"
  5623. },
  5624. {
  5625. "datasource": {
  5626. "uid": "$datasource"
  5627. },
  5628. "expr": "histogram_quantile(0.25, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  5629. "legendFormat": "25%",
  5630. "refId": "F"
  5631. },
  5632. {
  5633. "datasource": {
  5634. "uid": "$datasource"
  5635. },
  5636. "expr": "histogram_quantile(0.05, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  5637. "legendFormat": "5%",
  5638. "refId": "G"
  5639. },
  5640. {
  5641. "datasource": {
  5642. "uid": "$datasource"
  5643. },
  5644. "expr": "sum(rate(synapse_rate_limit_queue_wait_time_seconds_sum{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) / sum(rate(synapse_rate_limit_queue_wait_time_seconds_count{index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  5645. "legendFormat": "Average",
  5646. "refId": "H"
  5647. }
  5648. ],
  5649. "thresholds": [
  5650. {
  5651. "$$hashKey": "object:283",
  5652. "colorMode": "warning",
  5653. "fill": false,
  5654. "line": true,
  5655. "op": "gt",
  5656. "value": 1,
  5657. "yaxis": "left"
  5658. },
  5659. {
  5660. "$$hashKey": "object:284",
  5661. "colorMode": "critical",
  5662. "fill": false,
  5663. "line": true,
  5664. "op": "gt",
  5665. "value": 2,
  5666. "yaxis": "left"
  5667. }
  5668. ],
  5669. "timeRegions": [],
  5670. "title": "Rate limit queue wait time Quantiles (all workers)",
  5671. "tooltip": {
  5672. "shared": true,
  5673. "sort": 2,
  5674. "value_type": "individual"
  5675. },
  5676. "type": "graph",
  5677. "xaxis": {
  5678. "mode": "time",
  5679. "show": true,
  5680. "values": []
  5681. },
  5682. "yaxes": [
  5683. {
  5684. "$$hashKey": "object:255",
  5685. "format": "s",
  5686. "label": "",
  5687. "logBase": 1,
  5688. "min": "0",
  5689. "show": true
  5690. },
  5691. {
  5692. "$$hashKey": "object:256",
  5693. "format": "hertz",
  5694. "label": "",
  5695. "logBase": 1,
  5696. "min": "0",
  5697. "show": true
  5698. }
  5699. ],
  5700. "yaxis": {
  5701. "align": false
  5702. }
  5703. },
  5704. {
  5705. "datasource": {
  5706. "type": "prometheus",
  5707. "uid": "${DS_PROMETHEUS}"
  5708. },
  5709. "fieldConfig": {
  5710. "defaults": {
  5711. "color": {
  5712. "mode": "palette-classic"
  5713. },
  5714. "custom": {
  5715. "axisLabel": "",
  5716. "axisPlacement": "auto",
  5717. "barAlignment": 0,
  5718. "drawStyle": "line",
  5719. "fillOpacity": 0,
  5720. "gradientMode": "none",
  5721. "hideFrom": {
  5722. "legend": false,
  5723. "tooltip": false,
  5724. "viz": false
  5725. },
  5726. "lineInterpolation": "linear",
  5727. "lineWidth": 1,
  5728. "pointSize": 5,
  5729. "scaleDistribution": {
  5730. "type": "linear"
  5731. },
  5732. "showPoints": "auto",
  5733. "spanNulls": false,
  5734. "stacking": {
  5735. "group": "A",
  5736. "mode": "none"
  5737. },
  5738. "thresholdsStyle": {
  5739. "mode": "line"
  5740. }
  5741. },
  5742. "mappings": [],
  5743. "thresholds": {
  5744. "mode": "absolute",
  5745. "steps": [
  5746. {
  5747. "color": "green"
  5748. }
  5749. ]
  5750. },
  5751. "unit": "hertz"
  5752. },
  5753. "overrides": [
  5754. {
  5755. "matcher": {
  5756. "id": "byName",
  5757. "options": "Default reject threshold (50 requests within a second)"
  5758. },
  5759. "properties": [
  5760. {
  5761. "id": "color",
  5762. "value": {
  5763. "fixedColor": "red",
  5764. "mode": "fixed"
  5765. }
  5766. },
  5767. {
  5768. "id": "custom.lineWidth",
  5769. "value": 2
  5770. }
  5771. ]
  5772. }
  5773. ]
  5774. },
  5775. "gridPos": {
  5776. "h": 8,
  5777. "w": 12,
  5778. "x": 12,
  5779. "y": 17
  5780. },
  5781. "id": 231,
  5782. "options": {
  5783. "legend": {
  5784. "calcs": [],
  5785. "displayMode": "list",
  5786. "placement": "bottom",
  5787. "showLegend": true
  5788. },
  5789. "tooltip": {
  5790. "mode": "single",
  5791. "sort": "none"
  5792. }
  5793. },
  5794. "targets": [
  5795. {
  5796. "datasource": {
  5797. "type": "prometheus",
  5798. "uid": "${DS_PROMETHEUS}"
  5799. },
  5800. "expr": "sum(rate(synapse_rate_limit_sleep_total{instance=\"$instance\"}[$bucket_size]))",
  5801. "refId": "A"
  5802. },
  5803. {
  5804. "datasource": {
  5805. "type": "prometheus",
  5806. "uid": "${DS_PROMETHEUS}"
  5807. },
  5808. "editorMode": "code",
  5809. "expr": "50",
  5810. "hide": false,
  5811. "legendFormat": "Default reject threshold (50 requests within a second)",
  5812. "range": true,
  5813. "refId": "B"
  5814. }
  5815. ],
  5816. "title": "Rate of requests being slept by the rate limiter",
  5817. "type": "timeseries"
  5818. }
  5819. ],
  5820. "title": "Federation rate limiter",
  5821. "type": "row"
  5822. },
  5823. {
  5824. "collapsed": true,
  5825. "datasource": {
  5826. "type": "prometheus",
  5827. "uid": "$datasource"
  5828. },
  5829. "gridPos": {
  5830. "h": 1,
  5831. "w": 24,
  5832. "x": 0,
  5833. "y": 32
  5834. },
  5835. "id": 60,
  5836. "panels": [
  5837. {
  5838. "aliasColors": {},
  5839. "bars": false,
  5840. "dashLength": 10,
  5841. "dashes": false,
  5842. "datasource": {
  5843. "uid": "$datasource"
  5844. },
  5845. "fieldConfig": {
  5846. "defaults": {
  5847. "links": []
  5848. },
  5849. "overrides": []
  5850. },
  5851. "fill": 1,
  5852. "fillGradient": 0,
  5853. "gridPos": {
  5854. "h": 8,
  5855. "w": 12,
  5856. "x": 0,
  5857. "y": 32
  5858. },
  5859. "hiddenSeries": false,
  5860. "id": 51,
  5861. "legend": {
  5862. "avg": false,
  5863. "current": false,
  5864. "max": false,
  5865. "min": false,
  5866. "show": true,
  5867. "total": false,
  5868. "values": false
  5869. },
  5870. "lines": true,
  5871. "linewidth": 1,
  5872. "links": [],
  5873. "nullPointMode": "null",
  5874. "options": {
  5875. "alertThreshold": true
  5876. },
  5877. "paceLength": 10,
  5878. "percentage": false,
  5879. "pluginVersion": "8.4.3",
  5880. "pointradius": 5,
  5881. "points": false,
  5882. "renderer": "flot",
  5883. "seriesOverrides": [],
  5884. "spaceLength": 10,
  5885. "stack": false,
  5886. "steppedLine": false,
  5887. "targets": [
  5888. {
  5889. "datasource": {
  5890. "uid": "$datasource"
  5891. },
  5892. "expr": "rate(synapse_http_httppusher_http_pushes_processed_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) and on (instance, job, index) (synapse_http_httppusher_http_pushes_failed_total + synapse_http_httppusher_http_pushes_processed_total) > 0",
  5893. "format": "time_series",
  5894. "interval": "",
  5895. "intervalFactor": 2,
  5896. "legendFormat": "processed {{job}}",
  5897. "refId": "A",
  5898. "step": 20
  5899. },
  5900. {
  5901. "datasource": {
  5902. "uid": "$datasource"
  5903. },
  5904. "expr": "rate(synapse_http_httppusher_http_pushes_failed_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) and on (instance, job, index) (synapse_http_httppusher_http_pushes_failed_total + synapse_http_httppusher_http_pushes_processed_total) > 0",
  5905. "format": "time_series",
  5906. "intervalFactor": 2,
  5907. "legendFormat": "failed {{job}}",
  5908. "refId": "B",
  5909. "step": 20
  5910. }
  5911. ],
  5912. "thresholds": [],
  5913. "timeRegions": [],
  5914. "title": "HTTP Push rate",
  5915. "tooltip": {
  5916. "shared": true,
  5917. "sort": 0,
  5918. "value_type": "individual"
  5919. },
  5920. "type": "graph",
  5921. "xaxis": {
  5922. "mode": "time",
  5923. "show": true,
  5924. "values": []
  5925. },
  5926. "yaxes": [
  5927. {
  5928. "format": "hertz",
  5929. "logBase": 1,
  5930. "show": true
  5931. },
  5932. {
  5933. "format": "short",
  5934. "logBase": 1,
  5935. "show": true
  5936. }
  5937. ],
  5938. "yaxis": {
  5939. "align": false
  5940. }
  5941. },
  5942. {
  5943. "aliasColors": {},
  5944. "bars": false,
  5945. "dashLength": 10,
  5946. "dashes": false,
  5947. "datasource": {
  5948. "uid": "$datasource"
  5949. },
  5950. "description": "",
  5951. "fieldConfig": {
  5952. "defaults": {
  5953. "links": []
  5954. },
  5955. "overrides": []
  5956. },
  5957. "fill": 1,
  5958. "fillGradient": 0,
  5959. "gridPos": {
  5960. "h": 8,
  5961. "w": 12,
  5962. "x": 12,
  5963. "y": 32
  5964. },
  5965. "hiddenSeries": false,
  5966. "id": 134,
  5967. "legend": {
  5968. "avg": false,
  5969. "current": false,
  5970. "hideZero": false,
  5971. "max": false,
  5972. "min": false,
  5973. "show": true,
  5974. "total": false,
  5975. "values": false
  5976. },
  5977. "lines": true,
  5978. "linewidth": 1,
  5979. "nullPointMode": "null",
  5980. "options": {
  5981. "alertThreshold": true
  5982. },
  5983. "percentage": false,
  5984. "pluginVersion": "8.4.3",
  5985. "pointradius": 2,
  5986. "points": false,
  5987. "renderer": "flot",
  5988. "seriesOverrides": [],
  5989. "spaceLength": 10,
  5990. "stack": false,
  5991. "steppedLine": false,
  5992. "targets": [
  5993. {
  5994. "datasource": {
  5995. "uid": "$datasource"
  5996. },
  5997. "expr": "topk(10,synapse_pushers{job=~\"$job\",index=~\"$index\", instance=\"$instance\"})",
  5998. "legendFormat": "{{kind}} {{app_id}}",
  5999. "refId": "A"
  6000. }
  6001. ],
  6002. "thresholds": [],
  6003. "timeRegions": [],
  6004. "title": "Active pusher instances by app",
  6005. "tooltip": {
  6006. "shared": false,
  6007. "sort": 2,
  6008. "value_type": "individual"
  6009. },
  6010. "type": "graph",
  6011. "xaxis": {
  6012. "mode": "time",
  6013. "show": true,
  6014. "values": []
  6015. },
  6016. "yaxes": [
  6017. {
  6018. "format": "short",
  6019. "logBase": 1,
  6020. "show": true
  6021. },
  6022. {
  6023. "format": "short",
  6024. "logBase": 1,
  6025. "show": true
  6026. }
  6027. ],
  6028. "yaxis": {
  6029. "align": false
  6030. }
  6031. }
  6032. ],
  6033. "targets": [
  6034. {
  6035. "datasource": {
  6036. "type": "prometheus",
  6037. "uid": "$datasource"
  6038. },
  6039. "refId": "A"
  6040. }
  6041. ],
  6042. "title": "Pushes",
  6043. "type": "row"
  6044. },
  6045. {
  6046. "collapsed": true,
  6047. "datasource": {
  6048. "type": "prometheus",
  6049. "uid": "$datasource"
  6050. },
  6051. "gridPos": {
  6052. "h": 1,
  6053. "w": 24,
  6054. "x": 0,
  6055. "y": 33
  6056. },
  6057. "id": 219,
  6058. "panels": [
  6059. {
  6060. "aliasColors": {},
  6061. "bars": false,
  6062. "dashLength": 10,
  6063. "dashes": false,
  6064. "datasource": {
  6065. "type": "prometheus",
  6066. "uid": "${DS_PROMETHEUS}"
  6067. },
  6068. "description": "How many entries in current state that we are iterating over while calculating push rules.",
  6069. "fieldConfig": {
  6070. "defaults": {
  6071. "links": []
  6072. },
  6073. "overrides": []
  6074. },
  6075. "fill": 1,
  6076. "fillGradient": 0,
  6077. "gridPos": {
  6078. "h": 7,
  6079. "w": 12,
  6080. "x": 0,
  6081. "y": 33
  6082. },
  6083. "hiddenSeries": false,
  6084. "id": 209,
  6085. "legend": {
  6086. "avg": false,
  6087. "current": false,
  6088. "max": false,
  6089. "min": false,
  6090. "show": false,
  6091. "total": false,
  6092. "values": false
  6093. },
  6094. "lines": true,
  6095. "linewidth": 1,
  6096. "links": [],
  6097. "nullPointMode": "null",
  6098. "options": {
  6099. "alertThreshold": true
  6100. },
  6101. "paceLength": 10,
  6102. "percentage": false,
  6103. "pluginVersion": "8.4.3",
  6104. "pointradius": 5,
  6105. "points": false,
  6106. "renderer": "flot",
  6107. "seriesOverrides": [],
  6108. "spaceLength": 10,
  6109. "stack": false,
  6110. "steppedLine": false,
  6111. "targets": [
  6112. {
  6113. "datasource": {
  6114. "type": "prometheus",
  6115. "uid": "${DS_PROMETHEUS}"
  6116. },
  6117. "exemplar": true,
  6118. "expr": "sum(rate(synapse_push_bulk_push_rule_evaluator_push_rules_state_size_counter_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  6119. "format": "time_series",
  6120. "interval": "",
  6121. "intervalFactor": 2,
  6122. "legendFormat": "{{index}}",
  6123. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_state_size_counter_total",
  6124. "refId": "A",
  6125. "step": 2
  6126. }
  6127. ],
  6128. "thresholds": [],
  6129. "timeRegions": [],
  6130. "title": "Iterations over State",
  6131. "tooltip": {
  6132. "shared": true,
  6133. "sort": 0,
  6134. "value_type": "individual"
  6135. },
  6136. "type": "graph",
  6137. "xaxis": {
  6138. "mode": "time",
  6139. "show": true,
  6140. "values": []
  6141. },
  6142. "yaxes": [
  6143. {
  6144. "format": "hertz",
  6145. "label": "",
  6146. "logBase": 1,
  6147. "min": "0",
  6148. "show": true
  6149. },
  6150. {
  6151. "format": "short",
  6152. "logBase": 1,
  6153. "show": true
  6154. }
  6155. ],
  6156. "yaxis": {
  6157. "align": false
  6158. }
  6159. },
  6160. {
  6161. "aliasColors": {},
  6162. "bars": false,
  6163. "dashLength": 10,
  6164. "dashes": false,
  6165. "datasource": {
  6166. "type": "prometheus",
  6167. "uid": "${DS_PROMETHEUS}"
  6168. },
  6169. "description": "Rate that the cached push rules for a room get invalidated due to underlying push rules being changed. ",
  6170. "fieldConfig": {
  6171. "defaults": {
  6172. "links": []
  6173. },
  6174. "overrides": []
  6175. },
  6176. "fill": 1,
  6177. "fillGradient": 0,
  6178. "gridPos": {
  6179. "h": 7,
  6180. "w": 12,
  6181. "x": 12,
  6182. "y": 33
  6183. },
  6184. "hiddenSeries": false,
  6185. "id": 211,
  6186. "legend": {
  6187. "avg": false,
  6188. "current": false,
  6189. "max": false,
  6190. "min": false,
  6191. "show": false,
  6192. "total": false,
  6193. "values": false
  6194. },
  6195. "lines": true,
  6196. "linewidth": 1,
  6197. "links": [],
  6198. "nullPointMode": "null",
  6199. "options": {
  6200. "alertThreshold": true
  6201. },
  6202. "paceLength": 10,
  6203. "percentage": false,
  6204. "pluginVersion": "8.4.3",
  6205. "pointradius": 5,
  6206. "points": false,
  6207. "renderer": "flot",
  6208. "seriesOverrides": [],
  6209. "spaceLength": 10,
  6210. "stack": false,
  6211. "steppedLine": false,
  6212. "targets": [
  6213. {
  6214. "datasource": {
  6215. "type": "prometheus",
  6216. "uid": "$datasource"
  6217. },
  6218. "exemplar": true,
  6219. "expr": "sum(rate(synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  6220. "format": "time_series",
  6221. "interval": "",
  6222. "intervalFactor": 2,
  6223. "legendFormat": "{{index}}",
  6224. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  6225. "refId": "A",
  6226. "step": 2
  6227. }
  6228. ],
  6229. "thresholds": [],
  6230. "timeRegions": [],
  6231. "title": "Push Rule Invalidations",
  6232. "tooltip": {
  6233. "shared": true,
  6234. "sort": 0,
  6235. "value_type": "individual"
  6236. },
  6237. "type": "graph",
  6238. "xaxis": {
  6239. "mode": "time",
  6240. "show": true,
  6241. "values": []
  6242. },
  6243. "yaxes": [
  6244. {
  6245. "format": "hertz",
  6246. "label": "",
  6247. "logBase": 1,
  6248. "min": "0",
  6249. "show": true
  6250. },
  6251. {
  6252. "format": "short",
  6253. "logBase": 1,
  6254. "show": true
  6255. }
  6256. ],
  6257. "yaxis": {
  6258. "align": false
  6259. }
  6260. },
  6261. {
  6262. "aliasColors": {},
  6263. "bars": false,
  6264. "dashLength": 10,
  6265. "dashes": false,
  6266. "datasource": {
  6267. "type": "prometheus",
  6268. "uid": "${DS_PROMETHEUS}"
  6269. },
  6270. "description": "How often the \"delta optimisation\" happens.\n\nThe delta optimisation is when we update the push rules for a room incrementally after a state change where we know the delta between the old state and the new state.\n\nThis can't happen if we don't the delta or we're calculating push rules from scratch.",
  6271. "fieldConfig": {
  6272. "defaults": {
  6273. "links": []
  6274. },
  6275. "overrides": []
  6276. },
  6277. "fill": 1,
  6278. "fillGradient": 0,
  6279. "gridPos": {
  6280. "h": 7,
  6281. "w": 12,
  6282. "x": 0,
  6283. "y": 40
  6284. },
  6285. "hiddenSeries": false,
  6286. "id": 213,
  6287. "legend": {
  6288. "avg": false,
  6289. "current": false,
  6290. "max": false,
  6291. "min": false,
  6292. "show": true,
  6293. "total": false,
  6294. "values": false
  6295. },
  6296. "lines": true,
  6297. "linewidth": 1,
  6298. "links": [],
  6299. "nullPointMode": "null",
  6300. "options": {
  6301. "alertThreshold": true
  6302. },
  6303. "paceLength": 10,
  6304. "percentage": false,
  6305. "pluginVersion": "8.4.3",
  6306. "pointradius": 5,
  6307. "points": false,
  6308. "renderer": "flot",
  6309. "seriesOverrides": [
  6310. {
  6311. "alias": "Number of calls",
  6312. "yaxis": 2
  6313. }
  6314. ],
  6315. "spaceLength": 10,
  6316. "stack": false,
  6317. "steppedLine": false,
  6318. "targets": [
  6319. {
  6320. "datasource": {
  6321. "type": "prometheus",
  6322. "uid": "${DS_PROMETHEUS}"
  6323. },
  6324. "exemplar": true,
  6325. "expr": "sum(rate(synapse_util_caches_cache_hits{job=\"$job\",index=~\"$index\",name=\"push_rules_delta_state_cache_metric\",instance=\"$instance\"}[$bucket_size]))/sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"push_rules_delta_state_cache_metric\",instance=\"$instance\"}[$bucket_size]))",
  6326. "format": "time_series",
  6327. "interval": "",
  6328. "intervalFactor": 2,
  6329. "legendFormat": "Hit Rate",
  6330. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  6331. "refId": "A",
  6332. "step": 2
  6333. },
  6334. {
  6335. "datasource": {
  6336. "type": "prometheus",
  6337. "uid": "${DS_PROMETHEUS}"
  6338. },
  6339. "exemplar": true,
  6340. "expr": "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"push_rules_delta_state_cache_metric\",instance=\"$instance\"}[$bucket_size]))",
  6341. "format": "time_series",
  6342. "interval": "",
  6343. "intervalFactor": 2,
  6344. "legendFormat": "Number of calls",
  6345. "refId": "B",
  6346. "step": 2
  6347. }
  6348. ],
  6349. "thresholds": [],
  6350. "timeRegions": [],
  6351. "title": "Delta Optimisation",
  6352. "tooltip": {
  6353. "shared": true,
  6354. "sort": 0,
  6355. "value_type": "individual"
  6356. },
  6357. "type": "graph",
  6358. "xaxis": {
  6359. "mode": "time",
  6360. "show": true,
  6361. "values": []
  6362. },
  6363. "yaxes": [
  6364. {
  6365. "format": "percentunit",
  6366. "label": "",
  6367. "logBase": 1,
  6368. "max": "1",
  6369. "min": "0",
  6370. "show": true
  6371. },
  6372. {
  6373. "format": "hertz",
  6374. "label": "",
  6375. "logBase": 1,
  6376. "min": "0",
  6377. "show": true
  6378. }
  6379. ],
  6380. "yaxis": {
  6381. "align": false
  6382. }
  6383. },
  6384. {
  6385. "aliasColors": {},
  6386. "bars": false,
  6387. "dashLength": 10,
  6388. "dashes": false,
  6389. "datasource": {
  6390. "type": "prometheus",
  6391. "uid": "${DS_PROMETHEUS}"
  6392. },
  6393. "description": "How often we have the correct cached push rules for a room.",
  6394. "fieldConfig": {
  6395. "defaults": {
  6396. "links": []
  6397. },
  6398. "overrides": []
  6399. },
  6400. "fill": 1,
  6401. "fillGradient": 0,
  6402. "gridPos": {
  6403. "h": 7,
  6404. "w": 12,
  6405. "x": 12,
  6406. "y": 40
  6407. },
  6408. "hiddenSeries": false,
  6409. "id": 215,
  6410. "legend": {
  6411. "avg": false,
  6412. "current": false,
  6413. "max": false,
  6414. "min": false,
  6415. "show": true,
  6416. "total": false,
  6417. "values": false
  6418. },
  6419. "lines": true,
  6420. "linewidth": 1,
  6421. "links": [],
  6422. "nullPointMode": "null",
  6423. "options": {
  6424. "alertThreshold": true
  6425. },
  6426. "paceLength": 10,
  6427. "percentage": false,
  6428. "pluginVersion": "8.4.3",
  6429. "pointradius": 5,
  6430. "points": false,
  6431. "renderer": "flot",
  6432. "seriesOverrides": [
  6433. {
  6434. "alias": "Number of calls",
  6435. "yaxis": 2
  6436. }
  6437. ],
  6438. "spaceLength": 10,
  6439. "stack": false,
  6440. "steppedLine": false,
  6441. "targets": [
  6442. {
  6443. "datasource": {
  6444. "type": "prometheus",
  6445. "uid": "${DS_PROMETHEUS}"
  6446. },
  6447. "exemplar": true,
  6448. "expr": "sum(rate(synapse_util_caches_cache_hits{job=\"$job\",index=~\"$index\",name=\"room_push_rule_cache\",instance=\"$instance\"}[$bucket_size]))/sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"room_push_rule_cache\",instance=\"$instance\"}[$bucket_size]))",
  6449. "format": "time_series",
  6450. "interval": "",
  6451. "intervalFactor": 2,
  6452. "legendFormat": "Hit Rate",
  6453. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  6454. "refId": "A",
  6455. "step": 2
  6456. },
  6457. {
  6458. "datasource": {
  6459. "type": "prometheus",
  6460. "uid": "${DS_PROMETHEUS}"
  6461. },
  6462. "exemplar": true,
  6463. "expr": "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"room_push_rule_cache\",instance=\"$instance\"}[$bucket_size]))",
  6464. "format": "time_series",
  6465. "interval": "",
  6466. "intervalFactor": 2,
  6467. "legendFormat": "Number of calls",
  6468. "refId": "B",
  6469. "step": 2
  6470. }
  6471. ],
  6472. "thresholds": [],
  6473. "timeRegions": [],
  6474. "title": "How often we reuse existing calculated push rules",
  6475. "tooltip": {
  6476. "shared": true,
  6477. "sort": 0,
  6478. "value_type": "individual"
  6479. },
  6480. "type": "graph",
  6481. "xaxis": {
  6482. "mode": "time",
  6483. "show": true,
  6484. "values": []
  6485. },
  6486. "yaxes": [
  6487. {
  6488. "format": "percentunit",
  6489. "label": "",
  6490. "logBase": 1,
  6491. "max": "1",
  6492. "min": "0",
  6493. "show": true
  6494. },
  6495. {
  6496. "format": "hertz",
  6497. "logBase": 1,
  6498. "show": true
  6499. }
  6500. ],
  6501. "yaxis": {
  6502. "align": false
  6503. }
  6504. },
  6505. {
  6506. "aliasColors": {},
  6507. "bars": false,
  6508. "dashLength": 10,
  6509. "dashes": false,
  6510. "datasource": {
  6511. "type": "prometheus",
  6512. "uid": "${DS_PROMETHEUS}"
  6513. },
  6514. "description": "How often we have existing cached push rules for the room. \n\nNote that these might be outdated and need to be recalculated if the state has changed.",
  6515. "fieldConfig": {
  6516. "defaults": {
  6517. "links": []
  6518. },
  6519. "overrides": []
  6520. },
  6521. "fill": 1,
  6522. "fillGradient": 0,
  6523. "gridPos": {
  6524. "h": 7,
  6525. "w": 12,
  6526. "x": 0,
  6527. "y": 47
  6528. },
  6529. "hiddenSeries": false,
  6530. "id": 217,
  6531. "legend": {
  6532. "avg": false,
  6533. "current": false,
  6534. "max": false,
  6535. "min": false,
  6536. "show": true,
  6537. "total": false,
  6538. "values": false
  6539. },
  6540. "lines": true,
  6541. "linewidth": 1,
  6542. "links": [],
  6543. "nullPointMode": "null",
  6544. "options": {
  6545. "alertThreshold": true
  6546. },
  6547. "paceLength": 10,
  6548. "percentage": false,
  6549. "pluginVersion": "8.4.3",
  6550. "pointradius": 5,
  6551. "points": false,
  6552. "renderer": "flot",
  6553. "seriesOverrides": [
  6554. {
  6555. "alias": "Number of calls",
  6556. "yaxis": 2
  6557. }
  6558. ],
  6559. "spaceLength": 10,
  6560. "stack": false,
  6561. "steppedLine": false,
  6562. "targets": [
  6563. {
  6564. "datasource": {
  6565. "type": "prometheus",
  6566. "uid": "${DS_PROMETHEUS}"
  6567. },
  6568. "exemplar": true,
  6569. "expr": "sum(rate(synapse_util_caches_cache_hits{job=\"$job\",index=~\"$index\",name=\"_get_rules_for_room\",instance=\"$instance\"}[$bucket_size]))/sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"_get_rules_for_room\",instance=\"$instance\"}[$bucket_size]))",
  6570. "format": "time_series",
  6571. "interval": "",
  6572. "intervalFactor": 2,
  6573. "legendFormat": "Hit Rate",
  6574. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  6575. "refId": "A",
  6576. "step": 2
  6577. },
  6578. {
  6579. "datasource": {
  6580. "type": "prometheus",
  6581. "uid": "${DS_PROMETHEUS}"
  6582. },
  6583. "exemplar": true,
  6584. "expr": "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"_get_rules_for_room\",instance=\"$instance\"}[$bucket_size]))",
  6585. "format": "time_series",
  6586. "interval": "",
  6587. "intervalFactor": 2,
  6588. "legendFormat": "Number of calls",
  6589. "refId": "B",
  6590. "step": 2
  6591. }
  6592. ],
  6593. "thresholds": [],
  6594. "timeRegions": [],
  6595. "title": "How often we have the RulesForRoom cached",
  6596. "tooltip": {
  6597. "shared": true,
  6598. "sort": 0,
  6599. "value_type": "individual"
  6600. },
  6601. "type": "graph",
  6602. "xaxis": {
  6603. "mode": "time",
  6604. "show": true,
  6605. "values": []
  6606. },
  6607. "yaxes": [
  6608. {
  6609. "format": "percentunit",
  6610. "label": "",
  6611. "logBase": 1,
  6612. "max": "1",
  6613. "min": "0",
  6614. "show": true
  6615. },
  6616. {
  6617. "format": "hertz",
  6618. "logBase": 1,
  6619. "show": true
  6620. }
  6621. ],
  6622. "yaxis": {
  6623. "align": false
  6624. }
  6625. }
  6626. ],
  6627. "targets": [
  6628. {
  6629. "datasource": {
  6630. "type": "prometheus",
  6631. "uid": "000000001"
  6632. },
  6633. "refId": "A"
  6634. }
  6635. ],
  6636. "title": "Push Rule Cache",
  6637. "type": "row"
  6638. },
  6639. {
  6640. "collapsed": true,
  6641. "datasource": {
  6642. "type": "prometheus",
  6643. "uid": "000000001"
  6644. },
  6645. "gridPos": {
  6646. "h": 1,
  6647. "w": 24,
  6648. "x": 0,
  6649. "y": 34
  6650. },
  6651. "id": 58,
  6652. "panels": [
  6653. {
  6654. "datasource": {
  6655. "uid": "$datasource"
  6656. },
  6657. "fieldConfig": {
  6658. "defaults": {
  6659. "color": {
  6660. "mode": "palette-classic"
  6661. },
  6662. "custom": {
  6663. "axisLabel": "",
  6664. "axisPlacement": "auto",
  6665. "barAlignment": 0,
  6666. "drawStyle": "line",
  6667. "fillOpacity": 10,
  6668. "gradientMode": "none",
  6669. "hideFrom": {
  6670. "legend": false,
  6671. "tooltip": false,
  6672. "viz": false
  6673. },
  6674. "lineInterpolation": "linear",
  6675. "lineWidth": 1,
  6676. "pointSize": 5,
  6677. "scaleDistribution": {
  6678. "type": "linear"
  6679. },
  6680. "showPoints": "never",
  6681. "spanNulls": false,
  6682. "stacking": {
  6683. "group": "A",
  6684. "mode": "none"
  6685. },
  6686. "thresholdsStyle": {
  6687. "mode": "off"
  6688. }
  6689. },
  6690. "links": [],
  6691. "mappings": [],
  6692. "min": 0,
  6693. "thresholds": {
  6694. "mode": "absolute",
  6695. "steps": [
  6696. {
  6697. "color": "green"
  6698. },
  6699. {
  6700. "color": "red",
  6701. "value": 80
  6702. }
  6703. ]
  6704. },
  6705. "unit": "s"
  6706. },
  6707. "overrides": []
  6708. },
  6709. "gridPos": {
  6710. "h": 7,
  6711. "w": 12,
  6712. "x": 0,
  6713. "y": 35
  6714. },
  6715. "id": 48,
  6716. "links": [],
  6717. "options": {
  6718. "legend": {
  6719. "calcs": [],
  6720. "displayMode": "list",
  6721. "placement": "bottom",
  6722. "showLegend": true
  6723. },
  6724. "tooltip": {
  6725. "mode": "single",
  6726. "sort": "none"
  6727. }
  6728. },
  6729. "pluginVersion": "9.0.4",
  6730. "targets": [
  6731. {
  6732. "datasource": {
  6733. "uid": "$datasource"
  6734. },
  6735. "expr": "rate(synapse_storage_schedule_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(synapse_storage_schedule_time_count[$bucket_size])",
  6736. "format": "time_series",
  6737. "intervalFactor": 2,
  6738. "legendFormat": "{{job}}-{{index}}",
  6739. "refId": "A",
  6740. "step": 20
  6741. }
  6742. ],
  6743. "title": "Avg time waiting for db conn",
  6744. "type": "timeseries"
  6745. },
  6746. {
  6747. "aliasColors": {},
  6748. "bars": false,
  6749. "dashLength": 10,
  6750. "dashes": false,
  6751. "datasource": {
  6752. "uid": "$datasource"
  6753. },
  6754. "description": "Shows the time in which the given percentage of database queries were scheduled, over the sampled timespan",
  6755. "fieldConfig": {
  6756. "defaults": {
  6757. "links": []
  6758. },
  6759. "overrides": []
  6760. },
  6761. "fill": 1,
  6762. "fillGradient": 0,
  6763. "gridPos": {
  6764. "h": 7,
  6765. "w": 12,
  6766. "x": 12,
  6767. "y": 35
  6768. },
  6769. "hiddenSeries": false,
  6770. "id": 104,
  6771. "legend": {
  6772. "alignAsTable": true,
  6773. "avg": false,
  6774. "current": false,
  6775. "max": false,
  6776. "min": false,
  6777. "show": true,
  6778. "total": false,
  6779. "values": false
  6780. },
  6781. "lines": true,
  6782. "linewidth": 1,
  6783. "links": [],
  6784. "nullPointMode": "null",
  6785. "options": {
  6786. "alertThreshold": true
  6787. },
  6788. "paceLength": 10,
  6789. "percentage": false,
  6790. "pluginVersion": "9.0.4",
  6791. "pointradius": 5,
  6792. "points": false,
  6793. "renderer": "flot",
  6794. "seriesOverrides": [],
  6795. "spaceLength": 10,
  6796. "stack": false,
  6797. "steppedLine": false,
  6798. "targets": [
  6799. {
  6800. "datasource": {
  6801. "uid": "$datasource"
  6802. },
  6803. "expr": "histogram_quantile(0.99, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  6804. "format": "time_series",
  6805. "hide": false,
  6806. "intervalFactor": 1,
  6807. "legendFormat": "{{job}} {{index}} 99%",
  6808. "refId": "A",
  6809. "step": 20
  6810. },
  6811. {
  6812. "datasource": {
  6813. "uid": "$datasource"
  6814. },
  6815. "expr": "histogram_quantile(0.95, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  6816. "format": "time_series",
  6817. "intervalFactor": 1,
  6818. "legendFormat": "{{job}} {{index}} 95%",
  6819. "refId": "B"
  6820. },
  6821. {
  6822. "datasource": {
  6823. "uid": "$datasource"
  6824. },
  6825. "expr": "histogram_quantile(0.90, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  6826. "format": "time_series",
  6827. "intervalFactor": 1,
  6828. "legendFormat": "{{job}} {{index}} 90%",
  6829. "refId": "C"
  6830. },
  6831. {
  6832. "datasource": {
  6833. "uid": "$datasource"
  6834. },
  6835. "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])",
  6836. "format": "time_series",
  6837. "interval": "",
  6838. "intervalFactor": 1,
  6839. "legendFormat": "{{job}} {{index}} mean",
  6840. "refId": "D"
  6841. }
  6842. ],
  6843. "thresholds": [],
  6844. "timeRegions": [],
  6845. "title": "Db scheduling time quantiles",
  6846. "tooltip": {
  6847. "shared": false,
  6848. "sort": 0,
  6849. "value_type": "individual"
  6850. },
  6851. "type": "graph",
  6852. "xaxis": {
  6853. "mode": "time",
  6854. "show": true,
  6855. "values": []
  6856. },
  6857. "yaxes": [
  6858. {
  6859. "format": "s",
  6860. "label": "",
  6861. "logBase": 1,
  6862. "min": "0",
  6863. "show": true
  6864. },
  6865. {
  6866. "format": "short",
  6867. "logBase": 1,
  6868. "show": false
  6869. }
  6870. ],
  6871. "yaxis": {
  6872. "align": false
  6873. }
  6874. },
  6875. {
  6876. "aliasColors": {},
  6877. "bars": false,
  6878. "dashLength": 10,
  6879. "dashes": false,
  6880. "datasource": {
  6881. "uid": "$datasource"
  6882. },
  6883. "editable": true,
  6884. "error": false,
  6885. "fieldConfig": {
  6886. "defaults": {
  6887. "links": []
  6888. },
  6889. "overrides": []
  6890. },
  6891. "fill": 0,
  6892. "fillGradient": 0,
  6893. "grid": {},
  6894. "gridPos": {
  6895. "h": 7,
  6896. "w": 12,
  6897. "x": 0,
  6898. "y": 42
  6899. },
  6900. "hiddenSeries": false,
  6901. "id": 10,
  6902. "legend": {
  6903. "avg": false,
  6904. "current": false,
  6905. "hideEmpty": true,
  6906. "hideZero": true,
  6907. "max": false,
  6908. "min": false,
  6909. "show": true,
  6910. "total": false,
  6911. "values": false
  6912. },
  6913. "lines": true,
  6914. "linewidth": 2,
  6915. "links": [],
  6916. "nullPointMode": "null",
  6917. "options": {
  6918. "alertThreshold": true
  6919. },
  6920. "paceLength": 10,
  6921. "percentage": false,
  6922. "pluginVersion": "9.0.4",
  6923. "pointradius": 5,
  6924. "points": false,
  6925. "renderer": "flot",
  6926. "seriesOverrides": [],
  6927. "spaceLength": 10,
  6928. "stack": false,
  6929. "steppedLine": false,
  6930. "targets": [
  6931. {
  6932. "datasource": {
  6933. "uid": "$datasource"
  6934. },
  6935. "expr": "topk(10, rate(synapse_storage_transaction_time_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  6936. "format": "time_series",
  6937. "interval": "",
  6938. "intervalFactor": 2,
  6939. "legendFormat": "{{job}}-{{index}} {{desc}}",
  6940. "refId": "A",
  6941. "step": 20
  6942. }
  6943. ],
  6944. "thresholds": [],
  6945. "timeRegions": [],
  6946. "title": "Top DB transactions by txn rate",
  6947. "tooltip": {
  6948. "shared": false,
  6949. "sort": 0,
  6950. "value_type": "cumulative"
  6951. },
  6952. "type": "graph",
  6953. "xaxis": {
  6954. "mode": "time",
  6955. "show": true,
  6956. "values": []
  6957. },
  6958. "yaxes": [
  6959. {
  6960. "format": "hertz",
  6961. "logBase": 1,
  6962. "min": 0,
  6963. "show": true
  6964. },
  6965. {
  6966. "format": "short",
  6967. "logBase": 1,
  6968. "show": true
  6969. }
  6970. ],
  6971. "yaxis": {
  6972. "align": false
  6973. }
  6974. },
  6975. {
  6976. "aliasColors": {},
  6977. "bars": false,
  6978. "dashLength": 10,
  6979. "dashes": false,
  6980. "datasource": {
  6981. "uid": "$datasource"
  6982. },
  6983. "editable": true,
  6984. "error": false,
  6985. "fieldConfig": {
  6986. "defaults": {
  6987. "links": []
  6988. },
  6989. "overrides": []
  6990. },
  6991. "fill": 1,
  6992. "fillGradient": 0,
  6993. "grid": {},
  6994. "gridPos": {
  6995. "h": 7,
  6996. "w": 12,
  6997. "x": 12,
  6998. "y": 42
  6999. },
  7000. "hiddenSeries": false,
  7001. "id": 11,
  7002. "legend": {
  7003. "avg": false,
  7004. "current": false,
  7005. "hideEmpty": true,
  7006. "hideZero": true,
  7007. "max": false,
  7008. "min": false,
  7009. "show": true,
  7010. "total": false,
  7011. "values": false
  7012. },
  7013. "lines": true,
  7014. "linewidth": 1,
  7015. "links": [],
  7016. "nullPointMode": "null",
  7017. "options": {
  7018. "alertThreshold": true
  7019. },
  7020. "paceLength": 10,
  7021. "percentage": false,
  7022. "pluginVersion": "9.0.4",
  7023. "pointradius": 5,
  7024. "points": false,
  7025. "renderer": "flot",
  7026. "seriesOverrides": [],
  7027. "spaceLength": 10,
  7028. "stack": false,
  7029. "steppedLine": false,
  7030. "targets": [
  7031. {
  7032. "datasource": {
  7033. "uid": "$datasource"
  7034. },
  7035. "expr": "rate(synapse_storage_transaction_time_sum_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  7036. "format": "time_series",
  7037. "instant": false,
  7038. "interval": "",
  7039. "intervalFactor": 1,
  7040. "legendFormat": "{{job}}-{{index}} {{desc}}",
  7041. "refId": "A",
  7042. "step": 20
  7043. }
  7044. ],
  7045. "thresholds": [],
  7046. "timeRegions": [],
  7047. "title": "DB transactions by total txn time",
  7048. "tooltip": {
  7049. "shared": false,
  7050. "sort": 0,
  7051. "value_type": "cumulative"
  7052. },
  7053. "type": "graph",
  7054. "xaxis": {
  7055. "mode": "time",
  7056. "show": true,
  7057. "values": []
  7058. },
  7059. "yaxes": [
  7060. {
  7061. "format": "percentunit",
  7062. "logBase": 1,
  7063. "show": true
  7064. },
  7065. {
  7066. "format": "short",
  7067. "logBase": 1,
  7068. "show": true
  7069. }
  7070. ],
  7071. "yaxis": {
  7072. "align": false
  7073. }
  7074. },
  7075. {
  7076. "aliasColors": {},
  7077. "bars": false,
  7078. "dashLength": 10,
  7079. "dashes": false,
  7080. "datasource": {
  7081. "uid": "$datasource"
  7082. },
  7083. "editable": true,
  7084. "error": false,
  7085. "fieldConfig": {
  7086. "defaults": {
  7087. "links": []
  7088. },
  7089. "overrides": []
  7090. },
  7091. "fill": 0,
  7092. "fillGradient": 0,
  7093. "grid": {},
  7094. "gridPos": {
  7095. "h": 7,
  7096. "w": 12,
  7097. "x": 0,
  7098. "y": 49
  7099. },
  7100. "hiddenSeries": false,
  7101. "id": 180,
  7102. "legend": {
  7103. "avg": false,
  7104. "current": false,
  7105. "hideEmpty": true,
  7106. "hideZero": true,
  7107. "max": false,
  7108. "min": false,
  7109. "show": true,
  7110. "total": false,
  7111. "values": false
  7112. },
  7113. "lines": true,
  7114. "linewidth": 1,
  7115. "links": [],
  7116. "nullPointMode": "null",
  7117. "options": {
  7118. "alertThreshold": false
  7119. },
  7120. "paceLength": 10,
  7121. "percentage": false,
  7122. "pluginVersion": "9.0.4",
  7123. "pointradius": 5,
  7124. "points": false,
  7125. "renderer": "flot",
  7126. "seriesOverrides": [],
  7127. "spaceLength": 10,
  7128. "stack": false,
  7129. "steppedLine": false,
  7130. "targets": [
  7131. {
  7132. "datasource": {
  7133. "uid": "$datasource"
  7134. },
  7135. "expr": "rate(synapse_storage_transaction_time_sum_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(synapse_storage_transaction_time_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  7136. "format": "time_series",
  7137. "instant": false,
  7138. "interval": "",
  7139. "intervalFactor": 1,
  7140. "legendFormat": "{{job}}-{{index}} {{desc}}",
  7141. "refId": "A",
  7142. "step": 20
  7143. }
  7144. ],
  7145. "thresholds": [],
  7146. "timeRegions": [],
  7147. "title": "Average DB txn time",
  7148. "tooltip": {
  7149. "shared": false,
  7150. "sort": 0,
  7151. "value_type": "cumulative"
  7152. },
  7153. "type": "graph",
  7154. "xaxis": {
  7155. "mode": "time",
  7156. "show": true,
  7157. "values": []
  7158. },
  7159. "yaxes": [
  7160. {
  7161. "format": "s",
  7162. "logBase": 1,
  7163. "show": true
  7164. },
  7165. {
  7166. "format": "short",
  7167. "logBase": 1,
  7168. "show": true
  7169. }
  7170. ],
  7171. "yaxis": {
  7172. "align": false
  7173. }
  7174. },
  7175. {
  7176. "aliasColors": {},
  7177. "bars": false,
  7178. "dashLength": 10,
  7179. "dashes": false,
  7180. "datasource": {
  7181. "uid": "$datasource"
  7182. },
  7183. "fieldConfig": {
  7184. "defaults": {
  7185. "links": []
  7186. },
  7187. "overrides": []
  7188. },
  7189. "fill": 6,
  7190. "fillGradient": 0,
  7191. "gridPos": {
  7192. "h": 9,
  7193. "w": 12,
  7194. "x": 12,
  7195. "y": 49
  7196. },
  7197. "hiddenSeries": false,
  7198. "id": 200,
  7199. "legend": {
  7200. "avg": false,
  7201. "current": false,
  7202. "max": false,
  7203. "min": false,
  7204. "show": true,
  7205. "total": false,
  7206. "values": false
  7207. },
  7208. "lines": true,
  7209. "linewidth": 1,
  7210. "links": [],
  7211. "nullPointMode": "null",
  7212. "options": {
  7213. "alertThreshold": true
  7214. },
  7215. "percentage": false,
  7216. "pluginVersion": "9.0.4",
  7217. "pointradius": 5,
  7218. "points": false,
  7219. "renderer": "flot",
  7220. "seriesOverrides": [],
  7221. "spaceLength": 10,
  7222. "stack": false,
  7223. "steppedLine": false,
  7224. "targets": [
  7225. {
  7226. "datasource": {
  7227. "uid": "$datasource"
  7228. },
  7229. "expr": "histogram_quantile(0.99, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  7230. "format": "time_series",
  7231. "intervalFactor": 1,
  7232. "legendFormat": "99%",
  7233. "refId": "D"
  7234. },
  7235. {
  7236. "datasource": {
  7237. "uid": "$datasource"
  7238. },
  7239. "expr": "histogram_quantile(0.9, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  7240. "format": "time_series",
  7241. "intervalFactor": 1,
  7242. "legendFormat": "90%",
  7243. "refId": "A"
  7244. },
  7245. {
  7246. "datasource": {
  7247. "uid": "$datasource"
  7248. },
  7249. "expr": "histogram_quantile(0.75, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  7250. "format": "time_series",
  7251. "intervalFactor": 1,
  7252. "legendFormat": "75%",
  7253. "refId": "C"
  7254. },
  7255. {
  7256. "datasource": {
  7257. "uid": "$datasource"
  7258. },
  7259. "expr": "histogram_quantile(0.5, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  7260. "format": "time_series",
  7261. "intervalFactor": 1,
  7262. "legendFormat": "50%",
  7263. "refId": "B"
  7264. }
  7265. ],
  7266. "thresholds": [],
  7267. "timeRegions": [],
  7268. "title": "Time waiting for DB connection quantiles",
  7269. "tooltip": {
  7270. "shared": true,
  7271. "sort": 2,
  7272. "value_type": "individual"
  7273. },
  7274. "type": "graph",
  7275. "xaxis": {
  7276. "mode": "time",
  7277. "show": true,
  7278. "values": []
  7279. },
  7280. "yaxes": [
  7281. {
  7282. "$$hashKey": "object:203",
  7283. "format": "s",
  7284. "label": "",
  7285. "logBase": 1,
  7286. "min": "0",
  7287. "show": true
  7288. },
  7289. {
  7290. "$$hashKey": "object:204",
  7291. "format": "short",
  7292. "logBase": 1,
  7293. "show": false
  7294. }
  7295. ],
  7296. "yaxis": {
  7297. "align": false
  7298. }
  7299. }
  7300. ],
  7301. "targets": [
  7302. {
  7303. "datasource": {
  7304. "type": "prometheus",
  7305. "uid": "000000001"
  7306. },
  7307. "refId": "A"
  7308. }
  7309. ],
  7310. "title": "Database",
  7311. "type": "row"
  7312. },
  7313. {
  7314. "collapsed": true,
  7315. "datasource": {
  7316. "type": "prometheus",
  7317. "uid": "000000001"
  7318. },
  7319. "gridPos": {
  7320. "h": 1,
  7321. "w": 24,
  7322. "x": 0,
  7323. "y": 35
  7324. },
  7325. "id": 59,
  7326. "panels": [
  7327. {
  7328. "aliasColors": {},
  7329. "bars": false,
  7330. "dashLength": 10,
  7331. "dashes": false,
  7332. "datasource": {
  7333. "uid": "$datasource"
  7334. },
  7335. "editable": true,
  7336. "error": false,
  7337. "fieldConfig": {
  7338. "defaults": {
  7339. "links": []
  7340. },
  7341. "overrides": []
  7342. },
  7343. "fill": 1,
  7344. "fillGradient": 0,
  7345. "grid": {},
  7346. "gridPos": {
  7347. "h": 13,
  7348. "w": 12,
  7349. "x": 0,
  7350. "y": 35
  7351. },
  7352. "hiddenSeries": false,
  7353. "id": 12,
  7354. "legend": {
  7355. "alignAsTable": true,
  7356. "avg": false,
  7357. "current": false,
  7358. "max": false,
  7359. "min": false,
  7360. "show": true,
  7361. "total": false,
  7362. "values": false
  7363. },
  7364. "lines": true,
  7365. "linewidth": 2,
  7366. "links": [],
  7367. "nullPointMode": "null",
  7368. "options": {
  7369. "alertThreshold": true
  7370. },
  7371. "paceLength": 10,
  7372. "percentage": false,
  7373. "pluginVersion": "9.0.4",
  7374. "pointradius": 5,
  7375. "points": false,
  7376. "renderer": "flot",
  7377. "seriesOverrides": [],
  7378. "spaceLength": 10,
  7379. "stack": false,
  7380. "steppedLine": false,
  7381. "targets": [
  7382. {
  7383. "datasource": {
  7384. "uid": "$datasource"
  7385. },
  7386. "expr": "rate(synapse_util_metrics_block_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\",block_name!=\"wrapped_request_handler\"}[$bucket_size]) + rate(synapse_util_metrics_block_ru_stime_seconds_total[$bucket_size])",
  7387. "format": "time_series",
  7388. "interval": "",
  7389. "intervalFactor": 2,
  7390. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  7391. "refId": "A",
  7392. "step": 20
  7393. }
  7394. ],
  7395. "thresholds": [],
  7396. "timeRegions": [],
  7397. "title": "Total CPU Usage by Block",
  7398. "tooltip": {
  7399. "shared": true,
  7400. "sort": 2,
  7401. "value_type": "cumulative"
  7402. },
  7403. "type": "graph",
  7404. "xaxis": {
  7405. "mode": "time",
  7406. "show": true,
  7407. "values": []
  7408. },
  7409. "yaxes": [
  7410. {
  7411. "format": "percentunit",
  7412. "logBase": 1,
  7413. "show": true
  7414. },
  7415. {
  7416. "format": "short",
  7417. "logBase": 1,
  7418. "show": true
  7419. }
  7420. ],
  7421. "yaxis": {
  7422. "align": false
  7423. }
  7424. },
  7425. {
  7426. "aliasColors": {},
  7427. "bars": false,
  7428. "dashLength": 10,
  7429. "dashes": false,
  7430. "datasource": {
  7431. "uid": "$datasource"
  7432. },
  7433. "editable": true,
  7434. "error": false,
  7435. "fieldConfig": {
  7436. "defaults": {
  7437. "links": []
  7438. },
  7439. "overrides": []
  7440. },
  7441. "fill": 1,
  7442. "fillGradient": 0,
  7443. "grid": {},
  7444. "gridPos": {
  7445. "h": 13,
  7446. "w": 12,
  7447. "x": 12,
  7448. "y": 35
  7449. },
  7450. "hiddenSeries": false,
  7451. "id": 26,
  7452. "legend": {
  7453. "alignAsTable": true,
  7454. "avg": false,
  7455. "current": false,
  7456. "max": false,
  7457. "min": false,
  7458. "show": true,
  7459. "total": false,
  7460. "values": false
  7461. },
  7462. "lines": true,
  7463. "linewidth": 2,
  7464. "links": [],
  7465. "nullPointMode": "null",
  7466. "options": {
  7467. "alertThreshold": true
  7468. },
  7469. "paceLength": 10,
  7470. "percentage": false,
  7471. "pluginVersion": "9.0.4",
  7472. "pointradius": 5,
  7473. "points": false,
  7474. "renderer": "flot",
  7475. "seriesOverrides": [],
  7476. "spaceLength": 10,
  7477. "stack": false,
  7478. "steppedLine": false,
  7479. "targets": [
  7480. {
  7481. "datasource": {
  7482. "uid": "$datasource"
  7483. },
  7484. "expr": "(rate(synapse_util_metrics_block_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) + rate(synapse_util_metrics_block_ru_stime_seconds_total[$bucket_size])) / rate(synapse_util_metrics_block_count_total[$bucket_size])",
  7485. "format": "time_series",
  7486. "interval": "",
  7487. "intervalFactor": 2,
  7488. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  7489. "refId": "A",
  7490. "step": 20
  7491. }
  7492. ],
  7493. "thresholds": [],
  7494. "timeRegions": [],
  7495. "title": "Average CPU Time per Block",
  7496. "tooltip": {
  7497. "shared": true,
  7498. "sort": 2,
  7499. "value_type": "cumulative"
  7500. },
  7501. "type": "graph",
  7502. "xaxis": {
  7503. "mode": "time",
  7504. "show": true,
  7505. "values": []
  7506. },
  7507. "yaxes": [
  7508. {
  7509. "format": "ms",
  7510. "logBase": 1,
  7511. "show": true
  7512. },
  7513. {
  7514. "format": "short",
  7515. "logBase": 1,
  7516. "show": true
  7517. }
  7518. ],
  7519. "yaxis": {
  7520. "align": false
  7521. }
  7522. },
  7523. {
  7524. "aliasColors": {},
  7525. "bars": false,
  7526. "dashLength": 10,
  7527. "dashes": false,
  7528. "datasource": {
  7529. "type": "prometheus",
  7530. "uid": "${DS_PROMETHEUS}"
  7531. },
  7532. "editable": true,
  7533. "error": false,
  7534. "fieldConfig": {
  7535. "defaults": {
  7536. "links": []
  7537. },
  7538. "overrides": []
  7539. },
  7540. "fill": 1,
  7541. "fillGradient": 0,
  7542. "grid": {},
  7543. "gridPos": {
  7544. "h": 13,
  7545. "w": 12,
  7546. "x": 0,
  7547. "y": 48
  7548. },
  7549. "hiddenSeries": false,
  7550. "id": 13,
  7551. "legend": {
  7552. "alignAsTable": true,
  7553. "avg": false,
  7554. "current": false,
  7555. "max": false,
  7556. "min": false,
  7557. "show": true,
  7558. "total": false,
  7559. "values": false
  7560. },
  7561. "lines": true,
  7562. "linewidth": 2,
  7563. "links": [],
  7564. "nullPointMode": "null",
  7565. "options": {
  7566. "alertThreshold": true
  7567. },
  7568. "paceLength": 10,
  7569. "percentage": false,
  7570. "pluginVersion": "9.0.4",
  7571. "pointradius": 5,
  7572. "points": false,
  7573. "renderer": "flot",
  7574. "seriesOverrides": [],
  7575. "spaceLength": 10,
  7576. "stack": false,
  7577. "steppedLine": false,
  7578. "targets": [
  7579. {
  7580. "datasource": {
  7581. "type": "prometheus",
  7582. "uid": "${DS_PROMETHEUS}"
  7583. },
  7584. "exemplar": true,
  7585. "expr": "rate(synapse_util_metrics_block_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  7586. "format": "time_series",
  7587. "interval": "",
  7588. "intervalFactor": 2,
  7589. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  7590. "refId": "A",
  7591. "step": 20
  7592. }
  7593. ],
  7594. "thresholds": [],
  7595. "timeRegions": [],
  7596. "title": "Total DB Usage by Block",
  7597. "tooltip": {
  7598. "shared": true,
  7599. "sort": 2,
  7600. "value_type": "cumulative"
  7601. },
  7602. "type": "graph",
  7603. "xaxis": {
  7604. "mode": "time",
  7605. "show": true,
  7606. "values": []
  7607. },
  7608. "yaxes": [
  7609. {
  7610. "$$hashKey": "object:196",
  7611. "format": "percentunit",
  7612. "logBase": 1,
  7613. "min": 0,
  7614. "show": true
  7615. },
  7616. {
  7617. "$$hashKey": "object:197",
  7618. "format": "short",
  7619. "logBase": 1,
  7620. "show": true
  7621. }
  7622. ],
  7623. "yaxis": {
  7624. "align": false
  7625. }
  7626. },
  7627. {
  7628. "aliasColors": {},
  7629. "bars": false,
  7630. "dashLength": 10,
  7631. "dashes": false,
  7632. "datasource": {
  7633. "uid": "$datasource"
  7634. },
  7635. "description": "The time each database transaction takes to execute, on average, broken down by metrics block.",
  7636. "editable": true,
  7637. "error": false,
  7638. "fieldConfig": {
  7639. "defaults": {
  7640. "links": []
  7641. },
  7642. "overrides": []
  7643. },
  7644. "fill": 1,
  7645. "fillGradient": 0,
  7646. "grid": {},
  7647. "gridPos": {
  7648. "h": 13,
  7649. "w": 12,
  7650. "x": 12,
  7651. "y": 48
  7652. },
  7653. "hiddenSeries": false,
  7654. "id": 27,
  7655. "legend": {
  7656. "alignAsTable": true,
  7657. "avg": false,
  7658. "current": false,
  7659. "max": false,
  7660. "min": false,
  7661. "show": true,
  7662. "total": false,
  7663. "values": false
  7664. },
  7665. "lines": true,
  7666. "linewidth": 2,
  7667. "links": [],
  7668. "nullPointMode": "null",
  7669. "options": {
  7670. "alertThreshold": true
  7671. },
  7672. "paceLength": 10,
  7673. "percentage": false,
  7674. "pluginVersion": "9.0.4",
  7675. "pointradius": 5,
  7676. "points": false,
  7677. "renderer": "flot",
  7678. "seriesOverrides": [],
  7679. "spaceLength": 10,
  7680. "stack": false,
  7681. "steppedLine": false,
  7682. "targets": [
  7683. {
  7684. "datasource": {
  7685. "uid": "$datasource"
  7686. },
  7687. "expr": "rate(synapse_util_metrics_block_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) / rate(synapse_util_metrics_block_db_txn_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  7688. "format": "time_series",
  7689. "interval": "",
  7690. "intervalFactor": 2,
  7691. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  7692. "refId": "A",
  7693. "step": 20
  7694. }
  7695. ],
  7696. "thresholds": [],
  7697. "timeRegions": [],
  7698. "title": "Average Database Transaction time, by Block",
  7699. "tooltip": {
  7700. "shared": true,
  7701. "sort": 2,
  7702. "value_type": "cumulative"
  7703. },
  7704. "type": "graph",
  7705. "xaxis": {
  7706. "mode": "time",
  7707. "show": true,
  7708. "values": []
  7709. },
  7710. "yaxes": [
  7711. {
  7712. "format": "ms",
  7713. "logBase": 1,
  7714. "show": true
  7715. },
  7716. {
  7717. "format": "short",
  7718. "logBase": 1,
  7719. "show": true
  7720. }
  7721. ],
  7722. "yaxis": {
  7723. "align": false
  7724. }
  7725. },
  7726. {
  7727. "aliasColors": {},
  7728. "bars": false,
  7729. "dashLength": 10,
  7730. "dashes": false,
  7731. "datasource": {
  7732. "uid": "$datasource"
  7733. },
  7734. "editable": true,
  7735. "error": false,
  7736. "fieldConfig": {
  7737. "defaults": {
  7738. "links": []
  7739. },
  7740. "overrides": []
  7741. },
  7742. "fill": 1,
  7743. "fillGradient": 0,
  7744. "grid": {},
  7745. "gridPos": {
  7746. "h": 13,
  7747. "w": 12,
  7748. "x": 0,
  7749. "y": 61
  7750. },
  7751. "hiddenSeries": false,
  7752. "id": 28,
  7753. "legend": {
  7754. "avg": false,
  7755. "current": false,
  7756. "max": false,
  7757. "min": false,
  7758. "show": false,
  7759. "total": false,
  7760. "values": false
  7761. },
  7762. "lines": true,
  7763. "linewidth": 2,
  7764. "links": [],
  7765. "nullPointMode": "null",
  7766. "options": {
  7767. "alertThreshold": true
  7768. },
  7769. "paceLength": 10,
  7770. "percentage": false,
  7771. "pluginVersion": "9.0.4",
  7772. "pointradius": 5,
  7773. "points": false,
  7774. "renderer": "flot",
  7775. "seriesOverrides": [],
  7776. "spaceLength": 10,
  7777. "stack": false,
  7778. "steppedLine": false,
  7779. "targets": [
  7780. {
  7781. "datasource": {
  7782. "uid": "$datasource"
  7783. },
  7784. "expr": "rate(synapse_util_metrics_block_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) / rate(synapse_util_metrics_block_db_txn_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  7785. "format": "time_series",
  7786. "interval": "",
  7787. "intervalFactor": 2,
  7788. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  7789. "refId": "A",
  7790. "step": 20
  7791. }
  7792. ],
  7793. "thresholds": [],
  7794. "timeRegions": [],
  7795. "title": "Average Transactions per Block",
  7796. "tooltip": {
  7797. "shared": false,
  7798. "sort": 0,
  7799. "value_type": "cumulative"
  7800. },
  7801. "type": "graph",
  7802. "xaxis": {
  7803. "mode": "time",
  7804. "show": true,
  7805. "values": []
  7806. },
  7807. "yaxes": [
  7808. {
  7809. "format": "none",
  7810. "logBase": 1,
  7811. "show": true
  7812. },
  7813. {
  7814. "format": "short",
  7815. "logBase": 1,
  7816. "show": true
  7817. }
  7818. ],
  7819. "yaxis": {
  7820. "align": false
  7821. }
  7822. },
  7823. {
  7824. "aliasColors": {},
  7825. "bars": false,
  7826. "dashLength": 10,
  7827. "dashes": false,
  7828. "datasource": {
  7829. "uid": "$datasource"
  7830. },
  7831. "editable": true,
  7832. "error": false,
  7833. "fieldConfig": {
  7834. "defaults": {
  7835. "links": []
  7836. },
  7837. "overrides": []
  7838. },
  7839. "fill": 1,
  7840. "fillGradient": 0,
  7841. "grid": {},
  7842. "gridPos": {
  7843. "h": 13,
  7844. "w": 12,
  7845. "x": 12,
  7846. "y": 61
  7847. },
  7848. "hiddenSeries": false,
  7849. "id": 25,
  7850. "legend": {
  7851. "avg": false,
  7852. "current": false,
  7853. "max": false,
  7854. "min": false,
  7855. "show": false,
  7856. "total": false,
  7857. "values": false
  7858. },
  7859. "lines": true,
  7860. "linewidth": 2,
  7861. "links": [],
  7862. "nullPointMode": "null",
  7863. "options": {
  7864. "alertThreshold": true
  7865. },
  7866. "paceLength": 10,
  7867. "percentage": false,
  7868. "pluginVersion": "9.0.4",
  7869. "pointradius": 5,
  7870. "points": false,
  7871. "renderer": "flot",
  7872. "seriesOverrides": [],
  7873. "spaceLength": 10,
  7874. "stack": false,
  7875. "steppedLine": false,
  7876. "targets": [
  7877. {
  7878. "datasource": {
  7879. "uid": "$datasource"
  7880. },
  7881. "expr": "rate(synapse_util_metrics_block_time_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) / rate(synapse_util_metrics_block_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  7882. "format": "time_series",
  7883. "interval": "",
  7884. "intervalFactor": 2,
  7885. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  7886. "refId": "A",
  7887. "step": 20
  7888. }
  7889. ],
  7890. "thresholds": [],
  7891. "timeRegions": [],
  7892. "title": "Average Wallclock Time per Block",
  7893. "tooltip": {
  7894. "shared": false,
  7895. "sort": 0,
  7896. "value_type": "cumulative"
  7897. },
  7898. "type": "graph",
  7899. "xaxis": {
  7900. "mode": "time",
  7901. "show": true,
  7902. "values": []
  7903. },
  7904. "yaxes": [
  7905. {
  7906. "$$hashKey": "object:180",
  7907. "format": "s",
  7908. "logBase": 1,
  7909. "show": true
  7910. },
  7911. {
  7912. "$$hashKey": "object:181",
  7913. "format": "short",
  7914. "logBase": 1,
  7915. "show": true
  7916. }
  7917. ],
  7918. "yaxis": {
  7919. "align": false
  7920. }
  7921. },
  7922. {
  7923. "aliasColors": {},
  7924. "bars": false,
  7925. "dashLength": 10,
  7926. "dashes": false,
  7927. "datasource": {
  7928. "uid": "$datasource"
  7929. },
  7930. "fill": 1,
  7931. "fillGradient": 0,
  7932. "gridPos": {
  7933. "h": 15,
  7934. "w": 12,
  7935. "x": 0,
  7936. "y": 74
  7937. },
  7938. "hiddenSeries": false,
  7939. "id": 154,
  7940. "legend": {
  7941. "alignAsTable": true,
  7942. "avg": false,
  7943. "current": false,
  7944. "max": false,
  7945. "min": false,
  7946. "show": true,
  7947. "total": false,
  7948. "values": false
  7949. },
  7950. "lines": true,
  7951. "linewidth": 1,
  7952. "nullPointMode": "null",
  7953. "options": {
  7954. "alertThreshold": true
  7955. },
  7956. "percentage": false,
  7957. "pluginVersion": "9.0.4",
  7958. "pointradius": 2,
  7959. "points": false,
  7960. "renderer": "flot",
  7961. "seriesOverrides": [],
  7962. "spaceLength": 10,
  7963. "stack": false,
  7964. "steppedLine": false,
  7965. "targets": [
  7966. {
  7967. "datasource": {
  7968. "uid": "$datasource"
  7969. },
  7970. "expr": "rate(synapse_util_metrics_block_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  7971. "interval": "",
  7972. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  7973. "refId": "A"
  7974. }
  7975. ],
  7976. "thresholds": [],
  7977. "timeRegions": [],
  7978. "title": "Block count",
  7979. "tooltip": {
  7980. "shared": true,
  7981. "sort": 2,
  7982. "value_type": "individual"
  7983. },
  7984. "type": "graph",
  7985. "xaxis": {
  7986. "mode": "time",
  7987. "show": true,
  7988. "values": []
  7989. },
  7990. "yaxes": [
  7991. {
  7992. "format": "hertz",
  7993. "logBase": 1,
  7994. "show": true
  7995. },
  7996. {
  7997. "format": "short",
  7998. "logBase": 1,
  7999. "show": true
  8000. }
  8001. ],
  8002. "yaxis": {
  8003. "align": false
  8004. }
  8005. }
  8006. ],
  8007. "targets": [
  8008. {
  8009. "datasource": {
  8010. "type": "prometheus",
  8011. "uid": "000000001"
  8012. },
  8013. "refId": "A"
  8014. }
  8015. ],
  8016. "title": "Per-block metrics",
  8017. "type": "row"
  8018. },
  8019. {
  8020. "collapsed": true,
  8021. "datasource": {
  8022. "type": "prometheus",
  8023. "uid": "000000001"
  8024. },
  8025. "gridPos": {
  8026. "h": 1,
  8027. "w": 24,
  8028. "x": 0,
  8029. "y": 36
  8030. },
  8031. "id": 61,
  8032. "panels": [
  8033. {
  8034. "aliasColors": {},
  8035. "bars": false,
  8036. "dashLength": 10,
  8037. "dashes": false,
  8038. "datasource": {
  8039. "uid": "$datasource"
  8040. },
  8041. "decimals": 2,
  8042. "editable": true,
  8043. "error": false,
  8044. "fieldConfig": {
  8045. "defaults": {
  8046. "links": []
  8047. },
  8048. "overrides": []
  8049. },
  8050. "fill": 0,
  8051. "fillGradient": 0,
  8052. "grid": {},
  8053. "gridPos": {
  8054. "h": 10,
  8055. "w": 12,
  8056. "x": 0,
  8057. "y": 36
  8058. },
  8059. "hiddenSeries": false,
  8060. "id": 1,
  8061. "legend": {
  8062. "alignAsTable": true,
  8063. "avg": false,
  8064. "current": false,
  8065. "hideEmpty": true,
  8066. "hideZero": false,
  8067. "max": false,
  8068. "min": false,
  8069. "show": true,
  8070. "total": false,
  8071. "values": false
  8072. },
  8073. "lines": true,
  8074. "linewidth": 2,
  8075. "links": [],
  8076. "nullPointMode": "null",
  8077. "options": {
  8078. "alertThreshold": true
  8079. },
  8080. "percentage": false,
  8081. "pluginVersion": "9.0.4",
  8082. "pointradius": 5,
  8083. "points": false,
  8084. "renderer": "flot",
  8085. "seriesOverrides": [],
  8086. "spaceLength": 10,
  8087. "stack": false,
  8088. "steppedLine": false,
  8089. "targets": [
  8090. {
  8091. "datasource": {
  8092. "uid": "$datasource"
  8093. },
  8094. "expr": "rate(synapse_util_caches_cache_hits{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])/rate(synapse_util_caches_cache{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  8095. "format": "time_series",
  8096. "intervalFactor": 2,
  8097. "legendFormat": "{{name}} {{job}}-{{index}}",
  8098. "refId": "A",
  8099. "step": 20
  8100. }
  8101. ],
  8102. "thresholds": [],
  8103. "timeRegions": [],
  8104. "title": "Cache Hit Ratio",
  8105. "tooltip": {
  8106. "msResolution": true,
  8107. "shared": false,
  8108. "sort": 0,
  8109. "value_type": "cumulative"
  8110. },
  8111. "type": "graph",
  8112. "xaxis": {
  8113. "mode": "time",
  8114. "show": true,
  8115. "values": []
  8116. },
  8117. "yaxes": [
  8118. {
  8119. "format": "percentunit",
  8120. "label": "",
  8121. "logBase": 1,
  8122. "max": "1",
  8123. "min": 0,
  8124. "show": true
  8125. },
  8126. {
  8127. "format": "short",
  8128. "logBase": 1,
  8129. "show": false
  8130. }
  8131. ],
  8132. "yaxis": {
  8133. "align": false
  8134. }
  8135. },
  8136. {
  8137. "aliasColors": {},
  8138. "bars": false,
  8139. "dashLength": 10,
  8140. "dashes": false,
  8141. "datasource": {
  8142. "uid": "$datasource"
  8143. },
  8144. "editable": true,
  8145. "error": false,
  8146. "fieldConfig": {
  8147. "defaults": {
  8148. "links": []
  8149. },
  8150. "overrides": []
  8151. },
  8152. "fill": 1,
  8153. "fillGradient": 0,
  8154. "grid": {},
  8155. "gridPos": {
  8156. "h": 10,
  8157. "w": 12,
  8158. "x": 12,
  8159. "y": 36
  8160. },
  8161. "hiddenSeries": false,
  8162. "id": 8,
  8163. "legend": {
  8164. "alignAsTable": true,
  8165. "avg": false,
  8166. "current": false,
  8167. "hideZero": false,
  8168. "max": false,
  8169. "min": false,
  8170. "show": true,
  8171. "total": false,
  8172. "values": false
  8173. },
  8174. "lines": true,
  8175. "linewidth": 2,
  8176. "links": [],
  8177. "nullPointMode": "connected",
  8178. "options": {
  8179. "alertThreshold": true
  8180. },
  8181. "percentage": false,
  8182. "pluginVersion": "9.0.4",
  8183. "pointradius": 5,
  8184. "points": false,
  8185. "renderer": "flot",
  8186. "seriesOverrides": [],
  8187. "spaceLength": 10,
  8188. "stack": false,
  8189. "steppedLine": false,
  8190. "targets": [
  8191. {
  8192. "datasource": {
  8193. "uid": "$datasource"
  8194. },
  8195. "expr": "synapse_util_caches_cache_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  8196. "format": "time_series",
  8197. "hide": false,
  8198. "interval": "",
  8199. "intervalFactor": 2,
  8200. "legendFormat": "{{name}} {{job}}-{{index}}",
  8201. "refId": "A",
  8202. "step": 20
  8203. }
  8204. ],
  8205. "thresholds": [],
  8206. "timeRegions": [],
  8207. "title": "Cache Size",
  8208. "tooltip": {
  8209. "shared": false,
  8210. "sort": 0,
  8211. "value_type": "cumulative"
  8212. },
  8213. "type": "graph",
  8214. "xaxis": {
  8215. "mode": "time",
  8216. "show": true,
  8217. "values": []
  8218. },
  8219. "yaxes": [
  8220. {
  8221. "format": "short",
  8222. "logBase": 1,
  8223. "min": 0,
  8224. "show": true
  8225. },
  8226. {
  8227. "format": "short",
  8228. "logBase": 1,
  8229. "show": true
  8230. }
  8231. ],
  8232. "yaxis": {
  8233. "align": false
  8234. }
  8235. },
  8236. {
  8237. "aliasColors": {},
  8238. "bars": false,
  8239. "dashLength": 10,
  8240. "dashes": false,
  8241. "datasource": {
  8242. "uid": "$datasource"
  8243. },
  8244. "editable": true,
  8245. "error": false,
  8246. "fieldConfig": {
  8247. "defaults": {
  8248. "links": []
  8249. },
  8250. "overrides": []
  8251. },
  8252. "fill": 1,
  8253. "fillGradient": 0,
  8254. "grid": {},
  8255. "gridPos": {
  8256. "h": 10,
  8257. "w": 12,
  8258. "x": 0,
  8259. "y": 46
  8260. },
  8261. "hiddenSeries": false,
  8262. "id": 38,
  8263. "legend": {
  8264. "alignAsTable": true,
  8265. "avg": false,
  8266. "current": false,
  8267. "hideZero": false,
  8268. "max": false,
  8269. "min": false,
  8270. "show": true,
  8271. "total": false,
  8272. "values": false
  8273. },
  8274. "lines": true,
  8275. "linewidth": 2,
  8276. "links": [],
  8277. "nullPointMode": "connected",
  8278. "options": {
  8279. "alertThreshold": true
  8280. },
  8281. "percentage": false,
  8282. "pluginVersion": "9.0.4",
  8283. "pointradius": 5,
  8284. "points": false,
  8285. "renderer": "flot",
  8286. "seriesOverrides": [],
  8287. "spaceLength": 10,
  8288. "stack": false,
  8289. "steppedLine": false,
  8290. "targets": [
  8291. {
  8292. "datasource": {
  8293. "uid": "$datasource"
  8294. },
  8295. "expr": "rate(synapse_util_caches_cache{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  8296. "format": "time_series",
  8297. "interval": "",
  8298. "intervalFactor": 2,
  8299. "legendFormat": "{{name}} {{job}}-{{index}}",
  8300. "refId": "A",
  8301. "step": 20
  8302. }
  8303. ],
  8304. "thresholds": [],
  8305. "timeRegions": [],
  8306. "title": "Cache request rate",
  8307. "tooltip": {
  8308. "shared": false,
  8309. "sort": 0,
  8310. "value_type": "cumulative"
  8311. },
  8312. "type": "graph",
  8313. "xaxis": {
  8314. "mode": "time",
  8315. "show": true,
  8316. "values": []
  8317. },
  8318. "yaxes": [
  8319. {
  8320. "format": "rps",
  8321. "logBase": 1,
  8322. "min": 0,
  8323. "show": true
  8324. },
  8325. {
  8326. "format": "short",
  8327. "logBase": 1,
  8328. "show": true
  8329. }
  8330. ],
  8331. "yaxis": {
  8332. "align": false
  8333. }
  8334. },
  8335. {
  8336. "aliasColors": {},
  8337. "bars": false,
  8338. "dashLength": 10,
  8339. "dashes": false,
  8340. "datasource": {
  8341. "uid": "$datasource"
  8342. },
  8343. "fieldConfig": {
  8344. "defaults": {
  8345. "links": []
  8346. },
  8347. "overrides": []
  8348. },
  8349. "fill": 1,
  8350. "fillGradient": 0,
  8351. "gridPos": {
  8352. "h": 10,
  8353. "w": 12,
  8354. "x": 12,
  8355. "y": 46
  8356. },
  8357. "hiddenSeries": false,
  8358. "id": 39,
  8359. "legend": {
  8360. "alignAsTable": true,
  8361. "avg": false,
  8362. "current": false,
  8363. "hideEmpty": false,
  8364. "hideZero": false,
  8365. "max": true,
  8366. "min": false,
  8367. "rightSide": false,
  8368. "show": true,
  8369. "sort": "max",
  8370. "sortDesc": true,
  8371. "total": false,
  8372. "values": true
  8373. },
  8374. "lines": true,
  8375. "linewidth": 1,
  8376. "links": [],
  8377. "nullPointMode": "null",
  8378. "options": {
  8379. "alertThreshold": true
  8380. },
  8381. "percentage": false,
  8382. "pluginVersion": "9.0.4",
  8383. "pointradius": 5,
  8384. "points": false,
  8385. "renderer": "flot",
  8386. "seriesOverrides": [],
  8387. "spaceLength": 10,
  8388. "stack": false,
  8389. "steppedLine": false,
  8390. "targets": [
  8391. {
  8392. "datasource": {
  8393. "uid": "$datasource"
  8394. },
  8395. "expr": "topk(10, rate(synapse_util_caches_cache{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]) - rate(synapse_util_caches_cache_hits{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  8396. "format": "time_series",
  8397. "interval": "",
  8398. "intervalFactor": 2,
  8399. "legendFormat": "{{name}} {{job}}-{{index}}",
  8400. "refId": "A",
  8401. "step": 20
  8402. }
  8403. ],
  8404. "thresholds": [],
  8405. "timeRegions": [],
  8406. "title": "Top 10 cache misses",
  8407. "tooltip": {
  8408. "shared": false,
  8409. "sort": 0,
  8410. "value_type": "individual"
  8411. },
  8412. "type": "graph",
  8413. "xaxis": {
  8414. "mode": "time",
  8415. "show": true,
  8416. "values": []
  8417. },
  8418. "yaxes": [
  8419. {
  8420. "$$hashKey": "object:101",
  8421. "format": "rps",
  8422. "logBase": 1,
  8423. "show": true
  8424. },
  8425. {
  8426. "$$hashKey": "object:102",
  8427. "format": "short",
  8428. "logBase": 1,
  8429. "show": true
  8430. }
  8431. ],
  8432. "yaxis": {
  8433. "align": false
  8434. }
  8435. },
  8436. {
  8437. "aliasColors": {},
  8438. "bars": false,
  8439. "dashLength": 10,
  8440. "dashes": false,
  8441. "datasource": {
  8442. "uid": "$datasource"
  8443. },
  8444. "fieldConfig": {
  8445. "defaults": {
  8446. "links": []
  8447. },
  8448. "overrides": []
  8449. },
  8450. "fill": 1,
  8451. "fillGradient": 0,
  8452. "gridPos": {
  8453. "h": 9,
  8454. "w": 12,
  8455. "x": 0,
  8456. "y": 56
  8457. },
  8458. "hiddenSeries": false,
  8459. "id": 65,
  8460. "legend": {
  8461. "alignAsTable": true,
  8462. "avg": false,
  8463. "current": false,
  8464. "max": false,
  8465. "min": false,
  8466. "show": true,
  8467. "total": false,
  8468. "values": false
  8469. },
  8470. "lines": true,
  8471. "linewidth": 1,
  8472. "links": [],
  8473. "nullPointMode": "null",
  8474. "options": {
  8475. "alertThreshold": true
  8476. },
  8477. "percentage": false,
  8478. "pluginVersion": "9.0.4",
  8479. "pointradius": 5,
  8480. "points": false,
  8481. "renderer": "flot",
  8482. "seriesOverrides": [],
  8483. "spaceLength": 10,
  8484. "stack": false,
  8485. "steppedLine": false,
  8486. "targets": [
  8487. {
  8488. "datasource": {
  8489. "uid": "$datasource"
  8490. },
  8491. "expr": "rate(synapse_util_caches_cache_evicted_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  8492. "format": "time_series",
  8493. "interval": "",
  8494. "intervalFactor": 1,
  8495. "legendFormat": "{{name}} ({{reason}}) {{job}}-{{index}}",
  8496. "refId": "A"
  8497. }
  8498. ],
  8499. "thresholds": [],
  8500. "timeRegions": [],
  8501. "title": "Cache eviction rate",
  8502. "tooltip": {
  8503. "shared": false,
  8504. "sort": 0,
  8505. "value_type": "individual"
  8506. },
  8507. "type": "graph",
  8508. "xaxis": {
  8509. "mode": "time",
  8510. "show": true,
  8511. "values": []
  8512. },
  8513. "yaxes": [
  8514. {
  8515. "format": "hertz",
  8516. "label": "entries / second",
  8517. "logBase": 1,
  8518. "show": true
  8519. },
  8520. {
  8521. "format": "short",
  8522. "logBase": 1,
  8523. "show": true
  8524. }
  8525. ],
  8526. "yaxis": {
  8527. "align": false
  8528. }
  8529. }
  8530. ],
  8531. "targets": [
  8532. {
  8533. "datasource": {
  8534. "type": "prometheus",
  8535. "uid": "000000001"
  8536. },
  8537. "refId": "A"
  8538. }
  8539. ],
  8540. "title": "Caches",
  8541. "type": "row"
  8542. },
  8543. {
  8544. "collapsed": true,
  8545. "datasource": {
  8546. "type": "prometheus",
  8547. "uid": "000000001"
  8548. },
  8549. "gridPos": {
  8550. "h": 1,
  8551. "w": 24,
  8552. "x": 0,
  8553. "y": 37
  8554. },
  8555. "id": 148,
  8556. "panels": [
  8557. {
  8558. "aliasColors": {},
  8559. "bars": false,
  8560. "dashLength": 10,
  8561. "dashes": false,
  8562. "datasource": {
  8563. "uid": "$datasource"
  8564. },
  8565. "fieldConfig": {
  8566. "defaults": {
  8567. "custom": {},
  8568. "links": []
  8569. },
  8570. "overrides": []
  8571. },
  8572. "fill": 1,
  8573. "fillGradient": 0,
  8574. "gridPos": {
  8575. "h": 8,
  8576. "w": 12,
  8577. "x": 0,
  8578. "y": 29
  8579. },
  8580. "hiddenSeries": false,
  8581. "id": 146,
  8582. "legend": {
  8583. "avg": false,
  8584. "current": false,
  8585. "max": false,
  8586. "min": false,
  8587. "show": true,
  8588. "total": false,
  8589. "values": false
  8590. },
  8591. "lines": true,
  8592. "linewidth": 1,
  8593. "nullPointMode": "null",
  8594. "options": {
  8595. "alertThreshold": true
  8596. },
  8597. "percentage": false,
  8598. "pluginVersion": "7.3.7",
  8599. "pointradius": 2,
  8600. "points": false,
  8601. "renderer": "flot",
  8602. "seriesOverrides": [],
  8603. "spaceLength": 10,
  8604. "stack": false,
  8605. "steppedLine": false,
  8606. "targets": [
  8607. {
  8608. "datasource": {
  8609. "uid": "$datasource"
  8610. },
  8611. "expr": "synapse_util_caches_response_cache_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  8612. "interval": "",
  8613. "legendFormat": "{{name}} {{job}}-{{index}}",
  8614. "refId": "A"
  8615. }
  8616. ],
  8617. "thresholds": [],
  8618. "timeRegions": [],
  8619. "title": "Response cache size",
  8620. "tooltip": {
  8621. "shared": false,
  8622. "sort": 0,
  8623. "value_type": "individual"
  8624. },
  8625. "type": "graph",
  8626. "xaxis": {
  8627. "mode": "time",
  8628. "show": true,
  8629. "values": []
  8630. },
  8631. "yaxes": [
  8632. {
  8633. "format": "short",
  8634. "logBase": 1,
  8635. "show": true
  8636. },
  8637. {
  8638. "format": "short",
  8639. "logBase": 1,
  8640. "show": true
  8641. }
  8642. ],
  8643. "yaxis": {
  8644. "align": false
  8645. }
  8646. },
  8647. {
  8648. "aliasColors": {},
  8649. "bars": false,
  8650. "dashLength": 10,
  8651. "dashes": false,
  8652. "datasource": {
  8653. "uid": "$datasource"
  8654. },
  8655. "fieldConfig": {
  8656. "defaults": {
  8657. "custom": {},
  8658. "links": []
  8659. },
  8660. "overrides": []
  8661. },
  8662. "fill": 1,
  8663. "fillGradient": 0,
  8664. "gridPos": {
  8665. "h": 8,
  8666. "w": 12,
  8667. "x": 12,
  8668. "y": 29
  8669. },
  8670. "hiddenSeries": false,
  8671. "id": 150,
  8672. "legend": {
  8673. "avg": false,
  8674. "current": false,
  8675. "max": false,
  8676. "min": false,
  8677. "show": true,
  8678. "total": false,
  8679. "values": false
  8680. },
  8681. "lines": true,
  8682. "linewidth": 1,
  8683. "nullPointMode": "null",
  8684. "options": {
  8685. "alertThreshold": true
  8686. },
  8687. "percentage": false,
  8688. "pluginVersion": "7.3.7",
  8689. "pointradius": 2,
  8690. "points": false,
  8691. "renderer": "flot",
  8692. "seriesOverrides": [],
  8693. "spaceLength": 10,
  8694. "stack": false,
  8695. "steppedLine": false,
  8696. "targets": [
  8697. {
  8698. "datasource": {
  8699. "uid": "$datasource"
  8700. },
  8701. "expr": "rate(synapse_util_caches_response_cache_hits{instance=\"$instance\", job=~\"$job\", index=~\"$index\"}[$bucket_size])/rate(synapse_util_caches_response_cache{instance=\"$instance\", job=~\"$job\", index=~\"$index\"}[$bucket_size])",
  8702. "interval": "",
  8703. "legendFormat": "{{name}} {{job}}-{{index}}",
  8704. "refId": "A"
  8705. },
  8706. {
  8707. "datasource": {
  8708. "uid": "$datasource"
  8709. },
  8710. "expr": "",
  8711. "interval": "",
  8712. "legendFormat": "",
  8713. "refId": "B"
  8714. }
  8715. ],
  8716. "thresholds": [],
  8717. "timeRegions": [],
  8718. "title": "Response cache hit rate",
  8719. "tooltip": {
  8720. "shared": false,
  8721. "sort": 0,
  8722. "value_type": "individual"
  8723. },
  8724. "type": "graph",
  8725. "xaxis": {
  8726. "mode": "time",
  8727. "show": true,
  8728. "values": []
  8729. },
  8730. "yaxes": [
  8731. {
  8732. "format": "percentunit",
  8733. "logBase": 1,
  8734. "max": "1",
  8735. "min": "0",
  8736. "show": true
  8737. },
  8738. {
  8739. "format": "short",
  8740. "logBase": 1,
  8741. "show": true
  8742. }
  8743. ],
  8744. "yaxis": {
  8745. "align": false
  8746. }
  8747. }
  8748. ],
  8749. "targets": [
  8750. {
  8751. "datasource": {
  8752. "type": "prometheus",
  8753. "uid": "000000001"
  8754. },
  8755. "refId": "A"
  8756. }
  8757. ],
  8758. "title": "Response caches",
  8759. "type": "row"
  8760. },
  8761. {
  8762. "collapsed": true,
  8763. "datasource": {
  8764. "type": "prometheus",
  8765. "uid": "000000001"
  8766. },
  8767. "gridPos": {
  8768. "h": 1,
  8769. "w": 24,
  8770. "x": 0,
  8771. "y": 38
  8772. },
  8773. "id": 62,
  8774. "panels": [
  8775. {
  8776. "aliasColors": {},
  8777. "bars": false,
  8778. "dashLength": 10,
  8779. "dashes": false,
  8780. "datasource": {
  8781. "uid": "$datasource"
  8782. },
  8783. "fieldConfig": {
  8784. "defaults": {
  8785. "custom": {},
  8786. "links": []
  8787. },
  8788. "overrides": []
  8789. },
  8790. "fill": 1,
  8791. "fillGradient": 0,
  8792. "gridPos": {
  8793. "h": 9,
  8794. "w": 12,
  8795. "x": 0,
  8796. "y": 30
  8797. },
  8798. "hiddenSeries": false,
  8799. "id": 91,
  8800. "legend": {
  8801. "avg": false,
  8802. "current": false,
  8803. "max": false,
  8804. "min": false,
  8805. "show": true,
  8806. "total": false,
  8807. "values": false
  8808. },
  8809. "lines": true,
  8810. "linewidth": 1,
  8811. "links": [],
  8812. "nullPointMode": "null",
  8813. "options": {
  8814. "alertThreshold": true
  8815. },
  8816. "percentage": false,
  8817. "pluginVersion": "7.3.7",
  8818. "pointradius": 5,
  8819. "points": false,
  8820. "renderer": "flot",
  8821. "seriesOverrides": [],
  8822. "spaceLength": 10,
  8823. "stack": true,
  8824. "steppedLine": false,
  8825. "targets": [
  8826. {
  8827. "datasource": {
  8828. "uid": "$datasource"
  8829. },
  8830. "expr": "rate(python_gc_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[10m])",
  8831. "format": "time_series",
  8832. "instant": false,
  8833. "intervalFactor": 1,
  8834. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  8835. "refId": "A"
  8836. }
  8837. ],
  8838. "thresholds": [],
  8839. "timeRegions": [],
  8840. "title": "Total GC time by bucket (10m smoothing)",
  8841. "tooltip": {
  8842. "shared": true,
  8843. "sort": 0,
  8844. "value_type": "individual"
  8845. },
  8846. "type": "graph",
  8847. "xaxis": {
  8848. "mode": "time",
  8849. "show": true,
  8850. "values": []
  8851. },
  8852. "yaxes": [
  8853. {
  8854. "format": "percentunit",
  8855. "logBase": 1,
  8856. "min": "0",
  8857. "show": true
  8858. },
  8859. {
  8860. "format": "short",
  8861. "logBase": 1,
  8862. "show": true
  8863. }
  8864. ],
  8865. "yaxis": {
  8866. "align": false
  8867. }
  8868. },
  8869. {
  8870. "aliasColors": {},
  8871. "bars": false,
  8872. "dashLength": 10,
  8873. "dashes": false,
  8874. "datasource": {
  8875. "uid": "$datasource"
  8876. },
  8877. "decimals": 3,
  8878. "editable": true,
  8879. "error": false,
  8880. "fieldConfig": {
  8881. "defaults": {
  8882. "custom": {},
  8883. "links": []
  8884. },
  8885. "overrides": []
  8886. },
  8887. "fill": 1,
  8888. "fillGradient": 0,
  8889. "grid": {},
  8890. "gridPos": {
  8891. "h": 9,
  8892. "w": 12,
  8893. "x": 12,
  8894. "y": 30
  8895. },
  8896. "hiddenSeries": false,
  8897. "id": 21,
  8898. "legend": {
  8899. "alignAsTable": true,
  8900. "avg": false,
  8901. "current": false,
  8902. "max": false,
  8903. "min": false,
  8904. "show": true,
  8905. "total": false,
  8906. "values": false
  8907. },
  8908. "lines": true,
  8909. "linewidth": 2,
  8910. "links": [],
  8911. "nullPointMode": "null as zero",
  8912. "options": {
  8913. "alertThreshold": true
  8914. },
  8915. "percentage": false,
  8916. "pluginVersion": "7.3.7",
  8917. "pointradius": 5,
  8918. "points": false,
  8919. "renderer": "flot",
  8920. "seriesOverrides": [],
  8921. "spaceLength": 10,
  8922. "stack": false,
  8923. "steppedLine": false,
  8924. "targets": [
  8925. {
  8926. "datasource": {
  8927. "uid": "$datasource"
  8928. },
  8929. "expr": "rate(python_gc_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(python_gc_time_count[$bucket_size])",
  8930. "format": "time_series",
  8931. "intervalFactor": 2,
  8932. "legendFormat": "{{job}} {{index}} gen {{gen}} ",
  8933. "refId": "A",
  8934. "step": 20,
  8935. "target": ""
  8936. }
  8937. ],
  8938. "thresholds": [],
  8939. "timeRegions": [],
  8940. "title": "Average GC Time Per Collection",
  8941. "tooltip": {
  8942. "shared": false,
  8943. "sort": 0,
  8944. "value_type": "cumulative"
  8945. },
  8946. "type": "graph",
  8947. "xaxis": {
  8948. "mode": "time",
  8949. "show": true,
  8950. "values": []
  8951. },
  8952. "yaxes": [
  8953. {
  8954. "format": "s",
  8955. "logBase": 1,
  8956. "show": true
  8957. },
  8958. {
  8959. "format": "short",
  8960. "logBase": 1,
  8961. "show": true
  8962. }
  8963. ],
  8964. "yaxis": {
  8965. "align": false
  8966. }
  8967. },
  8968. {
  8969. "aliasColors": {},
  8970. "bars": false,
  8971. "dashLength": 10,
  8972. "dashes": false,
  8973. "datasource": {
  8974. "uid": "$datasource"
  8975. },
  8976. "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.",
  8977. "fieldConfig": {
  8978. "defaults": {
  8979. "custom": {},
  8980. "links": []
  8981. },
  8982. "overrides": []
  8983. },
  8984. "fill": 1,
  8985. "fillGradient": 0,
  8986. "gridPos": {
  8987. "h": 9,
  8988. "w": 12,
  8989. "x": 0,
  8990. "y": 39
  8991. },
  8992. "hiddenSeries": false,
  8993. "id": 89,
  8994. "legend": {
  8995. "avg": false,
  8996. "current": false,
  8997. "hideEmpty": true,
  8998. "hideZero": false,
  8999. "max": false,
  9000. "min": false,
  9001. "show": true,
  9002. "total": false,
  9003. "values": false
  9004. },
  9005. "lines": true,
  9006. "linewidth": 1,
  9007. "links": [],
  9008. "nullPointMode": "null",
  9009. "options": {
  9010. "alertThreshold": true
  9011. },
  9012. "percentage": false,
  9013. "pluginVersion": "7.3.7",
  9014. "pointradius": 5,
  9015. "points": false,
  9016. "renderer": "flot",
  9017. "seriesOverrides": [
  9018. {
  9019. "alias": "/gen 0$/",
  9020. "yaxis": 2
  9021. }
  9022. ],
  9023. "spaceLength": 10,
  9024. "stack": false,
  9025. "steppedLine": false,
  9026. "targets": [
  9027. {
  9028. "datasource": {
  9029. "uid": "$datasource"
  9030. },
  9031. "expr": "python_gc_counts{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  9032. "format": "time_series",
  9033. "intervalFactor": 1,
  9034. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  9035. "refId": "A"
  9036. }
  9037. ],
  9038. "thresholds": [],
  9039. "timeRegions": [],
  9040. "title": "Allocation counts",
  9041. "tooltip": {
  9042. "shared": false,
  9043. "sort": 0,
  9044. "value_type": "individual"
  9045. },
  9046. "type": "graph",
  9047. "xaxis": {
  9048. "mode": "time",
  9049. "show": true,
  9050. "values": []
  9051. },
  9052. "yaxes": [
  9053. {
  9054. "format": "short",
  9055. "label": "Gen N-1 GCs since last Gen N GC",
  9056. "logBase": 1,
  9057. "show": true
  9058. },
  9059. {
  9060. "format": "short",
  9061. "label": "Objects since last Gen 0 GC",
  9062. "logBase": 1,
  9063. "show": true
  9064. }
  9065. ],
  9066. "yaxis": {
  9067. "align": false
  9068. }
  9069. },
  9070. {
  9071. "aliasColors": {},
  9072. "bars": false,
  9073. "dashLength": 10,
  9074. "dashes": false,
  9075. "datasource": {
  9076. "uid": "$datasource"
  9077. },
  9078. "fieldConfig": {
  9079. "defaults": {
  9080. "custom": {},
  9081. "links": []
  9082. },
  9083. "overrides": []
  9084. },
  9085. "fill": 1,
  9086. "fillGradient": 0,
  9087. "gridPos": {
  9088. "h": 9,
  9089. "w": 12,
  9090. "x": 12,
  9091. "y": 39
  9092. },
  9093. "hiddenSeries": false,
  9094. "id": 93,
  9095. "legend": {
  9096. "avg": false,
  9097. "current": false,
  9098. "max": false,
  9099. "min": false,
  9100. "show": true,
  9101. "total": false,
  9102. "values": false
  9103. },
  9104. "lines": true,
  9105. "linewidth": 1,
  9106. "links": [],
  9107. "nullPointMode": "connected",
  9108. "options": {
  9109. "alertThreshold": true
  9110. },
  9111. "percentage": false,
  9112. "pluginVersion": "7.3.7",
  9113. "pointradius": 5,
  9114. "points": false,
  9115. "renderer": "flot",
  9116. "seriesOverrides": [],
  9117. "spaceLength": 10,
  9118. "stack": false,
  9119. "steppedLine": false,
  9120. "targets": [
  9121. {
  9122. "datasource": {
  9123. "uid": "$datasource"
  9124. },
  9125. "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])",
  9126. "format": "time_series",
  9127. "intervalFactor": 1,
  9128. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  9129. "refId": "A"
  9130. }
  9131. ],
  9132. "thresholds": [],
  9133. "timeRegions": [],
  9134. "title": "Object counts per collection",
  9135. "tooltip": {
  9136. "shared": true,
  9137. "sort": 0,
  9138. "value_type": "individual"
  9139. },
  9140. "type": "graph",
  9141. "xaxis": {
  9142. "mode": "time",
  9143. "show": true,
  9144. "values": []
  9145. },
  9146. "yaxes": [
  9147. {
  9148. "format": "short",
  9149. "logBase": 1,
  9150. "show": true
  9151. },
  9152. {
  9153. "format": "short",
  9154. "logBase": 1,
  9155. "show": true
  9156. }
  9157. ],
  9158. "yaxis": {
  9159. "align": false
  9160. }
  9161. },
  9162. {
  9163. "aliasColors": {},
  9164. "bars": false,
  9165. "dashLength": 10,
  9166. "dashes": false,
  9167. "datasource": {
  9168. "uid": "$datasource"
  9169. },
  9170. "fieldConfig": {
  9171. "defaults": {
  9172. "custom": {},
  9173. "links": []
  9174. },
  9175. "overrides": []
  9176. },
  9177. "fill": 1,
  9178. "fillGradient": 0,
  9179. "gridPos": {
  9180. "h": 9,
  9181. "w": 12,
  9182. "x": 0,
  9183. "y": 48
  9184. },
  9185. "hiddenSeries": false,
  9186. "id": 95,
  9187. "legend": {
  9188. "avg": false,
  9189. "current": false,
  9190. "max": false,
  9191. "min": false,
  9192. "show": true,
  9193. "total": false,
  9194. "values": false
  9195. },
  9196. "lines": true,
  9197. "linewidth": 1,
  9198. "links": [],
  9199. "nullPointMode": "null",
  9200. "options": {
  9201. "alertThreshold": true
  9202. },
  9203. "percentage": false,
  9204. "pluginVersion": "7.3.7",
  9205. "pointradius": 5,
  9206. "points": false,
  9207. "renderer": "flot",
  9208. "seriesOverrides": [],
  9209. "spaceLength": 10,
  9210. "stack": false,
  9211. "steppedLine": false,
  9212. "targets": [
  9213. {
  9214. "datasource": {
  9215. "uid": "$datasource"
  9216. },
  9217. "expr": "rate(python_gc_time_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  9218. "format": "time_series",
  9219. "intervalFactor": 1,
  9220. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  9221. "refId": "A"
  9222. }
  9223. ],
  9224. "thresholds": [],
  9225. "timeRegions": [],
  9226. "title": "GC frequency",
  9227. "tooltip": {
  9228. "shared": true,
  9229. "sort": 0,
  9230. "value_type": "individual"
  9231. },
  9232. "type": "graph",
  9233. "xaxis": {
  9234. "mode": "time",
  9235. "show": true,
  9236. "values": []
  9237. },
  9238. "yaxes": [
  9239. {
  9240. "format": "hertz",
  9241. "logBase": 1,
  9242. "show": true
  9243. },
  9244. {
  9245. "format": "short",
  9246. "logBase": 1,
  9247. "show": true
  9248. }
  9249. ],
  9250. "yaxis": {
  9251. "align": false
  9252. }
  9253. },
  9254. {
  9255. "cards": {
  9256. "cardPadding": 0
  9257. },
  9258. "color": {
  9259. "cardColor": "#b4ff00",
  9260. "colorScale": "sqrt",
  9261. "colorScheme": "interpolateSpectral",
  9262. "exponent": 0.5,
  9263. "min": 0,
  9264. "mode": "spectrum"
  9265. },
  9266. "dataFormat": "tsbuckets",
  9267. "datasource": {
  9268. "type": "prometheus",
  9269. "uid": "${DS_PROMETHEUS}"
  9270. },
  9271. "fieldConfig": {
  9272. "defaults": {
  9273. "custom": {}
  9274. },
  9275. "overrides": []
  9276. },
  9277. "gridPos": {
  9278. "h": 9,
  9279. "w": 12,
  9280. "x": 12,
  9281. "y": 48
  9282. },
  9283. "heatmap": {},
  9284. "hideZeroBuckets": true,
  9285. "highlightCards": true,
  9286. "id": 87,
  9287. "legend": {
  9288. "show": true
  9289. },
  9290. "links": [],
  9291. "reverseYBuckets": false,
  9292. "targets": [
  9293. {
  9294. "datasource": {
  9295. "type": "prometheus",
  9296. "uid": "${DS_PROMETHEUS}"
  9297. },
  9298. "expr": "sum(rate(python_gc_time_bucket[$bucket_size])) by (le)",
  9299. "format": "heatmap",
  9300. "intervalFactor": 1,
  9301. "legendFormat": "{{le}}",
  9302. "refId": "A"
  9303. }
  9304. ],
  9305. "title": "GC durations",
  9306. "tooltip": {
  9307. "show": true,
  9308. "showHistogram": false
  9309. },
  9310. "type": "heatmap",
  9311. "xAxis": {
  9312. "show": true
  9313. },
  9314. "yAxis": {
  9315. "format": "s",
  9316. "logBase": 1,
  9317. "show": true
  9318. },
  9319. "yBucketBound": "auto"
  9320. }
  9321. ],
  9322. "targets": [
  9323. {
  9324. "datasource": {
  9325. "type": "prometheus",
  9326. "uid": "000000001"
  9327. },
  9328. "refId": "A"
  9329. }
  9330. ],
  9331. "title": "GC",
  9332. "type": "row"
  9333. },
  9334. {
  9335. "collapsed": true,
  9336. "datasource": {
  9337. "type": "prometheus",
  9338. "uid": "000000001"
  9339. },
  9340. "gridPos": {
  9341. "h": 1,
  9342. "w": 24,
  9343. "x": 0,
  9344. "y": 39
  9345. },
  9346. "id": 63,
  9347. "panels": [
  9348. {
  9349. "aliasColors": {},
  9350. "bars": false,
  9351. "dashLength": 10,
  9352. "dashes": false,
  9353. "datasource": {
  9354. "type": "prometheus",
  9355. "uid": "$datasource"
  9356. },
  9357. "fieldConfig": {
  9358. "defaults": {
  9359. "links": []
  9360. },
  9361. "overrides": []
  9362. },
  9363. "fill": 1,
  9364. "fillGradient": 0,
  9365. "gridPos": {
  9366. "h": 7,
  9367. "w": 12,
  9368. "x": 0,
  9369. "y": 40
  9370. },
  9371. "hiddenSeries": false,
  9372. "id": 43,
  9373. "legend": {
  9374. "avg": false,
  9375. "current": false,
  9376. "max": false,
  9377. "min": false,
  9378. "show": true,
  9379. "total": false,
  9380. "values": false
  9381. },
  9382. "lines": true,
  9383. "linewidth": 1,
  9384. "links": [],
  9385. "nullPointMode": "null",
  9386. "options": {
  9387. "alertThreshold": true
  9388. },
  9389. "paceLength": 10,
  9390. "percentage": false,
  9391. "pluginVersion": "9.0.4",
  9392. "pointradius": 5,
  9393. "points": false,
  9394. "renderer": "flot",
  9395. "seriesOverrides": [],
  9396. "spaceLength": 10,
  9397. "stack": false,
  9398. "steppedLine": false,
  9399. "targets": [
  9400. {
  9401. "datasource": {
  9402. "uid": "$datasource"
  9403. },
  9404. "expr": "sum (rate(synapse_replication_tcp_protocol_outbound_commands_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (name, conn_id)",
  9405. "format": "time_series",
  9406. "intervalFactor": 2,
  9407. "legendFormat": "{{job}}-{{index}} {{command}}",
  9408. "refId": "A",
  9409. "step": 20
  9410. }
  9411. ],
  9412. "thresholds": [],
  9413. "timeRegions": [],
  9414. "title": "Rate of outgoing commands",
  9415. "tooltip": {
  9416. "shared": false,
  9417. "sort": 0,
  9418. "value_type": "individual"
  9419. },
  9420. "type": "graph",
  9421. "xaxis": {
  9422. "mode": "time",
  9423. "show": true,
  9424. "values": []
  9425. },
  9426. "yaxes": [
  9427. {
  9428. "$$hashKey": "object:89",
  9429. "format": "hertz",
  9430. "logBase": 1,
  9431. "show": true
  9432. },
  9433. {
  9434. "$$hashKey": "object:90",
  9435. "format": "short",
  9436. "logBase": 1,
  9437. "show": true
  9438. }
  9439. ],
  9440. "yaxis": {
  9441. "align": false
  9442. }
  9443. },
  9444. {
  9445. "datasource": {
  9446. "type": "prometheus",
  9447. "uid": "$datasource"
  9448. },
  9449. "fieldConfig": {
  9450. "defaults": {
  9451. "color": {
  9452. "mode": "palette-classic"
  9453. },
  9454. "custom": {
  9455. "axisLabel": "",
  9456. "axisPlacement": "auto",
  9457. "barAlignment": 0,
  9458. "drawStyle": "line",
  9459. "fillOpacity": 10,
  9460. "gradientMode": "none",
  9461. "hideFrom": {
  9462. "legend": false,
  9463. "tooltip": false,
  9464. "viz": false
  9465. },
  9466. "lineInterpolation": "linear",
  9467. "lineWidth": 1,
  9468. "pointSize": 5,
  9469. "scaleDistribution": {
  9470. "type": "linear"
  9471. },
  9472. "showPoints": "never",
  9473. "spanNulls": true,
  9474. "stacking": {
  9475. "group": "A",
  9476. "mode": "none"
  9477. },
  9478. "thresholdsStyle": {
  9479. "mode": "off"
  9480. }
  9481. },
  9482. "links": [],
  9483. "mappings": [],
  9484. "thresholds": {
  9485. "mode": "absolute",
  9486. "steps": [
  9487. {
  9488. "color": "green"
  9489. },
  9490. {
  9491. "color": "red",
  9492. "value": 80
  9493. }
  9494. ]
  9495. },
  9496. "unit": "hertz"
  9497. },
  9498. "overrides": []
  9499. },
  9500. "gridPos": {
  9501. "h": 7,
  9502. "w": 12,
  9503. "x": 12,
  9504. "y": 40
  9505. },
  9506. "id": 41,
  9507. "links": [],
  9508. "options": {
  9509. "legend": {
  9510. "calcs": [],
  9511. "displayMode": "list",
  9512. "placement": "bottom",
  9513. "showLegend": true
  9514. },
  9515. "tooltip": {
  9516. "mode": "single",
  9517. "sort": "none"
  9518. }
  9519. },
  9520. "pluginVersion": "8.4.3",
  9521. "targets": [
  9522. {
  9523. "datasource": {
  9524. "type": "prometheus",
  9525. "uid": "${DS_PROMETHEUS}"
  9526. },
  9527. "exemplar": true,
  9528. "expr": "rate(synapse_replication_tcp_resource_stream_updates_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  9529. "format": "time_series",
  9530. "interval": "",
  9531. "intervalFactor": 2,
  9532. "legendFormat": "{{stream_name}}",
  9533. "refId": "A",
  9534. "step": 20
  9535. }
  9536. ],
  9537. "title": "Rate of outgoing RDATA commands, by stream",
  9538. "type": "timeseries"
  9539. },
  9540. {
  9541. "datasource": {
  9542. "type": "prometheus",
  9543. "uid": "$datasource"
  9544. },
  9545. "fieldConfig": {
  9546. "defaults": {
  9547. "color": {
  9548. "mode": "palette-classic"
  9549. },
  9550. "custom": {
  9551. "axisLabel": "",
  9552. "axisPlacement": "auto",
  9553. "barAlignment": 0,
  9554. "drawStyle": "line",
  9555. "fillOpacity": 10,
  9556. "gradientMode": "none",
  9557. "hideFrom": {
  9558. "legend": false,
  9559. "tooltip": false,
  9560. "viz": false
  9561. },
  9562. "lineInterpolation": "linear",
  9563. "lineWidth": 1,
  9564. "pointSize": 5,
  9565. "scaleDistribution": {
  9566. "type": "linear"
  9567. },
  9568. "showPoints": "never",
  9569. "spanNulls": true,
  9570. "stacking": {
  9571. "group": "A",
  9572. "mode": "none"
  9573. },
  9574. "thresholdsStyle": {
  9575. "mode": "off"
  9576. }
  9577. },
  9578. "links": [],
  9579. "mappings": [],
  9580. "min": 0,
  9581. "thresholds": {
  9582. "mode": "absolute",
  9583. "steps": [
  9584. {
  9585. "color": "green"
  9586. },
  9587. {
  9588. "color": "red",
  9589. "value": 80
  9590. }
  9591. ]
  9592. },
  9593. "unit": "hertz"
  9594. },
  9595. "overrides": []
  9596. },
  9597. "gridPos": {
  9598. "h": 7,
  9599. "w": 12,
  9600. "x": 0,
  9601. "y": 47
  9602. },
  9603. "id": 42,
  9604. "links": [],
  9605. "options": {
  9606. "legend": {
  9607. "calcs": [],
  9608. "displayMode": "list",
  9609. "placement": "bottom",
  9610. "showLegend": true
  9611. },
  9612. "tooltip": {
  9613. "mode": "single",
  9614. "sort": "none"
  9615. }
  9616. },
  9617. "pluginVersion": "8.4.3",
  9618. "targets": [
  9619. {
  9620. "datasource": {
  9621. "type": "prometheus",
  9622. "uid": "${DS_PROMETHEUS}"
  9623. },
  9624. "exemplar": true,
  9625. "expr": "sum (rate(synapse_replication_tcp_protocol_inbound_commands_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (name, conn_id)",
  9626. "format": "time_series",
  9627. "interval": "",
  9628. "intervalFactor": 2,
  9629. "legendFormat": "{{job}}-{{index}} {{command}}",
  9630. "refId": "A",
  9631. "step": 20
  9632. }
  9633. ],
  9634. "title": "Rate of incoming commands (including echoes)",
  9635. "type": "timeseries"
  9636. },
  9637. {
  9638. "datasource": {
  9639. "type": "prometheus",
  9640. "uid": "$datasource"
  9641. },
  9642. "fieldConfig": {
  9643. "defaults": {
  9644. "color": {
  9645. "mode": "palette-classic"
  9646. },
  9647. "custom": {
  9648. "axisLabel": "",
  9649. "axisPlacement": "auto",
  9650. "axisSoftMin": 1,
  9651. "barAlignment": 0,
  9652. "drawStyle": "line",
  9653. "fillOpacity": 10,
  9654. "gradientMode": "none",
  9655. "hideFrom": {
  9656. "legend": false,
  9657. "tooltip": false,
  9658. "viz": false
  9659. },
  9660. "lineInterpolation": "linear",
  9661. "lineWidth": 1,
  9662. "pointSize": 5,
  9663. "scaleDistribution": {
  9664. "type": "linear"
  9665. },
  9666. "showPoints": "never",
  9667. "spanNulls": true,
  9668. "stacking": {
  9669. "group": "A",
  9670. "mode": "none"
  9671. },
  9672. "thresholdsStyle": {
  9673. "mode": "off"
  9674. }
  9675. },
  9676. "links": [],
  9677. "mappings": [],
  9678. "min": 0,
  9679. "thresholds": {
  9680. "mode": "absolute",
  9681. "steps": [
  9682. {
  9683. "color": "green"
  9684. },
  9685. {
  9686. "color": "red",
  9687. "value": 80
  9688. }
  9689. ]
  9690. },
  9691. "unit": "hertz"
  9692. },
  9693. "overrides": []
  9694. },
  9695. "gridPos": {
  9696. "h": 7,
  9697. "w": 12,
  9698. "x": 12,
  9699. "y": 47
  9700. },
  9701. "id": 220,
  9702. "links": [],
  9703. "options": {
  9704. "legend": {
  9705. "calcs": [],
  9706. "displayMode": "list",
  9707. "placement": "bottom",
  9708. "showLegend": true
  9709. },
  9710. "tooltip": {
  9711. "mode": "single",
  9712. "sort": "none"
  9713. }
  9714. },
  9715. "pluginVersion": "8.4.3",
  9716. "targets": [
  9717. {
  9718. "datasource": {
  9719. "type": "prometheus",
  9720. "uid": "${DS_PROMETHEUS}"
  9721. },
  9722. "exemplar": true,
  9723. "expr": "rate(synapse_replication_tcp_protocol_inbound_rdata_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  9724. "format": "time_series",
  9725. "interval": "",
  9726. "intervalFactor": 1,
  9727. "legendFormat": "{{job}}-{{index}} {{stream_name}}",
  9728. "refId": "A",
  9729. "step": 20
  9730. }
  9731. ],
  9732. "title": "Rate of incoming RDATA commands (excluding echoes), by stream",
  9733. "type": "timeseries"
  9734. },
  9735. {
  9736. "aliasColors": {},
  9737. "bars": false,
  9738. "dashLength": 10,
  9739. "dashes": false,
  9740. "datasource": {
  9741. "type": "prometheus",
  9742. "uid": "${DS_PROMETHEUS}"
  9743. },
  9744. "description": "",
  9745. "fieldConfig": {
  9746. "defaults": {
  9747. "links": []
  9748. },
  9749. "overrides": []
  9750. },
  9751. "fill": 1,
  9752. "fillGradient": 0,
  9753. "gridPos": {
  9754. "h": 7,
  9755. "w": 12,
  9756. "x": 0,
  9757. "y": 54
  9758. },
  9759. "hiddenSeries": false,
  9760. "id": 144,
  9761. "legend": {
  9762. "avg": false,
  9763. "current": false,
  9764. "max": false,
  9765. "min": false,
  9766. "show": true,
  9767. "total": false,
  9768. "values": false
  9769. },
  9770. "lines": true,
  9771. "linewidth": 1,
  9772. "nullPointMode": "null",
  9773. "options": {
  9774. "alertThreshold": true
  9775. },
  9776. "percentage": false,
  9777. "pluginVersion": "9.0.4",
  9778. "pointradius": 2,
  9779. "points": false,
  9780. "renderer": "flot",
  9781. "seriesOverrides": [],
  9782. "spaceLength": 10,
  9783. "stack": false,
  9784. "steppedLine": false,
  9785. "targets": [
  9786. {
  9787. "datasource": {
  9788. "type": "prometheus",
  9789. "uid": "${DS_PROMETHEUS}"
  9790. },
  9791. "expr": "synapse_replication_tcp_command_queue{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  9792. "interval": "",
  9793. "legendFormat": "{{stream_name}} {{job}}-{{index}}",
  9794. "refId": "A"
  9795. }
  9796. ],
  9797. "thresholds": [],
  9798. "timeRegions": [],
  9799. "title": "Queued incoming RDATA commands, by stream",
  9800. "tooltip": {
  9801. "shared": false,
  9802. "sort": 0,
  9803. "value_type": "individual"
  9804. },
  9805. "type": "graph",
  9806. "xaxis": {
  9807. "mode": "time",
  9808. "show": true,
  9809. "values": []
  9810. },
  9811. "yaxes": [
  9812. {
  9813. "$$hashKey": "object:218",
  9814. "format": "short",
  9815. "logBase": 1,
  9816. "show": true
  9817. },
  9818. {
  9819. "$$hashKey": "object:219",
  9820. "format": "short",
  9821. "logBase": 1,
  9822. "show": true
  9823. }
  9824. ],
  9825. "yaxis": {
  9826. "align": false
  9827. }
  9828. },
  9829. {
  9830. "aliasColors": {},
  9831. "bars": false,
  9832. "dashLength": 10,
  9833. "dashes": false,
  9834. "datasource": {
  9835. "type": "prometheus",
  9836. "uid": "$datasource"
  9837. },
  9838. "fieldConfig": {
  9839. "defaults": {
  9840. "links": []
  9841. },
  9842. "overrides": []
  9843. },
  9844. "fill": 1,
  9845. "fillGradient": 0,
  9846. "gridPos": {
  9847. "h": 7,
  9848. "w": 12,
  9849. "x": 12,
  9850. "y": 54
  9851. },
  9852. "hiddenSeries": false,
  9853. "id": 115,
  9854. "legend": {
  9855. "avg": false,
  9856. "current": false,
  9857. "max": false,
  9858. "min": false,
  9859. "show": true,
  9860. "total": false,
  9861. "values": false
  9862. },
  9863. "lines": true,
  9864. "linewidth": 1,
  9865. "links": [],
  9866. "nullPointMode": "null",
  9867. "options": {
  9868. "alertThreshold": true
  9869. },
  9870. "paceLength": 10,
  9871. "percentage": false,
  9872. "pluginVersion": "9.0.4",
  9873. "pointradius": 5,
  9874. "points": false,
  9875. "renderer": "flot",
  9876. "seriesOverrides": [],
  9877. "spaceLength": 10,
  9878. "stack": false,
  9879. "steppedLine": false,
  9880. "targets": [
  9881. {
  9882. "datasource": {
  9883. "uid": "$datasource"
  9884. },
  9885. "expr": "rate(synapse_replication_tcp_protocol_close_reason_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  9886. "format": "time_series",
  9887. "intervalFactor": 1,
  9888. "legendFormat": "{{job}}-{{index}} {{reason_type}}",
  9889. "refId": "A"
  9890. }
  9891. ],
  9892. "thresholds": [],
  9893. "timeRegions": [],
  9894. "title": "Replication connection close reasons",
  9895. "tooltip": {
  9896. "shared": true,
  9897. "sort": 0,
  9898. "value_type": "individual"
  9899. },
  9900. "type": "graph",
  9901. "xaxis": {
  9902. "mode": "time",
  9903. "show": true,
  9904. "values": []
  9905. },
  9906. "yaxes": [
  9907. {
  9908. "$$hashKey": "object:260",
  9909. "format": "hertz",
  9910. "logBase": 1,
  9911. "show": true
  9912. },
  9913. {
  9914. "$$hashKey": "object:261",
  9915. "format": "short",
  9916. "logBase": 1,
  9917. "show": true
  9918. }
  9919. ],
  9920. "yaxis": {
  9921. "align": false
  9922. }
  9923. },
  9924. {
  9925. "aliasColors": {},
  9926. "bars": false,
  9927. "dashLength": 10,
  9928. "dashes": false,
  9929. "datasource": {
  9930. "uid": "$datasource"
  9931. },
  9932. "fieldConfig": {
  9933. "defaults": {
  9934. "links": []
  9935. },
  9936. "overrides": []
  9937. },
  9938. "fill": 1,
  9939. "fillGradient": 0,
  9940. "gridPos": {
  9941. "h": 7,
  9942. "w": 12,
  9943. "x": 0,
  9944. "y": 61
  9945. },
  9946. "hiddenSeries": false,
  9947. "id": 113,
  9948. "legend": {
  9949. "avg": false,
  9950. "current": false,
  9951. "max": false,
  9952. "min": false,
  9953. "show": true,
  9954. "total": false,
  9955. "values": false
  9956. },
  9957. "lines": true,
  9958. "linewidth": 1,
  9959. "links": [],
  9960. "nullPointMode": "null",
  9961. "options": {
  9962. "alertThreshold": true
  9963. },
  9964. "paceLength": 10,
  9965. "percentage": false,
  9966. "pluginVersion": "9.0.4",
  9967. "pointradius": 5,
  9968. "points": false,
  9969. "renderer": "flot",
  9970. "seriesOverrides": [],
  9971. "spaceLength": 10,
  9972. "stack": false,
  9973. "steppedLine": false,
  9974. "targets": [
  9975. {
  9976. "datasource": {
  9977. "uid": "$datasource"
  9978. },
  9979. "expr": "synapse_replication_tcp_resource_connections_per_stream{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  9980. "format": "time_series",
  9981. "intervalFactor": 1,
  9982. "legendFormat": "{{job}}-{{index}} {{stream_name}}",
  9983. "refId": "A"
  9984. },
  9985. {
  9986. "datasource": {
  9987. "uid": "$datasource"
  9988. },
  9989. "expr": "synapse_replication_tcp_resource_total_connections{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  9990. "format": "time_series",
  9991. "intervalFactor": 1,
  9992. "legendFormat": "{{job}}-{{index}}",
  9993. "refId": "B"
  9994. }
  9995. ],
  9996. "thresholds": [],
  9997. "timeRegions": [],
  9998. "title": "Replication connections",
  9999. "tooltip": {
  10000. "shared": true,
  10001. "sort": 0,
  10002. "value_type": "individual"
  10003. },
  10004. "type": "graph",
  10005. "xaxis": {
  10006. "mode": "time",
  10007. "show": true,
  10008. "values": []
  10009. },
  10010. "yaxes": [
  10011. {
  10012. "format": "short",
  10013. "logBase": 1,
  10014. "min": "0",
  10015. "show": true
  10016. },
  10017. {
  10018. "format": "short",
  10019. "logBase": 1,
  10020. "show": true
  10021. }
  10022. ],
  10023. "yaxis": {
  10024. "align": false
  10025. }
  10026. }
  10027. ],
  10028. "targets": [
  10029. {
  10030. "datasource": {
  10031. "type": "prometheus",
  10032. "uid": "000000001"
  10033. },
  10034. "refId": "A"
  10035. }
  10036. ],
  10037. "title": "Replication",
  10038. "type": "row"
  10039. },
  10040. {
  10041. "collapsed": true,
  10042. "datasource": {
  10043. "type": "prometheus",
  10044. "uid": "000000001"
  10045. },
  10046. "gridPos": {
  10047. "h": 1,
  10048. "w": 24,
  10049. "x": 0,
  10050. "y": 40
  10051. },
  10052. "id": 69,
  10053. "panels": [
  10054. {
  10055. "aliasColors": {},
  10056. "bars": false,
  10057. "dashLength": 10,
  10058. "dashes": false,
  10059. "datasource": {
  10060. "uid": "$datasource"
  10061. },
  10062. "fieldConfig": {
  10063. "defaults": {
  10064. "custom": {},
  10065. "links": []
  10066. },
  10067. "overrides": []
  10068. },
  10069. "fill": 1,
  10070. "fillGradient": 0,
  10071. "gridPos": {
  10072. "h": 9,
  10073. "w": 12,
  10074. "x": 0,
  10075. "y": 41
  10076. },
  10077. "hiddenSeries": false,
  10078. "id": 67,
  10079. "legend": {
  10080. "avg": false,
  10081. "current": false,
  10082. "max": false,
  10083. "min": false,
  10084. "show": true,
  10085. "total": false,
  10086. "values": false
  10087. },
  10088. "lines": true,
  10089. "linewidth": 1,
  10090. "links": [],
  10091. "nullPointMode": "connected",
  10092. "options": {
  10093. "alertThreshold": true
  10094. },
  10095. "paceLength": 10,
  10096. "percentage": false,
  10097. "pluginVersion": "7.3.7",
  10098. "pointradius": 5,
  10099. "points": false,
  10100. "renderer": "flot",
  10101. "seriesOverrides": [],
  10102. "spaceLength": 10,
  10103. "stack": false,
  10104. "steppedLine": false,
  10105. "targets": [
  10106. {
  10107. "datasource": {
  10108. "uid": "$datasource"
  10109. },
  10110. "expr": "max(synapse_event_persisted_position{instance=\"$instance\"}) - on() group_right() synapse_event_processing_positions{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  10111. "format": "time_series",
  10112. "interval": "",
  10113. "intervalFactor": 1,
  10114. "legendFormat": "{{job}}-{{index}} {{name}}",
  10115. "refId": "A"
  10116. }
  10117. ],
  10118. "thresholds": [],
  10119. "timeRegions": [],
  10120. "title": "Event processing lag",
  10121. "tooltip": {
  10122. "shared": true,
  10123. "sort": 0,
  10124. "value_type": "individual"
  10125. },
  10126. "type": "graph",
  10127. "xaxis": {
  10128. "mode": "time",
  10129. "show": true,
  10130. "values": []
  10131. },
  10132. "yaxes": [
  10133. {
  10134. "format": "short",
  10135. "label": "events",
  10136. "logBase": 1,
  10137. "min": "0",
  10138. "show": true
  10139. },
  10140. {
  10141. "format": "short",
  10142. "logBase": 1,
  10143. "show": true
  10144. }
  10145. ],
  10146. "yaxis": {
  10147. "align": false
  10148. }
  10149. },
  10150. {
  10151. "aliasColors": {},
  10152. "bars": false,
  10153. "dashLength": 10,
  10154. "dashes": false,
  10155. "datasource": {
  10156. "uid": "$datasource"
  10157. },
  10158. "fieldConfig": {
  10159. "defaults": {
  10160. "custom": {},
  10161. "links": []
  10162. },
  10163. "overrides": []
  10164. },
  10165. "fill": 1,
  10166. "fillGradient": 0,
  10167. "gridPos": {
  10168. "h": 9,
  10169. "w": 12,
  10170. "x": 12,
  10171. "y": 41
  10172. },
  10173. "hiddenSeries": false,
  10174. "id": 71,
  10175. "legend": {
  10176. "avg": false,
  10177. "current": false,
  10178. "max": false,
  10179. "min": false,
  10180. "show": true,
  10181. "total": false,
  10182. "values": false
  10183. },
  10184. "lines": true,
  10185. "linewidth": 1,
  10186. "links": [],
  10187. "nullPointMode": "connected",
  10188. "options": {
  10189. "alertThreshold": true
  10190. },
  10191. "paceLength": 10,
  10192. "percentage": false,
  10193. "pluginVersion": "7.3.7",
  10194. "pointradius": 5,
  10195. "points": false,
  10196. "renderer": "flot",
  10197. "seriesOverrides": [],
  10198. "spaceLength": 10,
  10199. "stack": false,
  10200. "steppedLine": false,
  10201. "targets": [
  10202. {
  10203. "datasource": {
  10204. "uid": "$datasource"
  10205. },
  10206. "expr": "time()*1000-synapse_event_processing_last_ts{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  10207. "format": "time_series",
  10208. "hide": false,
  10209. "interval": "",
  10210. "intervalFactor": 1,
  10211. "legendFormat": "{{job}}-{{index}} {{name}}",
  10212. "refId": "B"
  10213. }
  10214. ],
  10215. "thresholds": [],
  10216. "timeRegions": [],
  10217. "title": "Age of last processed event",
  10218. "tooltip": {
  10219. "shared": true,
  10220. "sort": 0,
  10221. "value_type": "individual"
  10222. },
  10223. "type": "graph",
  10224. "xaxis": {
  10225. "mode": "time",
  10226. "show": true,
  10227. "values": []
  10228. },
  10229. "yaxes": [
  10230. {
  10231. "format": "ms",
  10232. "logBase": 1,
  10233. "min": "0",
  10234. "show": true
  10235. },
  10236. {
  10237. "format": "short",
  10238. "logBase": 1,
  10239. "show": true
  10240. }
  10241. ],
  10242. "yaxis": {
  10243. "align": false
  10244. }
  10245. },
  10246. {
  10247. "aliasColors": {},
  10248. "bars": false,
  10249. "dashLength": 10,
  10250. "dashes": false,
  10251. "datasource": {
  10252. "uid": "$datasource"
  10253. },
  10254. "fieldConfig": {
  10255. "defaults": {
  10256. "custom": {},
  10257. "links": []
  10258. },
  10259. "overrides": []
  10260. },
  10261. "fill": 1,
  10262. "fillGradient": 0,
  10263. "gridPos": {
  10264. "h": 9,
  10265. "w": 12,
  10266. "x": 0,
  10267. "y": 50
  10268. },
  10269. "hiddenSeries": false,
  10270. "id": 121,
  10271. "interval": "",
  10272. "legend": {
  10273. "avg": false,
  10274. "current": false,
  10275. "max": false,
  10276. "min": false,
  10277. "show": true,
  10278. "total": false,
  10279. "values": false
  10280. },
  10281. "lines": true,
  10282. "linewidth": 1,
  10283. "links": [],
  10284. "nullPointMode": "connected",
  10285. "options": {
  10286. "alertThreshold": true
  10287. },
  10288. "paceLength": 10,
  10289. "percentage": false,
  10290. "pluginVersion": "7.3.7",
  10291. "pointradius": 5,
  10292. "points": false,
  10293. "renderer": "flot",
  10294. "seriesOverrides": [],
  10295. "spaceLength": 10,
  10296. "stack": false,
  10297. "steppedLine": false,
  10298. "targets": [
  10299. {
  10300. "datasource": {
  10301. "uid": "$datasource"
  10302. },
  10303. "expr": "deriv(synapse_event_processing_last_ts{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/1000 - 1",
  10304. "format": "time_series",
  10305. "hide": false,
  10306. "interval": "",
  10307. "intervalFactor": 1,
  10308. "legendFormat": "{{job}}-{{index}} {{name}}",
  10309. "refId": "B"
  10310. }
  10311. ],
  10312. "thresholds": [],
  10313. "timeRegions": [],
  10314. "title": "Event processing catchup rate",
  10315. "tooltip": {
  10316. "shared": true,
  10317. "sort": 0,
  10318. "value_type": "individual"
  10319. },
  10320. "type": "graph",
  10321. "xaxis": {
  10322. "mode": "time",
  10323. "show": true,
  10324. "values": []
  10325. },
  10326. "yaxes": [
  10327. {
  10328. "format": "none",
  10329. "label": "fallbehind(-) / catchup(+): s/sec",
  10330. "logBase": 1,
  10331. "show": true
  10332. },
  10333. {
  10334. "format": "short",
  10335. "logBase": 1,
  10336. "show": true
  10337. }
  10338. ],
  10339. "yaxis": {
  10340. "align": false
  10341. }
  10342. }
  10343. ],
  10344. "targets": [
  10345. {
  10346. "datasource": {
  10347. "type": "prometheus",
  10348. "uid": "000000001"
  10349. },
  10350. "refId": "A"
  10351. }
  10352. ],
  10353. "title": "Event processing loop positions",
  10354. "type": "row"
  10355. },
  10356. {
  10357. "collapsed": true,
  10358. "datasource": {
  10359. "type": "prometheus",
  10360. "uid": "000000001"
  10361. },
  10362. "gridPos": {
  10363. "h": 1,
  10364. "w": 24,
  10365. "x": 0,
  10366. "y": 41
  10367. },
  10368. "id": 126,
  10369. "panels": [
  10370. {
  10371. "cards": {
  10372. "cardPadding": 0
  10373. },
  10374. "color": {
  10375. "cardColor": "#B877D9",
  10376. "colorScale": "sqrt",
  10377. "colorScheme": "interpolateInferno",
  10378. "exponent": 0.5,
  10379. "min": 0,
  10380. "mode": "opacity"
  10381. },
  10382. "dataFormat": "tsbuckets",
  10383. "datasource": {
  10384. "uid": "$datasource"
  10385. },
  10386. "description": "Colour reflects the number of rooms with the given number of forward extremities, or fewer.\n\nThis is only updated once an hour.",
  10387. "fieldConfig": {
  10388. "defaults": {
  10389. "custom": {}
  10390. },
  10391. "overrides": []
  10392. },
  10393. "gridPos": {
  10394. "h": 8,
  10395. "w": 12,
  10396. "x": 0,
  10397. "y": 42
  10398. },
  10399. "heatmap": {},
  10400. "hideZeroBuckets": true,
  10401. "highlightCards": true,
  10402. "id": 122,
  10403. "legend": {
  10404. "show": true
  10405. },
  10406. "links": [],
  10407. "reverseYBuckets": false,
  10408. "targets": [
  10409. {
  10410. "datasource": {
  10411. "uid": "$datasource"
  10412. },
  10413. "expr": "synapse_forward_extremities_bucket{instance=\"$instance\"} and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0)",
  10414. "format": "heatmap",
  10415. "intervalFactor": 1,
  10416. "legendFormat": "{{le}}",
  10417. "refId": "A"
  10418. }
  10419. ],
  10420. "title": "Number of rooms, by number of forward extremities in room",
  10421. "tooltip": {
  10422. "show": true,
  10423. "showHistogram": true
  10424. },
  10425. "type": "heatmap",
  10426. "xAxis": {
  10427. "show": true
  10428. },
  10429. "yAxis": {
  10430. "decimals": 0,
  10431. "format": "short",
  10432. "logBase": 1,
  10433. "show": true
  10434. },
  10435. "yBucketBound": "auto"
  10436. },
  10437. {
  10438. "aliasColors": {},
  10439. "bars": false,
  10440. "dashLength": 10,
  10441. "dashes": false,
  10442. "datasource": {
  10443. "uid": "$datasource"
  10444. },
  10445. "description": "Number of rooms with the given number of forward extremities or fewer.\n\nThis is only updated once an hour.",
  10446. "fieldConfig": {
  10447. "defaults": {
  10448. "custom": {},
  10449. "links": []
  10450. },
  10451. "overrides": []
  10452. },
  10453. "fill": 0,
  10454. "fillGradient": 0,
  10455. "gridPos": {
  10456. "h": 8,
  10457. "w": 12,
  10458. "x": 12,
  10459. "y": 42
  10460. },
  10461. "hiddenSeries": false,
  10462. "id": 124,
  10463. "interval": "",
  10464. "legend": {
  10465. "avg": false,
  10466. "current": false,
  10467. "max": false,
  10468. "min": false,
  10469. "show": true,
  10470. "total": false,
  10471. "values": false
  10472. },
  10473. "lines": true,
  10474. "linewidth": 1,
  10475. "links": [],
  10476. "nullPointMode": "connected",
  10477. "percentage": false,
  10478. "pluginVersion": "7.1.3",
  10479. "pointradius": 2,
  10480. "points": false,
  10481. "renderer": "flot",
  10482. "seriesOverrides": [],
  10483. "spaceLength": 10,
  10484. "stack": false,
  10485. "steppedLine": false,
  10486. "targets": [
  10487. {
  10488. "datasource": {
  10489. "uid": "$datasource"
  10490. },
  10491. "expr": "synapse_forward_extremities_bucket{instance=\"$instance\"} > 0",
  10492. "format": "heatmap",
  10493. "interval": "",
  10494. "intervalFactor": 1,
  10495. "legendFormat": "{{le}}",
  10496. "refId": "A"
  10497. }
  10498. ],
  10499. "thresholds": [],
  10500. "timeRegions": [],
  10501. "title": "Room counts, by number of extremities",
  10502. "tooltip": {
  10503. "shared": true,
  10504. "sort": 2,
  10505. "value_type": "individual"
  10506. },
  10507. "type": "graph",
  10508. "xaxis": {
  10509. "mode": "time",
  10510. "show": true,
  10511. "values": []
  10512. },
  10513. "yaxes": [
  10514. {
  10515. "format": "none",
  10516. "label": "Number of rooms",
  10517. "logBase": 10,
  10518. "show": true
  10519. },
  10520. {
  10521. "format": "short",
  10522. "logBase": 1,
  10523. "show": false
  10524. }
  10525. ],
  10526. "yaxis": {
  10527. "align": false
  10528. }
  10529. },
  10530. {
  10531. "cards": {
  10532. "cardPadding": 0
  10533. },
  10534. "color": {
  10535. "cardColor": "#5794F2",
  10536. "colorScale": "sqrt",
  10537. "colorScheme": "interpolateInferno",
  10538. "exponent": 0.5,
  10539. "min": 0,
  10540. "mode": "opacity"
  10541. },
  10542. "dataFormat": "tsbuckets",
  10543. "datasource": {
  10544. "uid": "$datasource"
  10545. },
  10546. "description": "Colour reflects the number of events persisted to rooms with the given number of forward extremities, or fewer.",
  10547. "fieldConfig": {
  10548. "defaults": {
  10549. "custom": {}
  10550. },
  10551. "overrides": []
  10552. },
  10553. "gridPos": {
  10554. "h": 8,
  10555. "w": 12,
  10556. "x": 0,
  10557. "y": 50
  10558. },
  10559. "heatmap": {},
  10560. "hideZeroBuckets": true,
  10561. "highlightCards": true,
  10562. "id": 127,
  10563. "legend": {
  10564. "show": true
  10565. },
  10566. "links": [],
  10567. "reverseYBuckets": false,
  10568. "targets": [
  10569. {
  10570. "datasource": {
  10571. "uid": "$datasource"
  10572. },
  10573. "expr": "rate(synapse_storage_events_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0)",
  10574. "format": "heatmap",
  10575. "intervalFactor": 1,
  10576. "legendFormat": "{{le}}",
  10577. "refId": "A"
  10578. }
  10579. ],
  10580. "title": "Events persisted, by number of forward extremities in room (heatmap)",
  10581. "tooltip": {
  10582. "show": true,
  10583. "showHistogram": true
  10584. },
  10585. "type": "heatmap",
  10586. "xAxis": {
  10587. "show": true
  10588. },
  10589. "yAxis": {
  10590. "decimals": 0,
  10591. "format": "short",
  10592. "logBase": 1,
  10593. "show": true
  10594. },
  10595. "yBucketBound": "auto"
  10596. },
  10597. {
  10598. "aliasColors": {},
  10599. "bars": false,
  10600. "dashLength": 10,
  10601. "dashes": false,
  10602. "datasource": {
  10603. "uid": "$datasource"
  10604. },
  10605. "description": "For a given percentage P, the number X where P% of events were persisted to rooms with X forward extremities or fewer.",
  10606. "fieldConfig": {
  10607. "defaults": {
  10608. "custom": {},
  10609. "links": []
  10610. },
  10611. "overrides": []
  10612. },
  10613. "fill": 1,
  10614. "fillGradient": 0,
  10615. "gridPos": {
  10616. "h": 8,
  10617. "w": 12,
  10618. "x": 12,
  10619. "y": 50
  10620. },
  10621. "hiddenSeries": false,
  10622. "id": 128,
  10623. "legend": {
  10624. "avg": false,
  10625. "current": false,
  10626. "max": false,
  10627. "min": false,
  10628. "show": true,
  10629. "total": false,
  10630. "values": false
  10631. },
  10632. "lines": true,
  10633. "linewidth": 1,
  10634. "links": [],
  10635. "nullPointMode": "null",
  10636. "percentage": false,
  10637. "pluginVersion": "7.1.3",
  10638. "pointradius": 2,
  10639. "points": false,
  10640. "renderer": "flot",
  10641. "seriesOverrides": [],
  10642. "spaceLength": 10,
  10643. "stack": false,
  10644. "steppedLine": false,
  10645. "targets": [
  10646. {
  10647. "datasource": {
  10648. "uid": "$datasource"
  10649. },
  10650. "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_total > 0))",
  10651. "format": "time_series",
  10652. "intervalFactor": 1,
  10653. "legendFormat": "50%",
  10654. "refId": "A"
  10655. },
  10656. {
  10657. "datasource": {
  10658. "uid": "$datasource"
  10659. },
  10660. "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_total > 0))",
  10661. "format": "time_series",
  10662. "intervalFactor": 1,
  10663. "legendFormat": "75%",
  10664. "refId": "B"
  10665. },
  10666. {
  10667. "datasource": {
  10668. "uid": "$datasource"
  10669. },
  10670. "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_total > 0))",
  10671. "format": "time_series",
  10672. "intervalFactor": 1,
  10673. "legendFormat": "90%",
  10674. "refId": "C"
  10675. },
  10676. {
  10677. "datasource": {
  10678. "uid": "$datasource"
  10679. },
  10680. "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_total > 0))",
  10681. "format": "time_series",
  10682. "intervalFactor": 1,
  10683. "legendFormat": "99%",
  10684. "refId": "D"
  10685. }
  10686. ],
  10687. "thresholds": [],
  10688. "timeRegions": [],
  10689. "title": "Events persisted, by number of forward extremities in room (quantiles)",
  10690. "tooltip": {
  10691. "shared": true,
  10692. "sort": 0,
  10693. "value_type": "individual"
  10694. },
  10695. "type": "graph",
  10696. "xaxis": {
  10697. "mode": "time",
  10698. "show": true,
  10699. "values": []
  10700. },
  10701. "yaxes": [
  10702. {
  10703. "format": "short",
  10704. "label": "Number of extremities in room",
  10705. "logBase": 1,
  10706. "min": "0",
  10707. "show": true
  10708. },
  10709. {
  10710. "format": "short",
  10711. "logBase": 1,
  10712. "show": true
  10713. }
  10714. ],
  10715. "yaxis": {
  10716. "align": false
  10717. }
  10718. },
  10719. {
  10720. "cards": {
  10721. "cardPadding": 0
  10722. },
  10723. "color": {
  10724. "cardColor": "#FF9830",
  10725. "colorScale": "sqrt",
  10726. "colorScheme": "interpolateInferno",
  10727. "exponent": 0.5,
  10728. "min": 0,
  10729. "mode": "opacity"
  10730. },
  10731. "dataFormat": "tsbuckets",
  10732. "datasource": {
  10733. "uid": "$datasource"
  10734. },
  10735. "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.",
  10736. "fieldConfig": {
  10737. "defaults": {
  10738. "custom": {}
  10739. },
  10740. "overrides": []
  10741. },
  10742. "gridPos": {
  10743. "h": 8,
  10744. "w": 12,
  10745. "x": 0,
  10746. "y": 58
  10747. },
  10748. "heatmap": {},
  10749. "hideZeroBuckets": true,
  10750. "highlightCards": true,
  10751. "id": 129,
  10752. "legend": {
  10753. "show": true
  10754. },
  10755. "links": [],
  10756. "reverseYBuckets": false,
  10757. "targets": [
  10758. {
  10759. "datasource": {
  10760. "uid": "$datasource"
  10761. },
  10762. "expr": "rate(synapse_storage_events_stale_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0)",
  10763. "format": "heatmap",
  10764. "intervalFactor": 1,
  10765. "legendFormat": "{{le}}",
  10766. "refId": "A"
  10767. }
  10768. ],
  10769. "title": "Events persisted, by number of stale forward extremities in room (heatmap)",
  10770. "tooltip": {
  10771. "show": true,
  10772. "showHistogram": true
  10773. },
  10774. "type": "heatmap",
  10775. "xAxis": {
  10776. "show": true
  10777. },
  10778. "yAxis": {
  10779. "decimals": 0,
  10780. "format": "short",
  10781. "logBase": 1,
  10782. "show": true
  10783. },
  10784. "yBucketBound": "auto"
  10785. },
  10786. {
  10787. "aliasColors": {},
  10788. "bars": false,
  10789. "dashLength": 10,
  10790. "dashes": false,
  10791. "datasource": {
  10792. "uid": "$datasource"
  10793. },
  10794. "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.",
  10795. "fieldConfig": {
  10796. "defaults": {
  10797. "custom": {},
  10798. "links": []
  10799. },
  10800. "overrides": []
  10801. },
  10802. "fill": 1,
  10803. "fillGradient": 0,
  10804. "gridPos": {
  10805. "h": 8,
  10806. "w": 12,
  10807. "x": 12,
  10808. "y": 58
  10809. },
  10810. "hiddenSeries": false,
  10811. "id": 130,
  10812. "legend": {
  10813. "avg": false,
  10814. "current": false,
  10815. "max": false,
  10816. "min": false,
  10817. "show": true,
  10818. "total": false,
  10819. "values": false
  10820. },
  10821. "lines": true,
  10822. "linewidth": 1,
  10823. "links": [],
  10824. "nullPointMode": "null",
  10825. "percentage": false,
  10826. "pluginVersion": "7.1.3",
  10827. "pointradius": 2,
  10828. "points": false,
  10829. "renderer": "flot",
  10830. "seriesOverrides": [],
  10831. "spaceLength": 10,
  10832. "stack": false,
  10833. "steppedLine": false,
  10834. "targets": [
  10835. {
  10836. "datasource": {
  10837. "uid": "$datasource"
  10838. },
  10839. "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_total > 0))",
  10840. "format": "time_series",
  10841. "intervalFactor": 1,
  10842. "legendFormat": "50%",
  10843. "refId": "A"
  10844. },
  10845. {
  10846. "datasource": {
  10847. "uid": "$datasource"
  10848. },
  10849. "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_total > 0))",
  10850. "format": "time_series",
  10851. "intervalFactor": 1,
  10852. "legendFormat": "75%",
  10853. "refId": "B"
  10854. },
  10855. {
  10856. "datasource": {
  10857. "uid": "$datasource"
  10858. },
  10859. "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_total > 0))",
  10860. "format": "time_series",
  10861. "intervalFactor": 1,
  10862. "legendFormat": "90%",
  10863. "refId": "C"
  10864. },
  10865. {
  10866. "datasource": {
  10867. "uid": "$datasource"
  10868. },
  10869. "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_total > 0))",
  10870. "format": "time_series",
  10871. "intervalFactor": 1,
  10872. "legendFormat": "99%",
  10873. "refId": "D"
  10874. }
  10875. ],
  10876. "thresholds": [],
  10877. "timeRegions": [],
  10878. "title": "Events persisted, by number of stale forward extremities in room (quantiles)",
  10879. "tooltip": {
  10880. "shared": true,
  10881. "sort": 0,
  10882. "value_type": "individual"
  10883. },
  10884. "type": "graph",
  10885. "xaxis": {
  10886. "mode": "time",
  10887. "show": true,
  10888. "values": []
  10889. },
  10890. "yaxes": [
  10891. {
  10892. "format": "short",
  10893. "label": "Number of stale forward extremities in room",
  10894. "logBase": 1,
  10895. "min": "0",
  10896. "show": true
  10897. },
  10898. {
  10899. "format": "short",
  10900. "logBase": 1,
  10901. "show": true
  10902. }
  10903. ],
  10904. "yaxis": {
  10905. "align": false
  10906. }
  10907. },
  10908. {
  10909. "cards": {
  10910. "cardPadding": 0
  10911. },
  10912. "color": {
  10913. "cardColor": "#73BF69",
  10914. "colorScale": "sqrt",
  10915. "colorScheme": "interpolateInferno",
  10916. "exponent": 0.5,
  10917. "min": 0,
  10918. "mode": "opacity"
  10919. },
  10920. "dataFormat": "tsbuckets",
  10921. "datasource": {
  10922. "uid": "$datasource"
  10923. },
  10924. "description": "Colour reflects the number of state resolution operations performed over the given number of state groups, or fewer.",
  10925. "fieldConfig": {
  10926. "defaults": {
  10927. "custom": {}
  10928. },
  10929. "overrides": []
  10930. },
  10931. "gridPos": {
  10932. "h": 8,
  10933. "w": 12,
  10934. "x": 0,
  10935. "y": 66
  10936. },
  10937. "heatmap": {},
  10938. "hideZeroBuckets": true,
  10939. "highlightCards": true,
  10940. "id": 131,
  10941. "legend": {
  10942. "show": true
  10943. },
  10944. "links": [],
  10945. "reverseYBuckets": false,
  10946. "targets": [
  10947. {
  10948. "datasource": {
  10949. "uid": "$datasource"
  10950. },
  10951. "expr": "rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  10952. "format": "heatmap",
  10953. "interval": "",
  10954. "intervalFactor": 1,
  10955. "legendFormat": "{{le}}",
  10956. "refId": "A"
  10957. }
  10958. ],
  10959. "title": "Number of state resolution performed, by number of state groups involved (heatmap)",
  10960. "tooltip": {
  10961. "show": true,
  10962. "showHistogram": true
  10963. },
  10964. "type": "heatmap",
  10965. "xAxis": {
  10966. "show": true
  10967. },
  10968. "yAxis": {
  10969. "decimals": 0,
  10970. "format": "short",
  10971. "logBase": 1,
  10972. "show": true
  10973. },
  10974. "yBucketBound": "auto"
  10975. },
  10976. {
  10977. "aliasColors": {},
  10978. "bars": false,
  10979. "dashLength": 10,
  10980. "dashes": false,
  10981. "datasource": {
  10982. "uid": "$datasource"
  10983. },
  10984. "description": "For a given percentage P, the number X where P% of state resolution operations took place over X state groups or fewer.",
  10985. "fieldConfig": {
  10986. "defaults": {
  10987. "custom": {},
  10988. "links": []
  10989. },
  10990. "overrides": []
  10991. },
  10992. "fill": 1,
  10993. "fillGradient": 0,
  10994. "gridPos": {
  10995. "h": 8,
  10996. "w": 12,
  10997. "x": 12,
  10998. "y": 66
  10999. },
  11000. "hiddenSeries": false,
  11001. "id": 132,
  11002. "interval": "",
  11003. "legend": {
  11004. "avg": false,
  11005. "current": false,
  11006. "max": false,
  11007. "min": false,
  11008. "show": true,
  11009. "total": false,
  11010. "values": false
  11011. },
  11012. "lines": true,
  11013. "linewidth": 1,
  11014. "links": [],
  11015. "nullPointMode": "null",
  11016. "percentage": false,
  11017. "pluginVersion": "7.1.3",
  11018. "pointradius": 2,
  11019. "points": false,
  11020. "renderer": "flot",
  11021. "seriesOverrides": [],
  11022. "spaceLength": 10,
  11023. "stack": false,
  11024. "steppedLine": false,
  11025. "targets": [
  11026. {
  11027. "datasource": {
  11028. "uid": "$datasource"
  11029. },
  11030. "expr": "histogram_quantile(0.5, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11031. "format": "time_series",
  11032. "interval": "",
  11033. "intervalFactor": 1,
  11034. "legendFormat": "50%",
  11035. "refId": "A"
  11036. },
  11037. {
  11038. "datasource": {
  11039. "uid": "$datasource"
  11040. },
  11041. "expr": "histogram_quantile(0.75, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11042. "format": "time_series",
  11043. "interval": "",
  11044. "intervalFactor": 1,
  11045. "legendFormat": "75%",
  11046. "refId": "B"
  11047. },
  11048. {
  11049. "datasource": {
  11050. "uid": "$datasource"
  11051. },
  11052. "expr": "histogram_quantile(0.90, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11053. "format": "time_series",
  11054. "interval": "",
  11055. "intervalFactor": 1,
  11056. "legendFormat": "90%",
  11057. "refId": "C"
  11058. },
  11059. {
  11060. "datasource": {
  11061. "uid": "$datasource"
  11062. },
  11063. "expr": "histogram_quantile(0.99, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11064. "format": "time_series",
  11065. "interval": "",
  11066. "intervalFactor": 1,
  11067. "legendFormat": "99%",
  11068. "refId": "D"
  11069. }
  11070. ],
  11071. "thresholds": [],
  11072. "timeRegions": [],
  11073. "title": "Number of state resolutions performed, by number of state groups involved (quantiles)",
  11074. "tooltip": {
  11075. "shared": true,
  11076. "sort": 0,
  11077. "value_type": "individual"
  11078. },
  11079. "type": "graph",
  11080. "xaxis": {
  11081. "mode": "time",
  11082. "show": true,
  11083. "values": []
  11084. },
  11085. "yaxes": [
  11086. {
  11087. "format": "short",
  11088. "label": "Number of state groups",
  11089. "logBase": 1,
  11090. "min": "0",
  11091. "show": true
  11092. },
  11093. {
  11094. "format": "short",
  11095. "logBase": 1,
  11096. "show": true
  11097. }
  11098. ],
  11099. "yaxis": {
  11100. "align": false
  11101. }
  11102. },
  11103. {
  11104. "aliasColors": {},
  11105. "bars": false,
  11106. "dashLength": 10,
  11107. "dashes": false,
  11108. "datasource": {
  11109. "uid": "$datasource"
  11110. },
  11111. "description": "When we do a state res while persisting events we try and see if we can prune any stale extremities.",
  11112. "fieldConfig": {
  11113. "defaults": {
  11114. "custom": {}
  11115. },
  11116. "overrides": []
  11117. },
  11118. "fill": 1,
  11119. "fillGradient": 0,
  11120. "gridPos": {
  11121. "h": 8,
  11122. "w": 12,
  11123. "x": 0,
  11124. "y": 74
  11125. },
  11126. "hiddenSeries": false,
  11127. "id": 179,
  11128. "legend": {
  11129. "avg": false,
  11130. "current": false,
  11131. "max": false,
  11132. "min": false,
  11133. "show": true,
  11134. "total": false,
  11135. "values": false
  11136. },
  11137. "lines": true,
  11138. "linewidth": 1,
  11139. "nullPointMode": "null",
  11140. "percentage": false,
  11141. "pluginVersion": "7.1.3",
  11142. "pointradius": 2,
  11143. "points": false,
  11144. "renderer": "flot",
  11145. "seriesOverrides": [],
  11146. "spaceLength": 10,
  11147. "stack": false,
  11148. "steppedLine": false,
  11149. "targets": [
  11150. {
  11151. "datasource": {
  11152. "uid": "$datasource"
  11153. },
  11154. "expr": "sum(rate(synapse_storage_events_state_resolutions_during_persistence_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11155. "interval": "",
  11156. "legendFormat": "State res ",
  11157. "refId": "A"
  11158. },
  11159. {
  11160. "datasource": {
  11161. "uid": "$datasource"
  11162. },
  11163. "expr": "sum(rate(synapse_storage_events_potential_times_prune_extremities_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11164. "interval": "",
  11165. "legendFormat": "Potential to prune",
  11166. "refId": "B"
  11167. },
  11168. {
  11169. "datasource": {
  11170. "uid": "$datasource"
  11171. },
  11172. "expr": "sum(rate(synapse_storage_events_times_pruned_extremities_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11173. "interval": "",
  11174. "legendFormat": "Pruned",
  11175. "refId": "C"
  11176. }
  11177. ],
  11178. "thresholds": [],
  11179. "timeRegions": [],
  11180. "title": "Stale extremity dropping",
  11181. "tooltip": {
  11182. "shared": true,
  11183. "sort": 0,
  11184. "value_type": "individual"
  11185. },
  11186. "type": "graph",
  11187. "xaxis": {
  11188. "mode": "time",
  11189. "show": true,
  11190. "values": []
  11191. },
  11192. "yaxes": [
  11193. {
  11194. "format": "hertz",
  11195. "logBase": 1,
  11196. "show": true
  11197. },
  11198. {
  11199. "format": "short",
  11200. "logBase": 1,
  11201. "show": true
  11202. }
  11203. ],
  11204. "yaxis": {
  11205. "align": false
  11206. }
  11207. }
  11208. ],
  11209. "targets": [
  11210. {
  11211. "datasource": {
  11212. "type": "prometheus",
  11213. "uid": "000000001"
  11214. },
  11215. "refId": "A"
  11216. }
  11217. ],
  11218. "title": "Extremities",
  11219. "type": "row"
  11220. },
  11221. {
  11222. "collapsed": true,
  11223. "datasource": {
  11224. "type": "prometheus",
  11225. "uid": "000000001"
  11226. },
  11227. "gridPos": {
  11228. "h": 1,
  11229. "w": 24,
  11230. "x": 0,
  11231. "y": 42
  11232. },
  11233. "id": 158,
  11234. "panels": [
  11235. {
  11236. "aliasColors": {},
  11237. "bars": false,
  11238. "dashLength": 10,
  11239. "dashes": false,
  11240. "datasource": {
  11241. "type": "prometheus",
  11242. "uid": "$datasource"
  11243. },
  11244. "fieldConfig": {
  11245. "defaults": {
  11246. "links": []
  11247. },
  11248. "overrides": []
  11249. },
  11250. "fill": 1,
  11251. "fillGradient": 0,
  11252. "gridPos": {
  11253. "h": 8,
  11254. "w": 12,
  11255. "x": 0,
  11256. "y": 43
  11257. },
  11258. "hiddenSeries": false,
  11259. "id": 156,
  11260. "legend": {
  11261. "avg": false,
  11262. "current": false,
  11263. "max": false,
  11264. "min": false,
  11265. "show": true,
  11266. "total": false,
  11267. "values": false
  11268. },
  11269. "lines": true,
  11270. "linewidth": 1,
  11271. "links": [],
  11272. "nullPointMode": "null",
  11273. "options": {
  11274. "alertThreshold": true
  11275. },
  11276. "percentage": false,
  11277. "pluginVersion": "9.2.2",
  11278. "pointradius": 5,
  11279. "points": false,
  11280. "renderer": "flot",
  11281. "seriesOverrides": [
  11282. {
  11283. "$$hashKey": "object:632",
  11284. "alias": "Max",
  11285. "color": "#bf1b00",
  11286. "fill": 0,
  11287. "linewidth": 2
  11288. }
  11289. ],
  11290. "spaceLength": 10,
  11291. "stack": false,
  11292. "steppedLine": false,
  11293. "targets": [
  11294. {
  11295. "datasource": {
  11296. "uid": "$datasource"
  11297. },
  11298. "editorMode": "code",
  11299. "expr": "synapse_admin_mau_max{instance=\"$instance\", job=~\"(hhs_)?synapse\"}",
  11300. "format": "time_series",
  11301. "interval": "",
  11302. "intervalFactor": 1,
  11303. "legendFormat": "Max",
  11304. "range": true,
  11305. "refId": "B"
  11306. },
  11307. {
  11308. "datasource": {
  11309. "type": "prometheus",
  11310. "uid": "$datasource"
  11311. },
  11312. "editorMode": "code",
  11313. "expr": "synapse_admin_mau_current{instance=\"$instance\", job=~\"(hhs_)?synapse\"}",
  11314. "hide": false,
  11315. "legendFormat": "Current",
  11316. "range": true,
  11317. "refId": "C"
  11318. }
  11319. ],
  11320. "thresholds": [],
  11321. "timeRegions": [],
  11322. "title": "MAU Limits",
  11323. "tooltip": {
  11324. "shared": true,
  11325. "sort": 0,
  11326. "value_type": "individual"
  11327. },
  11328. "type": "graph",
  11329. "xaxis": {
  11330. "mode": "time",
  11331. "show": true,
  11332. "values": []
  11333. },
  11334. "yaxes": [
  11335. {
  11336. "$$hashKey": "object:176",
  11337. "format": "short",
  11338. "logBase": 1,
  11339. "min": "0",
  11340. "show": true
  11341. },
  11342. {
  11343. "$$hashKey": "object:177",
  11344. "format": "short",
  11345. "logBase": 1,
  11346. "show": true
  11347. }
  11348. ],
  11349. "yaxis": {
  11350. "align": false
  11351. }
  11352. },
  11353. {
  11354. "aliasColors": {},
  11355. "bars": false,
  11356. "dashLength": 10,
  11357. "dashes": false,
  11358. "datasource": {
  11359. "uid": "$datasource"
  11360. },
  11361. "fill": 1,
  11362. "fillGradient": 0,
  11363. "gridPos": {
  11364. "h": 8,
  11365. "w": 12,
  11366. "x": 12,
  11367. "y": 43
  11368. },
  11369. "hiddenSeries": false,
  11370. "id": 160,
  11371. "legend": {
  11372. "avg": false,
  11373. "current": false,
  11374. "max": false,
  11375. "min": false,
  11376. "show": true,
  11377. "total": false,
  11378. "values": false
  11379. },
  11380. "lines": true,
  11381. "linewidth": 1,
  11382. "nullPointMode": "null",
  11383. "options": {
  11384. "alertThreshold": true
  11385. },
  11386. "percentage": false,
  11387. "pluginVersion": "9.2.2",
  11388. "pointradius": 2,
  11389. "points": false,
  11390. "renderer": "flot",
  11391. "seriesOverrides": [],
  11392. "spaceLength": 10,
  11393. "stack": false,
  11394. "steppedLine": false,
  11395. "targets": [
  11396. {
  11397. "datasource": {
  11398. "uid": "$datasource"
  11399. },
  11400. "expr": "synapse_admin_mau_current_mau_by_service{instance=\"$instance\"}",
  11401. "interval": "",
  11402. "legendFormat": "{{ app_service }}",
  11403. "refId": "A"
  11404. }
  11405. ],
  11406. "thresholds": [],
  11407. "timeRegions": [],
  11408. "title": "MAU by Appservice",
  11409. "tooltip": {
  11410. "shared": true,
  11411. "sort": 0,
  11412. "value_type": "individual"
  11413. },
  11414. "type": "graph",
  11415. "xaxis": {
  11416. "mode": "time",
  11417. "show": true,
  11418. "values": []
  11419. },
  11420. "yaxes": [
  11421. {
  11422. "format": "short",
  11423. "logBase": 1,
  11424. "show": true
  11425. },
  11426. {
  11427. "format": "short",
  11428. "logBase": 1,
  11429. "show": true
  11430. }
  11431. ],
  11432. "yaxis": {
  11433. "align": false
  11434. }
  11435. }
  11436. ],
  11437. "targets": [
  11438. {
  11439. "datasource": {
  11440. "type": "prometheus",
  11441. "uid": "000000001"
  11442. },
  11443. "refId": "A"
  11444. }
  11445. ],
  11446. "title": "MAU",
  11447. "type": "row"
  11448. },
  11449. {
  11450. "collapsed": true,
  11451. "datasource": {
  11452. "type": "prometheus",
  11453. "uid": "000000001"
  11454. },
  11455. "gridPos": {
  11456. "h": 1,
  11457. "w": 24,
  11458. "x": 0,
  11459. "y": 43
  11460. },
  11461. "id": 177,
  11462. "panels": [
  11463. {
  11464. "aliasColors": {},
  11465. "bars": false,
  11466. "dashLength": 10,
  11467. "dashes": false,
  11468. "datasource": {
  11469. "type": "prometheus",
  11470. "uid": "$datasource"
  11471. },
  11472. "fieldConfig": {
  11473. "defaults": {
  11474. "links": []
  11475. },
  11476. "overrides": []
  11477. },
  11478. "fill": 1,
  11479. "fillGradient": 0,
  11480. "gridPos": {
  11481. "h": 7,
  11482. "w": 12,
  11483. "x": 0,
  11484. "y": 44
  11485. },
  11486. "hiddenSeries": false,
  11487. "id": 173,
  11488. "legend": {
  11489. "avg": false,
  11490. "current": false,
  11491. "max": false,
  11492. "min": false,
  11493. "show": true,
  11494. "total": false,
  11495. "values": false
  11496. },
  11497. "lines": true,
  11498. "linewidth": 1,
  11499. "links": [],
  11500. "nullPointMode": "null",
  11501. "options": {
  11502. "alertThreshold": true
  11503. },
  11504. "percentage": false,
  11505. "pluginVersion": "9.2.2",
  11506. "pointradius": 5,
  11507. "points": false,
  11508. "renderer": "flot",
  11509. "seriesOverrides": [],
  11510. "spaceLength": 10,
  11511. "stack": false,
  11512. "steppedLine": false,
  11513. "targets": [
  11514. {
  11515. "datasource": {
  11516. "uid": "$datasource"
  11517. },
  11518. "editorMode": "code",
  11519. "expr": "rate(synapse_notifier_users_woken_by_stream_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11520. "format": "time_series",
  11521. "hide": false,
  11522. "intervalFactor": 2,
  11523. "legendFormat": "{{stream}} {{index}}",
  11524. "metric": "synapse_notifier",
  11525. "range": true,
  11526. "refId": "A",
  11527. "step": 2
  11528. }
  11529. ],
  11530. "thresholds": [],
  11531. "timeRegions": [],
  11532. "title": "Notifier Streams Woken",
  11533. "tooltip": {
  11534. "shared": true,
  11535. "sort": 2,
  11536. "value_type": "individual"
  11537. },
  11538. "type": "graph",
  11539. "xaxis": {
  11540. "mode": "time",
  11541. "show": true,
  11542. "values": []
  11543. },
  11544. "yaxes": [
  11545. {
  11546. "$$hashKey": "object:734",
  11547. "format": "hertz",
  11548. "logBase": 1,
  11549. "show": true
  11550. },
  11551. {
  11552. "$$hashKey": "object:735",
  11553. "format": "short",
  11554. "logBase": 1,
  11555. "show": true
  11556. }
  11557. ],
  11558. "yaxis": {
  11559. "align": false
  11560. }
  11561. },
  11562. {
  11563. "aliasColors": {},
  11564. "bars": false,
  11565. "dashLength": 10,
  11566. "dashes": false,
  11567. "datasource": {
  11568. "type": "prometheus",
  11569. "uid": "$datasource"
  11570. },
  11571. "fieldConfig": {
  11572. "defaults": {
  11573. "links": []
  11574. },
  11575. "overrides": []
  11576. },
  11577. "fill": 1,
  11578. "fillGradient": 0,
  11579. "gridPos": {
  11580. "h": 7,
  11581. "w": 12,
  11582. "x": 12,
  11583. "y": 44
  11584. },
  11585. "hiddenSeries": false,
  11586. "id": 175,
  11587. "legend": {
  11588. "avg": false,
  11589. "current": false,
  11590. "max": false,
  11591. "min": false,
  11592. "show": true,
  11593. "total": false,
  11594. "values": false
  11595. },
  11596. "lines": true,
  11597. "linewidth": 1,
  11598. "links": [],
  11599. "nullPointMode": "null",
  11600. "options": {
  11601. "alertThreshold": true
  11602. },
  11603. "percentage": false,
  11604. "pluginVersion": "9.2.2",
  11605. "pointradius": 5,
  11606. "points": false,
  11607. "renderer": "flot",
  11608. "seriesOverrides": [],
  11609. "spaceLength": 10,
  11610. "stack": false,
  11611. "steppedLine": false,
  11612. "targets": [
  11613. {
  11614. "datasource": {
  11615. "uid": "$datasource"
  11616. },
  11617. "editorMode": "code",
  11618. "expr": "rate(synapse_handler_presence_get_updates_total{job=~\"$job\",instance=\"$instance\"}[$bucket_size])",
  11619. "format": "time_series",
  11620. "interval": "",
  11621. "intervalFactor": 2,
  11622. "legendFormat": "{{type}} {{index}}",
  11623. "range": true,
  11624. "refId": "A",
  11625. "step": 2
  11626. }
  11627. ],
  11628. "thresholds": [],
  11629. "timeRegions": [],
  11630. "title": "Presence Stream Fetch Type Rates",
  11631. "tooltip": {
  11632. "shared": true,
  11633. "sort": 2,
  11634. "value_type": "individual"
  11635. },
  11636. "type": "graph",
  11637. "xaxis": {
  11638. "mode": "time",
  11639. "show": true,
  11640. "values": []
  11641. },
  11642. "yaxes": [
  11643. {
  11644. "$$hashKey": "object:819",
  11645. "format": "hertz",
  11646. "logBase": 1,
  11647. "min": "0",
  11648. "show": true
  11649. },
  11650. {
  11651. "$$hashKey": "object:820",
  11652. "format": "short",
  11653. "logBase": 1,
  11654. "show": true
  11655. }
  11656. ],
  11657. "yaxis": {
  11658. "align": false
  11659. }
  11660. }
  11661. ],
  11662. "targets": [
  11663. {
  11664. "datasource": {
  11665. "type": "prometheus",
  11666. "uid": "000000001"
  11667. },
  11668. "refId": "A"
  11669. }
  11670. ],
  11671. "title": "Notifier",
  11672. "type": "row"
  11673. },
  11674. {
  11675. "collapsed": true,
  11676. "datasource": {
  11677. "type": "prometheus",
  11678. "uid": "000000001"
  11679. },
  11680. "gridPos": {
  11681. "h": 1,
  11682. "w": 24,
  11683. "x": 0,
  11684. "y": 44
  11685. },
  11686. "id": 170,
  11687. "panels": [
  11688. {
  11689. "aliasColors": {},
  11690. "bars": false,
  11691. "dashLength": 10,
  11692. "dashes": false,
  11693. "datasource": {
  11694. "type": "prometheus",
  11695. "uid": "$datasource"
  11696. },
  11697. "fill": 1,
  11698. "fillGradient": 0,
  11699. "gridPos": {
  11700. "h": 8,
  11701. "w": 12,
  11702. "x": 0,
  11703. "y": 45
  11704. },
  11705. "hiddenSeries": false,
  11706. "id": 168,
  11707. "legend": {
  11708. "avg": false,
  11709. "current": false,
  11710. "max": false,
  11711. "min": false,
  11712. "show": true,
  11713. "total": false,
  11714. "values": false
  11715. },
  11716. "lines": true,
  11717. "linewidth": 1,
  11718. "nullPointMode": "null",
  11719. "options": {
  11720. "alertThreshold": true
  11721. },
  11722. "percentage": false,
  11723. "pluginVersion": "9.2.2",
  11724. "pointradius": 2,
  11725. "points": false,
  11726. "renderer": "flot",
  11727. "seriesOverrides": [],
  11728. "spaceLength": 10,
  11729. "stack": false,
  11730. "steppedLine": false,
  11731. "targets": [
  11732. {
  11733. "datasource": {
  11734. "uid": "$datasource"
  11735. },
  11736. "editorMode": "code",
  11737. "expr": "rate(synapse_appservice_api_sent_events_total{instance=\"$instance\"}[$bucket_size])",
  11738. "interval": "",
  11739. "legendFormat": "{{service}}",
  11740. "range": true,
  11741. "refId": "A"
  11742. }
  11743. ],
  11744. "thresholds": [],
  11745. "timeRegions": [],
  11746. "title": "Sent Events rate",
  11747. "tooltip": {
  11748. "shared": true,
  11749. "sort": 0,
  11750. "value_type": "individual"
  11751. },
  11752. "type": "graph",
  11753. "xaxis": {
  11754. "mode": "time",
  11755. "show": true,
  11756. "values": []
  11757. },
  11758. "yaxes": [
  11759. {
  11760. "$$hashKey": "object:177",
  11761. "format": "hertz",
  11762. "logBase": 1,
  11763. "show": true
  11764. },
  11765. {
  11766. "$$hashKey": "object:178",
  11767. "format": "short",
  11768. "logBase": 1,
  11769. "show": true
  11770. }
  11771. ],
  11772. "yaxis": {
  11773. "align": false
  11774. }
  11775. },
  11776. {
  11777. "aliasColors": {},
  11778. "bars": false,
  11779. "dashLength": 10,
  11780. "dashes": false,
  11781. "datasource": {
  11782. "type": "prometheus",
  11783. "uid": "$datasource"
  11784. },
  11785. "fill": 1,
  11786. "fillGradient": 0,
  11787. "gridPos": {
  11788. "h": 8,
  11789. "w": 12,
  11790. "x": 12,
  11791. "y": 45
  11792. },
  11793. "hiddenSeries": false,
  11794. "id": 171,
  11795. "legend": {
  11796. "avg": false,
  11797. "current": false,
  11798. "max": false,
  11799. "min": false,
  11800. "show": true,
  11801. "total": false,
  11802. "values": false
  11803. },
  11804. "lines": true,
  11805. "linewidth": 1,
  11806. "nullPointMode": "null",
  11807. "options": {
  11808. "alertThreshold": true
  11809. },
  11810. "percentage": false,
  11811. "pluginVersion": "9.2.2",
  11812. "pointradius": 2,
  11813. "points": false,
  11814. "renderer": "flot",
  11815. "seriesOverrides": [],
  11816. "spaceLength": 10,
  11817. "stack": false,
  11818. "steppedLine": false,
  11819. "targets": [
  11820. {
  11821. "datasource": {
  11822. "uid": "$datasource"
  11823. },
  11824. "editorMode": "code",
  11825. "expr": "rate(synapse_appservice_api_sent_transactions_total{instance=\"$instance\"}[$bucket_size])",
  11826. "interval": "",
  11827. "legendFormat": "{{exported_service }} {{ service }}",
  11828. "range": true,
  11829. "refId": "A"
  11830. }
  11831. ],
  11832. "thresholds": [],
  11833. "timeRegions": [],
  11834. "title": "Transactions rate",
  11835. "tooltip": {
  11836. "shared": true,
  11837. "sort": 0,
  11838. "value_type": "individual"
  11839. },
  11840. "type": "graph",
  11841. "xaxis": {
  11842. "mode": "time",
  11843. "show": true,
  11844. "values": []
  11845. },
  11846. "yaxes": [
  11847. {
  11848. "$$hashKey": "object:260",
  11849. "format": "hertz",
  11850. "logBase": 1,
  11851. "show": true
  11852. },
  11853. {
  11854. "$$hashKey": "object:261",
  11855. "format": "short",
  11856. "logBase": 1,
  11857. "show": true
  11858. }
  11859. ],
  11860. "yaxis": {
  11861. "align": false
  11862. }
  11863. }
  11864. ],
  11865. "targets": [
  11866. {
  11867. "datasource": {
  11868. "type": "prometheus",
  11869. "uid": "000000001"
  11870. },
  11871. "refId": "A"
  11872. }
  11873. ],
  11874. "title": "Appservices",
  11875. "type": "row"
  11876. },
  11877. {
  11878. "collapsed": true,
  11879. "datasource": {
  11880. "type": "prometheus",
  11881. "uid": "000000001"
  11882. },
  11883. "gridPos": {
  11884. "h": 1,
  11885. "w": 24,
  11886. "x": 0,
  11887. "y": 45
  11888. },
  11889. "id": 188,
  11890. "panels": [
  11891. {
  11892. "aliasColors": {},
  11893. "bars": false,
  11894. "dashLength": 10,
  11895. "dashes": false,
  11896. "datasource": {
  11897. "uid": "$datasource"
  11898. },
  11899. "fill": 1,
  11900. "fillGradient": 0,
  11901. "gridPos": {
  11902. "h": 8,
  11903. "w": 12,
  11904. "x": 0,
  11905. "y": 46
  11906. },
  11907. "hiddenSeries": false,
  11908. "id": 182,
  11909. "legend": {
  11910. "avg": false,
  11911. "current": false,
  11912. "max": false,
  11913. "min": false,
  11914. "show": true,
  11915. "total": false,
  11916. "values": false
  11917. },
  11918. "lines": true,
  11919. "linewidth": 1,
  11920. "nullPointMode": "null",
  11921. "options": {
  11922. "alertThreshold": true
  11923. },
  11924. "percentage": false,
  11925. "pluginVersion": "9.2.2",
  11926. "pointradius": 2,
  11927. "points": false,
  11928. "renderer": "flot",
  11929. "seriesOverrides": [],
  11930. "spaceLength": 10,
  11931. "stack": false,
  11932. "steppedLine": false,
  11933. "targets": [
  11934. {
  11935. "datasource": {
  11936. "uid": "$datasource"
  11937. },
  11938. "expr": "rate(synapse_handler_presence_notified_presence_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11939. "interval": "",
  11940. "legendFormat": "Notified",
  11941. "refId": "A"
  11942. },
  11943. {
  11944. "datasource": {
  11945. "uid": "$datasource"
  11946. },
  11947. "expr": "rate(synapse_handler_presence_federation_presence_out_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11948. "interval": "",
  11949. "legendFormat": "Remote ping",
  11950. "refId": "B"
  11951. },
  11952. {
  11953. "datasource": {
  11954. "uid": "$datasource"
  11955. },
  11956. "expr": "rate(synapse_handler_presence_presence_updates_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11957. "interval": "",
  11958. "legendFormat": "Total updates",
  11959. "refId": "C"
  11960. },
  11961. {
  11962. "datasource": {
  11963. "uid": "$datasource"
  11964. },
  11965. "expr": "rate(synapse_handler_presence_federation_presence_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11966. "interval": "",
  11967. "legendFormat": "Remote updates",
  11968. "refId": "D"
  11969. },
  11970. {
  11971. "datasource": {
  11972. "uid": "$datasource"
  11973. },
  11974. "expr": "rate(synapse_handler_presence_bump_active_time_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11975. "interval": "",
  11976. "legendFormat": "Bump active time",
  11977. "refId": "E"
  11978. }
  11979. ],
  11980. "thresholds": [],
  11981. "timeRegions": [],
  11982. "title": "Presence",
  11983. "tooltip": {
  11984. "shared": true,
  11985. "sort": 2,
  11986. "value_type": "individual"
  11987. },
  11988. "type": "graph",
  11989. "xaxis": {
  11990. "mode": "time",
  11991. "show": true,
  11992. "values": []
  11993. },
  11994. "yaxes": [
  11995. {
  11996. "format": "hertz",
  11997. "logBase": 1,
  11998. "show": true
  11999. },
  12000. {
  12001. "format": "short",
  12002. "logBase": 1,
  12003. "show": true
  12004. }
  12005. ],
  12006. "yaxis": {
  12007. "align": false
  12008. }
  12009. },
  12010. {
  12011. "aliasColors": {},
  12012. "bars": false,
  12013. "dashLength": 10,
  12014. "dashes": false,
  12015. "datasource": {
  12016. "type": "prometheus",
  12017. "uid": "$datasource"
  12018. },
  12019. "fill": 1,
  12020. "fillGradient": 0,
  12021. "gridPos": {
  12022. "h": 8,
  12023. "w": 12,
  12024. "x": 12,
  12025. "y": 46
  12026. },
  12027. "hiddenSeries": false,
  12028. "id": 184,
  12029. "legend": {
  12030. "avg": false,
  12031. "current": false,
  12032. "max": false,
  12033. "min": false,
  12034. "show": true,
  12035. "total": false,
  12036. "values": false
  12037. },
  12038. "lines": true,
  12039. "linewidth": 1,
  12040. "nullPointMode": "null",
  12041. "options": {
  12042. "alertThreshold": true
  12043. },
  12044. "percentage": false,
  12045. "pluginVersion": "9.2.2",
  12046. "pointradius": 2,
  12047. "points": false,
  12048. "renderer": "flot",
  12049. "seriesOverrides": [],
  12050. "spaceLength": 10,
  12051. "stack": false,
  12052. "steppedLine": false,
  12053. "targets": [
  12054. {
  12055. "datasource": {
  12056. "uid": "$datasource"
  12057. },
  12058. "editorMode": "code",
  12059. "expr": "rate(synapse_handler_presence_state_transition_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  12060. "interval": "",
  12061. "legendFormat": "{{from}} -> {{to}}",
  12062. "range": true,
  12063. "refId": "A"
  12064. }
  12065. ],
  12066. "thresholds": [],
  12067. "timeRegions": [],
  12068. "title": "Presence state transitions",
  12069. "tooltip": {
  12070. "shared": true,
  12071. "sort": 2,
  12072. "value_type": "individual"
  12073. },
  12074. "type": "graph",
  12075. "xaxis": {
  12076. "mode": "time",
  12077. "show": true,
  12078. "values": []
  12079. },
  12080. "yaxes": [
  12081. {
  12082. "$$hashKey": "object:1090",
  12083. "format": "hertz",
  12084. "logBase": 1,
  12085. "show": true
  12086. },
  12087. {
  12088. "$$hashKey": "object:1091",
  12089. "format": "short",
  12090. "logBase": 1,
  12091. "show": true
  12092. }
  12093. ],
  12094. "yaxis": {
  12095. "align": false
  12096. }
  12097. },
  12098. {
  12099. "aliasColors": {},
  12100. "bars": false,
  12101. "dashLength": 10,
  12102. "dashes": false,
  12103. "datasource": {
  12104. "type": "prometheus",
  12105. "uid": "$datasource"
  12106. },
  12107. "fill": 1,
  12108. "fillGradient": 0,
  12109. "gridPos": {
  12110. "h": 8,
  12111. "w": 12,
  12112. "x": 0,
  12113. "y": 54
  12114. },
  12115. "hiddenSeries": false,
  12116. "id": 186,
  12117. "legend": {
  12118. "avg": false,
  12119. "current": false,
  12120. "max": false,
  12121. "min": false,
  12122. "show": true,
  12123. "total": false,
  12124. "values": false
  12125. },
  12126. "lines": true,
  12127. "linewidth": 1,
  12128. "nullPointMode": "null",
  12129. "options": {
  12130. "alertThreshold": true
  12131. },
  12132. "percentage": false,
  12133. "pluginVersion": "9.2.2",
  12134. "pointradius": 2,
  12135. "points": false,
  12136. "renderer": "flot",
  12137. "seriesOverrides": [],
  12138. "spaceLength": 10,
  12139. "stack": false,
  12140. "steppedLine": false,
  12141. "targets": [
  12142. {
  12143. "datasource": {
  12144. "uid": "$datasource"
  12145. },
  12146. "editorMode": "code",
  12147. "expr": "rate(synapse_handler_presence_notify_reason_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  12148. "interval": "",
  12149. "legendFormat": "{{reason}}",
  12150. "range": true,
  12151. "refId": "A"
  12152. }
  12153. ],
  12154. "thresholds": [],
  12155. "timeRegions": [],
  12156. "title": "Presence notify reason",
  12157. "tooltip": {
  12158. "shared": true,
  12159. "sort": 2,
  12160. "value_type": "individual"
  12161. },
  12162. "type": "graph",
  12163. "xaxis": {
  12164. "mode": "time",
  12165. "show": true,
  12166. "values": []
  12167. },
  12168. "yaxes": [
  12169. {
  12170. "$$hashKey": "object:165",
  12171. "format": "hertz",
  12172. "logBase": 1,
  12173. "show": true
  12174. },
  12175. {
  12176. "$$hashKey": "object:166",
  12177. "format": "short",
  12178. "logBase": 1,
  12179. "show": true
  12180. }
  12181. ],
  12182. "yaxis": {
  12183. "align": false
  12184. }
  12185. }
  12186. ],
  12187. "targets": [
  12188. {
  12189. "datasource": {
  12190. "type": "prometheus",
  12191. "uid": "000000001"
  12192. },
  12193. "refId": "A"
  12194. }
  12195. ],
  12196. "title": "Presence",
  12197. "type": "row"
  12198. },
  12199. {
  12200. "collapsed": true,
  12201. "datasource": {
  12202. "type": "prometheus",
  12203. "uid": "000000001"
  12204. },
  12205. "gridPos": {
  12206. "h": 1,
  12207. "w": 24,
  12208. "x": 0,
  12209. "y": 46
  12210. },
  12211. "id": 197,
  12212. "panels": [
  12213. {
  12214. "datasource": {
  12215. "type": "prometheus",
  12216. "uid": "$datasource"
  12217. },
  12218. "fieldConfig": {
  12219. "defaults": {
  12220. "color": {
  12221. "mode": "palette-classic"
  12222. },
  12223. "custom": {
  12224. "axisLabel": "",
  12225. "axisPlacement": "auto",
  12226. "barAlignment": 0,
  12227. "drawStyle": "line",
  12228. "fillOpacity": 10,
  12229. "gradientMode": "none",
  12230. "hideFrom": {
  12231. "legend": false,
  12232. "tooltip": false,
  12233. "viz": false
  12234. },
  12235. "lineInterpolation": "linear",
  12236. "lineWidth": 1,
  12237. "pointSize": 5,
  12238. "scaleDistribution": {
  12239. "type": "linear"
  12240. },
  12241. "showPoints": "never",
  12242. "spanNulls": false,
  12243. "stacking": {
  12244. "group": "A",
  12245. "mode": "none"
  12246. },
  12247. "thresholdsStyle": {
  12248. "mode": "off"
  12249. }
  12250. },
  12251. "mappings": [],
  12252. "thresholds": {
  12253. "mode": "absolute",
  12254. "steps": [
  12255. {
  12256. "color": "green"
  12257. },
  12258. {
  12259. "color": "red",
  12260. "value": 80
  12261. }
  12262. ]
  12263. },
  12264. "unit": "hertz"
  12265. },
  12266. "overrides": []
  12267. },
  12268. "gridPos": {
  12269. "h": 8,
  12270. "w": 12,
  12271. "x": 0,
  12272. "y": 46
  12273. },
  12274. "id": 191,
  12275. "options": {
  12276. "legend": {
  12277. "calcs": [],
  12278. "displayMode": "list",
  12279. "placement": "bottom",
  12280. "showLegend": true
  12281. },
  12282. "tooltip": {
  12283. "mode": "multi",
  12284. "sort": "desc"
  12285. }
  12286. },
  12287. "pluginVersion": "9.0.4",
  12288. "targets": [
  12289. {
  12290. "datasource": {
  12291. "uid": "$datasource"
  12292. },
  12293. "editorMode": "code",
  12294. "expr": "rate(synapse_external_cache_set{job=~\"$job\", instance=\"$instance\", index=~\"$index\"}[$bucket_size])",
  12295. "interval": "",
  12296. "legendFormat": "{{ cache_name }} {{job}}-{{ index }}",
  12297. "range": true,
  12298. "refId": "A"
  12299. }
  12300. ],
  12301. "title": "External Cache Set Rate",
  12302. "type": "timeseries"
  12303. },
  12304. {
  12305. "aliasColors": {},
  12306. "bars": false,
  12307. "dashLength": 10,
  12308. "dashes": false,
  12309. "datasource": {
  12310. "type": "prometheus",
  12311. "uid": "$datasource"
  12312. },
  12313. "description": "",
  12314. "fill": 1,
  12315. "fillGradient": 0,
  12316. "gridPos": {
  12317. "h": 8,
  12318. "w": 12,
  12319. "x": 12,
  12320. "y": 46
  12321. },
  12322. "hiddenSeries": false,
  12323. "id": 193,
  12324. "legend": {
  12325. "avg": false,
  12326. "current": false,
  12327. "max": false,
  12328. "min": false,
  12329. "show": true,
  12330. "total": false,
  12331. "values": false
  12332. },
  12333. "lines": true,
  12334. "linewidth": 1,
  12335. "nullPointMode": "null",
  12336. "options": {
  12337. "alertThreshold": true
  12338. },
  12339. "percentage": false,
  12340. "pluginVersion": "9.0.4",
  12341. "pointradius": 2,
  12342. "points": false,
  12343. "renderer": "flot",
  12344. "seriesOverrides": [],
  12345. "spaceLength": 10,
  12346. "stack": false,
  12347. "steppedLine": false,
  12348. "targets": [
  12349. {
  12350. "datasource": {
  12351. "uid": "$datasource"
  12352. },
  12353. "editorMode": "code",
  12354. "expr": "sum without (hit) (rate(synapse_external_cache_get{job=~\"$job\", instance=\"$instance\", index=~\"$index\"}[$bucket_size]))",
  12355. "interval": "",
  12356. "legendFormat": "{{ cache_name }} {{job}}-{{ index }}",
  12357. "range": true,
  12358. "refId": "A"
  12359. }
  12360. ],
  12361. "thresholds": [],
  12362. "timeRegions": [],
  12363. "title": "External Cache Get Rate",
  12364. "tooltip": {
  12365. "shared": true,
  12366. "sort": 2,
  12367. "value_type": "individual"
  12368. },
  12369. "type": "graph",
  12370. "xaxis": {
  12371. "mode": "time",
  12372. "show": true,
  12373. "values": []
  12374. },
  12375. "yaxes": [
  12376. {
  12377. "$$hashKey": "object:390",
  12378. "format": "hertz",
  12379. "logBase": 1,
  12380. "show": true
  12381. },
  12382. {
  12383. "$$hashKey": "object:391",
  12384. "format": "short",
  12385. "logBase": 1,
  12386. "show": true
  12387. }
  12388. ],
  12389. "yaxis": {
  12390. "align": false
  12391. }
  12392. },
  12393. {
  12394. "cards": {
  12395. "cardPadding": -1
  12396. },
  12397. "color": {
  12398. "cardColor": "#b4ff00",
  12399. "colorScale": "sqrt",
  12400. "colorScheme": "interpolateInferno",
  12401. "exponent": 0.5,
  12402. "min": 0,
  12403. "mode": "spectrum"
  12404. },
  12405. "dataFormat": "tsbuckets",
  12406. "datasource": {
  12407. "type": "prometheus",
  12408. "uid": "$datasource"
  12409. },
  12410. "gridPos": {
  12411. "h": 8,
  12412. "w": 12,
  12413. "x": 0,
  12414. "y": 54
  12415. },
  12416. "heatmap": {},
  12417. "hideZeroBuckets": false,
  12418. "highlightCards": true,
  12419. "id": 195,
  12420. "legend": {
  12421. "show": false
  12422. },
  12423. "links": [],
  12424. "reverseYBuckets": false,
  12425. "targets": [
  12426. {
  12427. "datasource": {
  12428. "uid": "$datasource"
  12429. },
  12430. "expr": "sum(rate(synapse_external_cache_response_time_seconds_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size])) by (le)",
  12431. "format": "heatmap",
  12432. "instant": false,
  12433. "interval": "",
  12434. "intervalFactor": 1,
  12435. "legendFormat": "{{le}}",
  12436. "refId": "A"
  12437. }
  12438. ],
  12439. "title": "External Cache Response Time",
  12440. "tooltip": {
  12441. "show": true,
  12442. "showHistogram": true
  12443. },
  12444. "tooltipDecimals": 2,
  12445. "type": "heatmap",
  12446. "xAxis": {
  12447. "show": true
  12448. },
  12449. "yAxis": {
  12450. "decimals": 0,
  12451. "format": "s",
  12452. "logBase": 1,
  12453. "show": true
  12454. },
  12455. "yBucketBound": "auto"
  12456. },
  12457. {
  12458. "datasource": {
  12459. "type": "prometheus",
  12460. "uid": "$datasource"
  12461. },
  12462. "description": "",
  12463. "fieldConfig": {
  12464. "defaults": {
  12465. "color": {
  12466. "mode": "palette-classic"
  12467. },
  12468. "custom": {
  12469. "axisLabel": "",
  12470. "axisPlacement": "auto",
  12471. "barAlignment": 0,
  12472. "drawStyle": "line",
  12473. "fillOpacity": 10,
  12474. "gradientMode": "none",
  12475. "hideFrom": {
  12476. "legend": false,
  12477. "tooltip": false,
  12478. "viz": false
  12479. },
  12480. "lineInterpolation": "linear",
  12481. "lineWidth": 1,
  12482. "pointSize": 5,
  12483. "scaleDistribution": {
  12484. "type": "linear"
  12485. },
  12486. "showPoints": "never",
  12487. "spanNulls": false,
  12488. "stacking": {
  12489. "group": "A",
  12490. "mode": "none"
  12491. },
  12492. "thresholdsStyle": {
  12493. "mode": "off"
  12494. }
  12495. },
  12496. "mappings": [],
  12497. "thresholds": {
  12498. "mode": "absolute",
  12499. "steps": [
  12500. {
  12501. "color": "green"
  12502. }
  12503. ]
  12504. },
  12505. "unit": "hertz"
  12506. },
  12507. "overrides": []
  12508. },
  12509. "gridPos": {
  12510. "h": 8,
  12511. "w": 12,
  12512. "x": 12,
  12513. "y": 54
  12514. },
  12515. "id": 223,
  12516. "options": {
  12517. "legend": {
  12518. "calcs": [],
  12519. "displayMode": "list",
  12520. "placement": "bottom",
  12521. "showLegend": true
  12522. },
  12523. "tooltip": {
  12524. "mode": "multi",
  12525. "sort": "desc"
  12526. }
  12527. },
  12528. "pluginVersion": "9.0.4",
  12529. "targets": [
  12530. {
  12531. "datasource": {
  12532. "uid": "$datasource"
  12533. },
  12534. "editorMode": "code",
  12535. "expr": "rate(synapse_external_cache_get{job=~\"$job\", instance=\"$instance\", index=~\"$index\", hit=\"False\"}[$bucket_size])",
  12536. "interval": "",
  12537. "legendFormat": "{{ cache_name }} {{job}}-{{ index }}",
  12538. "range": true,
  12539. "refId": "A"
  12540. }
  12541. ],
  12542. "title": "External Cache Miss Rate",
  12543. "type": "timeseries"
  12544. }
  12545. ],
  12546. "targets": [
  12547. {
  12548. "datasource": {
  12549. "type": "prometheus",
  12550. "uid": "000000001"
  12551. },
  12552. "refId": "A"
  12553. }
  12554. ],
  12555. "title": "External Cache",
  12556. "type": "row"
  12557. }
  12558. ],
  12559. "refresh": false,
  12560. "schemaVersion": 37,
  12561. "style": "dark",
  12562. "tags": [
  12563. "matrix"
  12564. ],
  12565. "templating": {
  12566. "list": [
  12567. {
  12568. "current": {
  12569. "selected": false,
  12570. "text": "default",
  12571. "value": "default"
  12572. },
  12573. "hide": 0,
  12574. "includeAll": false,
  12575. "multi": false,
  12576. "name": "datasource",
  12577. "options": [],
  12578. "query": "prometheus",
  12579. "queryValue": "",
  12580. "refresh": 1,
  12581. "regex": "",
  12582. "skipUrlSync": false,
  12583. "type": "datasource"
  12584. },
  12585. {
  12586. "allFormat": "glob",
  12587. "auto": true,
  12588. "auto_count": 100,
  12589. "auto_min": "30s",
  12590. "current": {
  12591. "selected": false,
  12592. "text": "auto",
  12593. "value": "$__auto_interval_bucket_size"
  12594. },
  12595. "hide": 0,
  12596. "includeAll": false,
  12597. "label": "Bucket Size",
  12598. "multi": false,
  12599. "multiFormat": "glob",
  12600. "name": "bucket_size",
  12601. "options": [
  12602. {
  12603. "selected": true,
  12604. "text": "auto",
  12605. "value": "$__auto_interval_bucket_size"
  12606. },
  12607. {
  12608. "selected": false,
  12609. "text": "30s",
  12610. "value": "30s"
  12611. },
  12612. {
  12613. "selected": false,
  12614. "text": "1m",
  12615. "value": "1m"
  12616. },
  12617. {
  12618. "selected": false,
  12619. "text": "2m",
  12620. "value": "2m"
  12621. },
  12622. {
  12623. "selected": false,
  12624. "text": "5m",
  12625. "value": "5m"
  12626. },
  12627. {
  12628. "selected": false,
  12629. "text": "10m",
  12630. "value": "10m"
  12631. },
  12632. {
  12633. "selected": false,
  12634. "text": "15m",
  12635. "value": "15m"
  12636. }
  12637. ],
  12638. "query": "30s,1m,2m,5m,10m,15m",
  12639. "queryValue": "",
  12640. "refresh": 2,
  12641. "skipUrlSync": false,
  12642. "type": "interval"
  12643. },
  12644. {
  12645. "current": {},
  12646. "datasource": {
  12647. "uid": "$datasource"
  12648. },
  12649. "definition": "",
  12650. "hide": 0,
  12651. "includeAll": false,
  12652. "multi": false,
  12653. "name": "instance",
  12654. "options": [],
  12655. "query": {
  12656. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds_total, instance)",
  12657. "refId": "Prometheus-instance-Variable-Query"
  12658. },
  12659. "refresh": 2,
  12660. "regex": "",
  12661. "skipUrlSync": false,
  12662. "sort": 1,
  12663. "tagValuesQuery": "",
  12664. "tagsQuery": "",
  12665. "type": "query",
  12666. "useTags": false
  12667. },
  12668. {
  12669. "allFormat": "regex wildcard",
  12670. "allValue": "",
  12671. "current": {},
  12672. "datasource": {
  12673. "uid": "$datasource"
  12674. },
  12675. "definition": "",
  12676. "hide": 0,
  12677. "hideLabel": false,
  12678. "includeAll": true,
  12679. "label": "Job",
  12680. "multi": true,
  12681. "multiFormat": "regex values",
  12682. "name": "job",
  12683. "options": [],
  12684. "query": {
  12685. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds_total, job)",
  12686. "refId": "Prometheus-job-Variable-Query"
  12687. },
  12688. "refresh": 2,
  12689. "refresh_on_load": false,
  12690. "regex": "",
  12691. "skipUrlSync": false,
  12692. "sort": 1,
  12693. "tagValuesQuery": "",
  12694. "tagsQuery": "",
  12695. "type": "query",
  12696. "useTags": false
  12697. },
  12698. {
  12699. "allFormat": "regex wildcard",
  12700. "allValue": ".*",
  12701. "current": {},
  12702. "datasource": {
  12703. "uid": "$datasource"
  12704. },
  12705. "definition": "",
  12706. "hide": 0,
  12707. "hideLabel": false,
  12708. "includeAll": true,
  12709. "label": "",
  12710. "multi": true,
  12711. "multiFormat": "regex values",
  12712. "name": "index",
  12713. "options": [],
  12714. "query": {
  12715. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds_total, index)",
  12716. "refId": "Prometheus-index-Variable-Query"
  12717. },
  12718. "refresh": 2,
  12719. "refresh_on_load": false,
  12720. "regex": "",
  12721. "skipUrlSync": false,
  12722. "sort": 3,
  12723. "tagValuesQuery": "",
  12724. "tagsQuery": "",
  12725. "type": "query",
  12726. "useTags": false
  12727. }
  12728. ]
  12729. },
  12730. "time": {
  12731. "from": "now-3h",
  12732. "to": "now"
  12733. },
  12734. "timepicker": {
  12735. "now": true,
  12736. "refresh_intervals": [
  12737. "5s",
  12738. "10s",
  12739. "30s",
  12740. "1m",
  12741. "5m",
  12742. "15m",
  12743. "30m",
  12744. "1h",
  12745. "2h",
  12746. "1d"
  12747. ],
  12748. "time_options": [
  12749. "5m",
  12750. "15m",
  12751. "1h",
  12752. "6h",
  12753. "12h",
  12754. "24h",
  12755. "2d",
  12756. "7d",
  12757. "30d"
  12758. ]
  12759. },
  12760. "timezone": "",
  12761. "title": "Synapse",
  12762. "uid": "000000012",
  12763. "version": 149,
  12764. "weekStart": ""
  12765. }