synapse.json 319 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901
  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.0.4"
  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. "gridPos": {
  124. "h": 9,
  125. "w": 12,
  126. "x": 0,
  127. "y": 1
  128. },
  129. "heatmap": {},
  130. "hideZeroBuckets": false,
  131. "highlightCards": true,
  132. "id": 189,
  133. "legend": {
  134. "show": false
  135. },
  136. "links": [],
  137. "reverseYBuckets": false,
  138. "targets": [
  139. {
  140. "datasource": {
  141. "uid": "$datasource"
  142. },
  143. "expr": "sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le)",
  144. "format": "heatmap",
  145. "interval": "",
  146. "intervalFactor": 1,
  147. "legendFormat": "{{le}}",
  148. "refId": "A"
  149. }
  150. ],
  151. "title": "Event Send Time (excluding errors, all workers)",
  152. "tooltip": {
  153. "show": true,
  154. "showHistogram": true
  155. },
  156. "type": "heatmap",
  157. "xAxis": {
  158. "show": true
  159. },
  160. "yAxis": {
  161. "format": "s",
  162. "logBase": 2,
  163. "show": true
  164. },
  165. "yBucketBound": "auto"
  166. },
  167. {
  168. "aliasColors": {},
  169. "bars": false,
  170. "dashLength": 10,
  171. "dashes": false,
  172. "datasource": {
  173. "uid": "$datasource"
  174. },
  175. "description": "",
  176. "fieldConfig": {
  177. "defaults": {
  178. "links": []
  179. },
  180. "overrides": []
  181. },
  182. "fill": 0,
  183. "fillGradient": 0,
  184. "gridPos": {
  185. "h": 9,
  186. "w": 12,
  187. "x": 12,
  188. "y": 1
  189. },
  190. "hiddenSeries": false,
  191. "id": 152,
  192. "legend": {
  193. "avg": false,
  194. "current": false,
  195. "max": false,
  196. "min": false,
  197. "rightSide": false,
  198. "show": true,
  199. "total": false,
  200. "values": false
  201. },
  202. "lines": true,
  203. "linewidth": 0,
  204. "links": [],
  205. "nullPointMode": "connected",
  206. "options": {
  207. "alertThreshold": true
  208. },
  209. "paceLength": 10,
  210. "percentage": false,
  211. "pluginVersion": "9.0.4",
  212. "pointradius": 5,
  213. "points": false,
  214. "renderer": "flot",
  215. "seriesOverrides": [
  216. {
  217. "alias": "Avg",
  218. "fill": 0,
  219. "linewidth": 3
  220. },
  221. {
  222. "alias": "99%",
  223. "color": "#C4162A",
  224. "fillBelowTo": "90%"
  225. },
  226. {
  227. "alias": "90%",
  228. "color": "#FF7383",
  229. "fillBelowTo": "75%"
  230. },
  231. {
  232. "alias": "75%",
  233. "color": "#FFEE52",
  234. "fillBelowTo": "50%"
  235. },
  236. {
  237. "alias": "50%",
  238. "color": "#73BF69",
  239. "fillBelowTo": "25%"
  240. },
  241. {
  242. "alias": "25%",
  243. "color": "#1F60C4",
  244. "fillBelowTo": "5%"
  245. },
  246. {
  247. "alias": "5%",
  248. "lines": false
  249. },
  250. {
  251. "alias": "Average",
  252. "color": "rgb(255, 255, 255)",
  253. "lines": true,
  254. "linewidth": 3
  255. },
  256. {
  257. "alias": "Events",
  258. "color": "#B877D9",
  259. "hideTooltip": true,
  260. "points": true,
  261. "yaxis": 2,
  262. "zindex": -3
  263. }
  264. ],
  265. "spaceLength": 10,
  266. "stack": false,
  267. "steppedLine": false,
  268. "targets": [
  269. {
  270. "datasource": {
  271. "uid": "$datasource"
  272. },
  273. "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))",
  274. "format": "time_series",
  275. "intervalFactor": 1,
  276. "legendFormat": "99%",
  277. "refId": "D"
  278. },
  279. {
  280. "datasource": {
  281. "uid": "$datasource"
  282. },
  283. "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))",
  284. "format": "time_series",
  285. "interval": "",
  286. "intervalFactor": 1,
  287. "legendFormat": "90%",
  288. "refId": "A"
  289. },
  290. {
  291. "datasource": {
  292. "uid": "$datasource"
  293. },
  294. "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))",
  295. "format": "time_series",
  296. "intervalFactor": 1,
  297. "legendFormat": "75%",
  298. "refId": "C"
  299. },
  300. {
  301. "datasource": {
  302. "uid": "$datasource"
  303. },
  304. "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))",
  305. "format": "time_series",
  306. "intervalFactor": 1,
  307. "legendFormat": "50%",
  308. "refId": "B"
  309. },
  310. {
  311. "datasource": {
  312. "uid": "$datasource"
  313. },
  314. "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))",
  315. "legendFormat": "25%",
  316. "refId": "F"
  317. },
  318. {
  319. "datasource": {
  320. "uid": "$datasource"
  321. },
  322. "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))",
  323. "legendFormat": "5%",
  324. "refId": "G"
  325. },
  326. {
  327. "datasource": {
  328. "uid": "$datasource"
  329. },
  330. "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]))",
  331. "legendFormat": "Average",
  332. "refId": "H"
  333. },
  334. {
  335. "datasource": {
  336. "uid": "$datasource"
  337. },
  338. "expr": "sum(rate(synapse_storage_events_persisted_events_total{instance=\"$instance\"}[$bucket_size]))",
  339. "hide": false,
  340. "instant": false,
  341. "legendFormat": "Events",
  342. "refId": "E"
  343. }
  344. ],
  345. "thresholds": [
  346. {
  347. "$$hashKey": "object:283",
  348. "colorMode": "warning",
  349. "fill": false,
  350. "line": true,
  351. "op": "gt",
  352. "value": 1,
  353. "yaxis": "left"
  354. },
  355. {
  356. "$$hashKey": "object:284",
  357. "colorMode": "critical",
  358. "fill": false,
  359. "line": true,
  360. "op": "gt",
  361. "value": 2,
  362. "yaxis": "left"
  363. }
  364. ],
  365. "timeRegions": [],
  366. "title": "Event Send Time Quantiles (excluding errors, all workers)",
  367. "tooltip": {
  368. "shared": true,
  369. "sort": 2,
  370. "value_type": "individual"
  371. },
  372. "type": "graph",
  373. "xaxis": {
  374. "mode": "time",
  375. "show": true,
  376. "values": []
  377. },
  378. "yaxes": [
  379. {
  380. "$$hashKey": "object:255",
  381. "format": "s",
  382. "label": "",
  383. "logBase": 1,
  384. "min": "0",
  385. "show": true
  386. },
  387. {
  388. "$$hashKey": "object:256",
  389. "format": "hertz",
  390. "label": "",
  391. "logBase": 1,
  392. "min": "0",
  393. "show": true
  394. }
  395. ],
  396. "yaxis": {
  397. "align": false
  398. }
  399. },
  400. {
  401. "aliasColors": {},
  402. "bars": false,
  403. "dashLength": 10,
  404. "dashes": false,
  405. "datasource": {
  406. "uid": "$datasource"
  407. },
  408. "fieldConfig": {
  409. "defaults": {
  410. "links": []
  411. },
  412. "overrides": []
  413. },
  414. "fill": 1,
  415. "fillGradient": 0,
  416. "gridPos": {
  417. "h": 9,
  418. "w": 12,
  419. "x": 0,
  420. "y": 10
  421. },
  422. "hiddenSeries": false,
  423. "id": 75,
  424. "legend": {
  425. "avg": false,
  426. "current": false,
  427. "max": false,
  428. "min": false,
  429. "show": true,
  430. "total": false,
  431. "values": false
  432. },
  433. "lines": true,
  434. "linewidth": 3,
  435. "links": [],
  436. "nullPointMode": "null",
  437. "options": {
  438. "alertThreshold": true
  439. },
  440. "paceLength": 10,
  441. "percentage": false,
  442. "pluginVersion": "9.0.4",
  443. "pointradius": 5,
  444. "points": false,
  445. "renderer": "flot",
  446. "seriesOverrides": [],
  447. "spaceLength": 10,
  448. "stack": false,
  449. "steppedLine": false,
  450. "targets": [
  451. {
  452. "datasource": {
  453. "uid": "$datasource"
  454. },
  455. "expr": "rate(process_cpu_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  456. "format": "time_series",
  457. "interval": "",
  458. "intervalFactor": 1,
  459. "legendFormat": "{{job}}-{{index}} ",
  460. "refId": "A"
  461. }
  462. ],
  463. "thresholds": [
  464. {
  465. "$$hashKey": "object:566",
  466. "colorMode": "critical",
  467. "fill": true,
  468. "line": true,
  469. "op": "gt",
  470. "value": 1,
  471. "yaxis": "left"
  472. }
  473. ],
  474. "timeRegions": [],
  475. "title": "CPU usage",
  476. "tooltip": {
  477. "shared": false,
  478. "sort": 0,
  479. "value_type": "individual"
  480. },
  481. "type": "graph",
  482. "xaxis": {
  483. "mode": "time",
  484. "show": true,
  485. "values": []
  486. },
  487. "yaxes": [
  488. {
  489. "$$hashKey": "object:538",
  490. "format": "percentunit",
  491. "logBase": 1,
  492. "max": "1.5",
  493. "min": "0",
  494. "show": true
  495. },
  496. {
  497. "$$hashKey": "object:539",
  498. "format": "short",
  499. "logBase": 1,
  500. "show": true
  501. }
  502. ],
  503. "yaxis": {
  504. "align": false
  505. }
  506. },
  507. {
  508. "aliasColors": {},
  509. "bars": false,
  510. "dashLength": 10,
  511. "dashes": false,
  512. "datasource": {
  513. "uid": "$datasource"
  514. },
  515. "editable": true,
  516. "error": false,
  517. "fieldConfig": {
  518. "defaults": {
  519. "links": []
  520. },
  521. "overrides": []
  522. },
  523. "fill": 1,
  524. "fillGradient": 0,
  525. "grid": {},
  526. "gridPos": {
  527. "h": 9,
  528. "w": 12,
  529. "x": 12,
  530. "y": 10
  531. },
  532. "hiddenSeries": false,
  533. "id": 198,
  534. "legend": {
  535. "avg": false,
  536. "current": false,
  537. "max": false,
  538. "min": false,
  539. "show": true,
  540. "total": false,
  541. "values": false
  542. },
  543. "lines": true,
  544. "linewidth": 3,
  545. "links": [],
  546. "nullPointMode": "null",
  547. "options": {
  548. "alertThreshold": true
  549. },
  550. "paceLength": 10,
  551. "percentage": false,
  552. "pluginVersion": "9.0.4",
  553. "pointradius": 5,
  554. "points": false,
  555. "renderer": "flot",
  556. "seriesOverrides": [],
  557. "spaceLength": 10,
  558. "stack": false,
  559. "steppedLine": false,
  560. "targets": [
  561. {
  562. "datasource": {
  563. "uid": "$datasource"
  564. },
  565. "expr": "process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  566. "format": "time_series",
  567. "interval": "",
  568. "intervalFactor": 2,
  569. "legendFormat": "{{job}} {{index}}",
  570. "refId": "A",
  571. "step": 20,
  572. "target": ""
  573. },
  574. {
  575. "datasource": {
  576. "uid": "$datasource"
  577. },
  578. "expr": "sum(process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})",
  579. "hide": true,
  580. "interval": "",
  581. "legendFormat": "total",
  582. "refId": "B"
  583. }
  584. ],
  585. "thresholds": [],
  586. "timeRegions": [],
  587. "title": "Memory",
  588. "tooltip": {
  589. "shared": false,
  590. "sort": 0,
  591. "value_type": "cumulative"
  592. },
  593. "transformations": [],
  594. "type": "graph",
  595. "xaxis": {
  596. "mode": "time",
  597. "show": true,
  598. "values": []
  599. },
  600. "yaxes": [
  601. {
  602. "$$hashKey": "object:1560",
  603. "format": "bytes",
  604. "logBase": 1,
  605. "min": "0",
  606. "show": true
  607. },
  608. {
  609. "$$hashKey": "object:1561",
  610. "format": "short",
  611. "logBase": 1,
  612. "show": true
  613. }
  614. ],
  615. "yaxis": {
  616. "align": false
  617. }
  618. },
  619. {
  620. "aliasColors": {},
  621. "bars": false,
  622. "dashLength": 10,
  623. "dashes": false,
  624. "datasource": {
  625. "uid": "$datasource"
  626. },
  627. "fieldConfig": {
  628. "defaults": {
  629. "links": []
  630. },
  631. "overrides": []
  632. },
  633. "fill": 1,
  634. "fillGradient": 0,
  635. "gridPos": {
  636. "h": 7,
  637. "w": 12,
  638. "x": 12,
  639. "y": 19
  640. },
  641. "hiddenSeries": false,
  642. "id": 37,
  643. "legend": {
  644. "avg": false,
  645. "current": false,
  646. "max": false,
  647. "min": false,
  648. "show": true,
  649. "total": false,
  650. "values": false
  651. },
  652. "lines": true,
  653. "linewidth": 1,
  654. "links": [],
  655. "nullPointMode": "null",
  656. "options": {
  657. "alertThreshold": true
  658. },
  659. "paceLength": 10,
  660. "percentage": false,
  661. "pluginVersion": "9.0.4",
  662. "pointradius": 5,
  663. "points": false,
  664. "renderer": "flot",
  665. "seriesOverrides": [
  666. {
  667. "$$hashKey": "object:639",
  668. "alias": "/max$/",
  669. "color": "#890F02",
  670. "fill": 0,
  671. "legend": false
  672. }
  673. ],
  674. "spaceLength": 10,
  675. "stack": false,
  676. "steppedLine": false,
  677. "targets": [
  678. {
  679. "datasource": {
  680. "uid": "$datasource"
  681. },
  682. "expr": "process_open_fds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  683. "format": "time_series",
  684. "hide": false,
  685. "interval": "",
  686. "intervalFactor": 2,
  687. "legendFormat": "{{job}}-{{index}}",
  688. "refId": "A",
  689. "step": 20
  690. },
  691. {
  692. "datasource": {
  693. "uid": "$datasource"
  694. },
  695. "expr": "process_max_fds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  696. "format": "time_series",
  697. "hide": true,
  698. "interval": "",
  699. "intervalFactor": 2,
  700. "legendFormat": "{{job}}-{{index}} max",
  701. "refId": "B",
  702. "step": 20
  703. }
  704. ],
  705. "thresholds": [],
  706. "timeRegions": [],
  707. "title": "Open FDs",
  708. "tooltip": {
  709. "shared": false,
  710. "sort": 0,
  711. "value_type": "individual"
  712. },
  713. "type": "graph",
  714. "xaxis": {
  715. "mode": "time",
  716. "show": true,
  717. "values": []
  718. },
  719. "yaxes": [
  720. {
  721. "$$hashKey": "object:650",
  722. "format": "none",
  723. "label": "",
  724. "logBase": 1,
  725. "show": true
  726. },
  727. {
  728. "$$hashKey": "object:651",
  729. "format": "short",
  730. "logBase": 1,
  731. "show": true
  732. }
  733. ],
  734. "yaxis": {
  735. "align": false
  736. }
  737. },
  738. {
  739. "collapsed": true,
  740. "datasource": {
  741. "type": "prometheus",
  742. "uid": "$datasource"
  743. },
  744. "gridPos": {
  745. "h": 1,
  746. "w": 24,
  747. "x": 0,
  748. "y": 26
  749. },
  750. "id": 54,
  751. "panels": [
  752. {
  753. "aliasColors": {},
  754. "bars": false,
  755. "dashLength": 10,
  756. "dashes": false,
  757. "datasource": {
  758. "uid": "$datasource"
  759. },
  760. "editable": true,
  761. "error": false,
  762. "fieldConfig": {
  763. "defaults": {
  764. "links": []
  765. },
  766. "overrides": []
  767. },
  768. "fill": 1,
  769. "fillGradient": 0,
  770. "grid": {},
  771. "gridPos": {
  772. "h": 7,
  773. "w": 12,
  774. "x": 0,
  775. "y": 27
  776. },
  777. "hiddenSeries": false,
  778. "id": 5,
  779. "legend": {
  780. "alignAsTable": false,
  781. "avg": false,
  782. "current": false,
  783. "hideEmpty": false,
  784. "hideZero": false,
  785. "max": false,
  786. "min": false,
  787. "rightSide": false,
  788. "show": true,
  789. "total": false,
  790. "values": false
  791. },
  792. "lines": true,
  793. "linewidth": 3,
  794. "links": [],
  795. "nullPointMode": "null",
  796. "options": {
  797. "alertThreshold": true
  798. },
  799. "paceLength": 10,
  800. "percentage": false,
  801. "pluginVersion": "9.0.4",
  802. "pointradius": 5,
  803. "points": false,
  804. "renderer": "flot",
  805. "seriesOverrides": [
  806. {
  807. "$$hashKey": "object:1240",
  808. "alias": "/user/"
  809. },
  810. {
  811. "$$hashKey": "object:1241",
  812. "alias": "/system/"
  813. }
  814. ],
  815. "spaceLength": 10,
  816. "stack": false,
  817. "steppedLine": false,
  818. "targets": [
  819. {
  820. "datasource": {
  821. "uid": "$datasource"
  822. },
  823. "expr": "rate(process_cpu_system_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  824. "format": "time_series",
  825. "intervalFactor": 1,
  826. "legendFormat": "{{job}}-{{index}} system ",
  827. "metric": "",
  828. "refId": "B",
  829. "step": 20
  830. },
  831. {
  832. "datasource": {
  833. "uid": "$datasource"
  834. },
  835. "expr": "rate(process_cpu_user_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  836. "format": "time_series",
  837. "hide": false,
  838. "interval": "",
  839. "intervalFactor": 1,
  840. "legendFormat": "{{job}}-{{index}} user",
  841. "refId": "A",
  842. "step": 20
  843. }
  844. ],
  845. "thresholds": [
  846. {
  847. "$$hashKey": "object:1278",
  848. "colorMode": "custom",
  849. "fillColor": "rgba(255, 255, 255, 1)",
  850. "line": true,
  851. "lineColor": "rgba(216, 200, 27, 0.27)",
  852. "op": "gt",
  853. "value": 0.5,
  854. "yaxis": "left"
  855. },
  856. {
  857. "$$hashKey": "object:1279",
  858. "colorMode": "custom",
  859. "fillColor": "rgba(255, 255, 255, 1)",
  860. "line": true,
  861. "lineColor": "rgb(87, 6, 16)",
  862. "op": "gt",
  863. "value": 0.8,
  864. "yaxis": "left"
  865. },
  866. {
  867. "$$hashKey": "object:1498",
  868. "colorMode": "critical",
  869. "fill": true,
  870. "line": true,
  871. "op": "gt",
  872. "value": 1,
  873. "yaxis": "left"
  874. }
  875. ],
  876. "timeRegions": [],
  877. "title": "CPU",
  878. "tooltip": {
  879. "shared": false,
  880. "sort": 0,
  881. "value_type": "individual"
  882. },
  883. "type": "graph",
  884. "xaxis": {
  885. "mode": "time",
  886. "show": true,
  887. "values": []
  888. },
  889. "yaxes": [
  890. {
  891. "$$hashKey": "object:1250",
  892. "format": "percentunit",
  893. "label": "",
  894. "logBase": 1,
  895. "max": "1.2",
  896. "min": 0,
  897. "show": true
  898. },
  899. {
  900. "$$hashKey": "object:1251",
  901. "format": "short",
  902. "logBase": 1,
  903. "show": true
  904. }
  905. ],
  906. "yaxis": {
  907. "align": false
  908. }
  909. },
  910. {
  911. "datasource": {
  912. "type": "prometheus",
  913. "uid": "${DS_PROMETHEUS}"
  914. },
  915. "description": "Shows the time in which the given percentage of reactor ticks completed, over the sampled timespan",
  916. "fieldConfig": {
  917. "defaults": {
  918. "color": {
  919. "mode": "palette-classic"
  920. },
  921. "custom": {
  922. "axisLabel": "",
  923. "axisPlacement": "auto",
  924. "barAlignment": 0,
  925. "drawStyle": "line",
  926. "fillOpacity": 10,
  927. "gradientMode": "none",
  928. "hideFrom": {
  929. "legend": false,
  930. "tooltip": false,
  931. "viz": false
  932. },
  933. "lineInterpolation": "linear",
  934. "lineWidth": 1,
  935. "pointSize": 5,
  936. "scaleDistribution": {
  937. "type": "linear"
  938. },
  939. "showPoints": "never",
  940. "spanNulls": true,
  941. "stacking": {
  942. "group": "A",
  943. "mode": "none"
  944. },
  945. "thresholdsStyle": {
  946. "mode": "off"
  947. }
  948. },
  949. "links": [],
  950. "mappings": [],
  951. "thresholds": {
  952. "mode": "absolute",
  953. "steps": [
  954. {
  955. "color": "green"
  956. },
  957. {
  958. "color": "red",
  959. "value": 80
  960. }
  961. ]
  962. },
  963. "unit": "s"
  964. },
  965. "overrides": []
  966. },
  967. "gridPos": {
  968. "h": 7,
  969. "w": 12,
  970. "x": 12,
  971. "y": 27
  972. },
  973. "id": 105,
  974. "interval": "",
  975. "links": [],
  976. "options": {
  977. "legend": {
  978. "calcs": [],
  979. "displayMode": "list",
  980. "placement": "bottom"
  981. },
  982. "tooltip": {
  983. "mode": "single",
  984. "sort": "none"
  985. }
  986. },
  987. "pluginVersion": "8.3.2",
  988. "targets": [
  989. {
  990. "datasource": {
  991. "type": "prometheus",
  992. "uid": "${DS_PROMETHEUS}"
  993. },
  994. "exemplar": true,
  995. "expr": "histogram_quantile(0.999, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  996. "hide": false,
  997. "interval": "",
  998. "legendFormat": "{{job}}-{{index}} 99.9%",
  999. "refId": "E"
  1000. },
  1001. {
  1002. "datasource": {
  1003. "type": "prometheus",
  1004. "uid": "${DS_PROMETHEUS}"
  1005. },
  1006. "exemplar": true,
  1007. "expr": "histogram_quantile(0.99, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  1008. "format": "time_series",
  1009. "interval": "",
  1010. "intervalFactor": 2,
  1011. "legendFormat": "{{job}}-{{index}} 99%",
  1012. "refId": "A",
  1013. "step": 20
  1014. },
  1015. {
  1016. "datasource": {
  1017. "type": "prometheus",
  1018. "uid": "${DS_PROMETHEUS}"
  1019. },
  1020. "exemplar": true,
  1021. "expr": "histogram_quantile(0.95, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  1022. "format": "time_series",
  1023. "interval": "",
  1024. "intervalFactor": 1,
  1025. "legendFormat": "{{job}}-{{index}} 95%",
  1026. "refId": "B"
  1027. },
  1028. {
  1029. "datasource": {
  1030. "type": "prometheus",
  1031. "uid": "${DS_PROMETHEUS}"
  1032. },
  1033. "expr": "histogram_quantile(0.90, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  1034. "format": "time_series",
  1035. "intervalFactor": 1,
  1036. "legendFormat": "{{job}}-{{index}} 90%",
  1037. "refId": "C"
  1038. },
  1039. {
  1040. "datasource": {
  1041. "type": "prometheus",
  1042. "uid": "${DS_PROMETHEUS}"
  1043. },
  1044. "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])",
  1045. "format": "time_series",
  1046. "intervalFactor": 1,
  1047. "legendFormat": "{{job}}-{{index}} mean",
  1048. "refId": "D"
  1049. }
  1050. ],
  1051. "title": "Reactor tick quantiles",
  1052. "type": "timeseries"
  1053. },
  1054. {
  1055. "aliasColors": {},
  1056. "bars": false,
  1057. "dashLength": 10,
  1058. "dashes": false,
  1059. "datasource": {
  1060. "uid": "$datasource"
  1061. },
  1062. "editable": true,
  1063. "error": false,
  1064. "fieldConfig": {
  1065. "defaults": {
  1066. "links": []
  1067. },
  1068. "overrides": []
  1069. },
  1070. "fill": 0,
  1071. "fillGradient": 0,
  1072. "grid": {},
  1073. "gridPos": {
  1074. "h": 7,
  1075. "w": 12,
  1076. "x": 0,
  1077. "y": 34
  1078. },
  1079. "hiddenSeries": false,
  1080. "id": 34,
  1081. "legend": {
  1082. "avg": false,
  1083. "current": false,
  1084. "max": false,
  1085. "min": false,
  1086. "show": true,
  1087. "total": false,
  1088. "values": false
  1089. },
  1090. "lines": true,
  1091. "linewidth": 1,
  1092. "links": [],
  1093. "nullPointMode": "null",
  1094. "options": {
  1095. "alertThreshold": true
  1096. },
  1097. "paceLength": 10,
  1098. "percentage": false,
  1099. "pluginVersion": "9.0.4",
  1100. "pointradius": 5,
  1101. "points": false,
  1102. "renderer": "flot",
  1103. "seriesOverrides": [],
  1104. "spaceLength": 10,
  1105. "stack": false,
  1106. "steppedLine": false,
  1107. "targets": [
  1108. {
  1109. "datasource": {
  1110. "uid": "$datasource"
  1111. },
  1112. "expr": "process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  1113. "format": "time_series",
  1114. "interval": "",
  1115. "intervalFactor": 2,
  1116. "legendFormat": "{{job}} {{index}}",
  1117. "refId": "A",
  1118. "step": 20,
  1119. "target": ""
  1120. },
  1121. {
  1122. "datasource": {
  1123. "uid": "$datasource"
  1124. },
  1125. "expr": "sum(process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})",
  1126. "interval": "",
  1127. "legendFormat": "total",
  1128. "refId": "B"
  1129. }
  1130. ],
  1131. "thresholds": [],
  1132. "timeRegions": [],
  1133. "title": "Memory",
  1134. "tooltip": {
  1135. "shared": false,
  1136. "sort": 0,
  1137. "value_type": "cumulative"
  1138. },
  1139. "transformations": [],
  1140. "type": "graph",
  1141. "xaxis": {
  1142. "mode": "time",
  1143. "show": true,
  1144. "values": []
  1145. },
  1146. "yaxes": [
  1147. {
  1148. "format": "bytes",
  1149. "logBase": 1,
  1150. "min": "0",
  1151. "show": true
  1152. },
  1153. {
  1154. "format": "short",
  1155. "logBase": 1,
  1156. "show": true
  1157. }
  1158. ],
  1159. "yaxis": {
  1160. "align": false
  1161. }
  1162. },
  1163. {
  1164. "aliasColors": {},
  1165. "bars": false,
  1166. "dashLength": 10,
  1167. "dashes": false,
  1168. "datasource": {
  1169. "uid": "$datasource"
  1170. },
  1171. "fieldConfig": {
  1172. "defaults": {
  1173. "links": []
  1174. },
  1175. "overrides": []
  1176. },
  1177. "fill": 1,
  1178. "fillGradient": 0,
  1179. "gridPos": {
  1180. "h": 7,
  1181. "w": 12,
  1182. "x": 12,
  1183. "y": 34
  1184. },
  1185. "hiddenSeries": false,
  1186. "id": 49,
  1187. "legend": {
  1188. "avg": false,
  1189. "current": false,
  1190. "max": false,
  1191. "min": false,
  1192. "show": true,
  1193. "total": false,
  1194. "values": false
  1195. },
  1196. "lines": true,
  1197. "linewidth": 1,
  1198. "links": [],
  1199. "nullPointMode": "null",
  1200. "options": {
  1201. "alertThreshold": true
  1202. },
  1203. "paceLength": 10,
  1204. "percentage": false,
  1205. "pluginVersion": "9.0.4",
  1206. "pointradius": 5,
  1207. "points": false,
  1208. "renderer": "flot",
  1209. "seriesOverrides": [
  1210. {
  1211. "alias": "/^up/",
  1212. "legend": false,
  1213. "yaxis": 2
  1214. }
  1215. ],
  1216. "spaceLength": 10,
  1217. "stack": false,
  1218. "steppedLine": false,
  1219. "targets": [
  1220. {
  1221. "datasource": {
  1222. "uid": "$datasource"
  1223. },
  1224. "expr": "scrape_duration_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  1225. "format": "time_series",
  1226. "interval": "",
  1227. "intervalFactor": 2,
  1228. "legendFormat": "{{job}}-{{index}}",
  1229. "refId": "A",
  1230. "step": 20
  1231. }
  1232. ],
  1233. "thresholds": [],
  1234. "timeRegions": [],
  1235. "title": "Prometheus scrape time",
  1236. "tooltip": {
  1237. "shared": false,
  1238. "sort": 0,
  1239. "value_type": "individual"
  1240. },
  1241. "type": "graph",
  1242. "xaxis": {
  1243. "mode": "time",
  1244. "show": true,
  1245. "values": []
  1246. },
  1247. "yaxes": [
  1248. {
  1249. "format": "s",
  1250. "logBase": 1,
  1251. "min": "0",
  1252. "show": true
  1253. },
  1254. {
  1255. "decimals": 0,
  1256. "format": "none",
  1257. "label": "",
  1258. "logBase": 1,
  1259. "max": "0",
  1260. "min": "-1",
  1261. "show": false
  1262. }
  1263. ],
  1264. "yaxis": {
  1265. "align": false
  1266. }
  1267. },
  1268. {
  1269. "aliasColors": {},
  1270. "bars": false,
  1271. "dashLength": 10,
  1272. "dashes": false,
  1273. "datasource": {
  1274. "uid": "$datasource"
  1275. },
  1276. "fieldConfig": {
  1277. "defaults": {
  1278. "links": []
  1279. },
  1280. "overrides": []
  1281. },
  1282. "fill": 0,
  1283. "fillGradient": 0,
  1284. "gridPos": {
  1285. "h": 7,
  1286. "w": 12,
  1287. "x": 0,
  1288. "y": 41
  1289. },
  1290. "hiddenSeries": false,
  1291. "id": 53,
  1292. "legend": {
  1293. "avg": false,
  1294. "current": false,
  1295. "max": false,
  1296. "min": false,
  1297. "show": true,
  1298. "total": false,
  1299. "values": false
  1300. },
  1301. "lines": true,
  1302. "linewidth": 1,
  1303. "links": [],
  1304. "nullPointMode": "null",
  1305. "options": {
  1306. "alertThreshold": true
  1307. },
  1308. "paceLength": 10,
  1309. "percentage": false,
  1310. "pluginVersion": "9.0.4",
  1311. "pointradius": 5,
  1312. "points": false,
  1313. "renderer": "flot",
  1314. "seriesOverrides": [],
  1315. "spaceLength": 10,
  1316. "stack": false,
  1317. "steppedLine": false,
  1318. "targets": [
  1319. {
  1320. "datasource": {
  1321. "uid": "$datasource"
  1322. },
  1323. "expr": "min_over_time(up{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  1324. "format": "time_series",
  1325. "intervalFactor": 2,
  1326. "legendFormat": "{{job}}-{{index}}",
  1327. "refId": "A"
  1328. }
  1329. ],
  1330. "thresholds": [],
  1331. "timeRegions": [],
  1332. "title": "Up",
  1333. "tooltip": {
  1334. "shared": false,
  1335. "sort": 0,
  1336. "value_type": "individual"
  1337. },
  1338. "type": "graph",
  1339. "xaxis": {
  1340. "mode": "time",
  1341. "show": true,
  1342. "values": []
  1343. },
  1344. "yaxes": [
  1345. {
  1346. "format": "short",
  1347. "logBase": 1,
  1348. "show": true
  1349. },
  1350. {
  1351. "format": "short",
  1352. "logBase": 1,
  1353. "show": true
  1354. }
  1355. ],
  1356. "yaxis": {
  1357. "align": false
  1358. }
  1359. },
  1360. {
  1361. "aliasColors": {},
  1362. "bars": false,
  1363. "dashLength": 10,
  1364. "dashes": false,
  1365. "datasource": {
  1366. "uid": "$datasource"
  1367. },
  1368. "fieldConfig": {
  1369. "defaults": {
  1370. "links": []
  1371. },
  1372. "overrides": []
  1373. },
  1374. "fill": 1,
  1375. "fillGradient": 0,
  1376. "gridPos": {
  1377. "h": 7,
  1378. "w": 12,
  1379. "x": 12,
  1380. "y": 41
  1381. },
  1382. "hiddenSeries": false,
  1383. "id": 120,
  1384. "legend": {
  1385. "avg": false,
  1386. "current": false,
  1387. "max": false,
  1388. "min": false,
  1389. "show": true,
  1390. "total": false,
  1391. "values": false
  1392. },
  1393. "lines": true,
  1394. "linewidth": 1,
  1395. "links": [],
  1396. "nullPointMode": "null as zero",
  1397. "options": {
  1398. "alertThreshold": true
  1399. },
  1400. "percentage": false,
  1401. "pluginVersion": "9.0.4",
  1402. "pointradius": 2,
  1403. "points": false,
  1404. "renderer": "flot",
  1405. "seriesOverrides": [],
  1406. "spaceLength": 10,
  1407. "stack": true,
  1408. "steppedLine": false,
  1409. "targets": [
  1410. {
  1411. "datasource": {
  1412. "uid": "$datasource"
  1413. },
  1414. "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])",
  1415. "format": "time_series",
  1416. "hide": false,
  1417. "instant": false,
  1418. "intervalFactor": 1,
  1419. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  1420. "refId": "A"
  1421. },
  1422. {
  1423. "datasource": {
  1424. "uid": "$datasource"
  1425. },
  1426. "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])",
  1427. "format": "time_series",
  1428. "hide": false,
  1429. "instant": false,
  1430. "interval": "",
  1431. "intervalFactor": 1,
  1432. "legendFormat": "{{job}}-{{index}} {{name}}",
  1433. "refId": "B"
  1434. }
  1435. ],
  1436. "thresholds": [
  1437. {
  1438. "colorMode": "critical",
  1439. "fill": true,
  1440. "line": true,
  1441. "op": "gt",
  1442. "value": 1,
  1443. "yaxis": "left"
  1444. }
  1445. ],
  1446. "timeRegions": [],
  1447. "title": "Stacked CPU usage",
  1448. "tooltip": {
  1449. "shared": false,
  1450. "sort": 0,
  1451. "value_type": "individual"
  1452. },
  1453. "type": "graph",
  1454. "xaxis": {
  1455. "mode": "time",
  1456. "show": true,
  1457. "values": []
  1458. },
  1459. "yaxes": [
  1460. {
  1461. "$$hashKey": "object:572",
  1462. "format": "percentunit",
  1463. "logBase": 1,
  1464. "show": true
  1465. },
  1466. {
  1467. "$$hashKey": "object:573",
  1468. "format": "short",
  1469. "logBase": 1,
  1470. "show": true
  1471. }
  1472. ],
  1473. "yaxis": {
  1474. "align": false
  1475. }
  1476. },
  1477. {
  1478. "aliasColors": {},
  1479. "bars": false,
  1480. "dashLength": 10,
  1481. "dashes": false,
  1482. "datasource": {
  1483. "uid": "$datasource"
  1484. },
  1485. "fieldConfig": {
  1486. "defaults": {
  1487. "links": []
  1488. },
  1489. "overrides": []
  1490. },
  1491. "fill": 1,
  1492. "fillGradient": 0,
  1493. "gridPos": {
  1494. "h": 7,
  1495. "w": 12,
  1496. "x": 0,
  1497. "y": 48
  1498. },
  1499. "hiddenSeries": false,
  1500. "id": 136,
  1501. "interval": "",
  1502. "legend": {
  1503. "avg": false,
  1504. "current": false,
  1505. "max": false,
  1506. "min": false,
  1507. "show": true,
  1508. "total": false,
  1509. "values": false
  1510. },
  1511. "lines": true,
  1512. "linewidth": 1,
  1513. "nullPointMode": "null",
  1514. "options": {
  1515. "alertThreshold": true
  1516. },
  1517. "percentage": false,
  1518. "pluginVersion": "9.0.4",
  1519. "pointradius": 2,
  1520. "points": false,
  1521. "renderer": "flot",
  1522. "seriesOverrides": [],
  1523. "spaceLength": 10,
  1524. "stack": false,
  1525. "steppedLine": false,
  1526. "targets": [
  1527. {
  1528. "datasource": {
  1529. "uid": "$datasource"
  1530. },
  1531. "expr": "rate(synapse_http_client_requests{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  1532. "legendFormat": "{{job}}-{{index}} {{method}}",
  1533. "refId": "A"
  1534. },
  1535. {
  1536. "datasource": {
  1537. "uid": "$datasource"
  1538. },
  1539. "expr": "rate(synapse_http_matrixfederationclient_requests{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  1540. "legendFormat": "{{job}}-{{index}} {{method}} (federation)",
  1541. "refId": "B"
  1542. }
  1543. ],
  1544. "thresholds": [],
  1545. "timeRegions": [],
  1546. "title": "Outgoing HTTP request rate",
  1547. "tooltip": {
  1548. "shared": false,
  1549. "sort": 0,
  1550. "value_type": "individual"
  1551. },
  1552. "type": "graph",
  1553. "xaxis": {
  1554. "mode": "time",
  1555. "show": true,
  1556. "values": []
  1557. },
  1558. "yaxes": [
  1559. {
  1560. "format": "reqps",
  1561. "logBase": 1,
  1562. "show": true
  1563. },
  1564. {
  1565. "format": "short",
  1566. "logBase": 1,
  1567. "show": true
  1568. }
  1569. ],
  1570. "yaxis": {
  1571. "align": false
  1572. }
  1573. },
  1574. {
  1575. "datasource": {
  1576. "type": "prometheus",
  1577. "uid": "${DS_PROMETHEUS}"
  1578. },
  1579. "fieldConfig": {
  1580. "defaults": {
  1581. "color": {
  1582. "mode": "palette-classic"
  1583. },
  1584. "custom": {
  1585. "axisLabel": "active threads",
  1586. "axisPlacement": "auto",
  1587. "barAlignment": 0,
  1588. "drawStyle": "line",
  1589. "fillOpacity": 0,
  1590. "gradientMode": "none",
  1591. "hideFrom": {
  1592. "legend": false,
  1593. "tooltip": false,
  1594. "viz": false
  1595. },
  1596. "lineInterpolation": "linear",
  1597. "lineWidth": 1,
  1598. "pointSize": 5,
  1599. "scaleDistribution": {
  1600. "type": "linear"
  1601. },
  1602. "showPoints": "auto",
  1603. "spanNulls": false,
  1604. "stacking": {
  1605. "group": "A",
  1606. "mode": "none"
  1607. },
  1608. "thresholdsStyle": {
  1609. "mode": "off"
  1610. }
  1611. },
  1612. "mappings": [],
  1613. "thresholds": {
  1614. "mode": "absolute",
  1615. "steps": [
  1616. {
  1617. "color": "green"
  1618. },
  1619. {
  1620. "color": "red",
  1621. "value": 80
  1622. }
  1623. ]
  1624. }
  1625. },
  1626. "overrides": []
  1627. },
  1628. "gridPos": {
  1629. "h": 7,
  1630. "w": 12,
  1631. "x": 12,
  1632. "y": 48
  1633. },
  1634. "id": 207,
  1635. "options": {
  1636. "legend": {
  1637. "calcs": [],
  1638. "displayMode": "list",
  1639. "placement": "bottom"
  1640. },
  1641. "tooltip": {
  1642. "mode": "single",
  1643. "sort": "none"
  1644. }
  1645. },
  1646. "targets": [
  1647. {
  1648. "datasource": {
  1649. "type": "prometheus",
  1650. "uid": "${DS_PROMETHEUS}"
  1651. },
  1652. "exemplar": true,
  1653. "expr": "synapse_threadpool_working_threads{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  1654. "interval": "",
  1655. "legendFormat": "{{job}}-{{index}} {{name}}",
  1656. "refId": "A"
  1657. }
  1658. ],
  1659. "title": "Threadpool activity",
  1660. "type": "timeseries"
  1661. }
  1662. ],
  1663. "targets": [
  1664. {
  1665. "datasource": {
  1666. "type": "prometheus",
  1667. "uid": "$datasource"
  1668. },
  1669. "refId": "A"
  1670. }
  1671. ],
  1672. "title": "Process info",
  1673. "type": "row"
  1674. },
  1675. {
  1676. "collapsed": true,
  1677. "datasource": {
  1678. "type": "prometheus",
  1679. "uid": "$datasource"
  1680. },
  1681. "gridPos": {
  1682. "h": 1,
  1683. "w": 24,
  1684. "x": 0,
  1685. "y": 27
  1686. },
  1687. "id": 56,
  1688. "panels": [
  1689. {
  1690. "cards": {
  1691. "cardPadding": -1,
  1692. "cardRound": 0
  1693. },
  1694. "color": {
  1695. "cardColor": "#b4ff00",
  1696. "colorScale": "sqrt",
  1697. "colorScheme": "interpolateInferno",
  1698. "exponent": 0.5,
  1699. "mode": "spectrum"
  1700. },
  1701. "dataFormat": "tsbuckets",
  1702. "datasource": {
  1703. "uid": "$datasource"
  1704. },
  1705. "gridPos": {
  1706. "h": 9,
  1707. "w": 12,
  1708. "x": 0,
  1709. "y": 28
  1710. },
  1711. "heatmap": {},
  1712. "hideZeroBuckets": false,
  1713. "highlightCards": true,
  1714. "id": 85,
  1715. "legend": {
  1716. "show": false
  1717. },
  1718. "links": [],
  1719. "reverseYBuckets": false,
  1720. "targets": [
  1721. {
  1722. "datasource": {
  1723. "uid": "$datasource"
  1724. },
  1725. "expr": "sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\"}[$bucket_size])) by (le)",
  1726. "format": "heatmap",
  1727. "intervalFactor": 1,
  1728. "legendFormat": "{{le}}",
  1729. "refId": "A"
  1730. }
  1731. ],
  1732. "title": "Event Send Time (Including errors, across all workers)",
  1733. "tooltip": {
  1734. "show": true,
  1735. "showHistogram": true
  1736. },
  1737. "type": "heatmap",
  1738. "xAxis": {
  1739. "show": true
  1740. },
  1741. "yAxis": {
  1742. "format": "s",
  1743. "logBase": 2,
  1744. "show": true
  1745. },
  1746. "yBucketBound": "auto"
  1747. },
  1748. {
  1749. "aliasColors": {},
  1750. "bars": false,
  1751. "dashLength": 10,
  1752. "dashes": false,
  1753. "datasource": {
  1754. "uid": "$datasource"
  1755. },
  1756. "description": "",
  1757. "editable": true,
  1758. "error": false,
  1759. "fieldConfig": {
  1760. "defaults": {
  1761. "links": []
  1762. },
  1763. "overrides": []
  1764. },
  1765. "fill": 1,
  1766. "fillGradient": 0,
  1767. "grid": {},
  1768. "gridPos": {
  1769. "h": 9,
  1770. "w": 12,
  1771. "x": 12,
  1772. "y": 28
  1773. },
  1774. "hiddenSeries": false,
  1775. "id": 33,
  1776. "legend": {
  1777. "avg": false,
  1778. "current": false,
  1779. "max": false,
  1780. "min": false,
  1781. "show": false,
  1782. "total": false,
  1783. "values": false
  1784. },
  1785. "lines": true,
  1786. "linewidth": 2,
  1787. "links": [],
  1788. "nullPointMode": "null",
  1789. "options": {
  1790. "alertThreshold": true
  1791. },
  1792. "paceLength": 10,
  1793. "percentage": false,
  1794. "pluginVersion": "9.0.4",
  1795. "pointradius": 5,
  1796. "points": false,
  1797. "renderer": "flot",
  1798. "seriesOverrides": [],
  1799. "spaceLength": 10,
  1800. "stack": false,
  1801. "steppedLine": false,
  1802. "targets": [
  1803. {
  1804. "datasource": {
  1805. "uid": "$datasource"
  1806. },
  1807. "expr": "sum(rate(synapse_storage_events_persisted_events_total{instance=\"$instance\"}[$bucket_size])) without (job,index)",
  1808. "format": "time_series",
  1809. "interval": "",
  1810. "intervalFactor": 2,
  1811. "legendFormat": "",
  1812. "refId": "A",
  1813. "step": 20,
  1814. "target": ""
  1815. }
  1816. ],
  1817. "thresholds": [],
  1818. "timeRegions": [],
  1819. "title": "Events Persisted (all workers)",
  1820. "tooltip": {
  1821. "shared": true,
  1822. "sort": 0,
  1823. "value_type": "cumulative"
  1824. },
  1825. "type": "graph",
  1826. "xaxis": {
  1827. "mode": "time",
  1828. "show": true,
  1829. "values": []
  1830. },
  1831. "yaxes": [
  1832. {
  1833. "$$hashKey": "object:102",
  1834. "format": "hertz",
  1835. "logBase": 1,
  1836. "show": true
  1837. },
  1838. {
  1839. "$$hashKey": "object:103",
  1840. "format": "short",
  1841. "logBase": 1,
  1842. "show": true
  1843. }
  1844. ],
  1845. "yaxis": {
  1846. "align": false
  1847. }
  1848. },
  1849. {
  1850. "aliasColors": {},
  1851. "bars": false,
  1852. "dashLength": 10,
  1853. "dashes": false,
  1854. "datasource": {
  1855. "uid": "$datasource"
  1856. },
  1857. "decimals": 1,
  1858. "fill": 1,
  1859. "fillGradient": 0,
  1860. "gridPos": {
  1861. "h": 7,
  1862. "w": 12,
  1863. "x": 0,
  1864. "y": 37
  1865. },
  1866. "hiddenSeries": false,
  1867. "id": 40,
  1868. "legend": {
  1869. "avg": false,
  1870. "current": false,
  1871. "max": false,
  1872. "min": false,
  1873. "show": true,
  1874. "total": false,
  1875. "values": false
  1876. },
  1877. "lines": true,
  1878. "linewidth": 1,
  1879. "links": [],
  1880. "nullPointMode": "null",
  1881. "options": {
  1882. "alertThreshold": true
  1883. },
  1884. "percentage": false,
  1885. "pluginVersion": "9.0.4",
  1886. "pointradius": 5,
  1887. "points": false,
  1888. "renderer": "flot",
  1889. "seriesOverrides": [],
  1890. "spaceLength": 10,
  1891. "stack": false,
  1892. "steppedLine": false,
  1893. "targets": [
  1894. {
  1895. "datasource": {
  1896. "uid": "$datasource"
  1897. },
  1898. "expr": "rate(synapse_storage_events_persisted_by_source_type{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  1899. "format": "time_series",
  1900. "intervalFactor": 2,
  1901. "legendFormat": "{{type}}",
  1902. "refId": "D"
  1903. }
  1904. ],
  1905. "thresholds": [],
  1906. "timeRegions": [],
  1907. "title": "Events/s Local vs Remote",
  1908. "tooltip": {
  1909. "shared": true,
  1910. "sort": 2,
  1911. "value_type": "individual"
  1912. },
  1913. "type": "graph",
  1914. "xaxis": {
  1915. "mode": "time",
  1916. "show": true,
  1917. "values": []
  1918. },
  1919. "yaxes": [
  1920. {
  1921. "format": "hertz",
  1922. "label": "",
  1923. "logBase": 1,
  1924. "min": "0",
  1925. "show": true
  1926. },
  1927. {
  1928. "format": "short",
  1929. "logBase": 1,
  1930. "show": true
  1931. }
  1932. ],
  1933. "yaxis": {
  1934. "align": false
  1935. }
  1936. },
  1937. {
  1938. "aliasColors": {},
  1939. "bars": false,
  1940. "dashLength": 10,
  1941. "dashes": false,
  1942. "datasource": {
  1943. "uid": "$datasource"
  1944. },
  1945. "decimals": 1,
  1946. "fill": 1,
  1947. "fillGradient": 0,
  1948. "gridPos": {
  1949. "h": 7,
  1950. "w": 12,
  1951. "x": 12,
  1952. "y": 37
  1953. },
  1954. "hiddenSeries": false,
  1955. "id": 46,
  1956. "legend": {
  1957. "avg": false,
  1958. "current": false,
  1959. "max": false,
  1960. "min": false,
  1961. "show": true,
  1962. "total": false,
  1963. "values": false
  1964. },
  1965. "lines": true,
  1966. "linewidth": 1,
  1967. "links": [],
  1968. "nullPointMode": "null",
  1969. "options": {
  1970. "alertThreshold": true
  1971. },
  1972. "percentage": false,
  1973. "pluginVersion": "9.0.4",
  1974. "pointradius": 5,
  1975. "points": false,
  1976. "renderer": "flot",
  1977. "seriesOverrides": [],
  1978. "spaceLength": 10,
  1979. "stack": false,
  1980. "steppedLine": false,
  1981. "targets": [
  1982. {
  1983. "datasource": {
  1984. "uid": "$datasource"
  1985. },
  1986. "expr": "rate(synapse_storage_events_persisted_by_event_type{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  1987. "format": "time_series",
  1988. "instant": false,
  1989. "intervalFactor": 2,
  1990. "legendFormat": "{{type}}",
  1991. "refId": "A",
  1992. "step": 20
  1993. }
  1994. ],
  1995. "thresholds": [],
  1996. "timeRegions": [],
  1997. "title": "Events/s by Type",
  1998. "tooltip": {
  1999. "shared": false,
  2000. "sort": 2,
  2001. "value_type": "individual"
  2002. },
  2003. "type": "graph",
  2004. "xaxis": {
  2005. "mode": "time",
  2006. "show": true,
  2007. "values": []
  2008. },
  2009. "yaxes": [
  2010. {
  2011. "format": "hertz",
  2012. "logBase": 1,
  2013. "min": "0",
  2014. "show": true
  2015. },
  2016. {
  2017. "format": "short",
  2018. "logBase": 1,
  2019. "show": true
  2020. }
  2021. ],
  2022. "yaxis": {
  2023. "align": false
  2024. }
  2025. },
  2026. {
  2027. "aliasColors": {
  2028. "irc-freenode (local)": "#EAB839"
  2029. },
  2030. "bars": false,
  2031. "dashLength": 10,
  2032. "dashes": false,
  2033. "datasource": {
  2034. "uid": "$datasource"
  2035. },
  2036. "decimals": 1,
  2037. "fill": 1,
  2038. "fillGradient": 0,
  2039. "gridPos": {
  2040. "h": 7,
  2041. "w": 12,
  2042. "x": 0,
  2043. "y": 44
  2044. },
  2045. "hiddenSeries": false,
  2046. "id": 44,
  2047. "legend": {
  2048. "alignAsTable": true,
  2049. "avg": false,
  2050. "current": false,
  2051. "hideEmpty": true,
  2052. "hideZero": true,
  2053. "max": false,
  2054. "min": false,
  2055. "show": true,
  2056. "total": false,
  2057. "values": false
  2058. },
  2059. "lines": true,
  2060. "linewidth": 1,
  2061. "links": [],
  2062. "nullPointMode": "null",
  2063. "options": {
  2064. "alertThreshold": true
  2065. },
  2066. "percentage": false,
  2067. "pluginVersion": "9.0.4",
  2068. "pointradius": 5,
  2069. "points": false,
  2070. "renderer": "flot",
  2071. "seriesOverrides": [],
  2072. "spaceLength": 10,
  2073. "stack": false,
  2074. "steppedLine": false,
  2075. "targets": [
  2076. {
  2077. "datasource": {
  2078. "uid": "$datasource"
  2079. },
  2080. "expr": "rate(synapse_storage_events_persisted_by_origin{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  2081. "format": "time_series",
  2082. "intervalFactor": 2,
  2083. "legendFormat": "{{origin_entity}} ({{origin_type}})",
  2084. "refId": "A",
  2085. "step": 20
  2086. }
  2087. ],
  2088. "thresholds": [],
  2089. "timeRegions": [],
  2090. "title": "Events/s by Origin",
  2091. "tooltip": {
  2092. "shared": false,
  2093. "sort": 2,
  2094. "value_type": "individual"
  2095. },
  2096. "type": "graph",
  2097. "xaxis": {
  2098. "mode": "time",
  2099. "show": true,
  2100. "values": []
  2101. },
  2102. "yaxes": [
  2103. {
  2104. "format": "hertz",
  2105. "logBase": 1,
  2106. "min": "0",
  2107. "show": true
  2108. },
  2109. {
  2110. "format": "short",
  2111. "logBase": 1,
  2112. "show": true
  2113. }
  2114. ],
  2115. "yaxis": {
  2116. "align": false
  2117. }
  2118. },
  2119. {
  2120. "aliasColors": {},
  2121. "bars": false,
  2122. "dashLength": 10,
  2123. "dashes": false,
  2124. "datasource": {
  2125. "uid": "$datasource"
  2126. },
  2127. "decimals": 1,
  2128. "fill": 1,
  2129. "fillGradient": 0,
  2130. "gridPos": {
  2131. "h": 7,
  2132. "w": 12,
  2133. "x": 12,
  2134. "y": 44
  2135. },
  2136. "hiddenSeries": false,
  2137. "id": 45,
  2138. "legend": {
  2139. "alignAsTable": true,
  2140. "avg": false,
  2141. "current": false,
  2142. "hideEmpty": true,
  2143. "hideZero": true,
  2144. "max": false,
  2145. "min": false,
  2146. "show": true,
  2147. "total": false,
  2148. "values": false
  2149. },
  2150. "lines": true,
  2151. "linewidth": 1,
  2152. "links": [],
  2153. "nullPointMode": "null",
  2154. "options": {
  2155. "alertThreshold": true
  2156. },
  2157. "percentage": false,
  2158. "pluginVersion": "9.0.4",
  2159. "pointradius": 5,
  2160. "points": false,
  2161. "renderer": "flot",
  2162. "seriesOverrides": [],
  2163. "spaceLength": 10,
  2164. "stack": false,
  2165. "steppedLine": false,
  2166. "targets": [
  2167. {
  2168. "datasource": {
  2169. "uid": "$datasource"
  2170. },
  2171. "expr": "sum(rate(synapse_storage_events_persisted_events_sep{job=~\"$job\",index=~\"$index\", type=\"m.room.member\",instance=\"$instance\", origin_type=\"local\"}[$bucket_size])) by (origin_type, origin_entity)",
  2172. "format": "time_series",
  2173. "intervalFactor": 2,
  2174. "legendFormat": "{{origin_entity}} ({{origin_type}})",
  2175. "refId": "A",
  2176. "step": 20
  2177. }
  2178. ],
  2179. "thresholds": [],
  2180. "timeRegions": [],
  2181. "title": "Memberships/s by Origin",
  2182. "tooltip": {
  2183. "shared": true,
  2184. "sort": 2,
  2185. "value_type": "individual"
  2186. },
  2187. "type": "graph",
  2188. "xaxis": {
  2189. "mode": "time",
  2190. "show": true,
  2191. "values": []
  2192. },
  2193. "yaxes": [
  2194. {
  2195. "format": "hertz",
  2196. "logBase": 1,
  2197. "min": "0",
  2198. "show": true
  2199. },
  2200. {
  2201. "format": "short",
  2202. "logBase": 1,
  2203. "show": true
  2204. }
  2205. ],
  2206. "yaxis": {
  2207. "align": false
  2208. }
  2209. },
  2210. {
  2211. "aliasColors": {},
  2212. "bars": false,
  2213. "dashLength": 10,
  2214. "dashes": false,
  2215. "datasource": {
  2216. "type": "prometheus",
  2217. "uid": "${DS_PROMETHEUS}"
  2218. },
  2219. "fieldConfig": {
  2220. "defaults": {
  2221. "links": []
  2222. },
  2223. "overrides": []
  2224. },
  2225. "fill": 0,
  2226. "fillGradient": 0,
  2227. "gridPos": {
  2228. "h": 9,
  2229. "w": 12,
  2230. "x": 0,
  2231. "y": 51
  2232. },
  2233. "hiddenSeries": false,
  2234. "id": 118,
  2235. "legend": {
  2236. "avg": false,
  2237. "current": false,
  2238. "max": false,
  2239. "min": false,
  2240. "show": true,
  2241. "total": false,
  2242. "values": false
  2243. },
  2244. "lines": true,
  2245. "linewidth": 1,
  2246. "links": [],
  2247. "nullPointMode": "null",
  2248. "options": {
  2249. "alertThreshold": true
  2250. },
  2251. "paceLength": 10,
  2252. "percentage": false,
  2253. "pluginVersion": "9.0.4",
  2254. "pointradius": 5,
  2255. "points": false,
  2256. "renderer": "flot",
  2257. "repeatDirection": "h",
  2258. "seriesOverrides": [
  2259. {
  2260. "alias": "mean",
  2261. "linewidth": 2
  2262. }
  2263. ],
  2264. "spaceLength": 10,
  2265. "stack": false,
  2266. "steppedLine": false,
  2267. "targets": [
  2268. {
  2269. "datasource": {
  2270. "type": "prometheus",
  2271. "uid": "${DS_PROMETHEUS}"
  2272. },
  2273. "exemplar": true,
  2274. "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))",
  2275. "format": "time_series",
  2276. "interval": "",
  2277. "intervalFactor": 1,
  2278. "legendFormat": "{{job}}-{{index}} 99%",
  2279. "refId": "A"
  2280. },
  2281. {
  2282. "datasource": {
  2283. "type": "prometheus",
  2284. "uid": "${DS_PROMETHEUS}"
  2285. },
  2286. "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))",
  2287. "format": "time_series",
  2288. "interval": "",
  2289. "intervalFactor": 1,
  2290. "legendFormat": "{{job}}-{{index}} 95%",
  2291. "refId": "B"
  2292. },
  2293. {
  2294. "datasource": {
  2295. "type": "prometheus",
  2296. "uid": "${DS_PROMETHEUS}"
  2297. },
  2298. "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))",
  2299. "format": "time_series",
  2300. "intervalFactor": 1,
  2301. "legendFormat": "{{job}}-{{index}} 90%",
  2302. "refId": "C"
  2303. },
  2304. {
  2305. "datasource": {
  2306. "type": "prometheus",
  2307. "uid": "${DS_PROMETHEUS}"
  2308. },
  2309. "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))",
  2310. "format": "time_series",
  2311. "intervalFactor": 1,
  2312. "legendFormat": "{{job}}-{{index}} 50%",
  2313. "refId": "D"
  2314. },
  2315. {
  2316. "datasource": {
  2317. "type": "prometheus",
  2318. "uid": "${DS_PROMETHEUS}"
  2319. },
  2320. "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)",
  2321. "format": "time_series",
  2322. "intervalFactor": 1,
  2323. "legendFormat": "{{job}}-{{index}} mean",
  2324. "refId": "E"
  2325. }
  2326. ],
  2327. "thresholds": [],
  2328. "timeRegions": [],
  2329. "title": "Event send time quantiles by worker",
  2330. "tooltip": {
  2331. "shared": true,
  2332. "sort": 0,
  2333. "value_type": "individual"
  2334. },
  2335. "type": "graph",
  2336. "xaxis": {
  2337. "mode": "time",
  2338. "show": true,
  2339. "values": []
  2340. },
  2341. "yaxes": [
  2342. {
  2343. "$$hashKey": "object:263",
  2344. "format": "s",
  2345. "logBase": 1,
  2346. "show": true
  2347. },
  2348. {
  2349. "$$hashKey": "object:264",
  2350. "format": "short",
  2351. "logBase": 1,
  2352. "show": true
  2353. }
  2354. ],
  2355. "yaxis": {
  2356. "align": false
  2357. }
  2358. },
  2359. {
  2360. "datasource": {
  2361. "type": "prometheus",
  2362. "uid": "$datasource"
  2363. },
  2364. "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",
  2365. "fieldConfig": {
  2366. "defaults": {
  2367. "color": {
  2368. "mode": "palette-classic"
  2369. },
  2370. "custom": {
  2371. "axisLabel": "",
  2372. "axisPlacement": "auto",
  2373. "barAlignment": 0,
  2374. "drawStyle": "line",
  2375. "fillOpacity": 30,
  2376. "gradientMode": "none",
  2377. "hideFrom": {
  2378. "legend": false,
  2379. "tooltip": false,
  2380. "viz": false
  2381. },
  2382. "lineInterpolation": "linear",
  2383. "lineWidth": 1,
  2384. "pointSize": 5,
  2385. "scaleDistribution": {
  2386. "type": "linear"
  2387. },
  2388. "showPoints": "auto",
  2389. "spanNulls": false,
  2390. "stacking": {
  2391. "group": "A",
  2392. "mode": "normal"
  2393. },
  2394. "thresholdsStyle": {
  2395. "mode": "off"
  2396. }
  2397. },
  2398. "mappings": [],
  2399. "thresholds": {
  2400. "mode": "absolute",
  2401. "steps": [
  2402. {
  2403. "color": "green"
  2404. },
  2405. {
  2406. "color": "red",
  2407. "value": 80
  2408. }
  2409. ]
  2410. },
  2411. "unit": "s/s"
  2412. },
  2413. "overrides": []
  2414. },
  2415. "gridPos": {
  2416. "h": 9,
  2417. "w": 12,
  2418. "x": 12,
  2419. "y": 51
  2420. },
  2421. "id": 222,
  2422. "options": {
  2423. "legend": {
  2424. "calcs": [],
  2425. "displayMode": "hidden",
  2426. "placement": "bottom"
  2427. },
  2428. "tooltip": {
  2429. "mode": "multi",
  2430. "sort": "none"
  2431. }
  2432. },
  2433. "targets": [
  2434. {
  2435. "datasource": {
  2436. "type": "prometheus",
  2437. "uid": "$datasource"
  2438. },
  2439. "exemplar": false,
  2440. "expr": "sum(rate(synapse_state_res_db_for_biggest_room_seconds_total{instance=\"$instance\"}[1m]))",
  2441. "format": "time_series",
  2442. "hide": false,
  2443. "instant": false,
  2444. "interval": "",
  2445. "legendFormat": "DB time",
  2446. "refId": "B"
  2447. },
  2448. {
  2449. "datasource": {
  2450. "type": "prometheus",
  2451. "uid": "$datasource"
  2452. },
  2453. "exemplar": false,
  2454. "expr": "sum(rate(synapse_state_res_cpu_for_biggest_room_seconds_total{instance=\"$instance\"}[1m]))",
  2455. "format": "time_series",
  2456. "hide": false,
  2457. "instant": false,
  2458. "interval": "",
  2459. "legendFormat": "CPU time",
  2460. "refId": "C"
  2461. }
  2462. ],
  2463. "title": "Stateres worst-case",
  2464. "type": "timeseries"
  2465. }
  2466. ],
  2467. "targets": [
  2468. {
  2469. "datasource": {
  2470. "type": "prometheus",
  2471. "uid": "$datasource"
  2472. },
  2473. "refId": "A"
  2474. }
  2475. ],
  2476. "title": "Event persistence",
  2477. "type": "row"
  2478. },
  2479. {
  2480. "collapsed": true,
  2481. "datasource": {
  2482. "type": "prometheus",
  2483. "uid": "$datasource"
  2484. },
  2485. "gridPos": {
  2486. "h": 1,
  2487. "w": 24,
  2488. "x": 0,
  2489. "y": 28
  2490. },
  2491. "id": 57,
  2492. "panels": [
  2493. {
  2494. "aliasColors": {},
  2495. "bars": false,
  2496. "dashLength": 10,
  2497. "dashes": false,
  2498. "datasource": {
  2499. "uid": "$datasource"
  2500. },
  2501. "editable": true,
  2502. "error": false,
  2503. "fieldConfig": {
  2504. "defaults": {
  2505. "links": []
  2506. },
  2507. "overrides": []
  2508. },
  2509. "fill": 2,
  2510. "fillGradient": 0,
  2511. "grid": {},
  2512. "gridPos": {
  2513. "h": 8,
  2514. "w": 12,
  2515. "x": 0,
  2516. "y": 29
  2517. },
  2518. "hiddenSeries": false,
  2519. "id": 4,
  2520. "legend": {
  2521. "alignAsTable": true,
  2522. "avg": false,
  2523. "current": false,
  2524. "hideEmpty": false,
  2525. "hideZero": true,
  2526. "max": false,
  2527. "min": false,
  2528. "rightSide": false,
  2529. "show": true,
  2530. "total": false,
  2531. "values": false
  2532. },
  2533. "lines": true,
  2534. "linewidth": 1,
  2535. "links": [],
  2536. "nullPointMode": "null",
  2537. "options": {
  2538. "alertThreshold": true
  2539. },
  2540. "percentage": false,
  2541. "pluginVersion": "9.0.4",
  2542. "pointradius": 5,
  2543. "points": false,
  2544. "renderer": "flot",
  2545. "seriesOverrides": [],
  2546. "spaceLength": 10,
  2547. "stack": false,
  2548. "steppedLine": false,
  2549. "targets": [
  2550. {
  2551. "datasource": {
  2552. "uid": "$datasource"
  2553. },
  2554. "expr": "rate(synapse_http_server_requests_received{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  2555. "format": "time_series",
  2556. "interval": "",
  2557. "intervalFactor": 2,
  2558. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  2559. "refId": "A",
  2560. "step": 20
  2561. }
  2562. ],
  2563. "thresholds": [
  2564. {
  2565. "colorMode": "custom",
  2566. "fill": true,
  2567. "fillColor": "rgba(216, 200, 27, 0.27)",
  2568. "op": "gt",
  2569. "value": 100,
  2570. "yaxis": "left"
  2571. },
  2572. {
  2573. "colorMode": "custom",
  2574. "fill": true,
  2575. "fillColor": "rgba(234, 112, 112, 0.22)",
  2576. "op": "gt",
  2577. "value": 250,
  2578. "yaxis": "left"
  2579. }
  2580. ],
  2581. "timeRegions": [],
  2582. "title": "Request Count by arrival time",
  2583. "tooltip": {
  2584. "shared": false,
  2585. "sort": 2,
  2586. "value_type": "individual"
  2587. },
  2588. "type": "graph",
  2589. "xaxis": {
  2590. "mode": "time",
  2591. "show": true,
  2592. "values": []
  2593. },
  2594. "yaxes": [
  2595. {
  2596. "format": "hertz",
  2597. "logBase": 1,
  2598. "show": true
  2599. },
  2600. {
  2601. "format": "short",
  2602. "logBase": 1,
  2603. "show": true
  2604. }
  2605. ],
  2606. "yaxis": {
  2607. "align": false
  2608. }
  2609. },
  2610. {
  2611. "aliasColors": {},
  2612. "bars": false,
  2613. "dashLength": 10,
  2614. "dashes": false,
  2615. "datasource": {
  2616. "uid": "$datasource"
  2617. },
  2618. "editable": true,
  2619. "error": false,
  2620. "fieldConfig": {
  2621. "defaults": {
  2622. "links": []
  2623. },
  2624. "overrides": []
  2625. },
  2626. "fill": 1,
  2627. "fillGradient": 0,
  2628. "grid": {},
  2629. "gridPos": {
  2630. "h": 8,
  2631. "w": 12,
  2632. "x": 12,
  2633. "y": 29
  2634. },
  2635. "hiddenSeries": false,
  2636. "id": 32,
  2637. "legend": {
  2638. "avg": false,
  2639. "current": false,
  2640. "max": false,
  2641. "min": false,
  2642. "show": true,
  2643. "total": false,
  2644. "values": false
  2645. },
  2646. "lines": true,
  2647. "linewidth": 2,
  2648. "links": [],
  2649. "nullPointMode": "null",
  2650. "options": {
  2651. "alertThreshold": true
  2652. },
  2653. "percentage": false,
  2654. "pluginVersion": "9.0.4",
  2655. "pointradius": 5,
  2656. "points": false,
  2657. "renderer": "flot",
  2658. "seriesOverrides": [],
  2659. "spaceLength": 10,
  2660. "stack": false,
  2661. "steppedLine": false,
  2662. "targets": [
  2663. {
  2664. "datasource": {
  2665. "uid": "$datasource"
  2666. },
  2667. "expr": "rate(synapse_http_server_requests_received{instance=\"$instance\",job=~\"$job\",index=~\"$index\",method!=\"OPTIONS\"}[$bucket_size]) and topk(10,synapse_http_server_requests_received{instance=\"$instance\",job=~\"$job\",method!=\"OPTIONS\"})",
  2668. "format": "time_series",
  2669. "intervalFactor": 2,
  2670. "legendFormat": "{{method}} {{servlet}} {{job}}-{{index}}",
  2671. "refId": "A",
  2672. "step": 20,
  2673. "target": ""
  2674. }
  2675. ],
  2676. "thresholds": [],
  2677. "timeRegions": [],
  2678. "title": "Top 10 Request Counts",
  2679. "tooltip": {
  2680. "shared": false,
  2681. "sort": 2,
  2682. "value_type": "cumulative"
  2683. },
  2684. "type": "graph",
  2685. "xaxis": {
  2686. "mode": "time",
  2687. "show": true,
  2688. "values": []
  2689. },
  2690. "yaxes": [
  2691. {
  2692. "format": "hertz",
  2693. "logBase": 1,
  2694. "show": true
  2695. },
  2696. {
  2697. "format": "short",
  2698. "logBase": 1,
  2699. "show": true
  2700. }
  2701. ],
  2702. "yaxis": {
  2703. "align": false
  2704. }
  2705. },
  2706. {
  2707. "aliasColors": {},
  2708. "bars": false,
  2709. "dashLength": 10,
  2710. "dashes": false,
  2711. "datasource": {
  2712. "uid": "$datasource"
  2713. },
  2714. "editable": true,
  2715. "error": false,
  2716. "fieldConfig": {
  2717. "defaults": {
  2718. "links": []
  2719. },
  2720. "overrides": []
  2721. },
  2722. "fill": 2,
  2723. "fillGradient": 0,
  2724. "grid": {},
  2725. "gridPos": {
  2726. "h": 8,
  2727. "w": 12,
  2728. "x": 0,
  2729. "y": 37
  2730. },
  2731. "hiddenSeries": false,
  2732. "id": 139,
  2733. "legend": {
  2734. "alignAsTable": true,
  2735. "avg": false,
  2736. "current": false,
  2737. "hideEmpty": false,
  2738. "hideZero": true,
  2739. "max": false,
  2740. "min": false,
  2741. "rightSide": false,
  2742. "show": true,
  2743. "total": false,
  2744. "values": false
  2745. },
  2746. "lines": true,
  2747. "linewidth": 1,
  2748. "links": [],
  2749. "nullPointMode": "null",
  2750. "options": {
  2751. "alertThreshold": true
  2752. },
  2753. "percentage": false,
  2754. "pluginVersion": "9.0.4",
  2755. "pointradius": 5,
  2756. "points": false,
  2757. "renderer": "flot",
  2758. "seriesOverrides": [],
  2759. "spaceLength": 10,
  2760. "stack": false,
  2761. "steppedLine": false,
  2762. "targets": [
  2763. {
  2764. "datasource": {
  2765. "uid": "$datasource"
  2766. },
  2767. "expr": "rate(synapse_http_server_in_flight_requests_ru_utime_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_http_server_in_flight_requests_ru_stime_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  2768. "format": "time_series",
  2769. "interval": "",
  2770. "intervalFactor": 1,
  2771. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  2772. "refId": "A",
  2773. "step": 20
  2774. }
  2775. ],
  2776. "thresholds": [
  2777. {
  2778. "colorMode": "custom",
  2779. "fill": true,
  2780. "fillColor": "rgba(216, 200, 27, 0.27)",
  2781. "op": "gt",
  2782. "value": 100,
  2783. "yaxis": "left"
  2784. },
  2785. {
  2786. "colorMode": "custom",
  2787. "fill": true,
  2788. "fillColor": "rgba(234, 112, 112, 0.22)",
  2789. "op": "gt",
  2790. "value": 250,
  2791. "yaxis": "left"
  2792. }
  2793. ],
  2794. "timeRegions": [],
  2795. "title": "Total CPU Usage by Endpoint",
  2796. "tooltip": {
  2797. "shared": false,
  2798. "sort": 2,
  2799. "value_type": "individual"
  2800. },
  2801. "type": "graph",
  2802. "xaxis": {
  2803. "mode": "time",
  2804. "show": true,
  2805. "values": []
  2806. },
  2807. "yaxes": [
  2808. {
  2809. "format": "percentunit",
  2810. "logBase": 1,
  2811. "show": true
  2812. },
  2813. {
  2814. "format": "short",
  2815. "logBase": 1,
  2816. "show": true
  2817. }
  2818. ],
  2819. "yaxis": {
  2820. "align": false
  2821. }
  2822. },
  2823. {
  2824. "aliasColors": {},
  2825. "bars": false,
  2826. "dashLength": 10,
  2827. "dashes": false,
  2828. "datasource": {
  2829. "uid": "$datasource"
  2830. },
  2831. "editable": true,
  2832. "error": false,
  2833. "fieldConfig": {
  2834. "defaults": {
  2835. "links": []
  2836. },
  2837. "overrides": []
  2838. },
  2839. "fill": 0,
  2840. "fillGradient": 0,
  2841. "grid": {},
  2842. "gridPos": {
  2843. "h": 8,
  2844. "w": 12,
  2845. "x": 12,
  2846. "y": 37
  2847. },
  2848. "hiddenSeries": false,
  2849. "id": 52,
  2850. "legend": {
  2851. "alignAsTable": true,
  2852. "avg": false,
  2853. "current": false,
  2854. "hideEmpty": false,
  2855. "hideZero": true,
  2856. "max": false,
  2857. "min": false,
  2858. "rightSide": false,
  2859. "show": true,
  2860. "total": false,
  2861. "values": false
  2862. },
  2863. "lines": true,
  2864. "linewidth": 1,
  2865. "links": [],
  2866. "nullPointMode": "null",
  2867. "options": {
  2868. "alertThreshold": true
  2869. },
  2870. "percentage": false,
  2871. "pluginVersion": "9.0.4",
  2872. "pointradius": 5,
  2873. "points": false,
  2874. "renderer": "flot",
  2875. "seriesOverrides": [],
  2876. "spaceLength": 10,
  2877. "stack": false,
  2878. "steppedLine": false,
  2879. "targets": [
  2880. {
  2881. "datasource": {
  2882. "uid": "$datasource"
  2883. },
  2884. "expr": "(rate(synapse_http_server_in_flight_requests_ru_utime_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_http_server_in_flight_requests_ru_stime_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) / rate(synapse_http_server_requests_received{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  2885. "format": "time_series",
  2886. "interval": "",
  2887. "intervalFactor": 1,
  2888. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  2889. "refId": "A",
  2890. "step": 20
  2891. }
  2892. ],
  2893. "thresholds": [
  2894. {
  2895. "colorMode": "custom",
  2896. "fill": true,
  2897. "fillColor": "rgba(216, 200, 27, 0.27)",
  2898. "op": "gt",
  2899. "value": 100,
  2900. "yaxis": "left"
  2901. },
  2902. {
  2903. "colorMode": "custom",
  2904. "fill": true,
  2905. "fillColor": "rgba(234, 112, 112, 0.22)",
  2906. "op": "gt",
  2907. "value": 250,
  2908. "yaxis": "left"
  2909. }
  2910. ],
  2911. "timeRegions": [],
  2912. "title": "Average CPU Usage by Endpoint",
  2913. "tooltip": {
  2914. "shared": false,
  2915. "sort": 2,
  2916. "value_type": "individual"
  2917. },
  2918. "type": "graph",
  2919. "xaxis": {
  2920. "mode": "time",
  2921. "show": true,
  2922. "values": []
  2923. },
  2924. "yaxes": [
  2925. {
  2926. "format": "s",
  2927. "logBase": 1,
  2928. "show": true
  2929. },
  2930. {
  2931. "format": "short",
  2932. "logBase": 1,
  2933. "show": true
  2934. }
  2935. ],
  2936. "yaxis": {
  2937. "align": false
  2938. }
  2939. },
  2940. {
  2941. "aliasColors": {},
  2942. "bars": false,
  2943. "dashLength": 10,
  2944. "dashes": false,
  2945. "datasource": {
  2946. "uid": "$datasource"
  2947. },
  2948. "editable": true,
  2949. "error": false,
  2950. "fieldConfig": {
  2951. "defaults": {
  2952. "links": []
  2953. },
  2954. "overrides": []
  2955. },
  2956. "fill": 1,
  2957. "fillGradient": 0,
  2958. "grid": {},
  2959. "gridPos": {
  2960. "h": 8,
  2961. "w": 12,
  2962. "x": 0,
  2963. "y": 45
  2964. },
  2965. "hiddenSeries": false,
  2966. "id": 7,
  2967. "legend": {
  2968. "alignAsTable": true,
  2969. "avg": false,
  2970. "current": false,
  2971. "hideEmpty": true,
  2972. "hideZero": true,
  2973. "max": false,
  2974. "min": false,
  2975. "show": true,
  2976. "total": false,
  2977. "values": false
  2978. },
  2979. "lines": true,
  2980. "linewidth": 1,
  2981. "links": [],
  2982. "nullPointMode": "null",
  2983. "options": {
  2984. "alertThreshold": true
  2985. },
  2986. "percentage": false,
  2987. "pluginVersion": "9.0.4",
  2988. "pointradius": 5,
  2989. "points": false,
  2990. "renderer": "flot",
  2991. "seriesOverrides": [],
  2992. "spaceLength": 10,
  2993. "stack": false,
  2994. "steppedLine": false,
  2995. "targets": [
  2996. {
  2997. "datasource": {
  2998. "uid": "$datasource"
  2999. },
  3000. "expr": "rate(synapse_http_server_in_flight_requests_db_txn_duration_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  3001. "format": "time_series",
  3002. "interval": "",
  3003. "intervalFactor": 1,
  3004. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  3005. "refId": "A",
  3006. "step": 20
  3007. }
  3008. ],
  3009. "thresholds": [],
  3010. "timeRegions": [],
  3011. "title": "DB Usage by endpoint",
  3012. "tooltip": {
  3013. "shared": false,
  3014. "sort": 2,
  3015. "value_type": "cumulative"
  3016. },
  3017. "type": "graph",
  3018. "xaxis": {
  3019. "mode": "time",
  3020. "show": true,
  3021. "values": []
  3022. },
  3023. "yaxes": [
  3024. {
  3025. "format": "percentunit",
  3026. "logBase": 1,
  3027. "show": true
  3028. },
  3029. {
  3030. "format": "short",
  3031. "logBase": 1,
  3032. "show": true
  3033. }
  3034. ],
  3035. "yaxis": {
  3036. "align": false
  3037. }
  3038. },
  3039. {
  3040. "aliasColors": {},
  3041. "bars": false,
  3042. "dashLength": 10,
  3043. "dashes": false,
  3044. "datasource": {
  3045. "uid": "$datasource"
  3046. },
  3047. "editable": true,
  3048. "error": false,
  3049. "fieldConfig": {
  3050. "defaults": {
  3051. "links": []
  3052. },
  3053. "overrides": []
  3054. },
  3055. "fill": 2,
  3056. "fillGradient": 0,
  3057. "grid": {},
  3058. "gridPos": {
  3059. "h": 8,
  3060. "w": 12,
  3061. "x": 12,
  3062. "y": 45
  3063. },
  3064. "hiddenSeries": false,
  3065. "id": 47,
  3066. "legend": {
  3067. "alignAsTable": true,
  3068. "avg": true,
  3069. "current": false,
  3070. "hideEmpty": false,
  3071. "hideZero": true,
  3072. "max": true,
  3073. "min": false,
  3074. "rightSide": false,
  3075. "show": true,
  3076. "total": false,
  3077. "values": true
  3078. },
  3079. "lines": true,
  3080. "linewidth": 1,
  3081. "links": [],
  3082. "nullPointMode": "null",
  3083. "options": {
  3084. "alertThreshold": true
  3085. },
  3086. "percentage": false,
  3087. "pluginVersion": "9.0.4",
  3088. "pointradius": 5,
  3089. "points": false,
  3090. "renderer": "flot",
  3091. "seriesOverrides": [],
  3092. "spaceLength": 10,
  3093. "stack": false,
  3094. "steppedLine": false,
  3095. "targets": [
  3096. {
  3097. "datasource": {
  3098. "uid": "$datasource"
  3099. },
  3100. "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))",
  3101. "format": "time_series",
  3102. "hide": false,
  3103. "interval": "",
  3104. "intervalFactor": 1,
  3105. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}}",
  3106. "refId": "A",
  3107. "step": 20
  3108. }
  3109. ],
  3110. "thresholds": [],
  3111. "timeRegions": [],
  3112. "title": "Non-sync avg response time",
  3113. "tooltip": {
  3114. "shared": false,
  3115. "sort": 2,
  3116. "value_type": "individual"
  3117. },
  3118. "type": "graph",
  3119. "xaxis": {
  3120. "mode": "time",
  3121. "show": true,
  3122. "values": []
  3123. },
  3124. "yaxes": [
  3125. {
  3126. "format": "s",
  3127. "logBase": 1,
  3128. "show": true
  3129. },
  3130. {
  3131. "format": "short",
  3132. "logBase": 1,
  3133. "show": false
  3134. }
  3135. ],
  3136. "yaxis": {
  3137. "align": false
  3138. }
  3139. },
  3140. {
  3141. "aliasColors": {},
  3142. "bars": false,
  3143. "dashLength": 10,
  3144. "dashes": false,
  3145. "datasource": {
  3146. "uid": "$datasource"
  3147. },
  3148. "fieldConfig": {
  3149. "defaults": {
  3150. "links": []
  3151. },
  3152. "overrides": []
  3153. },
  3154. "fill": 1,
  3155. "fillGradient": 0,
  3156. "gridPos": {
  3157. "h": 9,
  3158. "w": 12,
  3159. "x": 0,
  3160. "y": 53
  3161. },
  3162. "hiddenSeries": false,
  3163. "id": 103,
  3164. "legend": {
  3165. "avg": false,
  3166. "current": false,
  3167. "max": false,
  3168. "min": false,
  3169. "show": true,
  3170. "total": false,
  3171. "values": false
  3172. },
  3173. "lines": true,
  3174. "linewidth": 1,
  3175. "links": [],
  3176. "nullPointMode": "null",
  3177. "options": {
  3178. "alertThreshold": true
  3179. },
  3180. "percentage": false,
  3181. "pluginVersion": "9.0.4",
  3182. "pointradius": 5,
  3183. "points": false,
  3184. "renderer": "flot",
  3185. "seriesOverrides": [
  3186. {
  3187. "alias": "Total",
  3188. "color": "rgb(255, 255, 255)",
  3189. "fill": 0,
  3190. "linewidth": 3
  3191. }
  3192. ],
  3193. "spaceLength": 10,
  3194. "stack": false,
  3195. "steppedLine": false,
  3196. "targets": [
  3197. {
  3198. "datasource": {
  3199. "uid": "$datasource"
  3200. },
  3201. "expr": "topk(10,synapse_http_server_in_flight_requests_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})",
  3202. "format": "time_series",
  3203. "interval": "",
  3204. "intervalFactor": 1,
  3205. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}}",
  3206. "refId": "A"
  3207. },
  3208. {
  3209. "datasource": {
  3210. "uid": "$datasource"
  3211. },
  3212. "expr": "sum(avg_over_time(synapse_http_server_in_flight_requests_count{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  3213. "interval": "",
  3214. "legendFormat": "Total",
  3215. "refId": "B"
  3216. }
  3217. ],
  3218. "thresholds": [],
  3219. "timeRegions": [],
  3220. "title": "Requests in flight",
  3221. "tooltip": {
  3222. "shared": false,
  3223. "sort": 2,
  3224. "value_type": "individual"
  3225. },
  3226. "type": "graph",
  3227. "xaxis": {
  3228. "mode": "time",
  3229. "show": true,
  3230. "values": []
  3231. },
  3232. "yaxes": [
  3233. {
  3234. "format": "short",
  3235. "logBase": 1,
  3236. "show": true
  3237. },
  3238. {
  3239. "format": "short",
  3240. "logBase": 1,
  3241. "show": true
  3242. }
  3243. ],
  3244. "yaxis": {
  3245. "align": false
  3246. }
  3247. },
  3248. {
  3249. "datasource": {
  3250. "type": "prometheus",
  3251. "uid": "${DS_PROMETHEUS}"
  3252. },
  3253. "description": "Average number of hosts being rate limited across each worker type.",
  3254. "fieldConfig": {
  3255. "defaults": {
  3256. "color": {
  3257. "mode": "palette-classic"
  3258. },
  3259. "custom": {
  3260. "axisLabel": "",
  3261. "axisPlacement": "auto",
  3262. "barAlignment": 0,
  3263. "drawStyle": "line",
  3264. "fillOpacity": 0,
  3265. "gradientMode": "none",
  3266. "hideFrom": {
  3267. "legend": false,
  3268. "tooltip": false,
  3269. "viz": false
  3270. },
  3271. "lineInterpolation": "linear",
  3272. "lineWidth": 1,
  3273. "pointSize": 5,
  3274. "scaleDistribution": {
  3275. "type": "linear"
  3276. },
  3277. "showPoints": "auto",
  3278. "spanNulls": false,
  3279. "stacking": {
  3280. "group": "A",
  3281. "mode": "none"
  3282. },
  3283. "thresholdsStyle": {
  3284. "mode": "off"
  3285. }
  3286. },
  3287. "mappings": [],
  3288. "thresholds": {
  3289. "mode": "absolute",
  3290. "steps": [
  3291. {
  3292. "color": "green"
  3293. }
  3294. ]
  3295. },
  3296. "unit": "none"
  3297. },
  3298. "overrides": []
  3299. },
  3300. "gridPos": {
  3301. "h": 9,
  3302. "w": 12,
  3303. "x": 12,
  3304. "y": 53
  3305. },
  3306. "id": 225,
  3307. "options": {
  3308. "legend": {
  3309. "calcs": [],
  3310. "displayMode": "list",
  3311. "placement": "bottom"
  3312. },
  3313. "tooltip": {
  3314. "mode": "single",
  3315. "sort": "desc"
  3316. }
  3317. },
  3318. "targets": [
  3319. {
  3320. "datasource": {
  3321. "type": "prometheus",
  3322. "uid": "${DS_PROMETHEUS}"
  3323. },
  3324. "editorMode": "builder",
  3325. "expr": "avg by(job, rate_limiter_name) (synapse_rate_limit_sleep_affected_hosts{instance=\"$instance\", job=~\"$job\", index=~\"$index\"})",
  3326. "hide": false,
  3327. "legendFormat": "Slept by {{job}}:{{rate_limiter_name}}",
  3328. "range": true,
  3329. "refId": "B"
  3330. },
  3331. {
  3332. "datasource": {
  3333. "type": "prometheus",
  3334. "uid": "${DS_PROMETHEUS}"
  3335. },
  3336. "editorMode": "builder",
  3337. "expr": "avg by(job, rate_limiter_name) (synapse_rate_limit_reject_affected_hosts{instance=\"$instance\", job=~\"$job\", index=~\"$index\"})",
  3338. "legendFormat": "Rejected by {{job}}:{{rate_limiter_name}}",
  3339. "range": true,
  3340. "refId": "A"
  3341. }
  3342. ],
  3343. "title": "Hosts being rate limited",
  3344. "type": "timeseries"
  3345. }
  3346. ],
  3347. "targets": [
  3348. {
  3349. "datasource": {
  3350. "type": "prometheus",
  3351. "uid": "$datasource"
  3352. },
  3353. "refId": "A"
  3354. }
  3355. ],
  3356. "title": "Requests",
  3357. "type": "row"
  3358. },
  3359. {
  3360. "collapsed": true,
  3361. "datasource": {
  3362. "type": "prometheus",
  3363. "uid": "$datasource"
  3364. },
  3365. "gridPos": {
  3366. "h": 1,
  3367. "w": 24,
  3368. "x": 0,
  3369. "y": 29
  3370. },
  3371. "id": 97,
  3372. "panels": [
  3373. {
  3374. "aliasColors": {},
  3375. "bars": false,
  3376. "dashLength": 10,
  3377. "dashes": false,
  3378. "datasource": {
  3379. "uid": "$datasource"
  3380. },
  3381. "fieldConfig": {
  3382. "defaults": {
  3383. "links": []
  3384. },
  3385. "overrides": []
  3386. },
  3387. "fill": 1,
  3388. "fillGradient": 0,
  3389. "gridPos": {
  3390. "h": 9,
  3391. "w": 12,
  3392. "x": 0,
  3393. "y": 5
  3394. },
  3395. "hiddenSeries": false,
  3396. "id": 99,
  3397. "legend": {
  3398. "avg": false,
  3399. "current": false,
  3400. "max": false,
  3401. "min": false,
  3402. "show": true,
  3403. "total": false,
  3404. "values": false
  3405. },
  3406. "lines": true,
  3407. "linewidth": 1,
  3408. "links": [],
  3409. "nullPointMode": "null",
  3410. "options": {
  3411. "alertThreshold": true
  3412. },
  3413. "paceLength": 10,
  3414. "percentage": false,
  3415. "pluginVersion": "8.4.3",
  3416. "pointradius": 5,
  3417. "points": false,
  3418. "renderer": "flot",
  3419. "seriesOverrides": [],
  3420. "spaceLength": 10,
  3421. "stack": false,
  3422. "steppedLine": false,
  3423. "targets": [
  3424. {
  3425. "datasource": {
  3426. "uid": "$datasource"
  3427. },
  3428. "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])",
  3429. "format": "time_series",
  3430. "interval": "",
  3431. "intervalFactor": 1,
  3432. "legendFormat": "{{job}}-{{index}} {{name}}",
  3433. "refId": "A"
  3434. }
  3435. ],
  3436. "thresholds": [],
  3437. "timeRegions": [],
  3438. "title": "CPU usage by background jobs",
  3439. "tooltip": {
  3440. "shared": false,
  3441. "sort": 0,
  3442. "value_type": "individual"
  3443. },
  3444. "type": "graph",
  3445. "xaxis": {
  3446. "mode": "time",
  3447. "show": true,
  3448. "values": []
  3449. },
  3450. "yaxes": [
  3451. {
  3452. "format": "percentunit",
  3453. "logBase": 1,
  3454. "show": true
  3455. },
  3456. {
  3457. "format": "short",
  3458. "logBase": 1,
  3459. "show": true
  3460. }
  3461. ],
  3462. "yaxis": {
  3463. "align": false
  3464. }
  3465. },
  3466. {
  3467. "aliasColors": {},
  3468. "bars": false,
  3469. "dashLength": 10,
  3470. "dashes": false,
  3471. "datasource": {
  3472. "uid": "$datasource"
  3473. },
  3474. "fieldConfig": {
  3475. "defaults": {
  3476. "links": []
  3477. },
  3478. "overrides": []
  3479. },
  3480. "fill": 1,
  3481. "fillGradient": 0,
  3482. "gridPos": {
  3483. "h": 9,
  3484. "w": 12,
  3485. "x": 12,
  3486. "y": 5
  3487. },
  3488. "hiddenSeries": false,
  3489. "id": 101,
  3490. "legend": {
  3491. "avg": false,
  3492. "current": false,
  3493. "max": false,
  3494. "min": false,
  3495. "show": true,
  3496. "total": false,
  3497. "values": false
  3498. },
  3499. "lines": true,
  3500. "linewidth": 1,
  3501. "links": [],
  3502. "nullPointMode": "null",
  3503. "options": {
  3504. "alertThreshold": true
  3505. },
  3506. "paceLength": 10,
  3507. "percentage": false,
  3508. "pluginVersion": "8.4.3",
  3509. "pointradius": 5,
  3510. "points": false,
  3511. "renderer": "flot",
  3512. "seriesOverrides": [],
  3513. "spaceLength": 10,
  3514. "stack": false,
  3515. "steppedLine": false,
  3516. "targets": [
  3517. {
  3518. "datasource": {
  3519. "uid": "$datasource"
  3520. },
  3521. "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])",
  3522. "format": "time_series",
  3523. "hide": false,
  3524. "intervalFactor": 1,
  3525. "legendFormat": "{{job}}-{{index}} {{name}}",
  3526. "refId": "A"
  3527. }
  3528. ],
  3529. "thresholds": [],
  3530. "timeRegions": [],
  3531. "title": "DB usage by background jobs (including scheduling time)",
  3532. "tooltip": {
  3533. "shared": false,
  3534. "sort": 0,
  3535. "value_type": "individual"
  3536. },
  3537. "type": "graph",
  3538. "xaxis": {
  3539. "mode": "time",
  3540. "show": true,
  3541. "values": []
  3542. },
  3543. "yaxes": [
  3544. {
  3545. "format": "percentunit",
  3546. "logBase": 1,
  3547. "show": true
  3548. },
  3549. {
  3550. "format": "short",
  3551. "logBase": 1,
  3552. "show": true
  3553. }
  3554. ],
  3555. "yaxis": {
  3556. "align": false
  3557. }
  3558. },
  3559. {
  3560. "aliasColors": {},
  3561. "bars": false,
  3562. "dashLength": 10,
  3563. "dashes": false,
  3564. "datasource": {
  3565. "uid": "$datasource"
  3566. },
  3567. "fieldConfig": {
  3568. "defaults": {
  3569. "links": []
  3570. },
  3571. "overrides": []
  3572. },
  3573. "fill": 1,
  3574. "fillGradient": 0,
  3575. "gridPos": {
  3576. "h": 8,
  3577. "w": 12,
  3578. "x": 0,
  3579. "y": 14
  3580. },
  3581. "hiddenSeries": false,
  3582. "id": 138,
  3583. "legend": {
  3584. "avg": false,
  3585. "current": false,
  3586. "max": false,
  3587. "min": false,
  3588. "show": true,
  3589. "total": false,
  3590. "values": false
  3591. },
  3592. "lines": true,
  3593. "linewidth": 1,
  3594. "nullPointMode": "null",
  3595. "options": {
  3596. "alertThreshold": true
  3597. },
  3598. "percentage": false,
  3599. "pluginVersion": "8.4.3",
  3600. "pointradius": 2,
  3601. "points": false,
  3602. "renderer": "flot",
  3603. "seriesOverrides": [],
  3604. "spaceLength": 10,
  3605. "stack": false,
  3606. "steppedLine": false,
  3607. "targets": [
  3608. {
  3609. "datasource": {
  3610. "uid": "$datasource"
  3611. },
  3612. "expr": "synapse_background_process_in_flight_count{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  3613. "legendFormat": "{{job}}-{{index}} {{name}}",
  3614. "refId": "A"
  3615. }
  3616. ],
  3617. "thresholds": [],
  3618. "timeRegions": [],
  3619. "title": "Background jobs in flight",
  3620. "tooltip": {
  3621. "shared": false,
  3622. "sort": 0,
  3623. "value_type": "individual"
  3624. },
  3625. "type": "graph",
  3626. "xaxis": {
  3627. "mode": "time",
  3628. "show": true,
  3629. "values": []
  3630. },
  3631. "yaxes": [
  3632. {
  3633. "format": "short",
  3634. "logBase": 1,
  3635. "show": true
  3636. },
  3637. {
  3638. "format": "short",
  3639. "logBase": 1,
  3640. "show": true
  3641. }
  3642. ],
  3643. "yaxis": {
  3644. "align": false
  3645. }
  3646. }
  3647. ],
  3648. "targets": [
  3649. {
  3650. "datasource": {
  3651. "type": "prometheus",
  3652. "uid": "$datasource"
  3653. },
  3654. "refId": "A"
  3655. }
  3656. ],
  3657. "title": "Background jobs",
  3658. "type": "row"
  3659. },
  3660. {
  3661. "collapsed": true,
  3662. "datasource": {
  3663. "type": "prometheus",
  3664. "uid": "$datasource"
  3665. },
  3666. "gridPos": {
  3667. "h": 1,
  3668. "w": 24,
  3669. "x": 0,
  3670. "y": 30
  3671. },
  3672. "id": 81,
  3673. "panels": [
  3674. {
  3675. "aliasColors": {},
  3676. "bars": false,
  3677. "dashLength": 10,
  3678. "dashes": false,
  3679. "datasource": {
  3680. "uid": "$datasource"
  3681. },
  3682. "fieldConfig": {
  3683. "defaults": {
  3684. "links": []
  3685. },
  3686. "overrides": []
  3687. },
  3688. "fill": 1,
  3689. "fillGradient": 0,
  3690. "gridPos": {
  3691. "h": 9,
  3692. "w": 12,
  3693. "x": 0,
  3694. "y": 6
  3695. },
  3696. "hiddenSeries": false,
  3697. "id": 79,
  3698. "legend": {
  3699. "avg": false,
  3700. "current": false,
  3701. "max": false,
  3702. "min": false,
  3703. "show": true,
  3704. "total": false,
  3705. "values": false
  3706. },
  3707. "lines": true,
  3708. "linewidth": 1,
  3709. "links": [],
  3710. "nullPointMode": "null",
  3711. "options": {
  3712. "alertThreshold": true
  3713. },
  3714. "paceLength": 10,
  3715. "percentage": false,
  3716. "pluginVersion": "8.4.3",
  3717. "pointradius": 5,
  3718. "points": false,
  3719. "renderer": "flot",
  3720. "seriesOverrides": [],
  3721. "spaceLength": 10,
  3722. "stack": false,
  3723. "steppedLine": false,
  3724. "targets": [
  3725. {
  3726. "datasource": {
  3727. "uid": "$datasource"
  3728. },
  3729. "expr": "sum(rate(synapse_federation_client_sent_transactions_total{instance=\"$instance\"}[$bucket_size]))",
  3730. "format": "time_series",
  3731. "intervalFactor": 1,
  3732. "legendFormat": "successful txn rate",
  3733. "refId": "A"
  3734. },
  3735. {
  3736. "datasource": {
  3737. "uid": "$datasource"
  3738. },
  3739. "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]))",
  3740. "legendFormat": "failed txn rate",
  3741. "refId": "B"
  3742. }
  3743. ],
  3744. "thresholds": [],
  3745. "timeRegions": [],
  3746. "title": "Outgoing federation transaction rate",
  3747. "tooltip": {
  3748. "shared": true,
  3749. "sort": 0,
  3750. "value_type": "individual"
  3751. },
  3752. "type": "graph",
  3753. "xaxis": {
  3754. "mode": "time",
  3755. "show": true,
  3756. "values": []
  3757. },
  3758. "yaxes": [
  3759. {
  3760. "format": "hertz",
  3761. "logBase": 1,
  3762. "show": true
  3763. },
  3764. {
  3765. "format": "short",
  3766. "logBase": 1,
  3767. "show": true
  3768. }
  3769. ],
  3770. "yaxis": {
  3771. "align": false
  3772. }
  3773. },
  3774. {
  3775. "aliasColors": {},
  3776. "bars": false,
  3777. "dashLength": 10,
  3778. "dashes": false,
  3779. "datasource": {
  3780. "uid": "$datasource"
  3781. },
  3782. "fieldConfig": {
  3783. "defaults": {
  3784. "links": []
  3785. },
  3786. "overrides": []
  3787. },
  3788. "fill": 1,
  3789. "fillGradient": 0,
  3790. "gridPos": {
  3791. "h": 9,
  3792. "w": 12,
  3793. "x": 12,
  3794. "y": 6
  3795. },
  3796. "hiddenSeries": false,
  3797. "id": 83,
  3798. "legend": {
  3799. "avg": false,
  3800. "current": false,
  3801. "max": false,
  3802. "min": false,
  3803. "show": true,
  3804. "total": false,
  3805. "values": false
  3806. },
  3807. "lines": true,
  3808. "linewidth": 1,
  3809. "links": [],
  3810. "nullPointMode": "null",
  3811. "options": {
  3812. "alertThreshold": true
  3813. },
  3814. "paceLength": 10,
  3815. "percentage": false,
  3816. "pluginVersion": "8.4.3",
  3817. "pointradius": 5,
  3818. "points": false,
  3819. "renderer": "flot",
  3820. "seriesOverrides": [],
  3821. "spaceLength": 10,
  3822. "stack": false,
  3823. "steppedLine": false,
  3824. "targets": [
  3825. {
  3826. "datasource": {
  3827. "uid": "$datasource"
  3828. },
  3829. "expr": "sum(rate(synapse_federation_server_received_pdus_total{instance=~\"$instance\"}[$bucket_size]))",
  3830. "format": "time_series",
  3831. "intervalFactor": 1,
  3832. "legendFormat": "pdus",
  3833. "refId": "A"
  3834. },
  3835. {
  3836. "datasource": {
  3837. "uid": "$datasource"
  3838. },
  3839. "expr": "sum(rate(synapse_federation_server_received_edus_total{instance=~\"$instance\"}[$bucket_size]))",
  3840. "format": "time_series",
  3841. "intervalFactor": 1,
  3842. "legendFormat": "edus",
  3843. "refId": "B"
  3844. }
  3845. ],
  3846. "thresholds": [],
  3847. "timeRegions": [],
  3848. "title": "Incoming PDU/EDU rate",
  3849. "tooltip": {
  3850. "shared": true,
  3851. "sort": 0,
  3852. "value_type": "individual"
  3853. },
  3854. "type": "graph",
  3855. "xaxis": {
  3856. "mode": "time",
  3857. "show": true,
  3858. "values": []
  3859. },
  3860. "yaxes": [
  3861. {
  3862. "format": "hertz",
  3863. "logBase": 1,
  3864. "show": true
  3865. },
  3866. {
  3867. "format": "short",
  3868. "logBase": 1,
  3869. "show": true
  3870. }
  3871. ],
  3872. "yaxis": {
  3873. "align": false
  3874. }
  3875. },
  3876. {
  3877. "aliasColors": {},
  3878. "bars": false,
  3879. "dashLength": 10,
  3880. "dashes": false,
  3881. "datasource": {
  3882. "uid": "$datasource"
  3883. },
  3884. "fieldConfig": {
  3885. "defaults": {
  3886. "links": []
  3887. },
  3888. "overrides": []
  3889. },
  3890. "fill": 1,
  3891. "fillGradient": 0,
  3892. "gridPos": {
  3893. "h": 9,
  3894. "w": 12,
  3895. "x": 0,
  3896. "y": 15
  3897. },
  3898. "hiddenSeries": false,
  3899. "id": 109,
  3900. "legend": {
  3901. "avg": false,
  3902. "current": false,
  3903. "max": false,
  3904. "min": false,
  3905. "show": true,
  3906. "total": false,
  3907. "values": false
  3908. },
  3909. "lines": true,
  3910. "linewidth": 1,
  3911. "links": [],
  3912. "nullPointMode": "null",
  3913. "options": {
  3914. "alertThreshold": true
  3915. },
  3916. "paceLength": 10,
  3917. "percentage": false,
  3918. "pluginVersion": "8.4.3",
  3919. "pointradius": 5,
  3920. "points": false,
  3921. "renderer": "flot",
  3922. "seriesOverrides": [],
  3923. "spaceLength": 10,
  3924. "stack": false,
  3925. "steppedLine": false,
  3926. "targets": [
  3927. {
  3928. "datasource": {
  3929. "uid": "$datasource"
  3930. },
  3931. "expr": "sum(rate(synapse_federation_client_sent_pdu_destinations:total_total{instance=\"$instance\"}[$bucket_size]))",
  3932. "format": "time_series",
  3933. "interval": "",
  3934. "intervalFactor": 1,
  3935. "legendFormat": "pdus",
  3936. "refId": "A"
  3937. },
  3938. {
  3939. "datasource": {
  3940. "uid": "$datasource"
  3941. },
  3942. "expr": "sum(rate(synapse_federation_client_sent_edus_total{instance=\"$instance\"}[$bucket_size]))",
  3943. "format": "time_series",
  3944. "intervalFactor": 1,
  3945. "legendFormat": "edus",
  3946. "refId": "B"
  3947. }
  3948. ],
  3949. "thresholds": [],
  3950. "timeRegions": [],
  3951. "title": "Outgoing PDU/EDU rate",
  3952. "tooltip": {
  3953. "shared": true,
  3954. "sort": 0,
  3955. "value_type": "individual"
  3956. },
  3957. "type": "graph",
  3958. "xaxis": {
  3959. "mode": "time",
  3960. "show": true,
  3961. "values": []
  3962. },
  3963. "yaxes": [
  3964. {
  3965. "format": "hertz",
  3966. "logBase": 1,
  3967. "show": true
  3968. },
  3969. {
  3970. "format": "short",
  3971. "logBase": 1,
  3972. "show": true
  3973. }
  3974. ],
  3975. "yaxis": {
  3976. "align": false
  3977. }
  3978. },
  3979. {
  3980. "aliasColors": {},
  3981. "bars": false,
  3982. "dashLength": 10,
  3983. "dashes": false,
  3984. "datasource": {
  3985. "uid": "$datasource"
  3986. },
  3987. "fieldConfig": {
  3988. "defaults": {
  3989. "links": []
  3990. },
  3991. "overrides": []
  3992. },
  3993. "fill": 1,
  3994. "fillGradient": 0,
  3995. "gridPos": {
  3996. "h": 9,
  3997. "w": 12,
  3998. "x": 12,
  3999. "y": 15
  4000. },
  4001. "hiddenSeries": false,
  4002. "id": 111,
  4003. "legend": {
  4004. "avg": false,
  4005. "current": false,
  4006. "max": false,
  4007. "min": false,
  4008. "show": true,
  4009. "total": false,
  4010. "values": false
  4011. },
  4012. "lines": true,
  4013. "linewidth": 1,
  4014. "links": [],
  4015. "nullPointMode": "null",
  4016. "options": {
  4017. "alertThreshold": true
  4018. },
  4019. "paceLength": 10,
  4020. "percentage": false,
  4021. "pluginVersion": "8.4.3",
  4022. "pointradius": 5,
  4023. "points": false,
  4024. "renderer": "flot",
  4025. "seriesOverrides": [],
  4026. "spaceLength": 10,
  4027. "stack": false,
  4028. "steppedLine": false,
  4029. "targets": [
  4030. {
  4031. "datasource": {
  4032. "uid": "$datasource"
  4033. },
  4034. "expr": "rate(synapse_federation_client_sent_edus_by_type{instance=\"$instance\"}[$bucket_size])",
  4035. "format": "time_series",
  4036. "interval": "",
  4037. "intervalFactor": 1,
  4038. "legendFormat": "{{type}}",
  4039. "refId": "A"
  4040. }
  4041. ],
  4042. "thresholds": [],
  4043. "timeRegions": [],
  4044. "title": "Outgoing EDUs by type",
  4045. "tooltip": {
  4046. "shared": true,
  4047. "sort": 0,
  4048. "value_type": "individual"
  4049. },
  4050. "type": "graph",
  4051. "xaxis": {
  4052. "mode": "time",
  4053. "show": true,
  4054. "values": []
  4055. },
  4056. "yaxes": [
  4057. {
  4058. "format": "hertz",
  4059. "logBase": 1,
  4060. "show": true
  4061. },
  4062. {
  4063. "format": "short",
  4064. "logBase": 1,
  4065. "show": true
  4066. }
  4067. ],
  4068. "yaxis": {
  4069. "align": false
  4070. }
  4071. },
  4072. {
  4073. "aliasColors": {},
  4074. "bars": false,
  4075. "dashLength": 10,
  4076. "dashes": false,
  4077. "datasource": {
  4078. "type": "prometheus",
  4079. "uid": "$datasource"
  4080. },
  4081. "description": "The number of events in the in-memory queues ",
  4082. "fieldConfig": {
  4083. "defaults": {
  4084. "links": []
  4085. },
  4086. "overrides": []
  4087. },
  4088. "fill": 1,
  4089. "fillGradient": 0,
  4090. "gridPos": {
  4091. "h": 8,
  4092. "w": 12,
  4093. "x": 0,
  4094. "y": 24
  4095. },
  4096. "hiddenSeries": false,
  4097. "id": 142,
  4098. "legend": {
  4099. "avg": false,
  4100. "current": false,
  4101. "max": false,
  4102. "min": false,
  4103. "show": true,
  4104. "total": false,
  4105. "values": false
  4106. },
  4107. "lines": true,
  4108. "linewidth": 1,
  4109. "nullPointMode": "null",
  4110. "options": {
  4111. "alertThreshold": true
  4112. },
  4113. "percentage": false,
  4114. "pluginVersion": "8.4.3",
  4115. "pointradius": 2,
  4116. "points": false,
  4117. "renderer": "flot",
  4118. "seriesOverrides": [],
  4119. "spaceLength": 10,
  4120. "stack": false,
  4121. "steppedLine": false,
  4122. "targets": [
  4123. {
  4124. "datasource": {
  4125. "type": "prometheus",
  4126. "uid": "$datasource"
  4127. },
  4128. "expr": "synapse_federation_transaction_queue_pending_pdus{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4129. "interval": "",
  4130. "legendFormat": "pending PDUs {{job}}-{{index}}",
  4131. "refId": "A"
  4132. },
  4133. {
  4134. "datasource": {
  4135. "type": "prometheus",
  4136. "uid": "$datasource"
  4137. },
  4138. "expr": "synapse_federation_transaction_queue_pending_edus{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4139. "interval": "",
  4140. "legendFormat": "pending EDUs {{job}}-{{index}}",
  4141. "refId": "B"
  4142. }
  4143. ],
  4144. "thresholds": [],
  4145. "timeRegions": [],
  4146. "title": "In-memory federation transmission queues",
  4147. "tooltip": {
  4148. "shared": true,
  4149. "sort": 0,
  4150. "value_type": "individual"
  4151. },
  4152. "type": "graph",
  4153. "xaxis": {
  4154. "mode": "time",
  4155. "show": true,
  4156. "values": []
  4157. },
  4158. "yaxes": [
  4159. {
  4160. "format": "short",
  4161. "label": "events",
  4162. "logBase": 1,
  4163. "min": "0",
  4164. "show": true
  4165. },
  4166. {
  4167. "format": "short",
  4168. "label": "",
  4169. "logBase": 1,
  4170. "show": true
  4171. }
  4172. ],
  4173. "yaxis": {
  4174. "align": false
  4175. }
  4176. },
  4177. {
  4178. "aliasColors": {},
  4179. "bars": false,
  4180. "dashLength": 10,
  4181. "dashes": false,
  4182. "datasource": {
  4183. "uid": "$datasource"
  4184. },
  4185. "description": "Number of events queued up on the master process for processing by the federation sender",
  4186. "fieldConfig": {
  4187. "defaults": {
  4188. "links": []
  4189. },
  4190. "overrides": []
  4191. },
  4192. "fill": 1,
  4193. "fillGradient": 0,
  4194. "gridPos": {
  4195. "h": 9,
  4196. "w": 12,
  4197. "x": 12,
  4198. "y": 24
  4199. },
  4200. "hiddenSeries": false,
  4201. "id": 140,
  4202. "legend": {
  4203. "avg": false,
  4204. "current": false,
  4205. "max": false,
  4206. "min": false,
  4207. "show": true,
  4208. "total": false,
  4209. "values": false
  4210. },
  4211. "lines": true,
  4212. "linewidth": 1,
  4213. "links": [],
  4214. "nullPointMode": "null",
  4215. "options": {
  4216. "alertThreshold": true
  4217. },
  4218. "paceLength": 10,
  4219. "percentage": false,
  4220. "pluginVersion": "8.4.3",
  4221. "pointradius": 5,
  4222. "points": false,
  4223. "renderer": "flot",
  4224. "seriesOverrides": [],
  4225. "spaceLength": 10,
  4226. "stack": false,
  4227. "steppedLine": false,
  4228. "targets": [
  4229. {
  4230. "datasource": {
  4231. "uid": "$datasource"
  4232. },
  4233. "expr": "synapse_federation_send_queue_presence_changed_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4234. "format": "time_series",
  4235. "interval": "",
  4236. "intervalFactor": 1,
  4237. "legendFormat": "presence changed",
  4238. "refId": "A"
  4239. },
  4240. {
  4241. "datasource": {
  4242. "uid": "$datasource"
  4243. },
  4244. "expr": "synapse_federation_send_queue_presence_map_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4245. "format": "time_series",
  4246. "hide": false,
  4247. "interval": "",
  4248. "intervalFactor": 1,
  4249. "legendFormat": "presence map",
  4250. "refId": "B"
  4251. },
  4252. {
  4253. "datasource": {
  4254. "uid": "$datasource"
  4255. },
  4256. "expr": "synapse_federation_send_queue_presence_destinations_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4257. "format": "time_series",
  4258. "hide": false,
  4259. "interval": "",
  4260. "intervalFactor": 1,
  4261. "legendFormat": "presence destinations",
  4262. "refId": "E"
  4263. },
  4264. {
  4265. "datasource": {
  4266. "uid": "$datasource"
  4267. },
  4268. "expr": "synapse_federation_send_queue_keyed_edu_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4269. "format": "time_series",
  4270. "hide": false,
  4271. "interval": "",
  4272. "intervalFactor": 1,
  4273. "legendFormat": "keyed edus",
  4274. "refId": "C"
  4275. },
  4276. {
  4277. "datasource": {
  4278. "uid": "$datasource"
  4279. },
  4280. "expr": "synapse_federation_send_queue_edus_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4281. "format": "time_series",
  4282. "hide": false,
  4283. "interval": "",
  4284. "intervalFactor": 1,
  4285. "legendFormat": "other edus",
  4286. "refId": "D"
  4287. },
  4288. {
  4289. "datasource": {
  4290. "uid": "$datasource"
  4291. },
  4292. "expr": "synapse_federation_send_queue_pos_time_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4293. "format": "time_series",
  4294. "hide": false,
  4295. "interval": "",
  4296. "intervalFactor": 1,
  4297. "legendFormat": "stream positions",
  4298. "refId": "F"
  4299. }
  4300. ],
  4301. "thresholds": [],
  4302. "timeRegions": [],
  4303. "title": "Outgoing EDU queues on master",
  4304. "tooltip": {
  4305. "shared": true,
  4306. "sort": 0,
  4307. "value_type": "individual"
  4308. },
  4309. "type": "graph",
  4310. "xaxis": {
  4311. "mode": "time",
  4312. "show": true,
  4313. "values": []
  4314. },
  4315. "yaxes": [
  4316. {
  4317. "format": "none",
  4318. "logBase": 1,
  4319. "min": "0",
  4320. "show": true
  4321. },
  4322. {
  4323. "format": "short",
  4324. "logBase": 1,
  4325. "show": true
  4326. }
  4327. ],
  4328. "yaxis": {
  4329. "align": false
  4330. }
  4331. },
  4332. {
  4333. "cards": {
  4334. "cardPadding": -1
  4335. },
  4336. "color": {
  4337. "cardColor": "#b4ff00",
  4338. "colorScale": "sqrt",
  4339. "colorScheme": "interpolateInferno",
  4340. "exponent": 0.5,
  4341. "min": 0,
  4342. "mode": "spectrum"
  4343. },
  4344. "dataFormat": "tsbuckets",
  4345. "datasource": {
  4346. "uid": "$datasource"
  4347. },
  4348. "gridPos": {
  4349. "h": 9,
  4350. "w": 12,
  4351. "x": 0,
  4352. "y": 32
  4353. },
  4354. "heatmap": {},
  4355. "hideZeroBuckets": false,
  4356. "highlightCards": true,
  4357. "id": 166,
  4358. "legend": {
  4359. "show": false
  4360. },
  4361. "links": [],
  4362. "reverseYBuckets": false,
  4363. "targets": [
  4364. {
  4365. "datasource": {
  4366. "uid": "$datasource"
  4367. },
  4368. "expr": "sum(rate(synapse_event_processing_lag_by_event_bucket{instance=\"$instance\",name=\"federation_sender\"}[$bucket_size])) by (le)",
  4369. "format": "heatmap",
  4370. "instant": false,
  4371. "interval": "",
  4372. "intervalFactor": 1,
  4373. "legendFormat": "{{ le }}",
  4374. "refId": "A"
  4375. }
  4376. ],
  4377. "title": "Federation send PDU lag",
  4378. "tooltip": {
  4379. "show": true,
  4380. "showHistogram": true
  4381. },
  4382. "tooltipDecimals": 2,
  4383. "type": "heatmap",
  4384. "xAxis": {
  4385. "show": true
  4386. },
  4387. "yAxis": {
  4388. "decimals": 0,
  4389. "format": "s",
  4390. "logBase": 1,
  4391. "show": true
  4392. },
  4393. "yBucketBound": "auto"
  4394. },
  4395. {
  4396. "aliasColors": {},
  4397. "bars": false,
  4398. "dashLength": 10,
  4399. "dashes": false,
  4400. "datasource": {
  4401. "uid": "$datasource"
  4402. },
  4403. "fieldConfig": {
  4404. "defaults": {
  4405. "links": []
  4406. },
  4407. "overrides": []
  4408. },
  4409. "fill": 0,
  4410. "fillGradient": 0,
  4411. "gridPos": {
  4412. "h": 9,
  4413. "w": 12,
  4414. "x": 12,
  4415. "y": 33
  4416. },
  4417. "hiddenSeries": false,
  4418. "id": 162,
  4419. "legend": {
  4420. "avg": false,
  4421. "current": false,
  4422. "max": false,
  4423. "min": false,
  4424. "rightSide": false,
  4425. "show": true,
  4426. "total": false,
  4427. "values": false
  4428. },
  4429. "lines": true,
  4430. "linewidth": 0,
  4431. "links": [],
  4432. "nullPointMode": "connected",
  4433. "options": {
  4434. "alertThreshold": true
  4435. },
  4436. "paceLength": 10,
  4437. "percentage": false,
  4438. "pluginVersion": "8.4.3",
  4439. "pointradius": 5,
  4440. "points": false,
  4441. "renderer": "flot",
  4442. "seriesOverrides": [
  4443. {
  4444. "alias": "Avg",
  4445. "fill": 0,
  4446. "linewidth": 3
  4447. },
  4448. {
  4449. "alias": "99%",
  4450. "color": "#C4162A",
  4451. "fillBelowTo": "90%"
  4452. },
  4453. {
  4454. "alias": "90%",
  4455. "color": "#FF7383",
  4456. "fillBelowTo": "75%"
  4457. },
  4458. {
  4459. "alias": "75%",
  4460. "color": "#FFEE52",
  4461. "fillBelowTo": "50%"
  4462. },
  4463. {
  4464. "alias": "50%",
  4465. "color": "#73BF69",
  4466. "fillBelowTo": "25%"
  4467. },
  4468. {
  4469. "alias": "25%",
  4470. "color": "#1F60C4",
  4471. "fillBelowTo": "5%"
  4472. },
  4473. {
  4474. "alias": "5%",
  4475. "lines": false
  4476. },
  4477. {
  4478. "alias": "Average",
  4479. "color": "rgb(255, 255, 255)",
  4480. "lines": true,
  4481. "linewidth": 3
  4482. }
  4483. ],
  4484. "spaceLength": 10,
  4485. "stack": false,
  4486. "steppedLine": false,
  4487. "targets": [
  4488. {
  4489. "datasource": {
  4490. "uid": "$datasource"
  4491. },
  4492. "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))",
  4493. "format": "time_series",
  4494. "interval": "",
  4495. "intervalFactor": 1,
  4496. "legendFormat": "99%",
  4497. "refId": "D"
  4498. },
  4499. {
  4500. "datasource": {
  4501. "uid": "$datasource"
  4502. },
  4503. "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))",
  4504. "format": "time_series",
  4505. "interval": "",
  4506. "intervalFactor": 1,
  4507. "legendFormat": "90%",
  4508. "refId": "A"
  4509. },
  4510. {
  4511. "datasource": {
  4512. "uid": "$datasource"
  4513. },
  4514. "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))",
  4515. "format": "time_series",
  4516. "interval": "",
  4517. "intervalFactor": 1,
  4518. "legendFormat": "75%",
  4519. "refId": "C"
  4520. },
  4521. {
  4522. "datasource": {
  4523. "uid": "$datasource"
  4524. },
  4525. "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))",
  4526. "format": "time_series",
  4527. "interval": "",
  4528. "intervalFactor": 1,
  4529. "legendFormat": "50%",
  4530. "refId": "B"
  4531. },
  4532. {
  4533. "datasource": {
  4534. "uid": "$datasource"
  4535. },
  4536. "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))",
  4537. "interval": "",
  4538. "legendFormat": "25%",
  4539. "refId": "F"
  4540. },
  4541. {
  4542. "datasource": {
  4543. "uid": "$datasource"
  4544. },
  4545. "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))",
  4546. "interval": "",
  4547. "legendFormat": "5%",
  4548. "refId": "G"
  4549. },
  4550. {
  4551. "datasource": {
  4552. "uid": "$datasource"
  4553. },
  4554. "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]))",
  4555. "interval": "",
  4556. "legendFormat": "Average",
  4557. "refId": "H"
  4558. }
  4559. ],
  4560. "thresholds": [
  4561. {
  4562. "colorMode": "warning",
  4563. "fill": false,
  4564. "line": true,
  4565. "op": "gt",
  4566. "value": 0.25,
  4567. "yaxis": "left"
  4568. },
  4569. {
  4570. "colorMode": "critical",
  4571. "fill": false,
  4572. "line": true,
  4573. "op": "gt",
  4574. "value": 1,
  4575. "yaxis": "left"
  4576. }
  4577. ],
  4578. "timeRegions": [],
  4579. "title": "Federation send PDU lag quantiles",
  4580. "tooltip": {
  4581. "shared": true,
  4582. "sort": 2,
  4583. "value_type": "individual"
  4584. },
  4585. "type": "graph",
  4586. "xaxis": {
  4587. "mode": "time",
  4588. "show": true,
  4589. "values": []
  4590. },
  4591. "yaxes": [
  4592. {
  4593. "format": "s",
  4594. "label": "",
  4595. "logBase": 1,
  4596. "min": "0",
  4597. "show": true
  4598. },
  4599. {
  4600. "format": "hertz",
  4601. "label": "",
  4602. "logBase": 1,
  4603. "min": "0",
  4604. "show": true
  4605. }
  4606. ],
  4607. "yaxis": {
  4608. "align": false
  4609. }
  4610. },
  4611. {
  4612. "cards": {
  4613. "cardPadding": -1
  4614. },
  4615. "color": {
  4616. "cardColor": "#b4ff00",
  4617. "colorScale": "sqrt",
  4618. "colorScheme": "interpolateInferno",
  4619. "exponent": 0.5,
  4620. "min": 0,
  4621. "mode": "spectrum"
  4622. },
  4623. "dataFormat": "tsbuckets",
  4624. "datasource": {
  4625. "uid": "$datasource"
  4626. },
  4627. "gridPos": {
  4628. "h": 9,
  4629. "w": 12,
  4630. "x": 0,
  4631. "y": 41
  4632. },
  4633. "heatmap": {},
  4634. "hideZeroBuckets": false,
  4635. "highlightCards": true,
  4636. "id": 164,
  4637. "legend": {
  4638. "show": false
  4639. },
  4640. "links": [],
  4641. "reverseYBuckets": false,
  4642. "targets": [
  4643. {
  4644. "datasource": {
  4645. "uid": "$datasource"
  4646. },
  4647. "expr": "sum(rate(synapse_federation_server_pdu_process_time_bucket{instance=\"$instance\"}[$bucket_size])) by (le)",
  4648. "format": "heatmap",
  4649. "instant": false,
  4650. "interval": "",
  4651. "intervalFactor": 1,
  4652. "legendFormat": "{{ le }}",
  4653. "refId": "A"
  4654. }
  4655. ],
  4656. "title": "Handle inbound PDU time",
  4657. "tooltip": {
  4658. "show": true,
  4659. "showHistogram": true
  4660. },
  4661. "tooltipDecimals": 2,
  4662. "type": "heatmap",
  4663. "xAxis": {
  4664. "show": true
  4665. },
  4666. "yAxis": {
  4667. "decimals": 0,
  4668. "format": "s",
  4669. "logBase": 1,
  4670. "show": true
  4671. },
  4672. "yBucketBound": "auto"
  4673. },
  4674. {
  4675. "aliasColors": {},
  4676. "bars": false,
  4677. "dashLength": 10,
  4678. "dashes": false,
  4679. "datasource": {
  4680. "uid": "$datasource"
  4681. },
  4682. "editable": true,
  4683. "error": false,
  4684. "fieldConfig": {
  4685. "defaults": {
  4686. "links": []
  4687. },
  4688. "overrides": []
  4689. },
  4690. "fill": 1,
  4691. "fillGradient": 0,
  4692. "grid": {},
  4693. "gridPos": {
  4694. "h": 9,
  4695. "w": 12,
  4696. "x": 12,
  4697. "y": 42
  4698. },
  4699. "hiddenSeries": false,
  4700. "id": 203,
  4701. "legend": {
  4702. "avg": false,
  4703. "current": false,
  4704. "max": false,
  4705. "min": false,
  4706. "show": true,
  4707. "total": false,
  4708. "values": false
  4709. },
  4710. "lines": true,
  4711. "linewidth": 2,
  4712. "links": [],
  4713. "nullPointMode": "null",
  4714. "options": {
  4715. "alertThreshold": true
  4716. },
  4717. "paceLength": 10,
  4718. "percentage": false,
  4719. "pluginVersion": "8.4.3",
  4720. "pointradius": 5,
  4721. "points": false,
  4722. "renderer": "flot",
  4723. "seriesOverrides": [],
  4724. "spaceLength": 10,
  4725. "stack": false,
  4726. "steppedLine": false,
  4727. "targets": [
  4728. {
  4729. "datasource": {
  4730. "uid": "$datasource"
  4731. },
  4732. "expr": "synapse_federation_server_oldest_inbound_pdu_in_staging{job=\"$job\",index=~\"$index\",instance=\"$instance\"}",
  4733. "format": "time_series",
  4734. "interval": "",
  4735. "intervalFactor": 1,
  4736. "legendFormat": "rss {{index}}",
  4737. "refId": "A",
  4738. "step": 4
  4739. }
  4740. ],
  4741. "thresholds": [],
  4742. "timeRegions": [],
  4743. "title": "Age of oldest event in staging area",
  4744. "tooltip": {
  4745. "msResolution": false,
  4746. "shared": true,
  4747. "sort": 0,
  4748. "value_type": "cumulative"
  4749. },
  4750. "type": "graph",
  4751. "xaxis": {
  4752. "mode": "time",
  4753. "show": true,
  4754. "values": []
  4755. },
  4756. "yaxes": [
  4757. {
  4758. "$$hashKey": "object:92",
  4759. "format": "ms",
  4760. "logBase": 1,
  4761. "min": 0,
  4762. "show": true
  4763. },
  4764. {
  4765. "$$hashKey": "object:93",
  4766. "format": "short",
  4767. "logBase": 1,
  4768. "show": true
  4769. }
  4770. ],
  4771. "yaxis": {
  4772. "align": false
  4773. }
  4774. },
  4775. {
  4776. "aliasColors": {},
  4777. "bars": false,
  4778. "dashLength": 10,
  4779. "dashes": false,
  4780. "datasource": {
  4781. "uid": "$datasource"
  4782. },
  4783. "editable": true,
  4784. "error": false,
  4785. "fieldConfig": {
  4786. "defaults": {
  4787. "links": []
  4788. },
  4789. "overrides": []
  4790. },
  4791. "fill": 1,
  4792. "fillGradient": 0,
  4793. "grid": {},
  4794. "gridPos": {
  4795. "h": 9,
  4796. "w": 12,
  4797. "x": 0,
  4798. "y": 50
  4799. },
  4800. "hiddenSeries": false,
  4801. "id": 202,
  4802. "legend": {
  4803. "avg": false,
  4804. "current": false,
  4805. "max": false,
  4806. "min": false,
  4807. "show": true,
  4808. "total": false,
  4809. "values": false
  4810. },
  4811. "lines": true,
  4812. "linewidth": 2,
  4813. "links": [],
  4814. "nullPointMode": "null",
  4815. "options": {
  4816. "alertThreshold": true
  4817. },
  4818. "paceLength": 10,
  4819. "percentage": false,
  4820. "pluginVersion": "8.4.3",
  4821. "pointradius": 5,
  4822. "points": false,
  4823. "renderer": "flot",
  4824. "seriesOverrides": [],
  4825. "spaceLength": 10,
  4826. "stack": false,
  4827. "steppedLine": false,
  4828. "targets": [
  4829. {
  4830. "datasource": {
  4831. "uid": "$datasource"
  4832. },
  4833. "expr": "synapse_federation_server_number_inbound_pdu_in_staging{job=\"$job\",index=~\"$index\",instance=\"$instance\"}",
  4834. "format": "time_series",
  4835. "interval": "",
  4836. "intervalFactor": 1,
  4837. "legendFormat": "rss {{index}}",
  4838. "refId": "A",
  4839. "step": 4
  4840. }
  4841. ],
  4842. "thresholds": [],
  4843. "timeRegions": [],
  4844. "title": "Number of events in federation staging area",
  4845. "tooltip": {
  4846. "msResolution": false,
  4847. "shared": true,
  4848. "sort": 0,
  4849. "value_type": "cumulative"
  4850. },
  4851. "type": "graph",
  4852. "xaxis": {
  4853. "mode": "time",
  4854. "show": true,
  4855. "values": []
  4856. },
  4857. "yaxes": [
  4858. {
  4859. "$$hashKey": "object:92",
  4860. "format": "none",
  4861. "logBase": 1,
  4862. "min": 0,
  4863. "show": true
  4864. },
  4865. {
  4866. "$$hashKey": "object:93",
  4867. "format": "short",
  4868. "logBase": 1,
  4869. "show": true
  4870. }
  4871. ],
  4872. "yaxis": {
  4873. "align": false
  4874. }
  4875. },
  4876. {
  4877. "aliasColors": {},
  4878. "bars": false,
  4879. "dashLength": 10,
  4880. "dashes": false,
  4881. "datasource": {
  4882. "type": "prometheus",
  4883. "uid": "$datasource"
  4884. },
  4885. "fill": 1,
  4886. "fillGradient": 0,
  4887. "gridPos": {
  4888. "h": 8,
  4889. "w": 12,
  4890. "x": 12,
  4891. "y": 51
  4892. },
  4893. "hiddenSeries": false,
  4894. "id": 205,
  4895. "legend": {
  4896. "avg": false,
  4897. "current": false,
  4898. "max": false,
  4899. "min": false,
  4900. "show": true,
  4901. "total": false,
  4902. "values": false
  4903. },
  4904. "lines": true,
  4905. "linewidth": 1,
  4906. "nullPointMode": "null",
  4907. "options": {
  4908. "alertThreshold": true
  4909. },
  4910. "percentage": false,
  4911. "pluginVersion": "8.4.3",
  4912. "pointradius": 2,
  4913. "points": false,
  4914. "renderer": "flot",
  4915. "seriesOverrides": [],
  4916. "spaceLength": 10,
  4917. "stack": false,
  4918. "steppedLine": false,
  4919. "targets": [
  4920. {
  4921. "datasource": {
  4922. "type": "prometheus",
  4923. "uid": "$datasource"
  4924. },
  4925. "expr": "sum(rate(synapse_federation_soft_failed_events_total{instance=\"$instance\"}[$bucket_size]))",
  4926. "interval": "",
  4927. "legendFormat": "soft-failed events",
  4928. "refId": "A"
  4929. }
  4930. ],
  4931. "thresholds": [],
  4932. "timeRegions": [],
  4933. "title": "Soft-failed event rate",
  4934. "tooltip": {
  4935. "shared": true,
  4936. "sort": 0,
  4937. "value_type": "individual"
  4938. },
  4939. "type": "graph",
  4940. "xaxis": {
  4941. "mode": "time",
  4942. "show": true,
  4943. "values": []
  4944. },
  4945. "yaxes": [
  4946. {
  4947. "$$hashKey": "object:131",
  4948. "format": "hertz",
  4949. "logBase": 1,
  4950. "show": true
  4951. },
  4952. {
  4953. "$$hashKey": "object:132",
  4954. "format": "short",
  4955. "logBase": 1,
  4956. "show": false
  4957. }
  4958. ],
  4959. "yaxis": {
  4960. "align": false
  4961. }
  4962. }
  4963. ],
  4964. "targets": [
  4965. {
  4966. "datasource": {
  4967. "type": "prometheus",
  4968. "uid": "$datasource"
  4969. },
  4970. "refId": "A"
  4971. }
  4972. ],
  4973. "title": "Federation",
  4974. "type": "row"
  4975. },
  4976. {
  4977. "collapsed": true,
  4978. "datasource": {
  4979. "type": "prometheus",
  4980. "uid": "$datasource"
  4981. },
  4982. "gridPos": {
  4983. "h": 1,
  4984. "w": 24,
  4985. "x": 0,
  4986. "y": 31
  4987. },
  4988. "id": 60,
  4989. "panels": [
  4990. {
  4991. "aliasColors": {},
  4992. "bars": false,
  4993. "dashLength": 10,
  4994. "dashes": false,
  4995. "datasource": {
  4996. "uid": "$datasource"
  4997. },
  4998. "fieldConfig": {
  4999. "defaults": {
  5000. "links": []
  5001. },
  5002. "overrides": []
  5003. },
  5004. "fill": 1,
  5005. "fillGradient": 0,
  5006. "gridPos": {
  5007. "h": 8,
  5008. "w": 12,
  5009. "x": 0,
  5010. "y": 32
  5011. },
  5012. "hiddenSeries": false,
  5013. "id": 51,
  5014. "legend": {
  5015. "avg": false,
  5016. "current": false,
  5017. "max": false,
  5018. "min": false,
  5019. "show": true,
  5020. "total": false,
  5021. "values": false
  5022. },
  5023. "lines": true,
  5024. "linewidth": 1,
  5025. "links": [],
  5026. "nullPointMode": "null",
  5027. "options": {
  5028. "alertThreshold": true
  5029. },
  5030. "paceLength": 10,
  5031. "percentage": false,
  5032. "pluginVersion": "8.4.3",
  5033. "pointradius": 5,
  5034. "points": false,
  5035. "renderer": "flot",
  5036. "seriesOverrides": [],
  5037. "spaceLength": 10,
  5038. "stack": false,
  5039. "steppedLine": false,
  5040. "targets": [
  5041. {
  5042. "datasource": {
  5043. "uid": "$datasource"
  5044. },
  5045. "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",
  5046. "format": "time_series",
  5047. "interval": "",
  5048. "intervalFactor": 2,
  5049. "legendFormat": "processed {{job}}",
  5050. "refId": "A",
  5051. "step": 20
  5052. },
  5053. {
  5054. "datasource": {
  5055. "uid": "$datasource"
  5056. },
  5057. "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",
  5058. "format": "time_series",
  5059. "intervalFactor": 2,
  5060. "legendFormat": "failed {{job}}",
  5061. "refId": "B",
  5062. "step": 20
  5063. }
  5064. ],
  5065. "thresholds": [],
  5066. "timeRegions": [],
  5067. "title": "HTTP Push rate",
  5068. "tooltip": {
  5069. "shared": true,
  5070. "sort": 0,
  5071. "value_type": "individual"
  5072. },
  5073. "type": "graph",
  5074. "xaxis": {
  5075. "mode": "time",
  5076. "show": true,
  5077. "values": []
  5078. },
  5079. "yaxes": [
  5080. {
  5081. "format": "hertz",
  5082. "logBase": 1,
  5083. "show": true
  5084. },
  5085. {
  5086. "format": "short",
  5087. "logBase": 1,
  5088. "show": true
  5089. }
  5090. ],
  5091. "yaxis": {
  5092. "align": false
  5093. }
  5094. },
  5095. {
  5096. "aliasColors": {},
  5097. "bars": false,
  5098. "dashLength": 10,
  5099. "dashes": false,
  5100. "datasource": {
  5101. "uid": "$datasource"
  5102. },
  5103. "description": "",
  5104. "fieldConfig": {
  5105. "defaults": {
  5106. "links": []
  5107. },
  5108. "overrides": []
  5109. },
  5110. "fill": 1,
  5111. "fillGradient": 0,
  5112. "gridPos": {
  5113. "h": 8,
  5114. "w": 12,
  5115. "x": 12,
  5116. "y": 32
  5117. },
  5118. "hiddenSeries": false,
  5119. "id": 134,
  5120. "legend": {
  5121. "avg": false,
  5122. "current": false,
  5123. "hideZero": false,
  5124. "max": false,
  5125. "min": false,
  5126. "show": true,
  5127. "total": false,
  5128. "values": false
  5129. },
  5130. "lines": true,
  5131. "linewidth": 1,
  5132. "nullPointMode": "null",
  5133. "options": {
  5134. "alertThreshold": true
  5135. },
  5136. "percentage": false,
  5137. "pluginVersion": "8.4.3",
  5138. "pointradius": 2,
  5139. "points": false,
  5140. "renderer": "flot",
  5141. "seriesOverrides": [],
  5142. "spaceLength": 10,
  5143. "stack": false,
  5144. "steppedLine": false,
  5145. "targets": [
  5146. {
  5147. "datasource": {
  5148. "uid": "$datasource"
  5149. },
  5150. "expr": "topk(10,synapse_pushers{job=~\"$job\",index=~\"$index\", instance=\"$instance\"})",
  5151. "legendFormat": "{{kind}} {{app_id}}",
  5152. "refId": "A"
  5153. }
  5154. ],
  5155. "thresholds": [],
  5156. "timeRegions": [],
  5157. "title": "Active pusher instances by app",
  5158. "tooltip": {
  5159. "shared": false,
  5160. "sort": 2,
  5161. "value_type": "individual"
  5162. },
  5163. "type": "graph",
  5164. "xaxis": {
  5165. "mode": "time",
  5166. "show": true,
  5167. "values": []
  5168. },
  5169. "yaxes": [
  5170. {
  5171. "format": "short",
  5172. "logBase": 1,
  5173. "show": true
  5174. },
  5175. {
  5176. "format": "short",
  5177. "logBase": 1,
  5178. "show": true
  5179. }
  5180. ],
  5181. "yaxis": {
  5182. "align": false
  5183. }
  5184. }
  5185. ],
  5186. "targets": [
  5187. {
  5188. "datasource": {
  5189. "type": "prometheus",
  5190. "uid": "$datasource"
  5191. },
  5192. "refId": "A"
  5193. }
  5194. ],
  5195. "title": "Pushes",
  5196. "type": "row"
  5197. },
  5198. {
  5199. "collapsed": true,
  5200. "datasource": {
  5201. "type": "prometheus",
  5202. "uid": "$datasource"
  5203. },
  5204. "gridPos": {
  5205. "h": 1,
  5206. "w": 24,
  5207. "x": 0,
  5208. "y": 32
  5209. },
  5210. "id": 219,
  5211. "panels": [
  5212. {
  5213. "aliasColors": {},
  5214. "bars": false,
  5215. "dashLength": 10,
  5216. "dashes": false,
  5217. "datasource": {
  5218. "type": "prometheus",
  5219. "uid": "${DS_PROMETHEUS}"
  5220. },
  5221. "description": "How many entries in current state that we are iterating over while calculating push rules.",
  5222. "fieldConfig": {
  5223. "defaults": {
  5224. "links": []
  5225. },
  5226. "overrides": []
  5227. },
  5228. "fill": 1,
  5229. "fillGradient": 0,
  5230. "gridPos": {
  5231. "h": 7,
  5232. "w": 12,
  5233. "x": 0,
  5234. "y": 33
  5235. },
  5236. "hiddenSeries": false,
  5237. "id": 209,
  5238. "legend": {
  5239. "avg": false,
  5240. "current": false,
  5241. "max": false,
  5242. "min": false,
  5243. "show": false,
  5244. "total": false,
  5245. "values": false
  5246. },
  5247. "lines": true,
  5248. "linewidth": 1,
  5249. "links": [],
  5250. "nullPointMode": "null",
  5251. "options": {
  5252. "alertThreshold": true
  5253. },
  5254. "paceLength": 10,
  5255. "percentage": false,
  5256. "pluginVersion": "8.4.3",
  5257. "pointradius": 5,
  5258. "points": false,
  5259. "renderer": "flot",
  5260. "seriesOverrides": [],
  5261. "spaceLength": 10,
  5262. "stack": false,
  5263. "steppedLine": false,
  5264. "targets": [
  5265. {
  5266. "datasource": {
  5267. "type": "prometheus",
  5268. "uid": "${DS_PROMETHEUS}"
  5269. },
  5270. "exemplar": true,
  5271. "expr": "sum(rate(synapse_push_bulk_push_rule_evaluator_push_rules_state_size_counter_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  5272. "format": "time_series",
  5273. "interval": "",
  5274. "intervalFactor": 2,
  5275. "legendFormat": "{{index}}",
  5276. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_state_size_counter_total",
  5277. "refId": "A",
  5278. "step": 2
  5279. }
  5280. ],
  5281. "thresholds": [],
  5282. "timeRegions": [],
  5283. "title": "Iterations over State",
  5284. "tooltip": {
  5285. "shared": true,
  5286. "sort": 0,
  5287. "value_type": "individual"
  5288. },
  5289. "type": "graph",
  5290. "xaxis": {
  5291. "mode": "time",
  5292. "show": true,
  5293. "values": []
  5294. },
  5295. "yaxes": [
  5296. {
  5297. "format": "hertz",
  5298. "label": "",
  5299. "logBase": 1,
  5300. "min": "0",
  5301. "show": true
  5302. },
  5303. {
  5304. "format": "short",
  5305. "logBase": 1,
  5306. "show": true
  5307. }
  5308. ],
  5309. "yaxis": {
  5310. "align": false
  5311. }
  5312. },
  5313. {
  5314. "aliasColors": {},
  5315. "bars": false,
  5316. "dashLength": 10,
  5317. "dashes": false,
  5318. "datasource": {
  5319. "type": "prometheus",
  5320. "uid": "${DS_PROMETHEUS}"
  5321. },
  5322. "description": "Rate that the cached push rules for a room get invalidated due to underlying push rules being changed. ",
  5323. "fieldConfig": {
  5324. "defaults": {
  5325. "links": []
  5326. },
  5327. "overrides": []
  5328. },
  5329. "fill": 1,
  5330. "fillGradient": 0,
  5331. "gridPos": {
  5332. "h": 7,
  5333. "w": 12,
  5334. "x": 12,
  5335. "y": 33
  5336. },
  5337. "hiddenSeries": false,
  5338. "id": 211,
  5339. "legend": {
  5340. "avg": false,
  5341. "current": false,
  5342. "max": false,
  5343. "min": false,
  5344. "show": false,
  5345. "total": false,
  5346. "values": false
  5347. },
  5348. "lines": true,
  5349. "linewidth": 1,
  5350. "links": [],
  5351. "nullPointMode": "null",
  5352. "options": {
  5353. "alertThreshold": true
  5354. },
  5355. "paceLength": 10,
  5356. "percentage": false,
  5357. "pluginVersion": "8.4.3",
  5358. "pointradius": 5,
  5359. "points": false,
  5360. "renderer": "flot",
  5361. "seriesOverrides": [],
  5362. "spaceLength": 10,
  5363. "stack": false,
  5364. "steppedLine": false,
  5365. "targets": [
  5366. {
  5367. "datasource": {
  5368. "type": "prometheus",
  5369. "uid": "$datasource"
  5370. },
  5371. "exemplar": true,
  5372. "expr": "sum(rate(synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  5373. "format": "time_series",
  5374. "interval": "",
  5375. "intervalFactor": 2,
  5376. "legendFormat": "{{index}}",
  5377. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  5378. "refId": "A",
  5379. "step": 2
  5380. }
  5381. ],
  5382. "thresholds": [],
  5383. "timeRegions": [],
  5384. "title": "Push Rule Invalidations",
  5385. "tooltip": {
  5386. "shared": true,
  5387. "sort": 0,
  5388. "value_type": "individual"
  5389. },
  5390. "type": "graph",
  5391. "xaxis": {
  5392. "mode": "time",
  5393. "show": true,
  5394. "values": []
  5395. },
  5396. "yaxes": [
  5397. {
  5398. "format": "hertz",
  5399. "label": "",
  5400. "logBase": 1,
  5401. "min": "0",
  5402. "show": true
  5403. },
  5404. {
  5405. "format": "short",
  5406. "logBase": 1,
  5407. "show": true
  5408. }
  5409. ],
  5410. "yaxis": {
  5411. "align": false
  5412. }
  5413. },
  5414. {
  5415. "aliasColors": {},
  5416. "bars": false,
  5417. "dashLength": 10,
  5418. "dashes": false,
  5419. "datasource": {
  5420. "type": "prometheus",
  5421. "uid": "${DS_PROMETHEUS}"
  5422. },
  5423. "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.",
  5424. "fieldConfig": {
  5425. "defaults": {
  5426. "links": []
  5427. },
  5428. "overrides": []
  5429. },
  5430. "fill": 1,
  5431. "fillGradient": 0,
  5432. "gridPos": {
  5433. "h": 7,
  5434. "w": 12,
  5435. "x": 0,
  5436. "y": 40
  5437. },
  5438. "hiddenSeries": false,
  5439. "id": 213,
  5440. "legend": {
  5441. "avg": false,
  5442. "current": false,
  5443. "max": false,
  5444. "min": false,
  5445. "show": true,
  5446. "total": false,
  5447. "values": false
  5448. },
  5449. "lines": true,
  5450. "linewidth": 1,
  5451. "links": [],
  5452. "nullPointMode": "null",
  5453. "options": {
  5454. "alertThreshold": true
  5455. },
  5456. "paceLength": 10,
  5457. "percentage": false,
  5458. "pluginVersion": "8.4.3",
  5459. "pointradius": 5,
  5460. "points": false,
  5461. "renderer": "flot",
  5462. "seriesOverrides": [
  5463. {
  5464. "alias": "Number of calls",
  5465. "yaxis": 2
  5466. }
  5467. ],
  5468. "spaceLength": 10,
  5469. "stack": false,
  5470. "steppedLine": false,
  5471. "targets": [
  5472. {
  5473. "datasource": {
  5474. "type": "prometheus",
  5475. "uid": "${DS_PROMETHEUS}"
  5476. },
  5477. "exemplar": true,
  5478. "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]))",
  5479. "format": "time_series",
  5480. "interval": "",
  5481. "intervalFactor": 2,
  5482. "legendFormat": "Hit Rate",
  5483. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  5484. "refId": "A",
  5485. "step": 2
  5486. },
  5487. {
  5488. "datasource": {
  5489. "type": "prometheus",
  5490. "uid": "${DS_PROMETHEUS}"
  5491. },
  5492. "exemplar": true,
  5493. "expr": "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"push_rules_delta_state_cache_metric\",instance=\"$instance\"}[$bucket_size]))",
  5494. "format": "time_series",
  5495. "interval": "",
  5496. "intervalFactor": 2,
  5497. "legendFormat": "Number of calls",
  5498. "refId": "B",
  5499. "step": 2
  5500. }
  5501. ],
  5502. "thresholds": [],
  5503. "timeRegions": [],
  5504. "title": "Delta Optimisation",
  5505. "tooltip": {
  5506. "shared": true,
  5507. "sort": 0,
  5508. "value_type": "individual"
  5509. },
  5510. "type": "graph",
  5511. "xaxis": {
  5512. "mode": "time",
  5513. "show": true,
  5514. "values": []
  5515. },
  5516. "yaxes": [
  5517. {
  5518. "format": "percentunit",
  5519. "label": "",
  5520. "logBase": 1,
  5521. "max": "1",
  5522. "min": "0",
  5523. "show": true
  5524. },
  5525. {
  5526. "format": "hertz",
  5527. "label": "",
  5528. "logBase": 1,
  5529. "min": "0",
  5530. "show": true
  5531. }
  5532. ],
  5533. "yaxis": {
  5534. "align": false
  5535. }
  5536. },
  5537. {
  5538. "aliasColors": {},
  5539. "bars": false,
  5540. "dashLength": 10,
  5541. "dashes": false,
  5542. "datasource": {
  5543. "type": "prometheus",
  5544. "uid": "${DS_PROMETHEUS}"
  5545. },
  5546. "description": "How often we have the correct cached push rules for a room.",
  5547. "fieldConfig": {
  5548. "defaults": {
  5549. "links": []
  5550. },
  5551. "overrides": []
  5552. },
  5553. "fill": 1,
  5554. "fillGradient": 0,
  5555. "gridPos": {
  5556. "h": 7,
  5557. "w": 12,
  5558. "x": 12,
  5559. "y": 40
  5560. },
  5561. "hiddenSeries": false,
  5562. "id": 215,
  5563. "legend": {
  5564. "avg": false,
  5565. "current": false,
  5566. "max": false,
  5567. "min": false,
  5568. "show": true,
  5569. "total": false,
  5570. "values": false
  5571. },
  5572. "lines": true,
  5573. "linewidth": 1,
  5574. "links": [],
  5575. "nullPointMode": "null",
  5576. "options": {
  5577. "alertThreshold": true
  5578. },
  5579. "paceLength": 10,
  5580. "percentage": false,
  5581. "pluginVersion": "8.4.3",
  5582. "pointradius": 5,
  5583. "points": false,
  5584. "renderer": "flot",
  5585. "seriesOverrides": [
  5586. {
  5587. "alias": "Number of calls",
  5588. "yaxis": 2
  5589. }
  5590. ],
  5591. "spaceLength": 10,
  5592. "stack": false,
  5593. "steppedLine": false,
  5594. "targets": [
  5595. {
  5596. "datasource": {
  5597. "type": "prometheus",
  5598. "uid": "${DS_PROMETHEUS}"
  5599. },
  5600. "exemplar": true,
  5601. "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]))",
  5602. "format": "time_series",
  5603. "interval": "",
  5604. "intervalFactor": 2,
  5605. "legendFormat": "Hit Rate",
  5606. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  5607. "refId": "A",
  5608. "step": 2
  5609. },
  5610. {
  5611. "datasource": {
  5612. "type": "prometheus",
  5613. "uid": "${DS_PROMETHEUS}"
  5614. },
  5615. "exemplar": true,
  5616. "expr": "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"room_push_rule_cache\",instance=\"$instance\"}[$bucket_size]))",
  5617. "format": "time_series",
  5618. "interval": "",
  5619. "intervalFactor": 2,
  5620. "legendFormat": "Number of calls",
  5621. "refId": "B",
  5622. "step": 2
  5623. }
  5624. ],
  5625. "thresholds": [],
  5626. "timeRegions": [],
  5627. "title": "How often we reuse existing calculated push rules",
  5628. "tooltip": {
  5629. "shared": true,
  5630. "sort": 0,
  5631. "value_type": "individual"
  5632. },
  5633. "type": "graph",
  5634. "xaxis": {
  5635. "mode": "time",
  5636. "show": true,
  5637. "values": []
  5638. },
  5639. "yaxes": [
  5640. {
  5641. "format": "percentunit",
  5642. "label": "",
  5643. "logBase": 1,
  5644. "max": "1",
  5645. "min": "0",
  5646. "show": true
  5647. },
  5648. {
  5649. "format": "hertz",
  5650. "logBase": 1,
  5651. "show": true
  5652. }
  5653. ],
  5654. "yaxis": {
  5655. "align": false
  5656. }
  5657. },
  5658. {
  5659. "aliasColors": {},
  5660. "bars": false,
  5661. "dashLength": 10,
  5662. "dashes": false,
  5663. "datasource": {
  5664. "type": "prometheus",
  5665. "uid": "${DS_PROMETHEUS}"
  5666. },
  5667. "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.",
  5668. "fieldConfig": {
  5669. "defaults": {
  5670. "links": []
  5671. },
  5672. "overrides": []
  5673. },
  5674. "fill": 1,
  5675. "fillGradient": 0,
  5676. "gridPos": {
  5677. "h": 7,
  5678. "w": 12,
  5679. "x": 0,
  5680. "y": 47
  5681. },
  5682. "hiddenSeries": false,
  5683. "id": 217,
  5684. "legend": {
  5685. "avg": false,
  5686. "current": false,
  5687. "max": false,
  5688. "min": false,
  5689. "show": true,
  5690. "total": false,
  5691. "values": false
  5692. },
  5693. "lines": true,
  5694. "linewidth": 1,
  5695. "links": [],
  5696. "nullPointMode": "null",
  5697. "options": {
  5698. "alertThreshold": true
  5699. },
  5700. "paceLength": 10,
  5701. "percentage": false,
  5702. "pluginVersion": "8.4.3",
  5703. "pointradius": 5,
  5704. "points": false,
  5705. "renderer": "flot",
  5706. "seriesOverrides": [
  5707. {
  5708. "alias": "Number of calls",
  5709. "yaxis": 2
  5710. }
  5711. ],
  5712. "spaceLength": 10,
  5713. "stack": false,
  5714. "steppedLine": false,
  5715. "targets": [
  5716. {
  5717. "datasource": {
  5718. "type": "prometheus",
  5719. "uid": "${DS_PROMETHEUS}"
  5720. },
  5721. "exemplar": true,
  5722. "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]))",
  5723. "format": "time_series",
  5724. "interval": "",
  5725. "intervalFactor": 2,
  5726. "legendFormat": "Hit Rate",
  5727. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  5728. "refId": "A",
  5729. "step": 2
  5730. },
  5731. {
  5732. "datasource": {
  5733. "type": "prometheus",
  5734. "uid": "${DS_PROMETHEUS}"
  5735. },
  5736. "exemplar": true,
  5737. "expr": "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"_get_rules_for_room\",instance=\"$instance\"}[$bucket_size]))",
  5738. "format": "time_series",
  5739. "interval": "",
  5740. "intervalFactor": 2,
  5741. "legendFormat": "Number of calls",
  5742. "refId": "B",
  5743. "step": 2
  5744. }
  5745. ],
  5746. "thresholds": [],
  5747. "timeRegions": [],
  5748. "title": "How often we have the RulesForRoom cached",
  5749. "tooltip": {
  5750. "shared": true,
  5751. "sort": 0,
  5752. "value_type": "individual"
  5753. },
  5754. "type": "graph",
  5755. "xaxis": {
  5756. "mode": "time",
  5757. "show": true,
  5758. "values": []
  5759. },
  5760. "yaxes": [
  5761. {
  5762. "format": "percentunit",
  5763. "label": "",
  5764. "logBase": 1,
  5765. "max": "1",
  5766. "min": "0",
  5767. "show": true
  5768. },
  5769. {
  5770. "format": "hertz",
  5771. "logBase": 1,
  5772. "show": true
  5773. }
  5774. ],
  5775. "yaxis": {
  5776. "align": false
  5777. }
  5778. }
  5779. ],
  5780. "targets": [
  5781. {
  5782. "datasource": {
  5783. "type": "prometheus",
  5784. "uid": "000000001"
  5785. },
  5786. "refId": "A"
  5787. }
  5788. ],
  5789. "title": "Push Rule Cache",
  5790. "type": "row"
  5791. },
  5792. {
  5793. "collapsed": true,
  5794. "datasource": {
  5795. "type": "prometheus",
  5796. "uid": "000000001"
  5797. },
  5798. "gridPos": {
  5799. "h": 1,
  5800. "w": 24,
  5801. "x": 0,
  5802. "y": 33
  5803. },
  5804. "id": 58,
  5805. "panels": [
  5806. {
  5807. "aliasColors": {},
  5808. "bars": false,
  5809. "dashLength": 10,
  5810. "dashes": false,
  5811. "datasource": {
  5812. "uid": "$datasource"
  5813. },
  5814. "fieldConfig": {
  5815. "defaults": {
  5816. "links": []
  5817. },
  5818. "overrides": []
  5819. },
  5820. "fill": 1,
  5821. "fillGradient": 0,
  5822. "gridPos": {
  5823. "h": 7,
  5824. "w": 12,
  5825. "x": 0,
  5826. "y": 9
  5827. },
  5828. "hiddenSeries": false,
  5829. "id": 48,
  5830. "legend": {
  5831. "avg": false,
  5832. "current": false,
  5833. "max": false,
  5834. "min": false,
  5835. "show": true,
  5836. "total": false,
  5837. "values": false
  5838. },
  5839. "lines": true,
  5840. "linewidth": 1,
  5841. "links": [],
  5842. "nullPointMode": "null",
  5843. "options": {
  5844. "alertThreshold": true
  5845. },
  5846. "paceLength": 10,
  5847. "percentage": false,
  5848. "pluginVersion": "9.0.4",
  5849. "pointradius": 5,
  5850. "points": false,
  5851. "renderer": "flot",
  5852. "seriesOverrides": [],
  5853. "spaceLength": 10,
  5854. "stack": false,
  5855. "steppedLine": false,
  5856. "targets": [
  5857. {
  5858. "datasource": {
  5859. "uid": "$datasource"
  5860. },
  5861. "expr": "rate(synapse_storage_schedule_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(synapse_storage_schedule_time_count[$bucket_size])",
  5862. "format": "time_series",
  5863. "intervalFactor": 2,
  5864. "legendFormat": "{{job}}-{{index}}",
  5865. "refId": "A",
  5866. "step": 20
  5867. }
  5868. ],
  5869. "thresholds": [],
  5870. "timeRegions": [],
  5871. "title": "Avg time waiting for db conn",
  5872. "tooltip": {
  5873. "shared": true,
  5874. "sort": 0,
  5875. "value_type": "individual"
  5876. },
  5877. "type": "graph",
  5878. "xaxis": {
  5879. "mode": "time",
  5880. "show": true,
  5881. "values": []
  5882. },
  5883. "yaxes": [
  5884. {
  5885. "format": "s",
  5886. "label": "",
  5887. "logBase": 1,
  5888. "min": "0",
  5889. "show": true
  5890. },
  5891. {
  5892. "format": "short",
  5893. "logBase": 1,
  5894. "show": false
  5895. }
  5896. ],
  5897. "yaxis": {
  5898. "align": false
  5899. }
  5900. },
  5901. {
  5902. "aliasColors": {},
  5903. "bars": false,
  5904. "dashLength": 10,
  5905. "dashes": false,
  5906. "datasource": {
  5907. "uid": "$datasource"
  5908. },
  5909. "description": "Shows the time in which the given percentage of database queries were scheduled, over the sampled timespan",
  5910. "fieldConfig": {
  5911. "defaults": {
  5912. "links": []
  5913. },
  5914. "overrides": []
  5915. },
  5916. "fill": 1,
  5917. "fillGradient": 0,
  5918. "gridPos": {
  5919. "h": 7,
  5920. "w": 12,
  5921. "x": 12,
  5922. "y": 9
  5923. },
  5924. "hiddenSeries": false,
  5925. "id": 104,
  5926. "legend": {
  5927. "alignAsTable": true,
  5928. "avg": false,
  5929. "current": false,
  5930. "max": false,
  5931. "min": false,
  5932. "show": true,
  5933. "total": false,
  5934. "values": false
  5935. },
  5936. "lines": true,
  5937. "linewidth": 1,
  5938. "links": [],
  5939. "nullPointMode": "null",
  5940. "options": {
  5941. "alertThreshold": true
  5942. },
  5943. "paceLength": 10,
  5944. "percentage": false,
  5945. "pluginVersion": "9.0.4",
  5946. "pointradius": 5,
  5947. "points": false,
  5948. "renderer": "flot",
  5949. "seriesOverrides": [],
  5950. "spaceLength": 10,
  5951. "stack": false,
  5952. "steppedLine": false,
  5953. "targets": [
  5954. {
  5955. "datasource": {
  5956. "uid": "$datasource"
  5957. },
  5958. "expr": "histogram_quantile(0.99, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  5959. "format": "time_series",
  5960. "hide": false,
  5961. "intervalFactor": 1,
  5962. "legendFormat": "{{job}} {{index}} 99%",
  5963. "refId": "A",
  5964. "step": 20
  5965. },
  5966. {
  5967. "datasource": {
  5968. "uid": "$datasource"
  5969. },
  5970. "expr": "histogram_quantile(0.95, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  5971. "format": "time_series",
  5972. "intervalFactor": 1,
  5973. "legendFormat": "{{job}} {{index}} 95%",
  5974. "refId": "B"
  5975. },
  5976. {
  5977. "datasource": {
  5978. "uid": "$datasource"
  5979. },
  5980. "expr": "histogram_quantile(0.90, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  5981. "format": "time_series",
  5982. "intervalFactor": 1,
  5983. "legendFormat": "{{job}} {{index}} 90%",
  5984. "refId": "C"
  5985. },
  5986. {
  5987. "datasource": {
  5988. "uid": "$datasource"
  5989. },
  5990. "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])",
  5991. "format": "time_series",
  5992. "interval": "",
  5993. "intervalFactor": 1,
  5994. "legendFormat": "{{job}} {{index}} mean",
  5995. "refId": "D"
  5996. }
  5997. ],
  5998. "thresholds": [],
  5999. "timeRegions": [],
  6000. "title": "Db scheduling time quantiles",
  6001. "tooltip": {
  6002. "shared": false,
  6003. "sort": 0,
  6004. "value_type": "individual"
  6005. },
  6006. "type": "graph",
  6007. "xaxis": {
  6008. "mode": "time",
  6009. "show": true,
  6010. "values": []
  6011. },
  6012. "yaxes": [
  6013. {
  6014. "format": "s",
  6015. "label": "",
  6016. "logBase": 1,
  6017. "min": "0",
  6018. "show": true
  6019. },
  6020. {
  6021. "format": "short",
  6022. "logBase": 1,
  6023. "show": false
  6024. }
  6025. ],
  6026. "yaxis": {
  6027. "align": false
  6028. }
  6029. },
  6030. {
  6031. "aliasColors": {},
  6032. "bars": false,
  6033. "dashLength": 10,
  6034. "dashes": false,
  6035. "datasource": {
  6036. "uid": "$datasource"
  6037. },
  6038. "editable": true,
  6039. "error": false,
  6040. "fieldConfig": {
  6041. "defaults": {
  6042. "links": []
  6043. },
  6044. "overrides": []
  6045. },
  6046. "fill": 0,
  6047. "fillGradient": 0,
  6048. "grid": {},
  6049. "gridPos": {
  6050. "h": 7,
  6051. "w": 12,
  6052. "x": 0,
  6053. "y": 16
  6054. },
  6055. "hiddenSeries": false,
  6056. "id": 10,
  6057. "legend": {
  6058. "avg": false,
  6059. "current": false,
  6060. "hideEmpty": true,
  6061. "hideZero": true,
  6062. "max": false,
  6063. "min": false,
  6064. "show": true,
  6065. "total": false,
  6066. "values": false
  6067. },
  6068. "lines": true,
  6069. "linewidth": 2,
  6070. "links": [],
  6071. "nullPointMode": "null",
  6072. "options": {
  6073. "alertThreshold": true
  6074. },
  6075. "paceLength": 10,
  6076. "percentage": false,
  6077. "pluginVersion": "9.0.4",
  6078. "pointradius": 5,
  6079. "points": false,
  6080. "renderer": "flot",
  6081. "seriesOverrides": [],
  6082. "spaceLength": 10,
  6083. "stack": false,
  6084. "steppedLine": false,
  6085. "targets": [
  6086. {
  6087. "datasource": {
  6088. "uid": "$datasource"
  6089. },
  6090. "expr": "topk(10, rate(synapse_storage_transaction_time_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  6091. "format": "time_series",
  6092. "interval": "",
  6093. "intervalFactor": 2,
  6094. "legendFormat": "{{job}}-{{index}} {{desc}}",
  6095. "refId": "A",
  6096. "step": 20
  6097. }
  6098. ],
  6099. "thresholds": [],
  6100. "timeRegions": [],
  6101. "title": "Top DB transactions by txn rate",
  6102. "tooltip": {
  6103. "shared": false,
  6104. "sort": 0,
  6105. "value_type": "cumulative"
  6106. },
  6107. "type": "graph",
  6108. "xaxis": {
  6109. "mode": "time",
  6110. "show": true,
  6111. "values": []
  6112. },
  6113. "yaxes": [
  6114. {
  6115. "format": "hertz",
  6116. "logBase": 1,
  6117. "min": 0,
  6118. "show": true
  6119. },
  6120. {
  6121. "format": "short",
  6122. "logBase": 1,
  6123. "show": true
  6124. }
  6125. ],
  6126. "yaxis": {
  6127. "align": false
  6128. }
  6129. },
  6130. {
  6131. "aliasColors": {},
  6132. "bars": false,
  6133. "dashLength": 10,
  6134. "dashes": false,
  6135. "datasource": {
  6136. "uid": "$datasource"
  6137. },
  6138. "editable": true,
  6139. "error": false,
  6140. "fieldConfig": {
  6141. "defaults": {
  6142. "links": []
  6143. },
  6144. "overrides": []
  6145. },
  6146. "fill": 1,
  6147. "fillGradient": 0,
  6148. "grid": {},
  6149. "gridPos": {
  6150. "h": 7,
  6151. "w": 12,
  6152. "x": 12,
  6153. "y": 16
  6154. },
  6155. "hiddenSeries": false,
  6156. "id": 11,
  6157. "legend": {
  6158. "avg": false,
  6159. "current": false,
  6160. "hideEmpty": true,
  6161. "hideZero": true,
  6162. "max": false,
  6163. "min": false,
  6164. "show": true,
  6165. "total": false,
  6166. "values": false
  6167. },
  6168. "lines": true,
  6169. "linewidth": 1,
  6170. "links": [],
  6171. "nullPointMode": "null",
  6172. "options": {
  6173. "alertThreshold": true
  6174. },
  6175. "paceLength": 10,
  6176. "percentage": false,
  6177. "pluginVersion": "9.0.4",
  6178. "pointradius": 5,
  6179. "points": false,
  6180. "renderer": "flot",
  6181. "seriesOverrides": [],
  6182. "spaceLength": 10,
  6183. "stack": false,
  6184. "steppedLine": false,
  6185. "targets": [
  6186. {
  6187. "datasource": {
  6188. "uid": "$datasource"
  6189. },
  6190. "expr": "rate(synapse_storage_transaction_time_sum_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  6191. "format": "time_series",
  6192. "instant": false,
  6193. "interval": "",
  6194. "intervalFactor": 1,
  6195. "legendFormat": "{{job}}-{{index}} {{desc}}",
  6196. "refId": "A",
  6197. "step": 20
  6198. }
  6199. ],
  6200. "thresholds": [],
  6201. "timeRegions": [],
  6202. "title": "DB transactions by total txn time",
  6203. "tooltip": {
  6204. "shared": false,
  6205. "sort": 0,
  6206. "value_type": "cumulative"
  6207. },
  6208. "type": "graph",
  6209. "xaxis": {
  6210. "mode": "time",
  6211. "show": true,
  6212. "values": []
  6213. },
  6214. "yaxes": [
  6215. {
  6216. "format": "percentunit",
  6217. "logBase": 1,
  6218. "show": true
  6219. },
  6220. {
  6221. "format": "short",
  6222. "logBase": 1,
  6223. "show": true
  6224. }
  6225. ],
  6226. "yaxis": {
  6227. "align": false
  6228. }
  6229. },
  6230. {
  6231. "aliasColors": {},
  6232. "bars": false,
  6233. "dashLength": 10,
  6234. "dashes": false,
  6235. "datasource": {
  6236. "uid": "$datasource"
  6237. },
  6238. "editable": true,
  6239. "error": false,
  6240. "fieldConfig": {
  6241. "defaults": {
  6242. "links": []
  6243. },
  6244. "overrides": []
  6245. },
  6246. "fill": 0,
  6247. "fillGradient": 0,
  6248. "grid": {},
  6249. "gridPos": {
  6250. "h": 7,
  6251. "w": 12,
  6252. "x": 0,
  6253. "y": 23
  6254. },
  6255. "hiddenSeries": false,
  6256. "id": 180,
  6257. "legend": {
  6258. "avg": false,
  6259. "current": false,
  6260. "hideEmpty": true,
  6261. "hideZero": true,
  6262. "max": false,
  6263. "min": false,
  6264. "show": true,
  6265. "total": false,
  6266. "values": false
  6267. },
  6268. "lines": true,
  6269. "linewidth": 1,
  6270. "links": [],
  6271. "nullPointMode": "null",
  6272. "options": {
  6273. "alertThreshold": false
  6274. },
  6275. "paceLength": 10,
  6276. "percentage": false,
  6277. "pluginVersion": "9.0.4",
  6278. "pointradius": 5,
  6279. "points": false,
  6280. "renderer": "flot",
  6281. "seriesOverrides": [],
  6282. "spaceLength": 10,
  6283. "stack": false,
  6284. "steppedLine": false,
  6285. "targets": [
  6286. {
  6287. "datasource": {
  6288. "uid": "$datasource"
  6289. },
  6290. "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])",
  6291. "format": "time_series",
  6292. "instant": false,
  6293. "interval": "",
  6294. "intervalFactor": 1,
  6295. "legendFormat": "{{job}}-{{index}} {{desc}}",
  6296. "refId": "A",
  6297. "step": 20
  6298. }
  6299. ],
  6300. "thresholds": [],
  6301. "timeRegions": [],
  6302. "title": "Average DB txn time",
  6303. "tooltip": {
  6304. "shared": false,
  6305. "sort": 0,
  6306. "value_type": "cumulative"
  6307. },
  6308. "type": "graph",
  6309. "xaxis": {
  6310. "mode": "time",
  6311. "show": true,
  6312. "values": []
  6313. },
  6314. "yaxes": [
  6315. {
  6316. "format": "s",
  6317. "logBase": 1,
  6318. "show": true
  6319. },
  6320. {
  6321. "format": "short",
  6322. "logBase": 1,
  6323. "show": true
  6324. }
  6325. ],
  6326. "yaxis": {
  6327. "align": false
  6328. }
  6329. },
  6330. {
  6331. "aliasColors": {},
  6332. "bars": false,
  6333. "dashLength": 10,
  6334. "dashes": false,
  6335. "datasource": {
  6336. "uid": "$datasource"
  6337. },
  6338. "fieldConfig": {
  6339. "defaults": {
  6340. "links": []
  6341. },
  6342. "overrides": []
  6343. },
  6344. "fill": 6,
  6345. "fillGradient": 0,
  6346. "gridPos": {
  6347. "h": 9,
  6348. "w": 12,
  6349. "x": 12,
  6350. "y": 23
  6351. },
  6352. "hiddenSeries": false,
  6353. "id": 200,
  6354. "legend": {
  6355. "avg": false,
  6356. "current": false,
  6357. "max": false,
  6358. "min": false,
  6359. "show": true,
  6360. "total": false,
  6361. "values": false
  6362. },
  6363. "lines": true,
  6364. "linewidth": 1,
  6365. "links": [],
  6366. "nullPointMode": "null",
  6367. "options": {
  6368. "alertThreshold": true
  6369. },
  6370. "percentage": false,
  6371. "pluginVersion": "9.0.4",
  6372. "pointradius": 5,
  6373. "points": false,
  6374. "renderer": "flot",
  6375. "seriesOverrides": [],
  6376. "spaceLength": 10,
  6377. "stack": false,
  6378. "steppedLine": false,
  6379. "targets": [
  6380. {
  6381. "datasource": {
  6382. "uid": "$datasource"
  6383. },
  6384. "expr": "histogram_quantile(0.99, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  6385. "format": "time_series",
  6386. "intervalFactor": 1,
  6387. "legendFormat": "99%",
  6388. "refId": "D"
  6389. },
  6390. {
  6391. "datasource": {
  6392. "uid": "$datasource"
  6393. },
  6394. "expr": "histogram_quantile(0.9, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  6395. "format": "time_series",
  6396. "intervalFactor": 1,
  6397. "legendFormat": "90%",
  6398. "refId": "A"
  6399. },
  6400. {
  6401. "datasource": {
  6402. "uid": "$datasource"
  6403. },
  6404. "expr": "histogram_quantile(0.75, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  6405. "format": "time_series",
  6406. "intervalFactor": 1,
  6407. "legendFormat": "75%",
  6408. "refId": "C"
  6409. },
  6410. {
  6411. "datasource": {
  6412. "uid": "$datasource"
  6413. },
  6414. "expr": "histogram_quantile(0.5, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  6415. "format": "time_series",
  6416. "intervalFactor": 1,
  6417. "legendFormat": "50%",
  6418. "refId": "B"
  6419. }
  6420. ],
  6421. "thresholds": [],
  6422. "timeRegions": [],
  6423. "title": "Time waiting for DB connection quantiles",
  6424. "tooltip": {
  6425. "shared": true,
  6426. "sort": 2,
  6427. "value_type": "individual"
  6428. },
  6429. "type": "graph",
  6430. "xaxis": {
  6431. "mode": "time",
  6432. "show": true,
  6433. "values": []
  6434. },
  6435. "yaxes": [
  6436. {
  6437. "$$hashKey": "object:203",
  6438. "format": "s",
  6439. "label": "",
  6440. "logBase": 1,
  6441. "min": "0",
  6442. "show": true
  6443. },
  6444. {
  6445. "$$hashKey": "object:204",
  6446. "format": "short",
  6447. "logBase": 1,
  6448. "show": false
  6449. }
  6450. ],
  6451. "yaxis": {
  6452. "align": false
  6453. }
  6454. }
  6455. ],
  6456. "targets": [
  6457. {
  6458. "datasource": {
  6459. "type": "prometheus",
  6460. "uid": "000000001"
  6461. },
  6462. "refId": "A"
  6463. }
  6464. ],
  6465. "title": "Database",
  6466. "type": "row"
  6467. },
  6468. {
  6469. "collapsed": true,
  6470. "datasource": {
  6471. "type": "prometheus",
  6472. "uid": "000000001"
  6473. },
  6474. "gridPos": {
  6475. "h": 1,
  6476. "w": 24,
  6477. "x": 0,
  6478. "y": 34
  6479. },
  6480. "id": 59,
  6481. "panels": [
  6482. {
  6483. "aliasColors": {},
  6484. "bars": false,
  6485. "dashLength": 10,
  6486. "dashes": false,
  6487. "datasource": {
  6488. "uid": "$datasource"
  6489. },
  6490. "editable": true,
  6491. "error": false,
  6492. "fieldConfig": {
  6493. "defaults": {
  6494. "links": []
  6495. },
  6496. "overrides": []
  6497. },
  6498. "fill": 1,
  6499. "fillGradient": 0,
  6500. "grid": {},
  6501. "gridPos": {
  6502. "h": 13,
  6503. "w": 12,
  6504. "x": 0,
  6505. "y": 35
  6506. },
  6507. "hiddenSeries": false,
  6508. "id": 12,
  6509. "legend": {
  6510. "alignAsTable": true,
  6511. "avg": false,
  6512. "current": false,
  6513. "max": false,
  6514. "min": false,
  6515. "show": true,
  6516. "total": false,
  6517. "values": false
  6518. },
  6519. "lines": true,
  6520. "linewidth": 2,
  6521. "links": [],
  6522. "nullPointMode": "null",
  6523. "options": {
  6524. "alertThreshold": true
  6525. },
  6526. "paceLength": 10,
  6527. "percentage": false,
  6528. "pluginVersion": "9.0.4",
  6529. "pointradius": 5,
  6530. "points": false,
  6531. "renderer": "flot",
  6532. "seriesOverrides": [],
  6533. "spaceLength": 10,
  6534. "stack": false,
  6535. "steppedLine": false,
  6536. "targets": [
  6537. {
  6538. "datasource": {
  6539. "uid": "$datasource"
  6540. },
  6541. "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])",
  6542. "format": "time_series",
  6543. "interval": "",
  6544. "intervalFactor": 2,
  6545. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  6546. "refId": "A",
  6547. "step": 20
  6548. }
  6549. ],
  6550. "thresholds": [],
  6551. "timeRegions": [],
  6552. "title": "Total CPU Usage by Block",
  6553. "tooltip": {
  6554. "shared": true,
  6555. "sort": 2,
  6556. "value_type": "cumulative"
  6557. },
  6558. "type": "graph",
  6559. "xaxis": {
  6560. "mode": "time",
  6561. "show": true,
  6562. "values": []
  6563. },
  6564. "yaxes": [
  6565. {
  6566. "format": "percentunit",
  6567. "logBase": 1,
  6568. "show": true
  6569. },
  6570. {
  6571. "format": "short",
  6572. "logBase": 1,
  6573. "show": true
  6574. }
  6575. ],
  6576. "yaxis": {
  6577. "align": false
  6578. }
  6579. },
  6580. {
  6581. "aliasColors": {},
  6582. "bars": false,
  6583. "dashLength": 10,
  6584. "dashes": false,
  6585. "datasource": {
  6586. "uid": "$datasource"
  6587. },
  6588. "editable": true,
  6589. "error": false,
  6590. "fieldConfig": {
  6591. "defaults": {
  6592. "links": []
  6593. },
  6594. "overrides": []
  6595. },
  6596. "fill": 1,
  6597. "fillGradient": 0,
  6598. "grid": {},
  6599. "gridPos": {
  6600. "h": 13,
  6601. "w": 12,
  6602. "x": 12,
  6603. "y": 35
  6604. },
  6605. "hiddenSeries": false,
  6606. "id": 26,
  6607. "legend": {
  6608. "alignAsTable": true,
  6609. "avg": false,
  6610. "current": false,
  6611. "max": false,
  6612. "min": false,
  6613. "show": true,
  6614. "total": false,
  6615. "values": false
  6616. },
  6617. "lines": true,
  6618. "linewidth": 2,
  6619. "links": [],
  6620. "nullPointMode": "null",
  6621. "options": {
  6622. "alertThreshold": true
  6623. },
  6624. "paceLength": 10,
  6625. "percentage": false,
  6626. "pluginVersion": "9.0.4",
  6627. "pointradius": 5,
  6628. "points": false,
  6629. "renderer": "flot",
  6630. "seriesOverrides": [],
  6631. "spaceLength": 10,
  6632. "stack": false,
  6633. "steppedLine": false,
  6634. "targets": [
  6635. {
  6636. "datasource": {
  6637. "uid": "$datasource"
  6638. },
  6639. "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])",
  6640. "format": "time_series",
  6641. "interval": "",
  6642. "intervalFactor": 2,
  6643. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  6644. "refId": "A",
  6645. "step": 20
  6646. }
  6647. ],
  6648. "thresholds": [],
  6649. "timeRegions": [],
  6650. "title": "Average CPU Time per Block",
  6651. "tooltip": {
  6652. "shared": true,
  6653. "sort": 2,
  6654. "value_type": "cumulative"
  6655. },
  6656. "type": "graph",
  6657. "xaxis": {
  6658. "mode": "time",
  6659. "show": true,
  6660. "values": []
  6661. },
  6662. "yaxes": [
  6663. {
  6664. "format": "ms",
  6665. "logBase": 1,
  6666. "show": true
  6667. },
  6668. {
  6669. "format": "short",
  6670. "logBase": 1,
  6671. "show": true
  6672. }
  6673. ],
  6674. "yaxis": {
  6675. "align": false
  6676. }
  6677. },
  6678. {
  6679. "aliasColors": {},
  6680. "bars": false,
  6681. "dashLength": 10,
  6682. "dashes": false,
  6683. "datasource": {
  6684. "type": "prometheus",
  6685. "uid": "${DS_PROMETHEUS}"
  6686. },
  6687. "editable": true,
  6688. "error": false,
  6689. "fieldConfig": {
  6690. "defaults": {
  6691. "links": []
  6692. },
  6693. "overrides": []
  6694. },
  6695. "fill": 1,
  6696. "fillGradient": 0,
  6697. "grid": {},
  6698. "gridPos": {
  6699. "h": 13,
  6700. "w": 12,
  6701. "x": 0,
  6702. "y": 48
  6703. },
  6704. "hiddenSeries": false,
  6705. "id": 13,
  6706. "legend": {
  6707. "alignAsTable": true,
  6708. "avg": false,
  6709. "current": false,
  6710. "max": false,
  6711. "min": false,
  6712. "show": true,
  6713. "total": false,
  6714. "values": false
  6715. },
  6716. "lines": true,
  6717. "linewidth": 2,
  6718. "links": [],
  6719. "nullPointMode": "null",
  6720. "options": {
  6721. "alertThreshold": true
  6722. },
  6723. "paceLength": 10,
  6724. "percentage": false,
  6725. "pluginVersion": "9.0.4",
  6726. "pointradius": 5,
  6727. "points": false,
  6728. "renderer": "flot",
  6729. "seriesOverrides": [],
  6730. "spaceLength": 10,
  6731. "stack": false,
  6732. "steppedLine": false,
  6733. "targets": [
  6734. {
  6735. "datasource": {
  6736. "type": "prometheus",
  6737. "uid": "${DS_PROMETHEUS}"
  6738. },
  6739. "exemplar": true,
  6740. "expr": "rate(synapse_util_metrics_block_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  6741. "format": "time_series",
  6742. "interval": "",
  6743. "intervalFactor": 2,
  6744. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  6745. "refId": "A",
  6746. "step": 20
  6747. }
  6748. ],
  6749. "thresholds": [],
  6750. "timeRegions": [],
  6751. "title": "Total DB Usage by Block",
  6752. "tooltip": {
  6753. "shared": true,
  6754. "sort": 2,
  6755. "value_type": "cumulative"
  6756. },
  6757. "type": "graph",
  6758. "xaxis": {
  6759. "mode": "time",
  6760. "show": true,
  6761. "values": []
  6762. },
  6763. "yaxes": [
  6764. {
  6765. "$$hashKey": "object:196",
  6766. "format": "percentunit",
  6767. "logBase": 1,
  6768. "min": 0,
  6769. "show": true
  6770. },
  6771. {
  6772. "$$hashKey": "object:197",
  6773. "format": "short",
  6774. "logBase": 1,
  6775. "show": true
  6776. }
  6777. ],
  6778. "yaxis": {
  6779. "align": false
  6780. }
  6781. },
  6782. {
  6783. "aliasColors": {},
  6784. "bars": false,
  6785. "dashLength": 10,
  6786. "dashes": false,
  6787. "datasource": {
  6788. "uid": "$datasource"
  6789. },
  6790. "description": "The time each database transaction takes to execute, on average, broken down by metrics block.",
  6791. "editable": true,
  6792. "error": false,
  6793. "fieldConfig": {
  6794. "defaults": {
  6795. "links": []
  6796. },
  6797. "overrides": []
  6798. },
  6799. "fill": 1,
  6800. "fillGradient": 0,
  6801. "grid": {},
  6802. "gridPos": {
  6803. "h": 13,
  6804. "w": 12,
  6805. "x": 12,
  6806. "y": 48
  6807. },
  6808. "hiddenSeries": false,
  6809. "id": 27,
  6810. "legend": {
  6811. "alignAsTable": true,
  6812. "avg": false,
  6813. "current": false,
  6814. "max": false,
  6815. "min": false,
  6816. "show": true,
  6817. "total": false,
  6818. "values": false
  6819. },
  6820. "lines": true,
  6821. "linewidth": 2,
  6822. "links": [],
  6823. "nullPointMode": "null",
  6824. "options": {
  6825. "alertThreshold": true
  6826. },
  6827. "paceLength": 10,
  6828. "percentage": false,
  6829. "pluginVersion": "9.0.4",
  6830. "pointradius": 5,
  6831. "points": false,
  6832. "renderer": "flot",
  6833. "seriesOverrides": [],
  6834. "spaceLength": 10,
  6835. "stack": false,
  6836. "steppedLine": false,
  6837. "targets": [
  6838. {
  6839. "datasource": {
  6840. "uid": "$datasource"
  6841. },
  6842. "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])",
  6843. "format": "time_series",
  6844. "interval": "",
  6845. "intervalFactor": 2,
  6846. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  6847. "refId": "A",
  6848. "step": 20
  6849. }
  6850. ],
  6851. "thresholds": [],
  6852. "timeRegions": [],
  6853. "title": "Average Database Transaction time, by Block",
  6854. "tooltip": {
  6855. "shared": true,
  6856. "sort": 2,
  6857. "value_type": "cumulative"
  6858. },
  6859. "type": "graph",
  6860. "xaxis": {
  6861. "mode": "time",
  6862. "show": true,
  6863. "values": []
  6864. },
  6865. "yaxes": [
  6866. {
  6867. "format": "ms",
  6868. "logBase": 1,
  6869. "show": true
  6870. },
  6871. {
  6872. "format": "short",
  6873. "logBase": 1,
  6874. "show": true
  6875. }
  6876. ],
  6877. "yaxis": {
  6878. "align": false
  6879. }
  6880. },
  6881. {
  6882. "aliasColors": {},
  6883. "bars": false,
  6884. "dashLength": 10,
  6885. "dashes": false,
  6886. "datasource": {
  6887. "uid": "$datasource"
  6888. },
  6889. "editable": true,
  6890. "error": false,
  6891. "fieldConfig": {
  6892. "defaults": {
  6893. "links": []
  6894. },
  6895. "overrides": []
  6896. },
  6897. "fill": 1,
  6898. "fillGradient": 0,
  6899. "grid": {},
  6900. "gridPos": {
  6901. "h": 13,
  6902. "w": 12,
  6903. "x": 0,
  6904. "y": 61
  6905. },
  6906. "hiddenSeries": false,
  6907. "id": 28,
  6908. "legend": {
  6909. "avg": false,
  6910. "current": false,
  6911. "max": false,
  6912. "min": false,
  6913. "show": false,
  6914. "total": false,
  6915. "values": false
  6916. },
  6917. "lines": true,
  6918. "linewidth": 2,
  6919. "links": [],
  6920. "nullPointMode": "null",
  6921. "options": {
  6922. "alertThreshold": true
  6923. },
  6924. "paceLength": 10,
  6925. "percentage": false,
  6926. "pluginVersion": "9.0.4",
  6927. "pointradius": 5,
  6928. "points": false,
  6929. "renderer": "flot",
  6930. "seriesOverrides": [],
  6931. "spaceLength": 10,
  6932. "stack": false,
  6933. "steppedLine": false,
  6934. "targets": [
  6935. {
  6936. "datasource": {
  6937. "uid": "$datasource"
  6938. },
  6939. "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])",
  6940. "format": "time_series",
  6941. "interval": "",
  6942. "intervalFactor": 2,
  6943. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  6944. "refId": "A",
  6945. "step": 20
  6946. }
  6947. ],
  6948. "thresholds": [],
  6949. "timeRegions": [],
  6950. "title": "Average Transactions per Block",
  6951. "tooltip": {
  6952. "shared": false,
  6953. "sort": 0,
  6954. "value_type": "cumulative"
  6955. },
  6956. "type": "graph",
  6957. "xaxis": {
  6958. "mode": "time",
  6959. "show": true,
  6960. "values": []
  6961. },
  6962. "yaxes": [
  6963. {
  6964. "format": "none",
  6965. "logBase": 1,
  6966. "show": true
  6967. },
  6968. {
  6969. "format": "short",
  6970. "logBase": 1,
  6971. "show": true
  6972. }
  6973. ],
  6974. "yaxis": {
  6975. "align": false
  6976. }
  6977. },
  6978. {
  6979. "aliasColors": {},
  6980. "bars": false,
  6981. "dashLength": 10,
  6982. "dashes": false,
  6983. "datasource": {
  6984. "uid": "$datasource"
  6985. },
  6986. "editable": true,
  6987. "error": false,
  6988. "fieldConfig": {
  6989. "defaults": {
  6990. "links": []
  6991. },
  6992. "overrides": []
  6993. },
  6994. "fill": 1,
  6995. "fillGradient": 0,
  6996. "grid": {},
  6997. "gridPos": {
  6998. "h": 13,
  6999. "w": 12,
  7000. "x": 12,
  7001. "y": 61
  7002. },
  7003. "hiddenSeries": false,
  7004. "id": 25,
  7005. "legend": {
  7006. "avg": false,
  7007. "current": false,
  7008. "max": false,
  7009. "min": false,
  7010. "show": false,
  7011. "total": false,
  7012. "values": false
  7013. },
  7014. "lines": true,
  7015. "linewidth": 2,
  7016. "links": [],
  7017. "nullPointMode": "null",
  7018. "options": {
  7019. "alertThreshold": true
  7020. },
  7021. "paceLength": 10,
  7022. "percentage": false,
  7023. "pluginVersion": "9.0.4",
  7024. "pointradius": 5,
  7025. "points": false,
  7026. "renderer": "flot",
  7027. "seriesOverrides": [],
  7028. "spaceLength": 10,
  7029. "stack": false,
  7030. "steppedLine": false,
  7031. "targets": [
  7032. {
  7033. "datasource": {
  7034. "uid": "$datasource"
  7035. },
  7036. "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])",
  7037. "format": "time_series",
  7038. "interval": "",
  7039. "intervalFactor": 2,
  7040. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  7041. "refId": "A",
  7042. "step": 20
  7043. }
  7044. ],
  7045. "thresholds": [],
  7046. "timeRegions": [],
  7047. "title": "Average Wallclock Time per Block",
  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. "$$hashKey": "object:180",
  7062. "format": "s",
  7063. "logBase": 1,
  7064. "show": true
  7065. },
  7066. {
  7067. "$$hashKey": "object:181",
  7068. "format": "short",
  7069. "logBase": 1,
  7070. "show": true
  7071. }
  7072. ],
  7073. "yaxis": {
  7074. "align": false
  7075. }
  7076. },
  7077. {
  7078. "aliasColors": {},
  7079. "bars": false,
  7080. "dashLength": 10,
  7081. "dashes": false,
  7082. "datasource": {
  7083. "uid": "$datasource"
  7084. },
  7085. "fill": 1,
  7086. "fillGradient": 0,
  7087. "gridPos": {
  7088. "h": 15,
  7089. "w": 12,
  7090. "x": 0,
  7091. "y": 74
  7092. },
  7093. "hiddenSeries": false,
  7094. "id": 154,
  7095. "legend": {
  7096. "alignAsTable": true,
  7097. "avg": false,
  7098. "current": false,
  7099. "max": false,
  7100. "min": false,
  7101. "show": true,
  7102. "total": false,
  7103. "values": false
  7104. },
  7105. "lines": true,
  7106. "linewidth": 1,
  7107. "nullPointMode": "null",
  7108. "options": {
  7109. "alertThreshold": true
  7110. },
  7111. "percentage": false,
  7112. "pluginVersion": "9.0.4",
  7113. "pointradius": 2,
  7114. "points": false,
  7115. "renderer": "flot",
  7116. "seriesOverrides": [],
  7117. "spaceLength": 10,
  7118. "stack": false,
  7119. "steppedLine": false,
  7120. "targets": [
  7121. {
  7122. "datasource": {
  7123. "uid": "$datasource"
  7124. },
  7125. "expr": "rate(synapse_util_metrics_block_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  7126. "interval": "",
  7127. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  7128. "refId": "A"
  7129. }
  7130. ],
  7131. "thresholds": [],
  7132. "timeRegions": [],
  7133. "title": "Block count",
  7134. "tooltip": {
  7135. "shared": true,
  7136. "sort": 2,
  7137. "value_type": "individual"
  7138. },
  7139. "type": "graph",
  7140. "xaxis": {
  7141. "mode": "time",
  7142. "show": true,
  7143. "values": []
  7144. },
  7145. "yaxes": [
  7146. {
  7147. "format": "hertz",
  7148. "logBase": 1,
  7149. "show": true
  7150. },
  7151. {
  7152. "format": "short",
  7153. "logBase": 1,
  7154. "show": true
  7155. }
  7156. ],
  7157. "yaxis": {
  7158. "align": false
  7159. }
  7160. }
  7161. ],
  7162. "targets": [
  7163. {
  7164. "datasource": {
  7165. "type": "prometheus",
  7166. "uid": "000000001"
  7167. },
  7168. "refId": "A"
  7169. }
  7170. ],
  7171. "title": "Per-block metrics",
  7172. "type": "row"
  7173. },
  7174. {
  7175. "collapsed": true,
  7176. "datasource": {
  7177. "type": "prometheus",
  7178. "uid": "000000001"
  7179. },
  7180. "gridPos": {
  7181. "h": 1,
  7182. "w": 24,
  7183. "x": 0,
  7184. "y": 35
  7185. },
  7186. "id": 61,
  7187. "panels": [
  7188. {
  7189. "aliasColors": {},
  7190. "bars": false,
  7191. "dashLength": 10,
  7192. "dashes": false,
  7193. "datasource": {
  7194. "uid": "$datasource"
  7195. },
  7196. "decimals": 2,
  7197. "editable": true,
  7198. "error": false,
  7199. "fieldConfig": {
  7200. "defaults": {
  7201. "links": []
  7202. },
  7203. "overrides": []
  7204. },
  7205. "fill": 0,
  7206. "fillGradient": 0,
  7207. "grid": {},
  7208. "gridPos": {
  7209. "h": 10,
  7210. "w": 12,
  7211. "x": 0,
  7212. "y": 69
  7213. },
  7214. "hiddenSeries": false,
  7215. "id": 1,
  7216. "legend": {
  7217. "alignAsTable": true,
  7218. "avg": false,
  7219. "current": false,
  7220. "hideEmpty": true,
  7221. "hideZero": false,
  7222. "max": false,
  7223. "min": false,
  7224. "show": true,
  7225. "total": false,
  7226. "values": false
  7227. },
  7228. "lines": true,
  7229. "linewidth": 2,
  7230. "links": [],
  7231. "nullPointMode": "null",
  7232. "options": {
  7233. "alertThreshold": true
  7234. },
  7235. "percentage": false,
  7236. "pluginVersion": "9.0.4",
  7237. "pointradius": 5,
  7238. "points": false,
  7239. "renderer": "flot",
  7240. "seriesOverrides": [],
  7241. "spaceLength": 10,
  7242. "stack": false,
  7243. "steppedLine": false,
  7244. "targets": [
  7245. {
  7246. "datasource": {
  7247. "uid": "$datasource"
  7248. },
  7249. "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])",
  7250. "format": "time_series",
  7251. "intervalFactor": 2,
  7252. "legendFormat": "{{name}} {{job}}-{{index}}",
  7253. "refId": "A",
  7254. "step": 20
  7255. }
  7256. ],
  7257. "thresholds": [],
  7258. "timeRegions": [],
  7259. "title": "Cache Hit Ratio",
  7260. "tooltip": {
  7261. "msResolution": true,
  7262. "shared": false,
  7263. "sort": 0,
  7264. "value_type": "cumulative"
  7265. },
  7266. "type": "graph",
  7267. "xaxis": {
  7268. "mode": "time",
  7269. "show": true,
  7270. "values": []
  7271. },
  7272. "yaxes": [
  7273. {
  7274. "format": "percentunit",
  7275. "label": "",
  7276. "logBase": 1,
  7277. "max": "1",
  7278. "min": 0,
  7279. "show": true
  7280. },
  7281. {
  7282. "format": "short",
  7283. "logBase": 1,
  7284. "show": false
  7285. }
  7286. ],
  7287. "yaxis": {
  7288. "align": false
  7289. }
  7290. },
  7291. {
  7292. "aliasColors": {},
  7293. "bars": false,
  7294. "dashLength": 10,
  7295. "dashes": false,
  7296. "datasource": {
  7297. "uid": "$datasource"
  7298. },
  7299. "editable": true,
  7300. "error": false,
  7301. "fieldConfig": {
  7302. "defaults": {
  7303. "links": []
  7304. },
  7305. "overrides": []
  7306. },
  7307. "fill": 1,
  7308. "fillGradient": 0,
  7309. "grid": {},
  7310. "gridPos": {
  7311. "h": 10,
  7312. "w": 12,
  7313. "x": 12,
  7314. "y": 69
  7315. },
  7316. "hiddenSeries": false,
  7317. "id": 8,
  7318. "legend": {
  7319. "alignAsTable": true,
  7320. "avg": false,
  7321. "current": false,
  7322. "hideZero": false,
  7323. "max": false,
  7324. "min": false,
  7325. "show": true,
  7326. "total": false,
  7327. "values": false
  7328. },
  7329. "lines": true,
  7330. "linewidth": 2,
  7331. "links": [],
  7332. "nullPointMode": "connected",
  7333. "options": {
  7334. "alertThreshold": true
  7335. },
  7336. "percentage": false,
  7337. "pluginVersion": "9.0.4",
  7338. "pointradius": 5,
  7339. "points": false,
  7340. "renderer": "flot",
  7341. "seriesOverrides": [],
  7342. "spaceLength": 10,
  7343. "stack": false,
  7344. "steppedLine": false,
  7345. "targets": [
  7346. {
  7347. "datasource": {
  7348. "uid": "$datasource"
  7349. },
  7350. "expr": "synapse_util_caches_cache_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  7351. "format": "time_series",
  7352. "hide": false,
  7353. "interval": "",
  7354. "intervalFactor": 2,
  7355. "legendFormat": "{{name}} {{job}}-{{index}}",
  7356. "refId": "A",
  7357. "step": 20
  7358. }
  7359. ],
  7360. "thresholds": [],
  7361. "timeRegions": [],
  7362. "title": "Cache Size",
  7363. "tooltip": {
  7364. "shared": false,
  7365. "sort": 0,
  7366. "value_type": "cumulative"
  7367. },
  7368. "type": "graph",
  7369. "xaxis": {
  7370. "mode": "time",
  7371. "show": true,
  7372. "values": []
  7373. },
  7374. "yaxes": [
  7375. {
  7376. "format": "short",
  7377. "logBase": 1,
  7378. "min": 0,
  7379. "show": true
  7380. },
  7381. {
  7382. "format": "short",
  7383. "logBase": 1,
  7384. "show": true
  7385. }
  7386. ],
  7387. "yaxis": {
  7388. "align": false
  7389. }
  7390. },
  7391. {
  7392. "aliasColors": {},
  7393. "bars": false,
  7394. "dashLength": 10,
  7395. "dashes": false,
  7396. "datasource": {
  7397. "uid": "$datasource"
  7398. },
  7399. "editable": true,
  7400. "error": false,
  7401. "fieldConfig": {
  7402. "defaults": {
  7403. "links": []
  7404. },
  7405. "overrides": []
  7406. },
  7407. "fill": 1,
  7408. "fillGradient": 0,
  7409. "grid": {},
  7410. "gridPos": {
  7411. "h": 10,
  7412. "w": 12,
  7413. "x": 0,
  7414. "y": 79
  7415. },
  7416. "hiddenSeries": false,
  7417. "id": 38,
  7418. "legend": {
  7419. "alignAsTable": true,
  7420. "avg": false,
  7421. "current": false,
  7422. "hideZero": false,
  7423. "max": false,
  7424. "min": false,
  7425. "show": true,
  7426. "total": false,
  7427. "values": false
  7428. },
  7429. "lines": true,
  7430. "linewidth": 2,
  7431. "links": [],
  7432. "nullPointMode": "connected",
  7433. "options": {
  7434. "alertThreshold": true
  7435. },
  7436. "percentage": false,
  7437. "pluginVersion": "9.0.4",
  7438. "pointradius": 5,
  7439. "points": false,
  7440. "renderer": "flot",
  7441. "seriesOverrides": [],
  7442. "spaceLength": 10,
  7443. "stack": false,
  7444. "steppedLine": false,
  7445. "targets": [
  7446. {
  7447. "datasource": {
  7448. "uid": "$datasource"
  7449. },
  7450. "expr": "rate(synapse_util_caches_cache{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  7451. "format": "time_series",
  7452. "interval": "",
  7453. "intervalFactor": 2,
  7454. "legendFormat": "{{name}} {{job}}-{{index}}",
  7455. "refId": "A",
  7456. "step": 20
  7457. }
  7458. ],
  7459. "thresholds": [],
  7460. "timeRegions": [],
  7461. "title": "Cache request rate",
  7462. "tooltip": {
  7463. "shared": false,
  7464. "sort": 0,
  7465. "value_type": "cumulative"
  7466. },
  7467. "type": "graph",
  7468. "xaxis": {
  7469. "mode": "time",
  7470. "show": true,
  7471. "values": []
  7472. },
  7473. "yaxes": [
  7474. {
  7475. "format": "rps",
  7476. "logBase": 1,
  7477. "min": 0,
  7478. "show": true
  7479. },
  7480. {
  7481. "format": "short",
  7482. "logBase": 1,
  7483. "show": true
  7484. }
  7485. ],
  7486. "yaxis": {
  7487. "align": false
  7488. }
  7489. },
  7490. {
  7491. "aliasColors": {},
  7492. "bars": false,
  7493. "dashLength": 10,
  7494. "dashes": false,
  7495. "datasource": {
  7496. "uid": "$datasource"
  7497. },
  7498. "fieldConfig": {
  7499. "defaults": {
  7500. "links": []
  7501. },
  7502. "overrides": []
  7503. },
  7504. "fill": 1,
  7505. "fillGradient": 0,
  7506. "gridPos": {
  7507. "h": 10,
  7508. "w": 12,
  7509. "x": 12,
  7510. "y": 79
  7511. },
  7512. "hiddenSeries": false,
  7513. "id": 39,
  7514. "legend": {
  7515. "alignAsTable": true,
  7516. "avg": false,
  7517. "current": false,
  7518. "hideEmpty": false,
  7519. "hideZero": false,
  7520. "max": true,
  7521. "min": false,
  7522. "rightSide": false,
  7523. "show": true,
  7524. "sort": "max",
  7525. "sortDesc": true,
  7526. "total": false,
  7527. "values": true
  7528. },
  7529. "lines": true,
  7530. "linewidth": 1,
  7531. "links": [],
  7532. "nullPointMode": "null",
  7533. "options": {
  7534. "alertThreshold": true
  7535. },
  7536. "percentage": false,
  7537. "pluginVersion": "9.0.4",
  7538. "pointradius": 5,
  7539. "points": false,
  7540. "renderer": "flot",
  7541. "seriesOverrides": [],
  7542. "spaceLength": 10,
  7543. "stack": false,
  7544. "steppedLine": false,
  7545. "targets": [
  7546. {
  7547. "datasource": {
  7548. "uid": "$datasource"
  7549. },
  7550. "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]))",
  7551. "format": "time_series",
  7552. "interval": "",
  7553. "intervalFactor": 2,
  7554. "legendFormat": "{{name}} {{job}}-{{index}}",
  7555. "refId": "A",
  7556. "step": 20
  7557. }
  7558. ],
  7559. "thresholds": [],
  7560. "timeRegions": [],
  7561. "title": "Top 10 cache misses",
  7562. "tooltip": {
  7563. "shared": false,
  7564. "sort": 0,
  7565. "value_type": "individual"
  7566. },
  7567. "type": "graph",
  7568. "xaxis": {
  7569. "mode": "time",
  7570. "show": true,
  7571. "values": []
  7572. },
  7573. "yaxes": [
  7574. {
  7575. "$$hashKey": "object:101",
  7576. "format": "rps",
  7577. "logBase": 1,
  7578. "show": true
  7579. },
  7580. {
  7581. "$$hashKey": "object:102",
  7582. "format": "short",
  7583. "logBase": 1,
  7584. "show": true
  7585. }
  7586. ],
  7587. "yaxis": {
  7588. "align": false
  7589. }
  7590. },
  7591. {
  7592. "aliasColors": {},
  7593. "bars": false,
  7594. "dashLength": 10,
  7595. "dashes": false,
  7596. "datasource": {
  7597. "uid": "$datasource"
  7598. },
  7599. "fieldConfig": {
  7600. "defaults": {
  7601. "links": []
  7602. },
  7603. "overrides": []
  7604. },
  7605. "fill": 1,
  7606. "fillGradient": 0,
  7607. "gridPos": {
  7608. "h": 9,
  7609. "w": 12,
  7610. "x": 0,
  7611. "y": 89
  7612. },
  7613. "hiddenSeries": false,
  7614. "id": 65,
  7615. "legend": {
  7616. "alignAsTable": true,
  7617. "avg": false,
  7618. "current": false,
  7619. "max": false,
  7620. "min": false,
  7621. "show": true,
  7622. "total": false,
  7623. "values": false
  7624. },
  7625. "lines": true,
  7626. "linewidth": 1,
  7627. "links": [],
  7628. "nullPointMode": "null",
  7629. "options": {
  7630. "alertThreshold": true
  7631. },
  7632. "percentage": false,
  7633. "pluginVersion": "9.0.4",
  7634. "pointradius": 5,
  7635. "points": false,
  7636. "renderer": "flot",
  7637. "seriesOverrides": [],
  7638. "spaceLength": 10,
  7639. "stack": false,
  7640. "steppedLine": false,
  7641. "targets": [
  7642. {
  7643. "datasource": {
  7644. "uid": "$datasource"
  7645. },
  7646. "expr": "rate(synapse_util_caches_cache_evicted_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  7647. "format": "time_series",
  7648. "interval": "",
  7649. "intervalFactor": 1,
  7650. "legendFormat": "{{name}} ({{reason}}) {{job}}-{{index}}",
  7651. "refId": "A"
  7652. }
  7653. ],
  7654. "thresholds": [],
  7655. "timeRegions": [],
  7656. "title": "Cache eviction rate",
  7657. "tooltip": {
  7658. "shared": false,
  7659. "sort": 0,
  7660. "value_type": "individual"
  7661. },
  7662. "type": "graph",
  7663. "xaxis": {
  7664. "mode": "time",
  7665. "show": true,
  7666. "values": []
  7667. },
  7668. "yaxes": [
  7669. {
  7670. "format": "hertz",
  7671. "label": "entries / second",
  7672. "logBase": 1,
  7673. "show": true
  7674. },
  7675. {
  7676. "format": "short",
  7677. "logBase": 1,
  7678. "show": true
  7679. }
  7680. ],
  7681. "yaxis": {
  7682. "align": false
  7683. }
  7684. }
  7685. ],
  7686. "targets": [
  7687. {
  7688. "datasource": {
  7689. "type": "prometheus",
  7690. "uid": "000000001"
  7691. },
  7692. "refId": "A"
  7693. }
  7694. ],
  7695. "title": "Caches",
  7696. "type": "row"
  7697. },
  7698. {
  7699. "collapsed": true,
  7700. "datasource": {
  7701. "type": "prometheus",
  7702. "uid": "000000001"
  7703. },
  7704. "gridPos": {
  7705. "h": 1,
  7706. "w": 24,
  7707. "x": 0,
  7708. "y": 36
  7709. },
  7710. "id": 148,
  7711. "panels": [
  7712. {
  7713. "aliasColors": {},
  7714. "bars": false,
  7715. "dashLength": 10,
  7716. "dashes": false,
  7717. "datasource": {
  7718. "uid": "$datasource"
  7719. },
  7720. "fieldConfig": {
  7721. "defaults": {
  7722. "custom": {},
  7723. "links": []
  7724. },
  7725. "overrides": []
  7726. },
  7727. "fill": 1,
  7728. "fillGradient": 0,
  7729. "gridPos": {
  7730. "h": 8,
  7731. "w": 12,
  7732. "x": 0,
  7733. "y": 29
  7734. },
  7735. "hiddenSeries": false,
  7736. "id": 146,
  7737. "legend": {
  7738. "avg": false,
  7739. "current": false,
  7740. "max": false,
  7741. "min": false,
  7742. "show": true,
  7743. "total": false,
  7744. "values": false
  7745. },
  7746. "lines": true,
  7747. "linewidth": 1,
  7748. "nullPointMode": "null",
  7749. "options": {
  7750. "alertThreshold": true
  7751. },
  7752. "percentage": false,
  7753. "pluginVersion": "7.3.7",
  7754. "pointradius": 2,
  7755. "points": false,
  7756. "renderer": "flot",
  7757. "seriesOverrides": [],
  7758. "spaceLength": 10,
  7759. "stack": false,
  7760. "steppedLine": false,
  7761. "targets": [
  7762. {
  7763. "datasource": {
  7764. "uid": "$datasource"
  7765. },
  7766. "expr": "synapse_util_caches_response_cache_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  7767. "interval": "",
  7768. "legendFormat": "{{name}} {{job}}-{{index}}",
  7769. "refId": "A"
  7770. }
  7771. ],
  7772. "thresholds": [],
  7773. "timeRegions": [],
  7774. "title": "Response cache size",
  7775. "tooltip": {
  7776. "shared": false,
  7777. "sort": 0,
  7778. "value_type": "individual"
  7779. },
  7780. "type": "graph",
  7781. "xaxis": {
  7782. "mode": "time",
  7783. "show": true,
  7784. "values": []
  7785. },
  7786. "yaxes": [
  7787. {
  7788. "format": "short",
  7789. "logBase": 1,
  7790. "show": true
  7791. },
  7792. {
  7793. "format": "short",
  7794. "logBase": 1,
  7795. "show": true
  7796. }
  7797. ],
  7798. "yaxis": {
  7799. "align": false
  7800. }
  7801. },
  7802. {
  7803. "aliasColors": {},
  7804. "bars": false,
  7805. "dashLength": 10,
  7806. "dashes": false,
  7807. "datasource": {
  7808. "uid": "$datasource"
  7809. },
  7810. "fieldConfig": {
  7811. "defaults": {
  7812. "custom": {},
  7813. "links": []
  7814. },
  7815. "overrides": []
  7816. },
  7817. "fill": 1,
  7818. "fillGradient": 0,
  7819. "gridPos": {
  7820. "h": 8,
  7821. "w": 12,
  7822. "x": 12,
  7823. "y": 29
  7824. },
  7825. "hiddenSeries": false,
  7826. "id": 150,
  7827. "legend": {
  7828. "avg": false,
  7829. "current": false,
  7830. "max": false,
  7831. "min": false,
  7832. "show": true,
  7833. "total": false,
  7834. "values": false
  7835. },
  7836. "lines": true,
  7837. "linewidth": 1,
  7838. "nullPointMode": "null",
  7839. "options": {
  7840. "alertThreshold": true
  7841. },
  7842. "percentage": false,
  7843. "pluginVersion": "7.3.7",
  7844. "pointradius": 2,
  7845. "points": false,
  7846. "renderer": "flot",
  7847. "seriesOverrides": [],
  7848. "spaceLength": 10,
  7849. "stack": false,
  7850. "steppedLine": false,
  7851. "targets": [
  7852. {
  7853. "datasource": {
  7854. "uid": "$datasource"
  7855. },
  7856. "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])",
  7857. "interval": "",
  7858. "legendFormat": "{{name}} {{job}}-{{index}}",
  7859. "refId": "A"
  7860. },
  7861. {
  7862. "datasource": {
  7863. "uid": "$datasource"
  7864. },
  7865. "expr": "",
  7866. "interval": "",
  7867. "legendFormat": "",
  7868. "refId": "B"
  7869. }
  7870. ],
  7871. "thresholds": [],
  7872. "timeRegions": [],
  7873. "title": "Response cache hit rate",
  7874. "tooltip": {
  7875. "shared": false,
  7876. "sort": 0,
  7877. "value_type": "individual"
  7878. },
  7879. "type": "graph",
  7880. "xaxis": {
  7881. "mode": "time",
  7882. "show": true,
  7883. "values": []
  7884. },
  7885. "yaxes": [
  7886. {
  7887. "format": "percentunit",
  7888. "logBase": 1,
  7889. "max": "1",
  7890. "min": "0",
  7891. "show": true
  7892. },
  7893. {
  7894. "format": "short",
  7895. "logBase": 1,
  7896. "show": true
  7897. }
  7898. ],
  7899. "yaxis": {
  7900. "align": false
  7901. }
  7902. }
  7903. ],
  7904. "targets": [
  7905. {
  7906. "datasource": {
  7907. "type": "prometheus",
  7908. "uid": "000000001"
  7909. },
  7910. "refId": "A"
  7911. }
  7912. ],
  7913. "title": "Response caches",
  7914. "type": "row"
  7915. },
  7916. {
  7917. "collapsed": true,
  7918. "datasource": {
  7919. "type": "prometheus",
  7920. "uid": "000000001"
  7921. },
  7922. "gridPos": {
  7923. "h": 1,
  7924. "w": 24,
  7925. "x": 0,
  7926. "y": 37
  7927. },
  7928. "id": 62,
  7929. "panels": [
  7930. {
  7931. "aliasColors": {},
  7932. "bars": false,
  7933. "dashLength": 10,
  7934. "dashes": false,
  7935. "datasource": {
  7936. "uid": "$datasource"
  7937. },
  7938. "fieldConfig": {
  7939. "defaults": {
  7940. "custom": {},
  7941. "links": []
  7942. },
  7943. "overrides": []
  7944. },
  7945. "fill": 1,
  7946. "fillGradient": 0,
  7947. "gridPos": {
  7948. "h": 9,
  7949. "w": 12,
  7950. "x": 0,
  7951. "y": 30
  7952. },
  7953. "hiddenSeries": false,
  7954. "id": 91,
  7955. "legend": {
  7956. "avg": false,
  7957. "current": false,
  7958. "max": false,
  7959. "min": false,
  7960. "show": true,
  7961. "total": false,
  7962. "values": false
  7963. },
  7964. "lines": true,
  7965. "linewidth": 1,
  7966. "links": [],
  7967. "nullPointMode": "null",
  7968. "options": {
  7969. "alertThreshold": true
  7970. },
  7971. "percentage": false,
  7972. "pluginVersion": "7.3.7",
  7973. "pointradius": 5,
  7974. "points": false,
  7975. "renderer": "flot",
  7976. "seriesOverrides": [],
  7977. "spaceLength": 10,
  7978. "stack": true,
  7979. "steppedLine": false,
  7980. "targets": [
  7981. {
  7982. "datasource": {
  7983. "uid": "$datasource"
  7984. },
  7985. "expr": "rate(python_gc_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[10m])",
  7986. "format": "time_series",
  7987. "instant": false,
  7988. "intervalFactor": 1,
  7989. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  7990. "refId": "A"
  7991. }
  7992. ],
  7993. "thresholds": [],
  7994. "timeRegions": [],
  7995. "title": "Total GC time by bucket (10m smoothing)",
  7996. "tooltip": {
  7997. "shared": true,
  7998. "sort": 0,
  7999. "value_type": "individual"
  8000. },
  8001. "type": "graph",
  8002. "xaxis": {
  8003. "mode": "time",
  8004. "show": true,
  8005. "values": []
  8006. },
  8007. "yaxes": [
  8008. {
  8009. "format": "percentunit",
  8010. "logBase": 1,
  8011. "min": "0",
  8012. "show": true
  8013. },
  8014. {
  8015. "format": "short",
  8016. "logBase": 1,
  8017. "show": true
  8018. }
  8019. ],
  8020. "yaxis": {
  8021. "align": false
  8022. }
  8023. },
  8024. {
  8025. "aliasColors": {},
  8026. "bars": false,
  8027. "dashLength": 10,
  8028. "dashes": false,
  8029. "datasource": {
  8030. "uid": "$datasource"
  8031. },
  8032. "decimals": 3,
  8033. "editable": true,
  8034. "error": false,
  8035. "fieldConfig": {
  8036. "defaults": {
  8037. "custom": {},
  8038. "links": []
  8039. },
  8040. "overrides": []
  8041. },
  8042. "fill": 1,
  8043. "fillGradient": 0,
  8044. "grid": {},
  8045. "gridPos": {
  8046. "h": 9,
  8047. "w": 12,
  8048. "x": 12,
  8049. "y": 30
  8050. },
  8051. "hiddenSeries": false,
  8052. "id": 21,
  8053. "legend": {
  8054. "alignAsTable": true,
  8055. "avg": false,
  8056. "current": false,
  8057. "max": false,
  8058. "min": false,
  8059. "show": true,
  8060. "total": false,
  8061. "values": false
  8062. },
  8063. "lines": true,
  8064. "linewidth": 2,
  8065. "links": [],
  8066. "nullPointMode": "null as zero",
  8067. "options": {
  8068. "alertThreshold": true
  8069. },
  8070. "percentage": false,
  8071. "pluginVersion": "7.3.7",
  8072. "pointradius": 5,
  8073. "points": false,
  8074. "renderer": "flot",
  8075. "seriesOverrides": [],
  8076. "spaceLength": 10,
  8077. "stack": false,
  8078. "steppedLine": false,
  8079. "targets": [
  8080. {
  8081. "datasource": {
  8082. "uid": "$datasource"
  8083. },
  8084. "expr": "rate(python_gc_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(python_gc_time_count[$bucket_size])",
  8085. "format": "time_series",
  8086. "intervalFactor": 2,
  8087. "legendFormat": "{{job}} {{index}} gen {{gen}} ",
  8088. "refId": "A",
  8089. "step": 20,
  8090. "target": ""
  8091. }
  8092. ],
  8093. "thresholds": [],
  8094. "timeRegions": [],
  8095. "title": "Average GC Time Per Collection",
  8096. "tooltip": {
  8097. "shared": false,
  8098. "sort": 0,
  8099. "value_type": "cumulative"
  8100. },
  8101. "type": "graph",
  8102. "xaxis": {
  8103. "mode": "time",
  8104. "show": true,
  8105. "values": []
  8106. },
  8107. "yaxes": [
  8108. {
  8109. "format": "s",
  8110. "logBase": 1,
  8111. "show": true
  8112. },
  8113. {
  8114. "format": "short",
  8115. "logBase": 1,
  8116. "show": true
  8117. }
  8118. ],
  8119. "yaxis": {
  8120. "align": false
  8121. }
  8122. },
  8123. {
  8124. "aliasColors": {},
  8125. "bars": false,
  8126. "dashLength": 10,
  8127. "dashes": false,
  8128. "datasource": {
  8129. "uid": "$datasource"
  8130. },
  8131. "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.",
  8132. "fieldConfig": {
  8133. "defaults": {
  8134. "custom": {},
  8135. "links": []
  8136. },
  8137. "overrides": []
  8138. },
  8139. "fill": 1,
  8140. "fillGradient": 0,
  8141. "gridPos": {
  8142. "h": 9,
  8143. "w": 12,
  8144. "x": 0,
  8145. "y": 39
  8146. },
  8147. "hiddenSeries": false,
  8148. "id": 89,
  8149. "legend": {
  8150. "avg": false,
  8151. "current": false,
  8152. "hideEmpty": true,
  8153. "hideZero": false,
  8154. "max": false,
  8155. "min": false,
  8156. "show": true,
  8157. "total": false,
  8158. "values": false
  8159. },
  8160. "lines": true,
  8161. "linewidth": 1,
  8162. "links": [],
  8163. "nullPointMode": "null",
  8164. "options": {
  8165. "alertThreshold": true
  8166. },
  8167. "percentage": false,
  8168. "pluginVersion": "7.3.7",
  8169. "pointradius": 5,
  8170. "points": false,
  8171. "renderer": "flot",
  8172. "seriesOverrides": [
  8173. {
  8174. "alias": "/gen 0$/",
  8175. "yaxis": 2
  8176. }
  8177. ],
  8178. "spaceLength": 10,
  8179. "stack": false,
  8180. "steppedLine": false,
  8181. "targets": [
  8182. {
  8183. "datasource": {
  8184. "uid": "$datasource"
  8185. },
  8186. "expr": "python_gc_counts{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  8187. "format": "time_series",
  8188. "intervalFactor": 1,
  8189. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  8190. "refId": "A"
  8191. }
  8192. ],
  8193. "thresholds": [],
  8194. "timeRegions": [],
  8195. "title": "Allocation counts",
  8196. "tooltip": {
  8197. "shared": false,
  8198. "sort": 0,
  8199. "value_type": "individual"
  8200. },
  8201. "type": "graph",
  8202. "xaxis": {
  8203. "mode": "time",
  8204. "show": true,
  8205. "values": []
  8206. },
  8207. "yaxes": [
  8208. {
  8209. "format": "short",
  8210. "label": "Gen N-1 GCs since last Gen N GC",
  8211. "logBase": 1,
  8212. "show": true
  8213. },
  8214. {
  8215. "format": "short",
  8216. "label": "Objects since last Gen 0 GC",
  8217. "logBase": 1,
  8218. "show": true
  8219. }
  8220. ],
  8221. "yaxis": {
  8222. "align": false
  8223. }
  8224. },
  8225. {
  8226. "aliasColors": {},
  8227. "bars": false,
  8228. "dashLength": 10,
  8229. "dashes": false,
  8230. "datasource": {
  8231. "uid": "$datasource"
  8232. },
  8233. "fieldConfig": {
  8234. "defaults": {
  8235. "custom": {},
  8236. "links": []
  8237. },
  8238. "overrides": []
  8239. },
  8240. "fill": 1,
  8241. "fillGradient": 0,
  8242. "gridPos": {
  8243. "h": 9,
  8244. "w": 12,
  8245. "x": 12,
  8246. "y": 39
  8247. },
  8248. "hiddenSeries": false,
  8249. "id": 93,
  8250. "legend": {
  8251. "avg": false,
  8252. "current": false,
  8253. "max": false,
  8254. "min": false,
  8255. "show": true,
  8256. "total": false,
  8257. "values": false
  8258. },
  8259. "lines": true,
  8260. "linewidth": 1,
  8261. "links": [],
  8262. "nullPointMode": "connected",
  8263. "options": {
  8264. "alertThreshold": true
  8265. },
  8266. "percentage": false,
  8267. "pluginVersion": "7.3.7",
  8268. "pointradius": 5,
  8269. "points": false,
  8270. "renderer": "flot",
  8271. "seriesOverrides": [],
  8272. "spaceLength": 10,
  8273. "stack": false,
  8274. "steppedLine": false,
  8275. "targets": [
  8276. {
  8277. "datasource": {
  8278. "uid": "$datasource"
  8279. },
  8280. "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])",
  8281. "format": "time_series",
  8282. "intervalFactor": 1,
  8283. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  8284. "refId": "A"
  8285. }
  8286. ],
  8287. "thresholds": [],
  8288. "timeRegions": [],
  8289. "title": "Object counts per collection",
  8290. "tooltip": {
  8291. "shared": true,
  8292. "sort": 0,
  8293. "value_type": "individual"
  8294. },
  8295. "type": "graph",
  8296. "xaxis": {
  8297. "mode": "time",
  8298. "show": true,
  8299. "values": []
  8300. },
  8301. "yaxes": [
  8302. {
  8303. "format": "short",
  8304. "logBase": 1,
  8305. "show": true
  8306. },
  8307. {
  8308. "format": "short",
  8309. "logBase": 1,
  8310. "show": true
  8311. }
  8312. ],
  8313. "yaxis": {
  8314. "align": false
  8315. }
  8316. },
  8317. {
  8318. "aliasColors": {},
  8319. "bars": false,
  8320. "dashLength": 10,
  8321. "dashes": false,
  8322. "datasource": {
  8323. "uid": "$datasource"
  8324. },
  8325. "fieldConfig": {
  8326. "defaults": {
  8327. "custom": {},
  8328. "links": []
  8329. },
  8330. "overrides": []
  8331. },
  8332. "fill": 1,
  8333. "fillGradient": 0,
  8334. "gridPos": {
  8335. "h": 9,
  8336. "w": 12,
  8337. "x": 0,
  8338. "y": 48
  8339. },
  8340. "hiddenSeries": false,
  8341. "id": 95,
  8342. "legend": {
  8343. "avg": false,
  8344. "current": false,
  8345. "max": false,
  8346. "min": false,
  8347. "show": true,
  8348. "total": false,
  8349. "values": false
  8350. },
  8351. "lines": true,
  8352. "linewidth": 1,
  8353. "links": [],
  8354. "nullPointMode": "null",
  8355. "options": {
  8356. "alertThreshold": true
  8357. },
  8358. "percentage": false,
  8359. "pluginVersion": "7.3.7",
  8360. "pointradius": 5,
  8361. "points": false,
  8362. "renderer": "flot",
  8363. "seriesOverrides": [],
  8364. "spaceLength": 10,
  8365. "stack": false,
  8366. "steppedLine": false,
  8367. "targets": [
  8368. {
  8369. "datasource": {
  8370. "uid": "$datasource"
  8371. },
  8372. "expr": "rate(python_gc_time_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  8373. "format": "time_series",
  8374. "intervalFactor": 1,
  8375. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  8376. "refId": "A"
  8377. }
  8378. ],
  8379. "thresholds": [],
  8380. "timeRegions": [],
  8381. "title": "GC frequency",
  8382. "tooltip": {
  8383. "shared": true,
  8384. "sort": 0,
  8385. "value_type": "individual"
  8386. },
  8387. "type": "graph",
  8388. "xaxis": {
  8389. "mode": "time",
  8390. "show": true,
  8391. "values": []
  8392. },
  8393. "yaxes": [
  8394. {
  8395. "format": "hertz",
  8396. "logBase": 1,
  8397. "show": true
  8398. },
  8399. {
  8400. "format": "short",
  8401. "logBase": 1,
  8402. "show": true
  8403. }
  8404. ],
  8405. "yaxis": {
  8406. "align": false
  8407. }
  8408. },
  8409. {
  8410. "cards": {
  8411. "cardPadding": 0
  8412. },
  8413. "color": {
  8414. "cardColor": "#b4ff00",
  8415. "colorScale": "sqrt",
  8416. "colorScheme": "interpolateSpectral",
  8417. "exponent": 0.5,
  8418. "min": 0,
  8419. "mode": "spectrum"
  8420. },
  8421. "dataFormat": "tsbuckets",
  8422. "datasource": {
  8423. "type": "prometheus",
  8424. "uid": "${DS_PROMETHEUS}"
  8425. },
  8426. "fieldConfig": {
  8427. "defaults": {
  8428. "custom": {}
  8429. },
  8430. "overrides": []
  8431. },
  8432. "gridPos": {
  8433. "h": 9,
  8434. "w": 12,
  8435. "x": 12,
  8436. "y": 48
  8437. },
  8438. "heatmap": {},
  8439. "hideZeroBuckets": true,
  8440. "highlightCards": true,
  8441. "id": 87,
  8442. "legend": {
  8443. "show": true
  8444. },
  8445. "links": [],
  8446. "reverseYBuckets": false,
  8447. "targets": [
  8448. {
  8449. "datasource": {
  8450. "type": "prometheus",
  8451. "uid": "${DS_PROMETHEUS}"
  8452. },
  8453. "expr": "sum(rate(python_gc_time_bucket[$bucket_size])) by (le)",
  8454. "format": "heatmap",
  8455. "intervalFactor": 1,
  8456. "legendFormat": "{{le}}",
  8457. "refId": "A"
  8458. }
  8459. ],
  8460. "title": "GC durations",
  8461. "tooltip": {
  8462. "show": true,
  8463. "showHistogram": false
  8464. },
  8465. "type": "heatmap",
  8466. "xAxis": {
  8467. "show": true
  8468. },
  8469. "yAxis": {
  8470. "format": "s",
  8471. "logBase": 1,
  8472. "show": true
  8473. },
  8474. "yBucketBound": "auto"
  8475. }
  8476. ],
  8477. "targets": [
  8478. {
  8479. "datasource": {
  8480. "type": "prometheus",
  8481. "uid": "000000001"
  8482. },
  8483. "refId": "A"
  8484. }
  8485. ],
  8486. "title": "GC",
  8487. "type": "row"
  8488. },
  8489. {
  8490. "collapsed": true,
  8491. "datasource": {
  8492. "type": "prometheus",
  8493. "uid": "000000001"
  8494. },
  8495. "gridPos": {
  8496. "h": 1,
  8497. "w": 24,
  8498. "x": 0,
  8499. "y": 38
  8500. },
  8501. "id": 63,
  8502. "panels": [
  8503. {
  8504. "aliasColors": {},
  8505. "bars": false,
  8506. "dashLength": 10,
  8507. "dashes": false,
  8508. "datasource": {
  8509. "uid": "$datasource"
  8510. },
  8511. "fieldConfig": {
  8512. "defaults": {
  8513. "links": []
  8514. },
  8515. "overrides": []
  8516. },
  8517. "fill": 1,
  8518. "fillGradient": 0,
  8519. "gridPos": {
  8520. "h": 7,
  8521. "w": 12,
  8522. "x": 0,
  8523. "y": 14
  8524. },
  8525. "hiddenSeries": false,
  8526. "id": 43,
  8527. "legend": {
  8528. "avg": false,
  8529. "current": false,
  8530. "max": false,
  8531. "min": false,
  8532. "show": true,
  8533. "total": false,
  8534. "values": false
  8535. },
  8536. "lines": true,
  8537. "linewidth": 1,
  8538. "links": [],
  8539. "nullPointMode": "null",
  8540. "options": {
  8541. "alertThreshold": true
  8542. },
  8543. "paceLength": 10,
  8544. "percentage": false,
  8545. "pluginVersion": "8.4.3",
  8546. "pointradius": 5,
  8547. "points": false,
  8548. "renderer": "flot",
  8549. "seriesOverrides": [],
  8550. "spaceLength": 10,
  8551. "stack": false,
  8552. "steppedLine": false,
  8553. "targets": [
  8554. {
  8555. "datasource": {
  8556. "uid": "$datasource"
  8557. },
  8558. "expr": "sum (rate(synapse_replication_tcp_protocol_outbound_commands{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (name, conn_id)",
  8559. "format": "time_series",
  8560. "intervalFactor": 2,
  8561. "legendFormat": "{{job}}-{{index}} {{command}}",
  8562. "refId": "A",
  8563. "step": 20
  8564. }
  8565. ],
  8566. "thresholds": [],
  8567. "timeRegions": [],
  8568. "title": "Rate of outgoing commands",
  8569. "tooltip": {
  8570. "shared": false,
  8571. "sort": 0,
  8572. "value_type": "individual"
  8573. },
  8574. "type": "graph",
  8575. "xaxis": {
  8576. "mode": "time",
  8577. "show": true,
  8578. "values": []
  8579. },
  8580. "yaxes": [
  8581. {
  8582. "format": "hertz",
  8583. "logBase": 1,
  8584. "show": true
  8585. },
  8586. {
  8587. "format": "short",
  8588. "logBase": 1,
  8589. "show": true
  8590. }
  8591. ],
  8592. "yaxis": {
  8593. "align": false
  8594. }
  8595. },
  8596. {
  8597. "datasource": {
  8598. "type": "prometheus",
  8599. "uid": "$datasource"
  8600. },
  8601. "fieldConfig": {
  8602. "defaults": {
  8603. "color": {
  8604. "mode": "palette-classic"
  8605. },
  8606. "custom": {
  8607. "axisLabel": "",
  8608. "axisPlacement": "auto",
  8609. "barAlignment": 0,
  8610. "drawStyle": "line",
  8611. "fillOpacity": 10,
  8612. "gradientMode": "none",
  8613. "hideFrom": {
  8614. "legend": false,
  8615. "tooltip": false,
  8616. "viz": false
  8617. },
  8618. "lineInterpolation": "linear",
  8619. "lineWidth": 1,
  8620. "pointSize": 5,
  8621. "scaleDistribution": {
  8622. "type": "linear"
  8623. },
  8624. "showPoints": "never",
  8625. "spanNulls": true,
  8626. "stacking": {
  8627. "group": "A",
  8628. "mode": "none"
  8629. },
  8630. "thresholdsStyle": {
  8631. "mode": "off"
  8632. }
  8633. },
  8634. "links": [],
  8635. "mappings": [],
  8636. "thresholds": {
  8637. "mode": "absolute",
  8638. "steps": [
  8639. {
  8640. "color": "green"
  8641. },
  8642. {
  8643. "color": "red",
  8644. "value": 80
  8645. }
  8646. ]
  8647. },
  8648. "unit": "hertz"
  8649. },
  8650. "overrides": []
  8651. },
  8652. "gridPos": {
  8653. "h": 7,
  8654. "w": 12,
  8655. "x": 12,
  8656. "y": 14
  8657. },
  8658. "id": 41,
  8659. "links": [],
  8660. "options": {
  8661. "legend": {
  8662. "calcs": [],
  8663. "displayMode": "list",
  8664. "placement": "bottom"
  8665. },
  8666. "tooltip": {
  8667. "mode": "single",
  8668. "sort": "none"
  8669. }
  8670. },
  8671. "pluginVersion": "8.4.3",
  8672. "targets": [
  8673. {
  8674. "datasource": {
  8675. "type": "prometheus",
  8676. "uid": "${DS_PROMETHEUS}"
  8677. },
  8678. "exemplar": true,
  8679. "expr": "rate(synapse_replication_tcp_resource_stream_updates{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  8680. "format": "time_series",
  8681. "interval": "",
  8682. "intervalFactor": 2,
  8683. "legendFormat": "{{stream_name}}",
  8684. "refId": "A",
  8685. "step": 20
  8686. }
  8687. ],
  8688. "title": "Rate of outgoing RDATA commands, by stream",
  8689. "type": "timeseries"
  8690. },
  8691. {
  8692. "datasource": {
  8693. "type": "prometheus",
  8694. "uid": "$datasource"
  8695. },
  8696. "fieldConfig": {
  8697. "defaults": {
  8698. "color": {
  8699. "mode": "palette-classic"
  8700. },
  8701. "custom": {
  8702. "axisLabel": "",
  8703. "axisPlacement": "auto",
  8704. "barAlignment": 0,
  8705. "drawStyle": "line",
  8706. "fillOpacity": 10,
  8707. "gradientMode": "none",
  8708. "hideFrom": {
  8709. "legend": false,
  8710. "tooltip": false,
  8711. "viz": false
  8712. },
  8713. "lineInterpolation": "linear",
  8714. "lineWidth": 1,
  8715. "pointSize": 5,
  8716. "scaleDistribution": {
  8717. "type": "linear"
  8718. },
  8719. "showPoints": "never",
  8720. "spanNulls": true,
  8721. "stacking": {
  8722. "group": "A",
  8723. "mode": "none"
  8724. },
  8725. "thresholdsStyle": {
  8726. "mode": "off"
  8727. }
  8728. },
  8729. "links": [],
  8730. "mappings": [],
  8731. "min": 0,
  8732. "thresholds": {
  8733. "mode": "absolute",
  8734. "steps": [
  8735. {
  8736. "color": "green"
  8737. },
  8738. {
  8739. "color": "red",
  8740. "value": 80
  8741. }
  8742. ]
  8743. },
  8744. "unit": "hertz"
  8745. },
  8746. "overrides": []
  8747. },
  8748. "gridPos": {
  8749. "h": 7,
  8750. "w": 12,
  8751. "x": 0,
  8752. "y": 21
  8753. },
  8754. "id": 42,
  8755. "links": [],
  8756. "options": {
  8757. "legend": {
  8758. "calcs": [],
  8759. "displayMode": "list",
  8760. "placement": "bottom"
  8761. },
  8762. "tooltip": {
  8763. "mode": "single",
  8764. "sort": "none"
  8765. }
  8766. },
  8767. "pluginVersion": "8.4.3",
  8768. "targets": [
  8769. {
  8770. "datasource": {
  8771. "type": "prometheus",
  8772. "uid": "${DS_PROMETHEUS}"
  8773. },
  8774. "exemplar": true,
  8775. "expr": "sum (rate(synapse_replication_tcp_protocol_inbound_commands{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (name, conn_id)",
  8776. "format": "time_series",
  8777. "interval": "",
  8778. "intervalFactor": 2,
  8779. "legendFormat": "{{job}}-{{index}} {{command}}",
  8780. "refId": "A",
  8781. "step": 20
  8782. }
  8783. ],
  8784. "title": "Rate of incoming commands (including echoes)",
  8785. "type": "timeseries"
  8786. },
  8787. {
  8788. "datasource": {
  8789. "type": "prometheus",
  8790. "uid": "$datasource"
  8791. },
  8792. "fieldConfig": {
  8793. "defaults": {
  8794. "color": {
  8795. "mode": "palette-classic"
  8796. },
  8797. "custom": {
  8798. "axisLabel": "",
  8799. "axisPlacement": "auto",
  8800. "axisSoftMin": 1,
  8801. "barAlignment": 0,
  8802. "drawStyle": "line",
  8803. "fillOpacity": 10,
  8804. "gradientMode": "none",
  8805. "hideFrom": {
  8806. "legend": false,
  8807. "tooltip": false,
  8808. "viz": false
  8809. },
  8810. "lineInterpolation": "linear",
  8811. "lineWidth": 1,
  8812. "pointSize": 5,
  8813. "scaleDistribution": {
  8814. "type": "linear"
  8815. },
  8816. "showPoints": "never",
  8817. "spanNulls": true,
  8818. "stacking": {
  8819. "group": "A",
  8820. "mode": "none"
  8821. },
  8822. "thresholdsStyle": {
  8823. "mode": "off"
  8824. }
  8825. },
  8826. "links": [],
  8827. "mappings": [],
  8828. "min": 0,
  8829. "thresholds": {
  8830. "mode": "absolute",
  8831. "steps": [
  8832. {
  8833. "color": "green"
  8834. },
  8835. {
  8836. "color": "red",
  8837. "value": 80
  8838. }
  8839. ]
  8840. },
  8841. "unit": "hertz"
  8842. },
  8843. "overrides": []
  8844. },
  8845. "gridPos": {
  8846. "h": 7,
  8847. "w": 12,
  8848. "x": 12,
  8849. "y": 21
  8850. },
  8851. "id": 220,
  8852. "links": [],
  8853. "options": {
  8854. "legend": {
  8855. "calcs": [],
  8856. "displayMode": "list",
  8857. "placement": "bottom"
  8858. },
  8859. "tooltip": {
  8860. "mode": "single",
  8861. "sort": "none"
  8862. }
  8863. },
  8864. "pluginVersion": "8.4.3",
  8865. "targets": [
  8866. {
  8867. "datasource": {
  8868. "type": "prometheus",
  8869. "uid": "${DS_PROMETHEUS}"
  8870. },
  8871. "exemplar": true,
  8872. "expr": "rate(synapse_replication_tcp_protocol_inbound_rdata_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  8873. "format": "time_series",
  8874. "interval": "",
  8875. "intervalFactor": 1,
  8876. "legendFormat": "{{job}}-{{index}} {{stream_name}}",
  8877. "refId": "A",
  8878. "step": 20
  8879. }
  8880. ],
  8881. "title": "Rate of incoming RDATA commands (excluding echoes), by stream",
  8882. "type": "timeseries"
  8883. },
  8884. {
  8885. "aliasColors": {},
  8886. "bars": false,
  8887. "dashLength": 10,
  8888. "dashes": false,
  8889. "datasource": {
  8890. "type": "prometheus",
  8891. "uid": "${DS_PROMETHEUS}"
  8892. },
  8893. "description": "",
  8894. "fieldConfig": {
  8895. "defaults": {
  8896. "links": []
  8897. },
  8898. "overrides": []
  8899. },
  8900. "fill": 1,
  8901. "fillGradient": 0,
  8902. "gridPos": {
  8903. "h": 7,
  8904. "w": 12,
  8905. "x": 0,
  8906. "y": 28
  8907. },
  8908. "hiddenSeries": false,
  8909. "id": 144,
  8910. "legend": {
  8911. "avg": false,
  8912. "current": false,
  8913. "max": false,
  8914. "min": false,
  8915. "show": true,
  8916. "total": false,
  8917. "values": false
  8918. },
  8919. "lines": true,
  8920. "linewidth": 1,
  8921. "nullPointMode": "null",
  8922. "options": {
  8923. "alertThreshold": true
  8924. },
  8925. "percentage": false,
  8926. "pluginVersion": "8.4.3",
  8927. "pointradius": 2,
  8928. "points": false,
  8929. "renderer": "flot",
  8930. "seriesOverrides": [],
  8931. "spaceLength": 10,
  8932. "stack": false,
  8933. "steppedLine": false,
  8934. "targets": [
  8935. {
  8936. "datasource": {
  8937. "type": "prometheus",
  8938. "uid": "${DS_PROMETHEUS}"
  8939. },
  8940. "expr": "synapse_replication_tcp_command_queue{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  8941. "interval": "",
  8942. "legendFormat": "{{stream_name}} {{job}}-{{index}}",
  8943. "refId": "A"
  8944. }
  8945. ],
  8946. "thresholds": [],
  8947. "timeRegions": [],
  8948. "title": "Queued incoming RDATA commands, by stream",
  8949. "tooltip": {
  8950. "shared": false,
  8951. "sort": 0,
  8952. "value_type": "individual"
  8953. },
  8954. "type": "graph",
  8955. "xaxis": {
  8956. "mode": "time",
  8957. "show": true,
  8958. "values": []
  8959. },
  8960. "yaxes": [
  8961. {
  8962. "$$hashKey": "object:218",
  8963. "format": "short",
  8964. "logBase": 1,
  8965. "show": true
  8966. },
  8967. {
  8968. "$$hashKey": "object:219",
  8969. "format": "short",
  8970. "logBase": 1,
  8971. "show": true
  8972. }
  8973. ],
  8974. "yaxis": {
  8975. "align": false
  8976. }
  8977. },
  8978. {
  8979. "aliasColors": {},
  8980. "bars": false,
  8981. "dashLength": 10,
  8982. "dashes": false,
  8983. "datasource": {
  8984. "uid": "$datasource"
  8985. },
  8986. "fieldConfig": {
  8987. "defaults": {
  8988. "links": []
  8989. },
  8990. "overrides": []
  8991. },
  8992. "fill": 1,
  8993. "fillGradient": 0,
  8994. "gridPos": {
  8995. "h": 7,
  8996. "w": 12,
  8997. "x": 12,
  8998. "y": 28
  8999. },
  9000. "hiddenSeries": false,
  9001. "id": 115,
  9002. "legend": {
  9003. "avg": false,
  9004. "current": false,
  9005. "max": false,
  9006. "min": false,
  9007. "show": true,
  9008. "total": false,
  9009. "values": false
  9010. },
  9011. "lines": true,
  9012. "linewidth": 1,
  9013. "links": [],
  9014. "nullPointMode": "null",
  9015. "options": {
  9016. "alertThreshold": true
  9017. },
  9018. "paceLength": 10,
  9019. "percentage": false,
  9020. "pluginVersion": "8.4.3",
  9021. "pointradius": 5,
  9022. "points": false,
  9023. "renderer": "flot",
  9024. "seriesOverrides": [],
  9025. "spaceLength": 10,
  9026. "stack": false,
  9027. "steppedLine": false,
  9028. "targets": [
  9029. {
  9030. "datasource": {
  9031. "uid": "$datasource"
  9032. },
  9033. "expr": "rate(synapse_replication_tcp_protocol_close_reason{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  9034. "format": "time_series",
  9035. "intervalFactor": 1,
  9036. "legendFormat": "{{job}}-{{index}} {{reason_type}}",
  9037. "refId": "A"
  9038. }
  9039. ],
  9040. "thresholds": [],
  9041. "timeRegions": [],
  9042. "title": "Replication connection close reasons",
  9043. "tooltip": {
  9044. "shared": true,
  9045. "sort": 0,
  9046. "value_type": "individual"
  9047. },
  9048. "type": "graph",
  9049. "xaxis": {
  9050. "mode": "time",
  9051. "show": true,
  9052. "values": []
  9053. },
  9054. "yaxes": [
  9055. {
  9056. "format": "hertz",
  9057. "logBase": 1,
  9058. "show": true
  9059. },
  9060. {
  9061. "format": "short",
  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. "links": []
  9081. },
  9082. "overrides": []
  9083. },
  9084. "fill": 1,
  9085. "fillGradient": 0,
  9086. "gridPos": {
  9087. "h": 7,
  9088. "w": 12,
  9089. "x": 0,
  9090. "y": 35
  9091. },
  9092. "hiddenSeries": false,
  9093. "id": 113,
  9094. "legend": {
  9095. "avg": false,
  9096. "current": false,
  9097. "max": false,
  9098. "min": false,
  9099. "show": true,
  9100. "total": false,
  9101. "values": false
  9102. },
  9103. "lines": true,
  9104. "linewidth": 1,
  9105. "links": [],
  9106. "nullPointMode": "null",
  9107. "options": {
  9108. "alertThreshold": true
  9109. },
  9110. "paceLength": 10,
  9111. "percentage": false,
  9112. "pluginVersion": "8.4.3",
  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": "synapse_replication_tcp_resource_connections_per_stream{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  9126. "format": "time_series",
  9127. "intervalFactor": 1,
  9128. "legendFormat": "{{job}}-{{index}} {{stream_name}}",
  9129. "refId": "A"
  9130. },
  9131. {
  9132. "datasource": {
  9133. "uid": "$datasource"
  9134. },
  9135. "expr": "synapse_replication_tcp_resource_total_connections{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  9136. "format": "time_series",
  9137. "intervalFactor": 1,
  9138. "legendFormat": "{{job}}-{{index}}",
  9139. "refId": "B"
  9140. }
  9141. ],
  9142. "thresholds": [],
  9143. "timeRegions": [],
  9144. "title": "Replication connections",
  9145. "tooltip": {
  9146. "shared": true,
  9147. "sort": 0,
  9148. "value_type": "individual"
  9149. },
  9150. "type": "graph",
  9151. "xaxis": {
  9152. "mode": "time",
  9153. "show": true,
  9154. "values": []
  9155. },
  9156. "yaxes": [
  9157. {
  9158. "format": "short",
  9159. "logBase": 1,
  9160. "min": "0",
  9161. "show": true
  9162. },
  9163. {
  9164. "format": "short",
  9165. "logBase": 1,
  9166. "show": true
  9167. }
  9168. ],
  9169. "yaxis": {
  9170. "align": false
  9171. }
  9172. }
  9173. ],
  9174. "targets": [
  9175. {
  9176. "datasource": {
  9177. "type": "prometheus",
  9178. "uid": "000000001"
  9179. },
  9180. "refId": "A"
  9181. }
  9182. ],
  9183. "title": "Replication",
  9184. "type": "row"
  9185. },
  9186. {
  9187. "collapsed": true,
  9188. "datasource": {
  9189. "type": "prometheus",
  9190. "uid": "000000001"
  9191. },
  9192. "gridPos": {
  9193. "h": 1,
  9194. "w": 24,
  9195. "x": 0,
  9196. "y": 39
  9197. },
  9198. "id": 69,
  9199. "panels": [
  9200. {
  9201. "aliasColors": {},
  9202. "bars": false,
  9203. "dashLength": 10,
  9204. "dashes": false,
  9205. "datasource": {
  9206. "uid": "$datasource"
  9207. },
  9208. "fieldConfig": {
  9209. "defaults": {
  9210. "custom": {},
  9211. "links": []
  9212. },
  9213. "overrides": []
  9214. },
  9215. "fill": 1,
  9216. "fillGradient": 0,
  9217. "gridPos": {
  9218. "h": 9,
  9219. "w": 12,
  9220. "x": 0,
  9221. "y": 41
  9222. },
  9223. "hiddenSeries": false,
  9224. "id": 67,
  9225. "legend": {
  9226. "avg": false,
  9227. "current": false,
  9228. "max": false,
  9229. "min": false,
  9230. "show": true,
  9231. "total": false,
  9232. "values": false
  9233. },
  9234. "lines": true,
  9235. "linewidth": 1,
  9236. "links": [],
  9237. "nullPointMode": "connected",
  9238. "options": {
  9239. "alertThreshold": true
  9240. },
  9241. "paceLength": 10,
  9242. "percentage": false,
  9243. "pluginVersion": "7.3.7",
  9244. "pointradius": 5,
  9245. "points": false,
  9246. "renderer": "flot",
  9247. "seriesOverrides": [],
  9248. "spaceLength": 10,
  9249. "stack": false,
  9250. "steppedLine": false,
  9251. "targets": [
  9252. {
  9253. "datasource": {
  9254. "uid": "$datasource"
  9255. },
  9256. "expr": "max(synapse_event_persisted_position{instance=\"$instance\"}) - on() group_right() synapse_event_processing_positions{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  9257. "format": "time_series",
  9258. "interval": "",
  9259. "intervalFactor": 1,
  9260. "legendFormat": "{{job}}-{{index}} {{name}}",
  9261. "refId": "A"
  9262. }
  9263. ],
  9264. "thresholds": [],
  9265. "timeRegions": [],
  9266. "title": "Event processing lag",
  9267. "tooltip": {
  9268. "shared": true,
  9269. "sort": 0,
  9270. "value_type": "individual"
  9271. },
  9272. "type": "graph",
  9273. "xaxis": {
  9274. "mode": "time",
  9275. "show": true,
  9276. "values": []
  9277. },
  9278. "yaxes": [
  9279. {
  9280. "format": "short",
  9281. "label": "events",
  9282. "logBase": 1,
  9283. "min": "0",
  9284. "show": true
  9285. },
  9286. {
  9287. "format": "short",
  9288. "logBase": 1,
  9289. "show": true
  9290. }
  9291. ],
  9292. "yaxis": {
  9293. "align": false
  9294. }
  9295. },
  9296. {
  9297. "aliasColors": {},
  9298. "bars": false,
  9299. "dashLength": 10,
  9300. "dashes": false,
  9301. "datasource": {
  9302. "uid": "$datasource"
  9303. },
  9304. "fieldConfig": {
  9305. "defaults": {
  9306. "custom": {},
  9307. "links": []
  9308. },
  9309. "overrides": []
  9310. },
  9311. "fill": 1,
  9312. "fillGradient": 0,
  9313. "gridPos": {
  9314. "h": 9,
  9315. "w": 12,
  9316. "x": 12,
  9317. "y": 41
  9318. },
  9319. "hiddenSeries": false,
  9320. "id": 71,
  9321. "legend": {
  9322. "avg": false,
  9323. "current": false,
  9324. "max": false,
  9325. "min": false,
  9326. "show": true,
  9327. "total": false,
  9328. "values": false
  9329. },
  9330. "lines": true,
  9331. "linewidth": 1,
  9332. "links": [],
  9333. "nullPointMode": "connected",
  9334. "options": {
  9335. "alertThreshold": true
  9336. },
  9337. "paceLength": 10,
  9338. "percentage": false,
  9339. "pluginVersion": "7.3.7",
  9340. "pointradius": 5,
  9341. "points": false,
  9342. "renderer": "flot",
  9343. "seriesOverrides": [],
  9344. "spaceLength": 10,
  9345. "stack": false,
  9346. "steppedLine": false,
  9347. "targets": [
  9348. {
  9349. "datasource": {
  9350. "uid": "$datasource"
  9351. },
  9352. "expr": "time()*1000-synapse_event_processing_last_ts{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  9353. "format": "time_series",
  9354. "hide": false,
  9355. "interval": "",
  9356. "intervalFactor": 1,
  9357. "legendFormat": "{{job}}-{{index}} {{name}}",
  9358. "refId": "B"
  9359. }
  9360. ],
  9361. "thresholds": [],
  9362. "timeRegions": [],
  9363. "title": "Age of last processed event",
  9364. "tooltip": {
  9365. "shared": true,
  9366. "sort": 0,
  9367. "value_type": "individual"
  9368. },
  9369. "type": "graph",
  9370. "xaxis": {
  9371. "mode": "time",
  9372. "show": true,
  9373. "values": []
  9374. },
  9375. "yaxes": [
  9376. {
  9377. "format": "ms",
  9378. "logBase": 1,
  9379. "min": "0",
  9380. "show": true
  9381. },
  9382. {
  9383. "format": "short",
  9384. "logBase": 1,
  9385. "show": true
  9386. }
  9387. ],
  9388. "yaxis": {
  9389. "align": false
  9390. }
  9391. },
  9392. {
  9393. "aliasColors": {},
  9394. "bars": false,
  9395. "dashLength": 10,
  9396. "dashes": false,
  9397. "datasource": {
  9398. "uid": "$datasource"
  9399. },
  9400. "fieldConfig": {
  9401. "defaults": {
  9402. "custom": {},
  9403. "links": []
  9404. },
  9405. "overrides": []
  9406. },
  9407. "fill": 1,
  9408. "fillGradient": 0,
  9409. "gridPos": {
  9410. "h": 9,
  9411. "w": 12,
  9412. "x": 0,
  9413. "y": 50
  9414. },
  9415. "hiddenSeries": false,
  9416. "id": 121,
  9417. "interval": "",
  9418. "legend": {
  9419. "avg": false,
  9420. "current": false,
  9421. "max": false,
  9422. "min": false,
  9423. "show": true,
  9424. "total": false,
  9425. "values": false
  9426. },
  9427. "lines": true,
  9428. "linewidth": 1,
  9429. "links": [],
  9430. "nullPointMode": "connected",
  9431. "options": {
  9432. "alertThreshold": true
  9433. },
  9434. "paceLength": 10,
  9435. "percentage": false,
  9436. "pluginVersion": "7.3.7",
  9437. "pointradius": 5,
  9438. "points": false,
  9439. "renderer": "flot",
  9440. "seriesOverrides": [],
  9441. "spaceLength": 10,
  9442. "stack": false,
  9443. "steppedLine": false,
  9444. "targets": [
  9445. {
  9446. "datasource": {
  9447. "uid": "$datasource"
  9448. },
  9449. "expr": "deriv(synapse_event_processing_last_ts{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/1000 - 1",
  9450. "format": "time_series",
  9451. "hide": false,
  9452. "interval": "",
  9453. "intervalFactor": 1,
  9454. "legendFormat": "{{job}}-{{index}} {{name}}",
  9455. "refId": "B"
  9456. }
  9457. ],
  9458. "thresholds": [],
  9459. "timeRegions": [],
  9460. "title": "Event processing catchup rate",
  9461. "tooltip": {
  9462. "shared": true,
  9463. "sort": 0,
  9464. "value_type": "individual"
  9465. },
  9466. "type": "graph",
  9467. "xaxis": {
  9468. "mode": "time",
  9469. "show": true,
  9470. "values": []
  9471. },
  9472. "yaxes": [
  9473. {
  9474. "format": "none",
  9475. "label": "fallbehind(-) / catchup(+): s/sec",
  9476. "logBase": 1,
  9477. "show": true
  9478. },
  9479. {
  9480. "format": "short",
  9481. "logBase": 1,
  9482. "show": true
  9483. }
  9484. ],
  9485. "yaxis": {
  9486. "align": false
  9487. }
  9488. }
  9489. ],
  9490. "targets": [
  9491. {
  9492. "datasource": {
  9493. "type": "prometheus",
  9494. "uid": "000000001"
  9495. },
  9496. "refId": "A"
  9497. }
  9498. ],
  9499. "title": "Event processing loop positions",
  9500. "type": "row"
  9501. },
  9502. {
  9503. "collapsed": true,
  9504. "datasource": {
  9505. "type": "prometheus",
  9506. "uid": "000000001"
  9507. },
  9508. "gridPos": {
  9509. "h": 1,
  9510. "w": 24,
  9511. "x": 0,
  9512. "y": 40
  9513. },
  9514. "id": 126,
  9515. "panels": [
  9516. {
  9517. "cards": {
  9518. "cardPadding": 0
  9519. },
  9520. "color": {
  9521. "cardColor": "#B877D9",
  9522. "colorScale": "sqrt",
  9523. "colorScheme": "interpolateInferno",
  9524. "exponent": 0.5,
  9525. "min": 0,
  9526. "mode": "opacity"
  9527. },
  9528. "dataFormat": "tsbuckets",
  9529. "datasource": {
  9530. "uid": "$datasource"
  9531. },
  9532. "description": "Colour reflects the number of rooms with the given number of forward extremities, or fewer.\n\nThis is only updated once an hour.",
  9533. "fieldConfig": {
  9534. "defaults": {
  9535. "custom": {}
  9536. },
  9537. "overrides": []
  9538. },
  9539. "gridPos": {
  9540. "h": 8,
  9541. "w": 12,
  9542. "x": 0,
  9543. "y": 42
  9544. },
  9545. "heatmap": {},
  9546. "hideZeroBuckets": true,
  9547. "highlightCards": true,
  9548. "id": 122,
  9549. "legend": {
  9550. "show": true
  9551. },
  9552. "links": [],
  9553. "reverseYBuckets": false,
  9554. "targets": [
  9555. {
  9556. "datasource": {
  9557. "uid": "$datasource"
  9558. },
  9559. "expr": "synapse_forward_extremities_bucket{instance=\"$instance\"} and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0)",
  9560. "format": "heatmap",
  9561. "intervalFactor": 1,
  9562. "legendFormat": "{{le}}",
  9563. "refId": "A"
  9564. }
  9565. ],
  9566. "title": "Number of rooms, by number of forward extremities in room",
  9567. "tooltip": {
  9568. "show": true,
  9569. "showHistogram": true
  9570. },
  9571. "type": "heatmap",
  9572. "xAxis": {
  9573. "show": true
  9574. },
  9575. "yAxis": {
  9576. "decimals": 0,
  9577. "format": "short",
  9578. "logBase": 1,
  9579. "show": true
  9580. },
  9581. "yBucketBound": "auto"
  9582. },
  9583. {
  9584. "aliasColors": {},
  9585. "bars": false,
  9586. "dashLength": 10,
  9587. "dashes": false,
  9588. "datasource": {
  9589. "uid": "$datasource"
  9590. },
  9591. "description": "Number of rooms with the given number of forward extremities or fewer.\n\nThis is only updated once an hour.",
  9592. "fieldConfig": {
  9593. "defaults": {
  9594. "custom": {},
  9595. "links": []
  9596. },
  9597. "overrides": []
  9598. },
  9599. "fill": 0,
  9600. "fillGradient": 0,
  9601. "gridPos": {
  9602. "h": 8,
  9603. "w": 12,
  9604. "x": 12,
  9605. "y": 42
  9606. },
  9607. "hiddenSeries": false,
  9608. "id": 124,
  9609. "interval": "",
  9610. "legend": {
  9611. "avg": false,
  9612. "current": false,
  9613. "max": false,
  9614. "min": false,
  9615. "show": true,
  9616. "total": false,
  9617. "values": false
  9618. },
  9619. "lines": true,
  9620. "linewidth": 1,
  9621. "links": [],
  9622. "nullPointMode": "connected",
  9623. "percentage": false,
  9624. "pluginVersion": "7.1.3",
  9625. "pointradius": 2,
  9626. "points": false,
  9627. "renderer": "flot",
  9628. "seriesOverrides": [],
  9629. "spaceLength": 10,
  9630. "stack": false,
  9631. "steppedLine": false,
  9632. "targets": [
  9633. {
  9634. "datasource": {
  9635. "uid": "$datasource"
  9636. },
  9637. "expr": "synapse_forward_extremities_bucket{instance=\"$instance\"} > 0",
  9638. "format": "heatmap",
  9639. "interval": "",
  9640. "intervalFactor": 1,
  9641. "legendFormat": "{{le}}",
  9642. "refId": "A"
  9643. }
  9644. ],
  9645. "thresholds": [],
  9646. "timeRegions": [],
  9647. "title": "Room counts, by number of extremities",
  9648. "tooltip": {
  9649. "shared": true,
  9650. "sort": 2,
  9651. "value_type": "individual"
  9652. },
  9653. "type": "graph",
  9654. "xaxis": {
  9655. "mode": "time",
  9656. "show": true,
  9657. "values": []
  9658. },
  9659. "yaxes": [
  9660. {
  9661. "format": "none",
  9662. "label": "Number of rooms",
  9663. "logBase": 10,
  9664. "show": true
  9665. },
  9666. {
  9667. "format": "short",
  9668. "logBase": 1,
  9669. "show": false
  9670. }
  9671. ],
  9672. "yaxis": {
  9673. "align": false
  9674. }
  9675. },
  9676. {
  9677. "cards": {
  9678. "cardPadding": 0
  9679. },
  9680. "color": {
  9681. "cardColor": "#5794F2",
  9682. "colorScale": "sqrt",
  9683. "colorScheme": "interpolateInferno",
  9684. "exponent": 0.5,
  9685. "min": 0,
  9686. "mode": "opacity"
  9687. },
  9688. "dataFormat": "tsbuckets",
  9689. "datasource": {
  9690. "uid": "$datasource"
  9691. },
  9692. "description": "Colour reflects the number of events persisted to rooms with the given number of forward extremities, or fewer.",
  9693. "fieldConfig": {
  9694. "defaults": {
  9695. "custom": {}
  9696. },
  9697. "overrides": []
  9698. },
  9699. "gridPos": {
  9700. "h": 8,
  9701. "w": 12,
  9702. "x": 0,
  9703. "y": 50
  9704. },
  9705. "heatmap": {},
  9706. "hideZeroBuckets": true,
  9707. "highlightCards": true,
  9708. "id": 127,
  9709. "legend": {
  9710. "show": true
  9711. },
  9712. "links": [],
  9713. "reverseYBuckets": false,
  9714. "targets": [
  9715. {
  9716. "datasource": {
  9717. "uid": "$datasource"
  9718. },
  9719. "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)",
  9720. "format": "heatmap",
  9721. "intervalFactor": 1,
  9722. "legendFormat": "{{le}}",
  9723. "refId": "A"
  9724. }
  9725. ],
  9726. "title": "Events persisted, by number of forward extremities in room (heatmap)",
  9727. "tooltip": {
  9728. "show": true,
  9729. "showHistogram": true
  9730. },
  9731. "type": "heatmap",
  9732. "xAxis": {
  9733. "show": true
  9734. },
  9735. "yAxis": {
  9736. "decimals": 0,
  9737. "format": "short",
  9738. "logBase": 1,
  9739. "show": true
  9740. },
  9741. "yBucketBound": "auto"
  9742. },
  9743. {
  9744. "aliasColors": {},
  9745. "bars": false,
  9746. "dashLength": 10,
  9747. "dashes": false,
  9748. "datasource": {
  9749. "uid": "$datasource"
  9750. },
  9751. "description": "For a given percentage P, the number X where P% of events were persisted to rooms with X forward extremities or fewer.",
  9752. "fieldConfig": {
  9753. "defaults": {
  9754. "custom": {},
  9755. "links": []
  9756. },
  9757. "overrides": []
  9758. },
  9759. "fill": 1,
  9760. "fillGradient": 0,
  9761. "gridPos": {
  9762. "h": 8,
  9763. "w": 12,
  9764. "x": 12,
  9765. "y": 50
  9766. },
  9767. "hiddenSeries": false,
  9768. "id": 128,
  9769. "legend": {
  9770. "avg": false,
  9771. "current": false,
  9772. "max": false,
  9773. "min": false,
  9774. "show": true,
  9775. "total": false,
  9776. "values": false
  9777. },
  9778. "lines": true,
  9779. "linewidth": 1,
  9780. "links": [],
  9781. "nullPointMode": "null",
  9782. "percentage": false,
  9783. "pluginVersion": "7.1.3",
  9784. "pointradius": 2,
  9785. "points": false,
  9786. "renderer": "flot",
  9787. "seriesOverrides": [],
  9788. "spaceLength": 10,
  9789. "stack": false,
  9790. "steppedLine": false,
  9791. "targets": [
  9792. {
  9793. "datasource": {
  9794. "uid": "$datasource"
  9795. },
  9796. "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))",
  9797. "format": "time_series",
  9798. "intervalFactor": 1,
  9799. "legendFormat": "50%",
  9800. "refId": "A"
  9801. },
  9802. {
  9803. "datasource": {
  9804. "uid": "$datasource"
  9805. },
  9806. "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))",
  9807. "format": "time_series",
  9808. "intervalFactor": 1,
  9809. "legendFormat": "75%",
  9810. "refId": "B"
  9811. },
  9812. {
  9813. "datasource": {
  9814. "uid": "$datasource"
  9815. },
  9816. "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))",
  9817. "format": "time_series",
  9818. "intervalFactor": 1,
  9819. "legendFormat": "90%",
  9820. "refId": "C"
  9821. },
  9822. {
  9823. "datasource": {
  9824. "uid": "$datasource"
  9825. },
  9826. "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))",
  9827. "format": "time_series",
  9828. "intervalFactor": 1,
  9829. "legendFormat": "99%",
  9830. "refId": "D"
  9831. }
  9832. ],
  9833. "thresholds": [],
  9834. "timeRegions": [],
  9835. "title": "Events persisted, by number of forward extremities in room (quantiles)",
  9836. "tooltip": {
  9837. "shared": true,
  9838. "sort": 0,
  9839. "value_type": "individual"
  9840. },
  9841. "type": "graph",
  9842. "xaxis": {
  9843. "mode": "time",
  9844. "show": true,
  9845. "values": []
  9846. },
  9847. "yaxes": [
  9848. {
  9849. "format": "short",
  9850. "label": "Number of extremities in room",
  9851. "logBase": 1,
  9852. "min": "0",
  9853. "show": true
  9854. },
  9855. {
  9856. "format": "short",
  9857. "logBase": 1,
  9858. "show": true
  9859. }
  9860. ],
  9861. "yaxis": {
  9862. "align": false
  9863. }
  9864. },
  9865. {
  9866. "cards": {
  9867. "cardPadding": 0
  9868. },
  9869. "color": {
  9870. "cardColor": "#FF9830",
  9871. "colorScale": "sqrt",
  9872. "colorScheme": "interpolateInferno",
  9873. "exponent": 0.5,
  9874. "min": 0,
  9875. "mode": "opacity"
  9876. },
  9877. "dataFormat": "tsbuckets",
  9878. "datasource": {
  9879. "uid": "$datasource"
  9880. },
  9881. "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.",
  9882. "fieldConfig": {
  9883. "defaults": {
  9884. "custom": {}
  9885. },
  9886. "overrides": []
  9887. },
  9888. "gridPos": {
  9889. "h": 8,
  9890. "w": 12,
  9891. "x": 0,
  9892. "y": 58
  9893. },
  9894. "heatmap": {},
  9895. "hideZeroBuckets": true,
  9896. "highlightCards": true,
  9897. "id": 129,
  9898. "legend": {
  9899. "show": true
  9900. },
  9901. "links": [],
  9902. "reverseYBuckets": false,
  9903. "targets": [
  9904. {
  9905. "datasource": {
  9906. "uid": "$datasource"
  9907. },
  9908. "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)",
  9909. "format": "heatmap",
  9910. "intervalFactor": 1,
  9911. "legendFormat": "{{le}}",
  9912. "refId": "A"
  9913. }
  9914. ],
  9915. "title": "Events persisted, by number of stale forward extremities in room (heatmap)",
  9916. "tooltip": {
  9917. "show": true,
  9918. "showHistogram": true
  9919. },
  9920. "type": "heatmap",
  9921. "xAxis": {
  9922. "show": true
  9923. },
  9924. "yAxis": {
  9925. "decimals": 0,
  9926. "format": "short",
  9927. "logBase": 1,
  9928. "show": true
  9929. },
  9930. "yBucketBound": "auto"
  9931. },
  9932. {
  9933. "aliasColors": {},
  9934. "bars": false,
  9935. "dashLength": 10,
  9936. "dashes": false,
  9937. "datasource": {
  9938. "uid": "$datasource"
  9939. },
  9940. "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.",
  9941. "fieldConfig": {
  9942. "defaults": {
  9943. "custom": {},
  9944. "links": []
  9945. },
  9946. "overrides": []
  9947. },
  9948. "fill": 1,
  9949. "fillGradient": 0,
  9950. "gridPos": {
  9951. "h": 8,
  9952. "w": 12,
  9953. "x": 12,
  9954. "y": 58
  9955. },
  9956. "hiddenSeries": false,
  9957. "id": 130,
  9958. "legend": {
  9959. "avg": false,
  9960. "current": false,
  9961. "max": false,
  9962. "min": false,
  9963. "show": true,
  9964. "total": false,
  9965. "values": false
  9966. },
  9967. "lines": true,
  9968. "linewidth": 1,
  9969. "links": [],
  9970. "nullPointMode": "null",
  9971. "percentage": false,
  9972. "pluginVersion": "7.1.3",
  9973. "pointradius": 2,
  9974. "points": false,
  9975. "renderer": "flot",
  9976. "seriesOverrides": [],
  9977. "spaceLength": 10,
  9978. "stack": false,
  9979. "steppedLine": false,
  9980. "targets": [
  9981. {
  9982. "datasource": {
  9983. "uid": "$datasource"
  9984. },
  9985. "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))",
  9986. "format": "time_series",
  9987. "intervalFactor": 1,
  9988. "legendFormat": "50%",
  9989. "refId": "A"
  9990. },
  9991. {
  9992. "datasource": {
  9993. "uid": "$datasource"
  9994. },
  9995. "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))",
  9996. "format": "time_series",
  9997. "intervalFactor": 1,
  9998. "legendFormat": "75%",
  9999. "refId": "B"
  10000. },
  10001. {
  10002. "datasource": {
  10003. "uid": "$datasource"
  10004. },
  10005. "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))",
  10006. "format": "time_series",
  10007. "intervalFactor": 1,
  10008. "legendFormat": "90%",
  10009. "refId": "C"
  10010. },
  10011. {
  10012. "datasource": {
  10013. "uid": "$datasource"
  10014. },
  10015. "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))",
  10016. "format": "time_series",
  10017. "intervalFactor": 1,
  10018. "legendFormat": "99%",
  10019. "refId": "D"
  10020. }
  10021. ],
  10022. "thresholds": [],
  10023. "timeRegions": [],
  10024. "title": "Events persisted, by number of stale forward extremities in room (quantiles)",
  10025. "tooltip": {
  10026. "shared": true,
  10027. "sort": 0,
  10028. "value_type": "individual"
  10029. },
  10030. "type": "graph",
  10031. "xaxis": {
  10032. "mode": "time",
  10033. "show": true,
  10034. "values": []
  10035. },
  10036. "yaxes": [
  10037. {
  10038. "format": "short",
  10039. "label": "Number of stale forward extremities in room",
  10040. "logBase": 1,
  10041. "min": "0",
  10042. "show": true
  10043. },
  10044. {
  10045. "format": "short",
  10046. "logBase": 1,
  10047. "show": true
  10048. }
  10049. ],
  10050. "yaxis": {
  10051. "align": false
  10052. }
  10053. },
  10054. {
  10055. "cards": {
  10056. "cardPadding": 0
  10057. },
  10058. "color": {
  10059. "cardColor": "#73BF69",
  10060. "colorScale": "sqrt",
  10061. "colorScheme": "interpolateInferno",
  10062. "exponent": 0.5,
  10063. "min": 0,
  10064. "mode": "opacity"
  10065. },
  10066. "dataFormat": "tsbuckets",
  10067. "datasource": {
  10068. "uid": "$datasource"
  10069. },
  10070. "description": "Colour reflects the number of state resolution operations performed over the given number of state groups, or fewer.",
  10071. "fieldConfig": {
  10072. "defaults": {
  10073. "custom": {}
  10074. },
  10075. "overrides": []
  10076. },
  10077. "gridPos": {
  10078. "h": 8,
  10079. "w": 12,
  10080. "x": 0,
  10081. "y": 66
  10082. },
  10083. "heatmap": {},
  10084. "hideZeroBuckets": true,
  10085. "highlightCards": true,
  10086. "id": 131,
  10087. "legend": {
  10088. "show": true
  10089. },
  10090. "links": [],
  10091. "reverseYBuckets": false,
  10092. "targets": [
  10093. {
  10094. "datasource": {
  10095. "uid": "$datasource"
  10096. },
  10097. "expr": "rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  10098. "format": "heatmap",
  10099. "interval": "",
  10100. "intervalFactor": 1,
  10101. "legendFormat": "{{le}}",
  10102. "refId": "A"
  10103. }
  10104. ],
  10105. "title": "Number of state resolution performed, by number of state groups involved (heatmap)",
  10106. "tooltip": {
  10107. "show": true,
  10108. "showHistogram": true
  10109. },
  10110. "type": "heatmap",
  10111. "xAxis": {
  10112. "show": true
  10113. },
  10114. "yAxis": {
  10115. "decimals": 0,
  10116. "format": "short",
  10117. "logBase": 1,
  10118. "show": true
  10119. },
  10120. "yBucketBound": "auto"
  10121. },
  10122. {
  10123. "aliasColors": {},
  10124. "bars": false,
  10125. "dashLength": 10,
  10126. "dashes": false,
  10127. "datasource": {
  10128. "uid": "$datasource"
  10129. },
  10130. "description": "For a given percentage P, the number X where P% of state resolution operations took place over X state groups or fewer.",
  10131. "fieldConfig": {
  10132. "defaults": {
  10133. "custom": {},
  10134. "links": []
  10135. },
  10136. "overrides": []
  10137. },
  10138. "fill": 1,
  10139. "fillGradient": 0,
  10140. "gridPos": {
  10141. "h": 8,
  10142. "w": 12,
  10143. "x": 12,
  10144. "y": 66
  10145. },
  10146. "hiddenSeries": false,
  10147. "id": 132,
  10148. "interval": "",
  10149. "legend": {
  10150. "avg": false,
  10151. "current": false,
  10152. "max": false,
  10153. "min": false,
  10154. "show": true,
  10155. "total": false,
  10156. "values": false
  10157. },
  10158. "lines": true,
  10159. "linewidth": 1,
  10160. "links": [],
  10161. "nullPointMode": "null",
  10162. "percentage": false,
  10163. "pluginVersion": "7.1.3",
  10164. "pointradius": 2,
  10165. "points": false,
  10166. "renderer": "flot",
  10167. "seriesOverrides": [],
  10168. "spaceLength": 10,
  10169. "stack": false,
  10170. "steppedLine": false,
  10171. "targets": [
  10172. {
  10173. "datasource": {
  10174. "uid": "$datasource"
  10175. },
  10176. "expr": "histogram_quantile(0.5, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  10177. "format": "time_series",
  10178. "interval": "",
  10179. "intervalFactor": 1,
  10180. "legendFormat": "50%",
  10181. "refId": "A"
  10182. },
  10183. {
  10184. "datasource": {
  10185. "uid": "$datasource"
  10186. },
  10187. "expr": "histogram_quantile(0.75, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  10188. "format": "time_series",
  10189. "interval": "",
  10190. "intervalFactor": 1,
  10191. "legendFormat": "75%",
  10192. "refId": "B"
  10193. },
  10194. {
  10195. "datasource": {
  10196. "uid": "$datasource"
  10197. },
  10198. "expr": "histogram_quantile(0.90, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  10199. "format": "time_series",
  10200. "interval": "",
  10201. "intervalFactor": 1,
  10202. "legendFormat": "90%",
  10203. "refId": "C"
  10204. },
  10205. {
  10206. "datasource": {
  10207. "uid": "$datasource"
  10208. },
  10209. "expr": "histogram_quantile(0.99, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  10210. "format": "time_series",
  10211. "interval": "",
  10212. "intervalFactor": 1,
  10213. "legendFormat": "99%",
  10214. "refId": "D"
  10215. }
  10216. ],
  10217. "thresholds": [],
  10218. "timeRegions": [],
  10219. "title": "Number of state resolutions performed, by number of state groups involved (quantiles)",
  10220. "tooltip": {
  10221. "shared": true,
  10222. "sort": 0,
  10223. "value_type": "individual"
  10224. },
  10225. "type": "graph",
  10226. "xaxis": {
  10227. "mode": "time",
  10228. "show": true,
  10229. "values": []
  10230. },
  10231. "yaxes": [
  10232. {
  10233. "format": "short",
  10234. "label": "Number of state groups",
  10235. "logBase": 1,
  10236. "min": "0",
  10237. "show": true
  10238. },
  10239. {
  10240. "format": "short",
  10241. "logBase": 1,
  10242. "show": true
  10243. }
  10244. ],
  10245. "yaxis": {
  10246. "align": false
  10247. }
  10248. },
  10249. {
  10250. "aliasColors": {},
  10251. "bars": false,
  10252. "dashLength": 10,
  10253. "dashes": false,
  10254. "datasource": {
  10255. "uid": "$datasource"
  10256. },
  10257. "description": "When we do a state res while persisting events we try and see if we can prune any stale extremities.",
  10258. "fieldConfig": {
  10259. "defaults": {
  10260. "custom": {}
  10261. },
  10262. "overrides": []
  10263. },
  10264. "fill": 1,
  10265. "fillGradient": 0,
  10266. "gridPos": {
  10267. "h": 8,
  10268. "w": 12,
  10269. "x": 0,
  10270. "y": 74
  10271. },
  10272. "hiddenSeries": false,
  10273. "id": 179,
  10274. "legend": {
  10275. "avg": false,
  10276. "current": false,
  10277. "max": false,
  10278. "min": false,
  10279. "show": true,
  10280. "total": false,
  10281. "values": false
  10282. },
  10283. "lines": true,
  10284. "linewidth": 1,
  10285. "nullPointMode": "null",
  10286. "percentage": false,
  10287. "pluginVersion": "7.1.3",
  10288. "pointradius": 2,
  10289. "points": false,
  10290. "renderer": "flot",
  10291. "seriesOverrides": [],
  10292. "spaceLength": 10,
  10293. "stack": false,
  10294. "steppedLine": false,
  10295. "targets": [
  10296. {
  10297. "datasource": {
  10298. "uid": "$datasource"
  10299. },
  10300. "expr": "sum(rate(synapse_storage_events_state_resolutions_during_persistence_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  10301. "interval": "",
  10302. "legendFormat": "State res ",
  10303. "refId": "A"
  10304. },
  10305. {
  10306. "datasource": {
  10307. "uid": "$datasource"
  10308. },
  10309. "expr": "sum(rate(synapse_storage_events_potential_times_prune_extremities_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  10310. "interval": "",
  10311. "legendFormat": "Potential to prune",
  10312. "refId": "B"
  10313. },
  10314. {
  10315. "datasource": {
  10316. "uid": "$datasource"
  10317. },
  10318. "expr": "sum(rate(synapse_storage_events_times_pruned_extremities_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  10319. "interval": "",
  10320. "legendFormat": "Pruned",
  10321. "refId": "C"
  10322. }
  10323. ],
  10324. "thresholds": [],
  10325. "timeRegions": [],
  10326. "title": "Stale extremity dropping",
  10327. "tooltip": {
  10328. "shared": true,
  10329. "sort": 0,
  10330. "value_type": "individual"
  10331. },
  10332. "type": "graph",
  10333. "xaxis": {
  10334. "mode": "time",
  10335. "show": true,
  10336. "values": []
  10337. },
  10338. "yaxes": [
  10339. {
  10340. "format": "hertz",
  10341. "logBase": 1,
  10342. "show": true
  10343. },
  10344. {
  10345. "format": "short",
  10346. "logBase": 1,
  10347. "show": true
  10348. }
  10349. ],
  10350. "yaxis": {
  10351. "align": false
  10352. }
  10353. }
  10354. ],
  10355. "targets": [
  10356. {
  10357. "datasource": {
  10358. "type": "prometheus",
  10359. "uid": "000000001"
  10360. },
  10361. "refId": "A"
  10362. }
  10363. ],
  10364. "title": "Extremities",
  10365. "type": "row"
  10366. },
  10367. {
  10368. "collapsed": true,
  10369. "datasource": {
  10370. "type": "prometheus",
  10371. "uid": "000000001"
  10372. },
  10373. "gridPos": {
  10374. "h": 1,
  10375. "w": 24,
  10376. "x": 0,
  10377. "y": 41
  10378. },
  10379. "id": 158,
  10380. "panels": [
  10381. {
  10382. "aliasColors": {},
  10383. "bars": false,
  10384. "dashLength": 10,
  10385. "dashes": false,
  10386. "datasource": {
  10387. "uid": "$datasource"
  10388. },
  10389. "fieldConfig": {
  10390. "defaults": {
  10391. "custom": {},
  10392. "links": []
  10393. },
  10394. "overrides": []
  10395. },
  10396. "fill": 1,
  10397. "fillGradient": 0,
  10398. "gridPos": {
  10399. "h": 8,
  10400. "w": 12,
  10401. "x": 0,
  10402. "y": 41
  10403. },
  10404. "hiddenSeries": false,
  10405. "id": 156,
  10406. "legend": {
  10407. "avg": false,
  10408. "current": false,
  10409. "max": false,
  10410. "min": false,
  10411. "show": true,
  10412. "total": false,
  10413. "values": false
  10414. },
  10415. "lines": true,
  10416. "linewidth": 1,
  10417. "links": [],
  10418. "nullPointMode": "null",
  10419. "options": {
  10420. "alertThreshold": true
  10421. },
  10422. "percentage": false,
  10423. "pluginVersion": "7.3.7",
  10424. "pointradius": 5,
  10425. "points": false,
  10426. "renderer": "flot",
  10427. "seriesOverrides": [
  10428. {
  10429. "alias": "Max",
  10430. "color": "#bf1b00",
  10431. "fill": 0,
  10432. "linewidth": 2
  10433. }
  10434. ],
  10435. "spaceLength": 10,
  10436. "stack": false,
  10437. "steppedLine": false,
  10438. "targets": [
  10439. {
  10440. "datasource": {
  10441. "uid": "$datasource"
  10442. },
  10443. "expr": "synapse_admin_mau:current{instance=\"$instance\", job=~\"$job\"}",
  10444. "format": "time_series",
  10445. "interval": "",
  10446. "intervalFactor": 1,
  10447. "legendFormat": "Current",
  10448. "refId": "A"
  10449. },
  10450. {
  10451. "datasource": {
  10452. "uid": "$datasource"
  10453. },
  10454. "expr": "synapse_admin_mau:max{instance=\"$instance\", job=~\"$job\"}",
  10455. "format": "time_series",
  10456. "interval": "",
  10457. "intervalFactor": 1,
  10458. "legendFormat": "Max",
  10459. "refId": "B"
  10460. }
  10461. ],
  10462. "thresholds": [],
  10463. "timeRegions": [],
  10464. "title": "MAU Limits",
  10465. "tooltip": {
  10466. "shared": true,
  10467. "sort": 0,
  10468. "value_type": "individual"
  10469. },
  10470. "type": "graph",
  10471. "xaxis": {
  10472. "mode": "time",
  10473. "show": true,
  10474. "values": []
  10475. },
  10476. "yaxes": [
  10477. {
  10478. "$$hashKey": "object:176",
  10479. "format": "short",
  10480. "logBase": 1,
  10481. "min": "0",
  10482. "show": true
  10483. },
  10484. {
  10485. "$$hashKey": "object:177",
  10486. "format": "short",
  10487. "logBase": 1,
  10488. "show": true
  10489. }
  10490. ],
  10491. "yaxis": {
  10492. "align": false
  10493. }
  10494. },
  10495. {
  10496. "aliasColors": {},
  10497. "bars": false,
  10498. "dashLength": 10,
  10499. "dashes": false,
  10500. "datasource": {
  10501. "uid": "$datasource"
  10502. },
  10503. "fieldConfig": {
  10504. "defaults": {
  10505. "custom": {}
  10506. },
  10507. "overrides": []
  10508. },
  10509. "fill": 1,
  10510. "fillGradient": 0,
  10511. "gridPos": {
  10512. "h": 8,
  10513. "w": 12,
  10514. "x": 12,
  10515. "y": 41
  10516. },
  10517. "hiddenSeries": false,
  10518. "id": 160,
  10519. "legend": {
  10520. "avg": false,
  10521. "current": false,
  10522. "max": false,
  10523. "min": false,
  10524. "show": true,
  10525. "total": false,
  10526. "values": false
  10527. },
  10528. "lines": true,
  10529. "linewidth": 1,
  10530. "nullPointMode": "null",
  10531. "options": {
  10532. "alertThreshold": true
  10533. },
  10534. "percentage": false,
  10535. "pluginVersion": "7.3.7",
  10536. "pointradius": 2,
  10537. "points": false,
  10538. "renderer": "flot",
  10539. "seriesOverrides": [],
  10540. "spaceLength": 10,
  10541. "stack": false,
  10542. "steppedLine": false,
  10543. "targets": [
  10544. {
  10545. "datasource": {
  10546. "uid": "$datasource"
  10547. },
  10548. "expr": "synapse_admin_mau_current_mau_by_service{instance=\"$instance\"}",
  10549. "interval": "",
  10550. "legendFormat": "{{ app_service }}",
  10551. "refId": "A"
  10552. }
  10553. ],
  10554. "thresholds": [],
  10555. "timeRegions": [],
  10556. "title": "MAU by Appservice",
  10557. "tooltip": {
  10558. "shared": true,
  10559. "sort": 0,
  10560. "value_type": "individual"
  10561. },
  10562. "type": "graph",
  10563. "xaxis": {
  10564. "mode": "time",
  10565. "show": true,
  10566. "values": []
  10567. },
  10568. "yaxes": [
  10569. {
  10570. "format": "short",
  10571. "logBase": 1,
  10572. "show": true
  10573. },
  10574. {
  10575. "format": "short",
  10576. "logBase": 1,
  10577. "show": true
  10578. }
  10579. ],
  10580. "yaxis": {
  10581. "align": false
  10582. }
  10583. }
  10584. ],
  10585. "targets": [
  10586. {
  10587. "datasource": {
  10588. "type": "prometheus",
  10589. "uid": "000000001"
  10590. },
  10591. "refId": "A"
  10592. }
  10593. ],
  10594. "title": "MAU",
  10595. "type": "row"
  10596. },
  10597. {
  10598. "collapsed": true,
  10599. "datasource": {
  10600. "type": "prometheus",
  10601. "uid": "000000001"
  10602. },
  10603. "gridPos": {
  10604. "h": 1,
  10605. "w": 24,
  10606. "x": 0,
  10607. "y": 42
  10608. },
  10609. "id": 177,
  10610. "panels": [
  10611. {
  10612. "aliasColors": {},
  10613. "bars": false,
  10614. "dashLength": 10,
  10615. "dashes": false,
  10616. "datasource": {
  10617. "uid": "$datasource"
  10618. },
  10619. "fieldConfig": {
  10620. "defaults": {
  10621. "custom": {},
  10622. "links": []
  10623. },
  10624. "overrides": []
  10625. },
  10626. "fill": 1,
  10627. "fillGradient": 0,
  10628. "gridPos": {
  10629. "h": 7,
  10630. "w": 12,
  10631. "x": 0,
  10632. "y": 1
  10633. },
  10634. "hiddenSeries": false,
  10635. "id": 173,
  10636. "legend": {
  10637. "avg": false,
  10638. "current": false,
  10639. "max": false,
  10640. "min": false,
  10641. "show": true,
  10642. "total": false,
  10643. "values": false
  10644. },
  10645. "lines": true,
  10646. "linewidth": 1,
  10647. "links": [],
  10648. "nullPointMode": "null",
  10649. "percentage": false,
  10650. "pluginVersion": "7.1.3",
  10651. "pointradius": 5,
  10652. "points": false,
  10653. "renderer": "flot",
  10654. "seriesOverrides": [],
  10655. "spaceLength": 10,
  10656. "stack": false,
  10657. "steppedLine": false,
  10658. "targets": [
  10659. {
  10660. "datasource": {
  10661. "uid": "$datasource"
  10662. },
  10663. "expr": "rate(synapse_notifier_users_woken_by_stream{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  10664. "format": "time_series",
  10665. "hide": false,
  10666. "intervalFactor": 2,
  10667. "legendFormat": "{{stream}} {{index}}",
  10668. "metric": "synapse_notifier",
  10669. "refId": "A",
  10670. "step": 2
  10671. }
  10672. ],
  10673. "thresholds": [],
  10674. "timeRegions": [],
  10675. "title": "Notifier Streams Woken",
  10676. "tooltip": {
  10677. "shared": true,
  10678. "sort": 2,
  10679. "value_type": "individual"
  10680. },
  10681. "type": "graph",
  10682. "xaxis": {
  10683. "mode": "time",
  10684. "show": true,
  10685. "values": []
  10686. },
  10687. "yaxes": [
  10688. {
  10689. "format": "hertz",
  10690. "logBase": 1,
  10691. "show": true
  10692. },
  10693. {
  10694. "format": "short",
  10695. "logBase": 1,
  10696. "show": true
  10697. }
  10698. ],
  10699. "yaxis": {
  10700. "align": false
  10701. }
  10702. },
  10703. {
  10704. "aliasColors": {},
  10705. "bars": false,
  10706. "dashLength": 10,
  10707. "dashes": false,
  10708. "datasource": {
  10709. "uid": "$datasource"
  10710. },
  10711. "fieldConfig": {
  10712. "defaults": {
  10713. "custom": {},
  10714. "links": []
  10715. },
  10716. "overrides": []
  10717. },
  10718. "fill": 1,
  10719. "fillGradient": 0,
  10720. "gridPos": {
  10721. "h": 7,
  10722. "w": 12,
  10723. "x": 12,
  10724. "y": 1
  10725. },
  10726. "hiddenSeries": false,
  10727. "id": 175,
  10728. "legend": {
  10729. "avg": false,
  10730. "current": false,
  10731. "max": false,
  10732. "min": false,
  10733. "show": true,
  10734. "total": false,
  10735. "values": false
  10736. },
  10737. "lines": true,
  10738. "linewidth": 1,
  10739. "links": [],
  10740. "nullPointMode": "null",
  10741. "percentage": false,
  10742. "pluginVersion": "7.1.3",
  10743. "pointradius": 5,
  10744. "points": false,
  10745. "renderer": "flot",
  10746. "seriesOverrides": [],
  10747. "spaceLength": 10,
  10748. "stack": false,
  10749. "steppedLine": false,
  10750. "targets": [
  10751. {
  10752. "datasource": {
  10753. "uid": "$datasource"
  10754. },
  10755. "expr": "rate(synapse_handler_presence_get_updates{job=~\"$job\",instance=\"$instance\"}[$bucket_size])",
  10756. "format": "time_series",
  10757. "interval": "",
  10758. "intervalFactor": 2,
  10759. "legendFormat": "{{type}} {{index}}",
  10760. "refId": "A",
  10761. "step": 2
  10762. }
  10763. ],
  10764. "thresholds": [],
  10765. "timeRegions": [],
  10766. "title": "Presence Stream Fetch Type Rates",
  10767. "tooltip": {
  10768. "shared": true,
  10769. "sort": 2,
  10770. "value_type": "individual"
  10771. },
  10772. "type": "graph",
  10773. "xaxis": {
  10774. "mode": "time",
  10775. "show": true,
  10776. "values": []
  10777. },
  10778. "yaxes": [
  10779. {
  10780. "format": "hertz",
  10781. "logBase": 1,
  10782. "min": "0",
  10783. "show": true
  10784. },
  10785. {
  10786. "format": "short",
  10787. "logBase": 1,
  10788. "show": true
  10789. }
  10790. ],
  10791. "yaxis": {
  10792. "align": false
  10793. }
  10794. }
  10795. ],
  10796. "targets": [
  10797. {
  10798. "datasource": {
  10799. "type": "prometheus",
  10800. "uid": "000000001"
  10801. },
  10802. "refId": "A"
  10803. }
  10804. ],
  10805. "title": "Notifier",
  10806. "type": "row"
  10807. },
  10808. {
  10809. "collapsed": true,
  10810. "datasource": {
  10811. "type": "prometheus",
  10812. "uid": "000000001"
  10813. },
  10814. "gridPos": {
  10815. "h": 1,
  10816. "w": 24,
  10817. "x": 0,
  10818. "y": 43
  10819. },
  10820. "id": 170,
  10821. "panels": [
  10822. {
  10823. "aliasColors": {},
  10824. "bars": false,
  10825. "dashLength": 10,
  10826. "dashes": false,
  10827. "datasource": {
  10828. "uid": "$datasource"
  10829. },
  10830. "fill": 1,
  10831. "fillGradient": 0,
  10832. "gridPos": {
  10833. "h": 8,
  10834. "w": 12,
  10835. "x": 0,
  10836. "y": 43
  10837. },
  10838. "hiddenSeries": false,
  10839. "id": 168,
  10840. "legend": {
  10841. "avg": false,
  10842. "current": false,
  10843. "max": false,
  10844. "min": false,
  10845. "show": true,
  10846. "total": false,
  10847. "values": false
  10848. },
  10849. "lines": true,
  10850. "linewidth": 1,
  10851. "nullPointMode": "null",
  10852. "options": {
  10853. "alertThreshold": true
  10854. },
  10855. "percentage": false,
  10856. "pluginVersion": "8.3.2",
  10857. "pointradius": 2,
  10858. "points": false,
  10859. "renderer": "flot",
  10860. "seriesOverrides": [],
  10861. "spaceLength": 10,
  10862. "stack": false,
  10863. "steppedLine": false,
  10864. "targets": [
  10865. {
  10866. "datasource": {
  10867. "uid": "$datasource"
  10868. },
  10869. "expr": "rate(synapse_appservice_api_sent_events{instance=\"$instance\"}[$bucket_size])",
  10870. "interval": "",
  10871. "legendFormat": "{{service}}",
  10872. "refId": "A"
  10873. }
  10874. ],
  10875. "thresholds": [],
  10876. "timeRegions": [],
  10877. "title": "Sent Events rate",
  10878. "tooltip": {
  10879. "shared": true,
  10880. "sort": 0,
  10881. "value_type": "individual"
  10882. },
  10883. "type": "graph",
  10884. "xaxis": {
  10885. "mode": "time",
  10886. "show": true,
  10887. "values": []
  10888. },
  10889. "yaxes": [
  10890. {
  10891. "$$hashKey": "object:177",
  10892. "format": "hertz",
  10893. "logBase": 1,
  10894. "show": true
  10895. },
  10896. {
  10897. "$$hashKey": "object:178",
  10898. "format": "short",
  10899. "logBase": 1,
  10900. "show": true
  10901. }
  10902. ],
  10903. "yaxis": {
  10904. "align": false
  10905. }
  10906. },
  10907. {
  10908. "aliasColors": {},
  10909. "bars": false,
  10910. "dashLength": 10,
  10911. "dashes": false,
  10912. "datasource": {
  10913. "uid": "$datasource"
  10914. },
  10915. "fill": 1,
  10916. "fillGradient": 0,
  10917. "gridPos": {
  10918. "h": 8,
  10919. "w": 12,
  10920. "x": 12,
  10921. "y": 43
  10922. },
  10923. "hiddenSeries": false,
  10924. "id": 171,
  10925. "legend": {
  10926. "avg": false,
  10927. "current": false,
  10928. "max": false,
  10929. "min": false,
  10930. "show": true,
  10931. "total": false,
  10932. "values": false
  10933. },
  10934. "lines": true,
  10935. "linewidth": 1,
  10936. "nullPointMode": "null",
  10937. "options": {
  10938. "alertThreshold": true
  10939. },
  10940. "percentage": false,
  10941. "pluginVersion": "8.3.2",
  10942. "pointradius": 2,
  10943. "points": false,
  10944. "renderer": "flot",
  10945. "seriesOverrides": [],
  10946. "spaceLength": 10,
  10947. "stack": false,
  10948. "steppedLine": false,
  10949. "targets": [
  10950. {
  10951. "datasource": {
  10952. "uid": "$datasource"
  10953. },
  10954. "expr": "rate(synapse_appservice_api_sent_transactions{instance=\"$instance\"}[$bucket_size])",
  10955. "interval": "",
  10956. "legendFormat": "{{exported_service }} {{ service }}",
  10957. "refId": "A"
  10958. }
  10959. ],
  10960. "thresholds": [],
  10961. "timeRegions": [],
  10962. "title": "Transactions rate",
  10963. "tooltip": {
  10964. "shared": true,
  10965. "sort": 0,
  10966. "value_type": "individual"
  10967. },
  10968. "type": "graph",
  10969. "xaxis": {
  10970. "mode": "time",
  10971. "show": true,
  10972. "values": []
  10973. },
  10974. "yaxes": [
  10975. {
  10976. "$$hashKey": "object:260",
  10977. "format": "hertz",
  10978. "logBase": 1,
  10979. "show": true
  10980. },
  10981. {
  10982. "$$hashKey": "object:261",
  10983. "format": "short",
  10984. "logBase": 1,
  10985. "show": true
  10986. }
  10987. ],
  10988. "yaxis": {
  10989. "align": false
  10990. }
  10991. }
  10992. ],
  10993. "targets": [
  10994. {
  10995. "datasource": {
  10996. "type": "prometheus",
  10997. "uid": "000000001"
  10998. },
  10999. "refId": "A"
  11000. }
  11001. ],
  11002. "title": "Appservices",
  11003. "type": "row"
  11004. },
  11005. {
  11006. "collapsed": true,
  11007. "datasource": {
  11008. "type": "prometheus",
  11009. "uid": "000000001"
  11010. },
  11011. "gridPos": {
  11012. "h": 1,
  11013. "w": 24,
  11014. "x": 0,
  11015. "y": 44
  11016. },
  11017. "id": 188,
  11018. "panels": [
  11019. {
  11020. "aliasColors": {},
  11021. "bars": false,
  11022. "dashLength": 10,
  11023. "dashes": false,
  11024. "datasource": {
  11025. "uid": "$datasource"
  11026. },
  11027. "fieldConfig": {
  11028. "defaults": {
  11029. "custom": {}
  11030. },
  11031. "overrides": []
  11032. },
  11033. "fill": 1,
  11034. "fillGradient": 0,
  11035. "gridPos": {
  11036. "h": 8,
  11037. "w": 12,
  11038. "x": 0,
  11039. "y": 44
  11040. },
  11041. "hiddenSeries": false,
  11042. "id": 182,
  11043. "legend": {
  11044. "avg": false,
  11045. "current": false,
  11046. "max": false,
  11047. "min": false,
  11048. "show": true,
  11049. "total": false,
  11050. "values": false
  11051. },
  11052. "lines": true,
  11053. "linewidth": 1,
  11054. "nullPointMode": "null",
  11055. "options": {
  11056. "alertThreshold": true
  11057. },
  11058. "percentage": false,
  11059. "pluginVersion": "7.3.7",
  11060. "pointradius": 2,
  11061. "points": false,
  11062. "renderer": "flot",
  11063. "seriesOverrides": [],
  11064. "spaceLength": 10,
  11065. "stack": false,
  11066. "steppedLine": false,
  11067. "targets": [
  11068. {
  11069. "datasource": {
  11070. "uid": "$datasource"
  11071. },
  11072. "expr": "rate(synapse_handler_presence_notified_presence_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11073. "interval": "",
  11074. "legendFormat": "Notified",
  11075. "refId": "A"
  11076. },
  11077. {
  11078. "datasource": {
  11079. "uid": "$datasource"
  11080. },
  11081. "expr": "rate(synapse_handler_presence_federation_presence_out_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11082. "interval": "",
  11083. "legendFormat": "Remote ping",
  11084. "refId": "B"
  11085. },
  11086. {
  11087. "datasource": {
  11088. "uid": "$datasource"
  11089. },
  11090. "expr": "rate(synapse_handler_presence_presence_updates_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11091. "interval": "",
  11092. "legendFormat": "Total updates",
  11093. "refId": "C"
  11094. },
  11095. {
  11096. "datasource": {
  11097. "uid": "$datasource"
  11098. },
  11099. "expr": "rate(synapse_handler_presence_federation_presence_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11100. "interval": "",
  11101. "legendFormat": "Remote updates",
  11102. "refId": "D"
  11103. },
  11104. {
  11105. "datasource": {
  11106. "uid": "$datasource"
  11107. },
  11108. "expr": "rate(synapse_handler_presence_bump_active_time_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11109. "interval": "",
  11110. "legendFormat": "Bump active time",
  11111. "refId": "E"
  11112. }
  11113. ],
  11114. "thresholds": [],
  11115. "timeRegions": [],
  11116. "title": "Presence",
  11117. "tooltip": {
  11118. "shared": true,
  11119. "sort": 2,
  11120. "value_type": "individual"
  11121. },
  11122. "type": "graph",
  11123. "xaxis": {
  11124. "mode": "time",
  11125. "show": true,
  11126. "values": []
  11127. },
  11128. "yaxes": [
  11129. {
  11130. "format": "hertz",
  11131. "logBase": 1,
  11132. "show": true
  11133. },
  11134. {
  11135. "format": "short",
  11136. "logBase": 1,
  11137. "show": true
  11138. }
  11139. ],
  11140. "yaxis": {
  11141. "align": false
  11142. }
  11143. },
  11144. {
  11145. "aliasColors": {},
  11146. "bars": false,
  11147. "dashLength": 10,
  11148. "dashes": false,
  11149. "datasource": {
  11150. "uid": "$datasource"
  11151. },
  11152. "fieldConfig": {
  11153. "defaults": {
  11154. "custom": {}
  11155. },
  11156. "overrides": []
  11157. },
  11158. "fill": 1,
  11159. "fillGradient": 0,
  11160. "gridPos": {
  11161. "h": 8,
  11162. "w": 12,
  11163. "x": 12,
  11164. "y": 44
  11165. },
  11166. "hiddenSeries": false,
  11167. "id": 184,
  11168. "legend": {
  11169. "avg": false,
  11170. "current": false,
  11171. "max": false,
  11172. "min": false,
  11173. "show": true,
  11174. "total": false,
  11175. "values": false
  11176. },
  11177. "lines": true,
  11178. "linewidth": 1,
  11179. "nullPointMode": "null",
  11180. "options": {
  11181. "alertThreshold": true
  11182. },
  11183. "percentage": false,
  11184. "pluginVersion": "7.3.7",
  11185. "pointradius": 2,
  11186. "points": false,
  11187. "renderer": "flot",
  11188. "seriesOverrides": [],
  11189. "spaceLength": 10,
  11190. "stack": false,
  11191. "steppedLine": false,
  11192. "targets": [
  11193. {
  11194. "datasource": {
  11195. "uid": "$datasource"
  11196. },
  11197. "expr": "rate(synapse_handler_presence_state_transition{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11198. "interval": "",
  11199. "legendFormat": "{{from}} -> {{to}}",
  11200. "refId": "A"
  11201. }
  11202. ],
  11203. "thresholds": [],
  11204. "timeRegions": [],
  11205. "title": "Presence state transitions",
  11206. "tooltip": {
  11207. "shared": true,
  11208. "sort": 2,
  11209. "value_type": "individual"
  11210. },
  11211. "type": "graph",
  11212. "xaxis": {
  11213. "mode": "time",
  11214. "show": true,
  11215. "values": []
  11216. },
  11217. "yaxes": [
  11218. {
  11219. "format": "hertz",
  11220. "logBase": 1,
  11221. "show": true
  11222. },
  11223. {
  11224. "format": "short",
  11225. "logBase": 1,
  11226. "show": true
  11227. }
  11228. ],
  11229. "yaxis": {
  11230. "align": false
  11231. }
  11232. },
  11233. {
  11234. "aliasColors": {},
  11235. "bars": false,
  11236. "dashLength": 10,
  11237. "dashes": false,
  11238. "datasource": {
  11239. "uid": "$datasource"
  11240. },
  11241. "fieldConfig": {
  11242. "defaults": {
  11243. "custom": {}
  11244. },
  11245. "overrides": []
  11246. },
  11247. "fill": 1,
  11248. "fillGradient": 0,
  11249. "gridPos": {
  11250. "h": 8,
  11251. "w": 12,
  11252. "x": 0,
  11253. "y": 52
  11254. },
  11255. "hiddenSeries": false,
  11256. "id": 186,
  11257. "legend": {
  11258. "avg": false,
  11259. "current": false,
  11260. "max": false,
  11261. "min": false,
  11262. "show": true,
  11263. "total": false,
  11264. "values": false
  11265. },
  11266. "lines": true,
  11267. "linewidth": 1,
  11268. "nullPointMode": "null",
  11269. "options": {
  11270. "alertThreshold": true
  11271. },
  11272. "percentage": false,
  11273. "pluginVersion": "7.3.7",
  11274. "pointradius": 2,
  11275. "points": false,
  11276. "renderer": "flot",
  11277. "seriesOverrides": [],
  11278. "spaceLength": 10,
  11279. "stack": false,
  11280. "steppedLine": false,
  11281. "targets": [
  11282. {
  11283. "datasource": {
  11284. "uid": "$datasource"
  11285. },
  11286. "expr": "rate(synapse_handler_presence_notify_reason{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  11287. "interval": "",
  11288. "legendFormat": "{{reason}}",
  11289. "refId": "A"
  11290. }
  11291. ],
  11292. "thresholds": [],
  11293. "timeRegions": [],
  11294. "title": "Presence notify reason",
  11295. "tooltip": {
  11296. "shared": true,
  11297. "sort": 2,
  11298. "value_type": "individual"
  11299. },
  11300. "type": "graph",
  11301. "xaxis": {
  11302. "mode": "time",
  11303. "show": true,
  11304. "values": []
  11305. },
  11306. "yaxes": [
  11307. {
  11308. "$$hashKey": "object:165",
  11309. "format": "hertz",
  11310. "logBase": 1,
  11311. "show": true
  11312. },
  11313. {
  11314. "$$hashKey": "object:166",
  11315. "format": "short",
  11316. "logBase": 1,
  11317. "show": true
  11318. }
  11319. ],
  11320. "yaxis": {
  11321. "align": false
  11322. }
  11323. }
  11324. ],
  11325. "targets": [
  11326. {
  11327. "datasource": {
  11328. "type": "prometheus",
  11329. "uid": "000000001"
  11330. },
  11331. "refId": "A"
  11332. }
  11333. ],
  11334. "title": "Presence",
  11335. "type": "row"
  11336. },
  11337. {
  11338. "collapsed": true,
  11339. "datasource": {
  11340. "type": "prometheus",
  11341. "uid": "000000001"
  11342. },
  11343. "gridPos": {
  11344. "h": 1,
  11345. "w": 24,
  11346. "x": 0,
  11347. "y": 45
  11348. },
  11349. "id": 197,
  11350. "panels": [
  11351. {
  11352. "datasource": {
  11353. "type": "prometheus",
  11354. "uid": "$datasource"
  11355. },
  11356. "fieldConfig": {
  11357. "defaults": {
  11358. "color": {
  11359. "mode": "palette-classic"
  11360. },
  11361. "custom": {
  11362. "axisLabel": "",
  11363. "axisPlacement": "auto",
  11364. "barAlignment": 0,
  11365. "drawStyle": "line",
  11366. "fillOpacity": 10,
  11367. "gradientMode": "none",
  11368. "hideFrom": {
  11369. "legend": false,
  11370. "tooltip": false,
  11371. "viz": false
  11372. },
  11373. "lineInterpolation": "linear",
  11374. "lineWidth": 1,
  11375. "pointSize": 5,
  11376. "scaleDistribution": {
  11377. "type": "linear"
  11378. },
  11379. "showPoints": "never",
  11380. "spanNulls": false,
  11381. "stacking": {
  11382. "group": "A",
  11383. "mode": "none"
  11384. },
  11385. "thresholdsStyle": {
  11386. "mode": "off"
  11387. }
  11388. },
  11389. "mappings": [],
  11390. "thresholds": {
  11391. "mode": "absolute",
  11392. "steps": [
  11393. {
  11394. "color": "green"
  11395. },
  11396. {
  11397. "color": "red",
  11398. "value": 80
  11399. }
  11400. ]
  11401. },
  11402. "unit": "hertz"
  11403. },
  11404. "overrides": []
  11405. },
  11406. "gridPos": {
  11407. "h": 8,
  11408. "w": 12,
  11409. "x": 0,
  11410. "y": 46
  11411. },
  11412. "id": 191,
  11413. "options": {
  11414. "legend": {
  11415. "calcs": [],
  11416. "displayMode": "list",
  11417. "placement": "bottom"
  11418. },
  11419. "tooltip": {
  11420. "mode": "multi",
  11421. "sort": "desc"
  11422. }
  11423. },
  11424. "pluginVersion": "9.0.4",
  11425. "targets": [
  11426. {
  11427. "datasource": {
  11428. "uid": "$datasource"
  11429. },
  11430. "editorMode": "code",
  11431. "expr": "rate(synapse_external_cache_set{job=~\"$job\", instance=\"$instance\", index=~\"$index\"}[$bucket_size])",
  11432. "interval": "",
  11433. "legendFormat": "{{ cache_name }} {{job}}-{{ index }}",
  11434. "range": true,
  11435. "refId": "A"
  11436. }
  11437. ],
  11438. "title": "External Cache Set Rate",
  11439. "type": "timeseries"
  11440. },
  11441. {
  11442. "aliasColors": {},
  11443. "bars": false,
  11444. "dashLength": 10,
  11445. "dashes": false,
  11446. "datasource": {
  11447. "type": "prometheus",
  11448. "uid": "$datasource"
  11449. },
  11450. "description": "",
  11451. "fill": 1,
  11452. "fillGradient": 0,
  11453. "gridPos": {
  11454. "h": 8,
  11455. "w": 12,
  11456. "x": 12,
  11457. "y": 46
  11458. },
  11459. "hiddenSeries": false,
  11460. "id": 193,
  11461. "legend": {
  11462. "avg": false,
  11463. "current": false,
  11464. "max": false,
  11465. "min": false,
  11466. "show": true,
  11467. "total": false,
  11468. "values": false
  11469. },
  11470. "lines": true,
  11471. "linewidth": 1,
  11472. "nullPointMode": "null",
  11473. "options": {
  11474. "alertThreshold": true
  11475. },
  11476. "percentage": false,
  11477. "pluginVersion": "9.0.4",
  11478. "pointradius": 2,
  11479. "points": false,
  11480. "renderer": "flot",
  11481. "seriesOverrides": [],
  11482. "spaceLength": 10,
  11483. "stack": false,
  11484. "steppedLine": false,
  11485. "targets": [
  11486. {
  11487. "datasource": {
  11488. "uid": "$datasource"
  11489. },
  11490. "editorMode": "code",
  11491. "expr": "sum without (hit) (rate(synapse_external_cache_get{job=~\"$job\", instance=\"$instance\", index=~\"$index\"}[$bucket_size]))",
  11492. "interval": "",
  11493. "legendFormat": "{{ cache_name }} {{job}}-{{ index }}",
  11494. "range": true,
  11495. "refId": "A"
  11496. }
  11497. ],
  11498. "thresholds": [],
  11499. "timeRegions": [],
  11500. "title": "External Cache Get Rate",
  11501. "tooltip": {
  11502. "shared": true,
  11503. "sort": 2,
  11504. "value_type": "individual"
  11505. },
  11506. "type": "graph",
  11507. "xaxis": {
  11508. "mode": "time",
  11509. "show": true,
  11510. "values": []
  11511. },
  11512. "yaxes": [
  11513. {
  11514. "$$hashKey": "object:390",
  11515. "format": "hertz",
  11516. "logBase": 1,
  11517. "show": true
  11518. },
  11519. {
  11520. "$$hashKey": "object:391",
  11521. "format": "short",
  11522. "logBase": 1,
  11523. "show": true
  11524. }
  11525. ],
  11526. "yaxis": {
  11527. "align": false
  11528. }
  11529. },
  11530. {
  11531. "cards": {
  11532. "cardPadding": -1
  11533. },
  11534. "color": {
  11535. "cardColor": "#b4ff00",
  11536. "colorScale": "sqrt",
  11537. "colorScheme": "interpolateInferno",
  11538. "exponent": 0.5,
  11539. "min": 0,
  11540. "mode": "spectrum"
  11541. },
  11542. "dataFormat": "tsbuckets",
  11543. "datasource": {
  11544. "type": "prometheus",
  11545. "uid": "$datasource"
  11546. },
  11547. "gridPos": {
  11548. "h": 8,
  11549. "w": 12,
  11550. "x": 0,
  11551. "y": 54
  11552. },
  11553. "heatmap": {},
  11554. "hideZeroBuckets": false,
  11555. "highlightCards": true,
  11556. "id": 195,
  11557. "legend": {
  11558. "show": false
  11559. },
  11560. "links": [],
  11561. "reverseYBuckets": false,
  11562. "targets": [
  11563. {
  11564. "datasource": {
  11565. "uid": "$datasource"
  11566. },
  11567. "expr": "sum(rate(synapse_external_cache_response_time_seconds_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size])) by (le)",
  11568. "format": "heatmap",
  11569. "instant": false,
  11570. "interval": "",
  11571. "intervalFactor": 1,
  11572. "legendFormat": "{{le}}",
  11573. "refId": "A"
  11574. }
  11575. ],
  11576. "title": "External Cache Response Time",
  11577. "tooltip": {
  11578. "show": true,
  11579. "showHistogram": true
  11580. },
  11581. "tooltipDecimals": 2,
  11582. "type": "heatmap",
  11583. "xAxis": {
  11584. "show": true
  11585. },
  11586. "yAxis": {
  11587. "decimals": 0,
  11588. "format": "s",
  11589. "logBase": 1,
  11590. "show": true
  11591. },
  11592. "yBucketBound": "auto"
  11593. },
  11594. {
  11595. "datasource": {
  11596. "type": "prometheus",
  11597. "uid": "$datasource"
  11598. },
  11599. "description": "",
  11600. "fieldConfig": {
  11601. "defaults": {
  11602. "color": {
  11603. "mode": "palette-classic"
  11604. },
  11605. "custom": {
  11606. "axisLabel": "",
  11607. "axisPlacement": "auto",
  11608. "barAlignment": 0,
  11609. "drawStyle": "line",
  11610. "fillOpacity": 10,
  11611. "gradientMode": "none",
  11612. "hideFrom": {
  11613. "legend": false,
  11614. "tooltip": false,
  11615. "viz": false
  11616. },
  11617. "lineInterpolation": "linear",
  11618. "lineWidth": 1,
  11619. "pointSize": 5,
  11620. "scaleDistribution": {
  11621. "type": "linear"
  11622. },
  11623. "showPoints": "never",
  11624. "spanNulls": false,
  11625. "stacking": {
  11626. "group": "A",
  11627. "mode": "none"
  11628. },
  11629. "thresholdsStyle": {
  11630. "mode": "off"
  11631. }
  11632. },
  11633. "mappings": [],
  11634. "thresholds": {
  11635. "mode": "absolute",
  11636. "steps": [
  11637. {
  11638. "color": "green"
  11639. }
  11640. ]
  11641. },
  11642. "unit": "hertz"
  11643. },
  11644. "overrides": []
  11645. },
  11646. "gridPos": {
  11647. "h": 8,
  11648. "w": 12,
  11649. "x": 12,
  11650. "y": 54
  11651. },
  11652. "id": 223,
  11653. "options": {
  11654. "legend": {
  11655. "calcs": [],
  11656. "displayMode": "list",
  11657. "placement": "bottom"
  11658. },
  11659. "tooltip": {
  11660. "mode": "multi",
  11661. "sort": "desc"
  11662. }
  11663. },
  11664. "pluginVersion": "9.0.4",
  11665. "targets": [
  11666. {
  11667. "datasource": {
  11668. "uid": "$datasource"
  11669. },
  11670. "editorMode": "code",
  11671. "expr": "rate(synapse_external_cache_get{job=~\"$job\", instance=\"$instance\", index=~\"$index\", hit=\"False\"}[$bucket_size])",
  11672. "interval": "",
  11673. "legendFormat": "{{ cache_name }} {{job}}-{{ index }}",
  11674. "range": true,
  11675. "refId": "A"
  11676. }
  11677. ],
  11678. "title": "External Cache Miss Rate",
  11679. "type": "timeseries"
  11680. }
  11681. ],
  11682. "targets": [
  11683. {
  11684. "datasource": {
  11685. "type": "prometheus",
  11686. "uid": "000000001"
  11687. },
  11688. "refId": "A"
  11689. }
  11690. ],
  11691. "title": "External Cache",
  11692. "type": "row"
  11693. }
  11694. ],
  11695. "refresh": false,
  11696. "schemaVersion": 36,
  11697. "style": "dark",
  11698. "tags": [
  11699. "matrix"
  11700. ],
  11701. "templating": {
  11702. "list": [
  11703. {
  11704. "current": {
  11705. "selected": false,
  11706. "text": "default",
  11707. "value": "default"
  11708. },
  11709. "hide": 0,
  11710. "includeAll": false,
  11711. "multi": false,
  11712. "name": "datasource",
  11713. "options": [],
  11714. "query": "prometheus",
  11715. "queryValue": "",
  11716. "refresh": 1,
  11717. "regex": "",
  11718. "skipUrlSync": false,
  11719. "type": "datasource"
  11720. },
  11721. {
  11722. "allFormat": "glob",
  11723. "auto": true,
  11724. "auto_count": 100,
  11725. "auto_min": "30s",
  11726. "current": {
  11727. "selected": false,
  11728. "text": "auto",
  11729. "value": "$__auto_interval_bucket_size"
  11730. },
  11731. "hide": 0,
  11732. "includeAll": false,
  11733. "label": "Bucket Size",
  11734. "multi": false,
  11735. "multiFormat": "glob",
  11736. "name": "bucket_size",
  11737. "options": [
  11738. {
  11739. "selected": true,
  11740. "text": "auto",
  11741. "value": "$__auto_interval_bucket_size"
  11742. },
  11743. {
  11744. "selected": false,
  11745. "text": "30s",
  11746. "value": "30s"
  11747. },
  11748. {
  11749. "selected": false,
  11750. "text": "1m",
  11751. "value": "1m"
  11752. },
  11753. {
  11754. "selected": false,
  11755. "text": "2m",
  11756. "value": "2m"
  11757. },
  11758. {
  11759. "selected": false,
  11760. "text": "5m",
  11761. "value": "5m"
  11762. },
  11763. {
  11764. "selected": false,
  11765. "text": "10m",
  11766. "value": "10m"
  11767. },
  11768. {
  11769. "selected": false,
  11770. "text": "15m",
  11771. "value": "15m"
  11772. }
  11773. ],
  11774. "query": "30s,1m,2m,5m,10m,15m",
  11775. "queryValue": "",
  11776. "refresh": 2,
  11777. "skipUrlSync": false,
  11778. "type": "interval"
  11779. },
  11780. {
  11781. "current": {},
  11782. "datasource": {
  11783. "uid": "$datasource"
  11784. },
  11785. "definition": "",
  11786. "hide": 0,
  11787. "includeAll": false,
  11788. "multi": false,
  11789. "name": "instance",
  11790. "options": [],
  11791. "query": {
  11792. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds_total, instance)",
  11793. "refId": "Prometheus-instance-Variable-Query"
  11794. },
  11795. "refresh": 2,
  11796. "regex": "",
  11797. "skipUrlSync": false,
  11798. "sort": 1,
  11799. "tagValuesQuery": "",
  11800. "tagsQuery": "",
  11801. "type": "query",
  11802. "useTags": false
  11803. },
  11804. {
  11805. "allFormat": "regex wildcard",
  11806. "allValue": "",
  11807. "current": {},
  11808. "datasource": {
  11809. "uid": "$datasource"
  11810. },
  11811. "definition": "",
  11812. "hide": 0,
  11813. "hideLabel": false,
  11814. "includeAll": true,
  11815. "label": "Job",
  11816. "multi": true,
  11817. "multiFormat": "regex values",
  11818. "name": "job",
  11819. "options": [],
  11820. "query": {
  11821. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds_total, job)",
  11822. "refId": "Prometheus-job-Variable-Query"
  11823. },
  11824. "refresh": 2,
  11825. "refresh_on_load": false,
  11826. "regex": "",
  11827. "skipUrlSync": false,
  11828. "sort": 1,
  11829. "tagValuesQuery": "",
  11830. "tagsQuery": "",
  11831. "type": "query",
  11832. "useTags": false
  11833. },
  11834. {
  11835. "allFormat": "regex wildcard",
  11836. "allValue": ".*",
  11837. "current": {},
  11838. "datasource": {
  11839. "uid": "$datasource"
  11840. },
  11841. "definition": "",
  11842. "hide": 0,
  11843. "hideLabel": false,
  11844. "includeAll": true,
  11845. "label": "",
  11846. "multi": true,
  11847. "multiFormat": "regex values",
  11848. "name": "index",
  11849. "options": [],
  11850. "query": {
  11851. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds_total, index)",
  11852. "refId": "Prometheus-index-Variable-Query"
  11853. },
  11854. "refresh": 2,
  11855. "refresh_on_load": false,
  11856. "regex": "",
  11857. "skipUrlSync": false,
  11858. "sort": 3,
  11859. "tagValuesQuery": "",
  11860. "tagsQuery": "",
  11861. "type": "query",
  11862. "useTags": false
  11863. }
  11864. ]
  11865. },
  11866. "time": {
  11867. "from": "now-3h",
  11868. "to": "now"
  11869. },
  11870. "timepicker": {
  11871. "now": true,
  11872. "refresh_intervals": [
  11873. "5s",
  11874. "10s",
  11875. "30s",
  11876. "1m",
  11877. "5m",
  11878. "15m",
  11879. "30m",
  11880. "1h",
  11881. "2h",
  11882. "1d"
  11883. ],
  11884. "time_options": [
  11885. "5m",
  11886. "15m",
  11887. "1h",
  11888. "6h",
  11889. "12h",
  11890. "24h",
  11891. "2d",
  11892. "7d",
  11893. "30d"
  11894. ]
  11895. },
  11896. "timezone": "",
  11897. "title": "Synapse",
  11898. "uid": "000000012",
  11899. "version": 133,
  11900. "weekStart": ""
  11901. }