synapse.json 365 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_PROMETHEUS",
  5. "label": "Prometheus",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "prometheus",
  9. "pluginName": "Prometheus"
  10. }
  11. ],
  12. "__elements": {},
  13. "__requires": [
  14. {
  15. "type": "grafana",
  16. "id": "grafana",
  17. "name": "Grafana",
  18. "version": "9.2.2"
  19. },
  20. {
  21. "type": "panel",
  22. "id": "graph",
  23. "name": "Graph (old)",
  24. "version": ""
  25. },
  26. {
  27. "type": "panel",
  28. "id": "heatmap",
  29. "name": "Heatmap",
  30. "version": ""
  31. },
  32. {
  33. "type": "datasource",
  34. "id": "prometheus",
  35. "name": "Prometheus",
  36. "version": "1.0.0"
  37. },
  38. {
  39. "type": "panel",
  40. "id": "timeseries",
  41. "name": "Time series",
  42. "version": ""
  43. }
  44. ],
  45. "annotations": {
  46. "list": [
  47. {
  48. "builtIn": 1,
  49. "datasource": {
  50. "uid": "$datasource"
  51. },
  52. "enable": false,
  53. "hide": true,
  54. "iconColor": "rgba(0, 211, 255, 1)",
  55. "limit": 100,
  56. "name": "Annotations & Alerts",
  57. "showIn": 0,
  58. "type": "dashboard"
  59. },
  60. {
  61. "datasource": {
  62. "type": "prometheus",
  63. "uid": "${DS_PROMETHEUS}"
  64. },
  65. "enable": true,
  66. "expr": "changes(process_start_time_seconds{instance=\"$instance\",job=~\"synapse\"}[$bucket_size]) * on (instance, job) group_left(version) synapse_build_info{instance=\"$instance\",job=\"synapse\"}",
  67. "iconColor": "purple",
  68. "name": "deploys",
  69. "titleFormat": "Deployed {{version}}"
  70. }
  71. ]
  72. },
  73. "editable": true,
  74. "fiscalYearStartMonth": 0,
  75. "graphTooltip": 0,
  76. "id": null,
  77. "links": [
  78. {
  79. "asDropdown": false,
  80. "icon": "external link",
  81. "includeVars": true,
  82. "keepTime": true,
  83. "tags": [
  84. "matrix"
  85. ],
  86. "title": "Dashboards",
  87. "type": "dashboards"
  88. }
  89. ],
  90. "liveNow": false,
  91. "panels": [
  92. {
  93. "collapsed": false,
  94. "datasource": {
  95. "type": "prometheus",
  96. "uid": "000000001"
  97. },
  98. "gridPos": {
  99. "h": 1,
  100. "w": 24,
  101. "x": 0,
  102. "y": 0
  103. },
  104. "id": 73,
  105. "panels": [],
  106. "targets": [
  107. {
  108. "datasource": {
  109. "type": "prometheus",
  110. "uid": "000000001"
  111. },
  112. "refId": "A"
  113. }
  114. ],
  115. "title": "Overview",
  116. "type": "row"
  117. },
  118. {
  119. "cards": {
  120. "cardPadding": -1,
  121. "cardRound": 0
  122. },
  123. "color": {
  124. "cardColor": "#b4ff00",
  125. "colorScale": "sqrt",
  126. "colorScheme": "interpolateInferno",
  127. "exponent": 0.5,
  128. "mode": "spectrum"
  129. },
  130. "dataFormat": "tsbuckets",
  131. "datasource": {
  132. "uid": "$datasource"
  133. },
  134. "fieldConfig": {
  135. "defaults": {
  136. "custom": {
  137. "hideFrom": {
  138. "legend": false,
  139. "tooltip": false,
  140. "viz": false
  141. },
  142. "scaleDistribution": {
  143. "type": "linear"
  144. }
  145. }
  146. },
  147. "overrides": []
  148. },
  149. "gridPos": {
  150. "h": 9,
  151. "w": 12,
  152. "x": 0,
  153. "y": 1
  154. },
  155. "heatmap": {},
  156. "hideZeroBuckets": false,
  157. "highlightCards": true,
  158. "id": 189,
  159. "legend": {
  160. "show": false
  161. },
  162. "links": [],
  163. "options": {
  164. "calculate": false,
  165. "calculation": {},
  166. "cellGap": -1,
  167. "cellRadius": 0,
  168. "cellValues": {},
  169. "color": {
  170. "exponent": 0.5,
  171. "fill": "#b4ff00",
  172. "mode": "scheme",
  173. "reverse": false,
  174. "scale": "exponential",
  175. "scheme": "Inferno",
  176. "steps": 128
  177. },
  178. "exemplars": {
  179. "color": "rgba(255,0,255,0.7)"
  180. },
  181. "filterValues": {
  182. "le": 1e-9
  183. },
  184. "legend": {
  185. "show": false
  186. },
  187. "rowsFrame": {
  188. "layout": "auto"
  189. },
  190. "showValue": "never",
  191. "tooltip": {
  192. "show": true,
  193. "yHistogram": true
  194. },
  195. "yAxis": {
  196. "axisPlacement": "left",
  197. "reverse": false,
  198. "unit": "s"
  199. }
  200. },
  201. "pluginVersion": "9.2.2",
  202. "reverseYBuckets": false,
  203. "targets": [
  204. {
  205. "datasource": {
  206. "uid": "$datasource"
  207. },
  208. "expr": "sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le)",
  209. "format": "heatmap",
  210. "interval": "",
  211. "intervalFactor": 1,
  212. "legendFormat": "{{le}}",
  213. "refId": "A"
  214. }
  215. ],
  216. "title": "Event Send Time (excluding errors, all workers)",
  217. "tooltip": {
  218. "show": true,
  219. "showHistogram": true
  220. },
  221. "type": "heatmap",
  222. "xAxis": {
  223. "show": true
  224. },
  225. "yAxis": {
  226. "format": "s",
  227. "logBase": 2,
  228. "show": true
  229. },
  230. "yBucketBound": "auto"
  231. },
  232. {
  233. "aliasColors": {},
  234. "bars": false,
  235. "dashLength": 10,
  236. "dashes": false,
  237. "datasource": {
  238. "uid": "$datasource"
  239. },
  240. "description": "",
  241. "fieldConfig": {
  242. "defaults": {
  243. "links": []
  244. },
  245. "overrides": []
  246. },
  247. "fill": 0,
  248. "fillGradient": 0,
  249. "gridPos": {
  250. "h": 9,
  251. "w": 12,
  252. "x": 12,
  253. "y": 1
  254. },
  255. "hiddenSeries": false,
  256. "id": 152,
  257. "legend": {
  258. "avg": false,
  259. "current": false,
  260. "max": false,
  261. "min": false,
  262. "rightSide": false,
  263. "show": true,
  264. "total": false,
  265. "values": false
  266. },
  267. "lines": true,
  268. "linewidth": 0,
  269. "links": [],
  270. "nullPointMode": "connected",
  271. "options": {
  272. "alertThreshold": true
  273. },
  274. "paceLength": 10,
  275. "percentage": false,
  276. "pluginVersion": "9.2.2",
  277. "pointradius": 5,
  278. "points": false,
  279. "renderer": "flot",
  280. "seriesOverrides": [
  281. {
  282. "alias": "Avg",
  283. "fill": 0,
  284. "linewidth": 3
  285. },
  286. {
  287. "alias": "99%",
  288. "color": "#C4162A",
  289. "fillBelowTo": "90%"
  290. },
  291. {
  292. "alias": "90%",
  293. "color": "#FF7383",
  294. "fillBelowTo": "75%"
  295. },
  296. {
  297. "alias": "75%",
  298. "color": "#FFEE52",
  299. "fillBelowTo": "50%"
  300. },
  301. {
  302. "alias": "50%",
  303. "color": "#73BF69",
  304. "fillBelowTo": "25%"
  305. },
  306. {
  307. "alias": "25%",
  308. "color": "#1F60C4",
  309. "fillBelowTo": "5%"
  310. },
  311. {
  312. "alias": "5%",
  313. "lines": false
  314. },
  315. {
  316. "alias": "Average",
  317. "color": "rgb(255, 255, 255)",
  318. "lines": true,
  319. "linewidth": 3
  320. },
  321. {
  322. "alias": "Events",
  323. "color": "#B877D9",
  324. "hideTooltip": true,
  325. "points": true,
  326. "yaxis": 2,
  327. "zindex": -3
  328. }
  329. ],
  330. "spaceLength": 10,
  331. "stack": false,
  332. "steppedLine": false,
  333. "targets": [
  334. {
  335. "datasource": {
  336. "uid": "$datasource"
  337. },
  338. "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))",
  339. "format": "time_series",
  340. "intervalFactor": 1,
  341. "legendFormat": "99%",
  342. "refId": "D"
  343. },
  344. {
  345. "datasource": {
  346. "uid": "$datasource"
  347. },
  348. "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))",
  349. "format": "time_series",
  350. "interval": "",
  351. "intervalFactor": 1,
  352. "legendFormat": "90%",
  353. "refId": "A"
  354. },
  355. {
  356. "datasource": {
  357. "uid": "$datasource"
  358. },
  359. "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))",
  360. "format": "time_series",
  361. "intervalFactor": 1,
  362. "legendFormat": "75%",
  363. "refId": "C"
  364. },
  365. {
  366. "datasource": {
  367. "uid": "$datasource"
  368. },
  369. "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))",
  370. "format": "time_series",
  371. "intervalFactor": 1,
  372. "legendFormat": "50%",
  373. "refId": "B"
  374. },
  375. {
  376. "datasource": {
  377. "uid": "$datasource"
  378. },
  379. "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))",
  380. "legendFormat": "25%",
  381. "refId": "F"
  382. },
  383. {
  384. "datasource": {
  385. "uid": "$datasource"
  386. },
  387. "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))",
  388. "legendFormat": "5%",
  389. "refId": "G"
  390. },
  391. {
  392. "datasource": {
  393. "uid": "$datasource"
  394. },
  395. "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]))",
  396. "legendFormat": "Average",
  397. "refId": "H"
  398. },
  399. {
  400. "datasource": {
  401. "uid": "$datasource"
  402. },
  403. "expr": "sum(rate(synapse_storage_events_persisted_events_total{instance=\"$instance\"}[$bucket_size]))",
  404. "hide": false,
  405. "instant": false,
  406. "legendFormat": "Events",
  407. "refId": "E"
  408. }
  409. ],
  410. "thresholds": [
  411. {
  412. "$$hashKey": "object:283",
  413. "colorMode": "warning",
  414. "fill": false,
  415. "line": true,
  416. "op": "gt",
  417. "value": 1,
  418. "yaxis": "left"
  419. },
  420. {
  421. "$$hashKey": "object:284",
  422. "colorMode": "critical",
  423. "fill": false,
  424. "line": true,
  425. "op": "gt",
  426. "value": 2,
  427. "yaxis": "left"
  428. }
  429. ],
  430. "timeRegions": [],
  431. "title": "Event Send Time Quantiles (excluding errors, all workers)",
  432. "tooltip": {
  433. "shared": true,
  434. "sort": 2,
  435. "value_type": "individual"
  436. },
  437. "type": "graph",
  438. "xaxis": {
  439. "mode": "time",
  440. "show": true,
  441. "values": []
  442. },
  443. "yaxes": [
  444. {
  445. "$$hashKey": "object:255",
  446. "format": "s",
  447. "label": "",
  448. "logBase": 1,
  449. "min": "0",
  450. "show": true
  451. },
  452. {
  453. "$$hashKey": "object:256",
  454. "format": "hertz",
  455. "label": "",
  456. "logBase": 1,
  457. "min": "0",
  458. "show": true
  459. }
  460. ],
  461. "yaxis": {
  462. "align": false
  463. }
  464. },
  465. {
  466. "aliasColors": {},
  467. "bars": false,
  468. "dashLength": 10,
  469. "dashes": false,
  470. "datasource": {
  471. "uid": "$datasource"
  472. },
  473. "fieldConfig": {
  474. "defaults": {
  475. "links": []
  476. },
  477. "overrides": []
  478. },
  479. "fill": 1,
  480. "fillGradient": 0,
  481. "gridPos": {
  482. "h": 9,
  483. "w": 12,
  484. "x": 0,
  485. "y": 10
  486. },
  487. "hiddenSeries": false,
  488. "id": 75,
  489. "legend": {
  490. "avg": false,
  491. "current": false,
  492. "max": false,
  493. "min": false,
  494. "show": true,
  495. "total": false,
  496. "values": false
  497. },
  498. "lines": true,
  499. "linewidth": 3,
  500. "links": [],
  501. "nullPointMode": "null",
  502. "options": {
  503. "alertThreshold": true
  504. },
  505. "paceLength": 10,
  506. "percentage": false,
  507. "pluginVersion": "9.2.2",
  508. "pointradius": 5,
  509. "points": false,
  510. "renderer": "flot",
  511. "seriesOverrides": [],
  512. "spaceLength": 10,
  513. "stack": false,
  514. "steppedLine": false,
  515. "targets": [
  516. {
  517. "datasource": {
  518. "uid": "$datasource"
  519. },
  520. "expr": "rate(process_cpu_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  521. "format": "time_series",
  522. "interval": "",
  523. "intervalFactor": 1,
  524. "legendFormat": "{{job}}-{{index}} ",
  525. "refId": "A"
  526. }
  527. ],
  528. "thresholds": [
  529. {
  530. "$$hashKey": "object:566",
  531. "colorMode": "critical",
  532. "fill": true,
  533. "line": true,
  534. "op": "gt",
  535. "value": 1,
  536. "yaxis": "left"
  537. }
  538. ],
  539. "timeRegions": [],
  540. "title": "CPU usage",
  541. "tooltip": {
  542. "shared": false,
  543. "sort": 0,
  544. "value_type": "individual"
  545. },
  546. "type": "graph",
  547. "xaxis": {
  548. "mode": "time",
  549. "show": true,
  550. "values": []
  551. },
  552. "yaxes": [
  553. {
  554. "$$hashKey": "object:538",
  555. "format": "percentunit",
  556. "logBase": 1,
  557. "max": "1.5",
  558. "min": "0",
  559. "show": true
  560. },
  561. {
  562. "$$hashKey": "object:539",
  563. "format": "short",
  564. "logBase": 1,
  565. "show": true
  566. }
  567. ],
  568. "yaxis": {
  569. "align": false
  570. }
  571. },
  572. {
  573. "aliasColors": {},
  574. "bars": false,
  575. "dashLength": 10,
  576. "dashes": false,
  577. "datasource": {
  578. "uid": "$datasource"
  579. },
  580. "editable": true,
  581. "error": false,
  582. "fieldConfig": {
  583. "defaults": {
  584. "links": []
  585. },
  586. "overrides": []
  587. },
  588. "fill": 1,
  589. "fillGradient": 0,
  590. "grid": {},
  591. "gridPos": {
  592. "h": 9,
  593. "w": 12,
  594. "x": 12,
  595. "y": 10
  596. },
  597. "hiddenSeries": false,
  598. "id": 198,
  599. "legend": {
  600. "avg": false,
  601. "current": false,
  602. "max": false,
  603. "min": false,
  604. "show": true,
  605. "total": false,
  606. "values": false
  607. },
  608. "lines": true,
  609. "linewidth": 3,
  610. "links": [],
  611. "nullPointMode": "null",
  612. "options": {
  613. "alertThreshold": true
  614. },
  615. "paceLength": 10,
  616. "percentage": false,
  617. "pluginVersion": "9.2.2",
  618. "pointradius": 5,
  619. "points": false,
  620. "renderer": "flot",
  621. "seriesOverrides": [],
  622. "spaceLength": 10,
  623. "stack": false,
  624. "steppedLine": false,
  625. "targets": [
  626. {
  627. "datasource": {
  628. "uid": "$datasource"
  629. },
  630. "expr": "process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  631. "format": "time_series",
  632. "interval": "",
  633. "intervalFactor": 2,
  634. "legendFormat": "{{job}} {{index}}",
  635. "refId": "A",
  636. "step": 20,
  637. "target": ""
  638. },
  639. {
  640. "datasource": {
  641. "uid": "$datasource"
  642. },
  643. "expr": "sum(process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})",
  644. "hide": true,
  645. "interval": "",
  646. "legendFormat": "total",
  647. "refId": "B"
  648. }
  649. ],
  650. "thresholds": [],
  651. "timeRegions": [],
  652. "title": "Memory",
  653. "tooltip": {
  654. "shared": false,
  655. "sort": 0,
  656. "value_type": "cumulative"
  657. },
  658. "transformations": [],
  659. "type": "graph",
  660. "xaxis": {
  661. "mode": "time",
  662. "show": true,
  663. "values": []
  664. },
  665. "yaxes": [
  666. {
  667. "$$hashKey": "object:1560",
  668. "format": "bytes",
  669. "logBase": 1,
  670. "min": "0",
  671. "show": true
  672. },
  673. {
  674. "$$hashKey": "object:1561",
  675. "format": "short",
  676. "logBase": 1,
  677. "show": true
  678. }
  679. ],
  680. "yaxis": {
  681. "align": false
  682. }
  683. },
  684. {
  685. "datasource": {
  686. "type": "prometheus",
  687. "uid": "${DS_PROMETHEUS}"
  688. },
  689. "fieldConfig": {
  690. "defaults": {
  691. "color": {
  692. "mode": "palette-classic"
  693. },
  694. "custom": {
  695. "axisCenteredZero": false,
  696. "axisColorMode": "text",
  697. "axisLabel": "",
  698. "axisPlacement": "auto",
  699. "axisSoftMax": 1,
  700. "barAlignment": 0,
  701. "drawStyle": "line",
  702. "fillOpacity": 0,
  703. "gradientMode": "none",
  704. "hideFrom": {
  705. "legend": false,
  706. "tooltip": false,
  707. "viz": false
  708. },
  709. "lineInterpolation": "linear",
  710. "lineWidth": 10,
  711. "pointSize": 5,
  712. "scaleDistribution": {
  713. "type": "linear"
  714. },
  715. "showPoints": "never",
  716. "spanNulls": false,
  717. "stacking": {
  718. "group": "A",
  719. "mode": "none"
  720. },
  721. "thresholdsStyle": {
  722. "mode": "off"
  723. }
  724. },
  725. "mappings": [],
  726. "thresholds": {
  727. "mode": "absolute",
  728. "steps": [
  729. {
  730. "color": "green",
  731. "value": null
  732. }
  733. ]
  734. }
  735. },
  736. "overrides": []
  737. },
  738. "gridPos": {
  739. "h": 7,
  740. "w": 12,
  741. "x": 0,
  742. "y": 19
  743. },
  744. "id": 245,
  745. "options": {
  746. "legend": {
  747. "calcs": [],
  748. "displayMode": "list",
  749. "placement": "bottom",
  750. "showLegend": true
  751. },
  752. "tooltip": {
  753. "mode": "single",
  754. "sort": "none"
  755. }
  756. },
  757. "targets": [
  758. {
  759. "datasource": {
  760. "type": "prometheus",
  761. "uid": "${DS_PROMETHEUS}"
  762. },
  763. "editorMode": "code",
  764. "expr": "synapse_build_info{instance=\"$instance\", job=\"synapse\"} - 1",
  765. "legendFormat": "version {{version}}",
  766. "range": true,
  767. "refId": "deployed_synapse_versions"
  768. }
  769. ],
  770. "title": "Deployed Synapse versions over time",
  771. "type": "timeseries"
  772. },
  773. {
  774. "aliasColors": {},
  775. "bars": false,
  776. "dashLength": 10,
  777. "dashes": false,
  778. "datasource": {
  779. "uid": "$datasource"
  780. },
  781. "fieldConfig": {
  782. "defaults": {
  783. "links": []
  784. },
  785. "overrides": []
  786. },
  787. "fill": 1,
  788. "fillGradient": 0,
  789. "gridPos": {
  790. "h": 7,
  791. "w": 12,
  792. "x": 12,
  793. "y": 19
  794. },
  795. "hiddenSeries": false,
  796. "id": 37,
  797. "legend": {
  798. "avg": false,
  799. "current": false,
  800. "max": false,
  801. "min": false,
  802. "show": true,
  803. "total": false,
  804. "values": false
  805. },
  806. "lines": true,
  807. "linewidth": 1,
  808. "links": [],
  809. "nullPointMode": "null",
  810. "options": {
  811. "alertThreshold": true
  812. },
  813. "paceLength": 10,
  814. "percentage": false,
  815. "pluginVersion": "9.2.2",
  816. "pointradius": 5,
  817. "points": false,
  818. "renderer": "flot",
  819. "seriesOverrides": [
  820. {
  821. "$$hashKey": "object:639",
  822. "alias": "/max$/",
  823. "color": "#890F02",
  824. "fill": 0,
  825. "legend": false
  826. }
  827. ],
  828. "spaceLength": 10,
  829. "stack": false,
  830. "steppedLine": false,
  831. "targets": [
  832. {
  833. "datasource": {
  834. "uid": "$datasource"
  835. },
  836. "expr": "process_open_fds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  837. "format": "time_series",
  838. "hide": false,
  839. "interval": "",
  840. "intervalFactor": 2,
  841. "legendFormat": "{{job}}-{{index}}",
  842. "refId": "A",
  843. "step": 20
  844. },
  845. {
  846. "datasource": {
  847. "uid": "$datasource"
  848. },
  849. "expr": "process_max_fds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  850. "format": "time_series",
  851. "hide": true,
  852. "interval": "",
  853. "intervalFactor": 2,
  854. "legendFormat": "{{job}}-{{index}} max",
  855. "refId": "B",
  856. "step": 20
  857. }
  858. ],
  859. "thresholds": [],
  860. "timeRegions": [],
  861. "title": "Open FDs",
  862. "tooltip": {
  863. "shared": false,
  864. "sort": 0,
  865. "value_type": "individual"
  866. },
  867. "type": "graph",
  868. "xaxis": {
  869. "mode": "time",
  870. "show": true,
  871. "values": []
  872. },
  873. "yaxes": [
  874. {
  875. "$$hashKey": "object:650",
  876. "format": "none",
  877. "label": "",
  878. "logBase": 1,
  879. "show": true
  880. },
  881. {
  882. "$$hashKey": "object:651",
  883. "format": "short",
  884. "logBase": 1,
  885. "show": true
  886. }
  887. ],
  888. "yaxis": {
  889. "align": false
  890. }
  891. },
  892. {
  893. "collapsed": true,
  894. "datasource": {
  895. "type": "prometheus",
  896. "uid": "$datasource"
  897. },
  898. "gridPos": {
  899. "h": 1,
  900. "w": 24,
  901. "x": 0,
  902. "y": 26
  903. },
  904. "id": 54,
  905. "panels": [
  906. {
  907. "aliasColors": {},
  908. "bars": false,
  909. "dashLength": 10,
  910. "dashes": false,
  911. "datasource": {
  912. "type": "prometheus",
  913. "uid": "$datasource"
  914. },
  915. "editable": true,
  916. "error": false,
  917. "fieldConfig": {
  918. "defaults": {
  919. "links": []
  920. },
  921. "overrides": []
  922. },
  923. "fill": 1,
  924. "fillGradient": 0,
  925. "grid": {},
  926. "gridPos": {
  927. "h": 7,
  928. "w": 12,
  929. "x": 0,
  930. "y": 27
  931. },
  932. "hiddenSeries": false,
  933. "id": 5,
  934. "legend": {
  935. "alignAsTable": false,
  936. "avg": false,
  937. "current": false,
  938. "hideEmpty": false,
  939. "hideZero": false,
  940. "max": false,
  941. "min": false,
  942. "rightSide": false,
  943. "show": true,
  944. "total": false,
  945. "values": false
  946. },
  947. "lines": true,
  948. "linewidth": 3,
  949. "links": [],
  950. "nullPointMode": "null",
  951. "options": {
  952. "alertThreshold": true
  953. },
  954. "paceLength": 10,
  955. "percentage": false,
  956. "pluginVersion": "9.2.2",
  957. "pointradius": 5,
  958. "points": false,
  959. "renderer": "flot",
  960. "seriesOverrides": [
  961. {
  962. "$$hashKey": "object:1240",
  963. "alias": "/user/"
  964. },
  965. {
  966. "$$hashKey": "object:1241",
  967. "alias": "/system/"
  968. }
  969. ],
  970. "spaceLength": 10,
  971. "stack": false,
  972. "steppedLine": false,
  973. "targets": [
  974. {
  975. "datasource": {
  976. "uid": "$datasource"
  977. },
  978. "editorMode": "code",
  979. "expr": "rate(process_cpu_system_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  980. "format": "time_series",
  981. "intervalFactor": 1,
  982. "legendFormat": "{{job}}-{{index}} system ",
  983. "metric": "",
  984. "range": true,
  985. "refId": "B",
  986. "step": 20
  987. },
  988. {
  989. "datasource": {
  990. "uid": "$datasource"
  991. },
  992. "expr": "rate(process_cpu_user_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  993. "format": "time_series",
  994. "hide": false,
  995. "interval": "",
  996. "intervalFactor": 1,
  997. "legendFormat": "{{job}}-{{index}} user",
  998. "refId": "A",
  999. "step": 20
  1000. }
  1001. ],
  1002. "thresholds": [
  1003. {
  1004. "$$hashKey": "object:1278",
  1005. "colorMode": "custom",
  1006. "fillColor": "rgba(255, 255, 255, 1)",
  1007. "line": true,
  1008. "lineColor": "rgba(216, 200, 27, 0.27)",
  1009. "op": "gt",
  1010. "value": 0.5,
  1011. "yaxis": "left"
  1012. },
  1013. {
  1014. "$$hashKey": "object:1279",
  1015. "colorMode": "custom",
  1016. "fillColor": "rgba(255, 255, 255, 1)",
  1017. "line": true,
  1018. "lineColor": "rgb(87, 6, 16)",
  1019. "op": "gt",
  1020. "value": 0.8,
  1021. "yaxis": "left"
  1022. },
  1023. {
  1024. "$$hashKey": "object:1498",
  1025. "colorMode": "critical",
  1026. "fill": true,
  1027. "line": true,
  1028. "op": "gt",
  1029. "value": 1,
  1030. "yaxis": "left"
  1031. }
  1032. ],
  1033. "timeRegions": [],
  1034. "title": "CPU",
  1035. "tooltip": {
  1036. "shared": false,
  1037. "sort": 0,
  1038. "value_type": "individual"
  1039. },
  1040. "type": "graph",
  1041. "xaxis": {
  1042. "mode": "time",
  1043. "show": true,
  1044. "values": []
  1045. },
  1046. "yaxes": [
  1047. {
  1048. "$$hashKey": "object:1250",
  1049. "format": "percentunit",
  1050. "label": "",
  1051. "logBase": 1,
  1052. "max": "1.2",
  1053. "min": 0,
  1054. "show": true
  1055. },
  1056. {
  1057. "$$hashKey": "object:1251",
  1058. "format": "short",
  1059. "logBase": 1,
  1060. "show": true
  1061. }
  1062. ],
  1063. "yaxis": {
  1064. "align": false
  1065. }
  1066. },
  1067. {
  1068. "datasource": {
  1069. "type": "prometheus",
  1070. "uid": "${DS_PROMETHEUS}"
  1071. },
  1072. "description": "Shows the time in which the given percentage of reactor ticks completed, over the sampled timespan",
  1073. "fieldConfig": {
  1074. "defaults": {
  1075. "color": {
  1076. "mode": "palette-classic"
  1077. },
  1078. "custom": {
  1079. "axisCenteredZero": false,
  1080. "axisColorMode": "text",
  1081. "axisLabel": "",
  1082. "axisPlacement": "auto",
  1083. "barAlignment": 0,
  1084. "drawStyle": "line",
  1085. "fillOpacity": 10,
  1086. "gradientMode": "none",
  1087. "hideFrom": {
  1088. "legend": false,
  1089. "tooltip": false,
  1090. "viz": false
  1091. },
  1092. "lineInterpolation": "linear",
  1093. "lineWidth": 1,
  1094. "pointSize": 5,
  1095. "scaleDistribution": {
  1096. "type": "linear"
  1097. },
  1098. "showPoints": "never",
  1099. "spanNulls": true,
  1100. "stacking": {
  1101. "group": "A",
  1102. "mode": "none"
  1103. },
  1104. "thresholdsStyle": {
  1105. "mode": "off"
  1106. }
  1107. },
  1108. "links": [],
  1109. "mappings": [],
  1110. "thresholds": {
  1111. "mode": "absolute",
  1112. "steps": [
  1113. {
  1114. "color": "green"
  1115. },
  1116. {
  1117. "color": "red",
  1118. "value": 80
  1119. }
  1120. ]
  1121. },
  1122. "unit": "s"
  1123. },
  1124. "overrides": []
  1125. },
  1126. "gridPos": {
  1127. "h": 7,
  1128. "w": 12,
  1129. "x": 12,
  1130. "y": 27
  1131. },
  1132. "id": 105,
  1133. "interval": "",
  1134. "links": [],
  1135. "options": {
  1136. "legend": {
  1137. "calcs": [],
  1138. "displayMode": "list",
  1139. "placement": "bottom",
  1140. "showLegend": true
  1141. },
  1142. "tooltip": {
  1143. "mode": "single",
  1144. "sort": "none"
  1145. }
  1146. },
  1147. "pluginVersion": "8.3.2",
  1148. "targets": [
  1149. {
  1150. "datasource": {
  1151. "type": "prometheus",
  1152. "uid": "${DS_PROMETHEUS}"
  1153. },
  1154. "exemplar": true,
  1155. "expr": "histogram_quantile(0.999, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  1156. "hide": false,
  1157. "interval": "",
  1158. "legendFormat": "{{job}}-{{index}} 99.9%",
  1159. "refId": "E"
  1160. },
  1161. {
  1162. "datasource": {
  1163. "type": "prometheus",
  1164. "uid": "${DS_PROMETHEUS}"
  1165. },
  1166. "exemplar": true,
  1167. "expr": "histogram_quantile(0.99, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  1168. "format": "time_series",
  1169. "interval": "",
  1170. "intervalFactor": 2,
  1171. "legendFormat": "{{job}}-{{index}} 99%",
  1172. "refId": "A",
  1173. "step": 20
  1174. },
  1175. {
  1176. "datasource": {
  1177. "type": "prometheus",
  1178. "uid": "${DS_PROMETHEUS}"
  1179. },
  1180. "exemplar": true,
  1181. "expr": "histogram_quantile(0.95, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  1182. "format": "time_series",
  1183. "interval": "",
  1184. "intervalFactor": 1,
  1185. "legendFormat": "{{job}}-{{index}} 95%",
  1186. "refId": "B"
  1187. },
  1188. {
  1189. "datasource": {
  1190. "type": "prometheus",
  1191. "uid": "${DS_PROMETHEUS}"
  1192. },
  1193. "expr": "histogram_quantile(0.90, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  1194. "format": "time_series",
  1195. "intervalFactor": 1,
  1196. "legendFormat": "{{job}}-{{index}} 90%",
  1197. "refId": "C"
  1198. },
  1199. {
  1200. "datasource": {
  1201. "type": "prometheus",
  1202. "uid": "${DS_PROMETHEUS}"
  1203. },
  1204. "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])",
  1205. "format": "time_series",
  1206. "intervalFactor": 1,
  1207. "legendFormat": "{{job}}-{{index}} mean",
  1208. "refId": "D"
  1209. }
  1210. ],
  1211. "title": "Reactor tick quantiles",
  1212. "type": "timeseries"
  1213. },
  1214. {
  1215. "aliasColors": {},
  1216. "bars": false,
  1217. "dashLength": 10,
  1218. "dashes": false,
  1219. "datasource": {
  1220. "uid": "$datasource"
  1221. },
  1222. "editable": true,
  1223. "error": false,
  1224. "fieldConfig": {
  1225. "defaults": {
  1226. "links": []
  1227. },
  1228. "overrides": []
  1229. },
  1230. "fill": 0,
  1231. "fillGradient": 0,
  1232. "grid": {},
  1233. "gridPos": {
  1234. "h": 7,
  1235. "w": 12,
  1236. "x": 0,
  1237. "y": 34
  1238. },
  1239. "hiddenSeries": false,
  1240. "id": 34,
  1241. "legend": {
  1242. "avg": false,
  1243. "current": false,
  1244. "max": false,
  1245. "min": false,
  1246. "show": true,
  1247. "total": false,
  1248. "values": false
  1249. },
  1250. "lines": true,
  1251. "linewidth": 1,
  1252. "links": [],
  1253. "nullPointMode": "null",
  1254. "options": {
  1255. "alertThreshold": true
  1256. },
  1257. "paceLength": 10,
  1258. "percentage": false,
  1259. "pluginVersion": "9.2.2",
  1260. "pointradius": 5,
  1261. "points": false,
  1262. "renderer": "flot",
  1263. "seriesOverrides": [],
  1264. "spaceLength": 10,
  1265. "stack": false,
  1266. "steppedLine": false,
  1267. "targets": [
  1268. {
  1269. "datasource": {
  1270. "uid": "$datasource"
  1271. },
  1272. "expr": "process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  1273. "format": "time_series",
  1274. "interval": "",
  1275. "intervalFactor": 2,
  1276. "legendFormat": "{{job}} {{index}}",
  1277. "refId": "A",
  1278. "step": 20,
  1279. "target": ""
  1280. },
  1281. {
  1282. "datasource": {
  1283. "uid": "$datasource"
  1284. },
  1285. "expr": "sum(process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})",
  1286. "interval": "",
  1287. "legendFormat": "total",
  1288. "refId": "B"
  1289. }
  1290. ],
  1291. "thresholds": [],
  1292. "timeRegions": [],
  1293. "title": "Memory",
  1294. "tooltip": {
  1295. "shared": false,
  1296. "sort": 0,
  1297. "value_type": "cumulative"
  1298. },
  1299. "transformations": [],
  1300. "type": "graph",
  1301. "xaxis": {
  1302. "mode": "time",
  1303. "show": true,
  1304. "values": []
  1305. },
  1306. "yaxes": [
  1307. {
  1308. "format": "bytes",
  1309. "logBase": 1,
  1310. "min": "0",
  1311. "show": true
  1312. },
  1313. {
  1314. "format": "short",
  1315. "logBase": 1,
  1316. "show": true
  1317. }
  1318. ],
  1319. "yaxis": {
  1320. "align": false
  1321. }
  1322. },
  1323. {
  1324. "aliasColors": {},
  1325. "bars": false,
  1326. "dashLength": 10,
  1327. "dashes": false,
  1328. "datasource": {
  1329. "uid": "$datasource"
  1330. },
  1331. "fieldConfig": {
  1332. "defaults": {
  1333. "links": []
  1334. },
  1335. "overrides": []
  1336. },
  1337. "fill": 1,
  1338. "fillGradient": 0,
  1339. "gridPos": {
  1340. "h": 7,
  1341. "w": 12,
  1342. "x": 12,
  1343. "y": 34
  1344. },
  1345. "hiddenSeries": false,
  1346. "id": 49,
  1347. "legend": {
  1348. "avg": false,
  1349. "current": false,
  1350. "max": false,
  1351. "min": false,
  1352. "show": true,
  1353. "total": false,
  1354. "values": false
  1355. },
  1356. "lines": true,
  1357. "linewidth": 1,
  1358. "links": [],
  1359. "nullPointMode": "null",
  1360. "options": {
  1361. "alertThreshold": true
  1362. },
  1363. "paceLength": 10,
  1364. "percentage": false,
  1365. "pluginVersion": "9.2.2",
  1366. "pointradius": 5,
  1367. "points": false,
  1368. "renderer": "flot",
  1369. "seriesOverrides": [
  1370. {
  1371. "alias": "/^up/",
  1372. "legend": false,
  1373. "yaxis": 2
  1374. }
  1375. ],
  1376. "spaceLength": 10,
  1377. "stack": false,
  1378. "steppedLine": false,
  1379. "targets": [
  1380. {
  1381. "datasource": {
  1382. "uid": "$datasource"
  1383. },
  1384. "expr": "scrape_duration_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  1385. "format": "time_series",
  1386. "interval": "",
  1387. "intervalFactor": 2,
  1388. "legendFormat": "{{job}}-{{index}}",
  1389. "refId": "A",
  1390. "step": 20
  1391. }
  1392. ],
  1393. "thresholds": [],
  1394. "timeRegions": [],
  1395. "title": "Prometheus scrape time",
  1396. "tooltip": {
  1397. "shared": false,
  1398. "sort": 0,
  1399. "value_type": "individual"
  1400. },
  1401. "type": "graph",
  1402. "xaxis": {
  1403. "mode": "time",
  1404. "show": true,
  1405. "values": []
  1406. },
  1407. "yaxes": [
  1408. {
  1409. "format": "s",
  1410. "logBase": 1,
  1411. "min": "0",
  1412. "show": true
  1413. },
  1414. {
  1415. "decimals": 0,
  1416. "format": "none",
  1417. "label": "",
  1418. "logBase": 1,
  1419. "max": "0",
  1420. "min": "-1",
  1421. "show": false
  1422. }
  1423. ],
  1424. "yaxis": {
  1425. "align": false
  1426. }
  1427. },
  1428. {
  1429. "aliasColors": {},
  1430. "bars": false,
  1431. "dashLength": 10,
  1432. "dashes": false,
  1433. "datasource": {
  1434. "type": "prometheus",
  1435. "uid": "$datasource"
  1436. },
  1437. "fieldConfig": {
  1438. "defaults": {
  1439. "links": []
  1440. },
  1441. "overrides": []
  1442. },
  1443. "fill": 0,
  1444. "fillGradient": 0,
  1445. "gridPos": {
  1446. "h": 7,
  1447. "w": 12,
  1448. "x": 0,
  1449. "y": 41
  1450. },
  1451. "hiddenSeries": false,
  1452. "id": 53,
  1453. "legend": {
  1454. "avg": false,
  1455. "current": false,
  1456. "max": false,
  1457. "min": false,
  1458. "show": true,
  1459. "total": false,
  1460. "values": false
  1461. },
  1462. "lines": true,
  1463. "linewidth": 1,
  1464. "links": [],
  1465. "nullPointMode": "null",
  1466. "options": {
  1467. "alertThreshold": true
  1468. },
  1469. "paceLength": 10,
  1470. "percentage": false,
  1471. "pluginVersion": "9.2.2",
  1472. "pointradius": 5,
  1473. "points": false,
  1474. "renderer": "flot",
  1475. "seriesOverrides": [
  1476. {
  1477. "$$hashKey": "object:116",
  1478. "alias": "/^version .*/",
  1479. "lines": true,
  1480. "linewidth": 6,
  1481. "points": false
  1482. }
  1483. ],
  1484. "spaceLength": 10,
  1485. "stack": false,
  1486. "steppedLine": false,
  1487. "targets": [
  1488. {
  1489. "datasource": {
  1490. "uid": "$datasource"
  1491. },
  1492. "editorMode": "code",
  1493. "expr": "min_over_time(up{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  1494. "format": "time_series",
  1495. "intervalFactor": 2,
  1496. "legendFormat": "{{job}}-{{index}}",
  1497. "range": true,
  1498. "refId": "A"
  1499. },
  1500. {
  1501. "datasource": {
  1502. "type": "prometheus",
  1503. "uid": "$datasource"
  1504. },
  1505. "editorMode": "code",
  1506. "expr": "synapse_build_info{instance=\"$instance\", job=\"synapse\"} - 1",
  1507. "hide": false,
  1508. "legendFormat": "version {{version}}",
  1509. "range": true,
  1510. "refId": "deployed_synapse_versions"
  1511. }
  1512. ],
  1513. "thresholds": [],
  1514. "timeRegions": [],
  1515. "title": "Up",
  1516. "tooltip": {
  1517. "shared": false,
  1518. "sort": 0,
  1519. "value_type": "individual"
  1520. },
  1521. "type": "graph",
  1522. "xaxis": {
  1523. "mode": "time",
  1524. "show": true,
  1525. "values": []
  1526. },
  1527. "yaxes": [
  1528. {
  1529. "format": "short",
  1530. "logBase": 1,
  1531. "show": true
  1532. },
  1533. {
  1534. "format": "short",
  1535. "logBase": 1,
  1536. "show": true
  1537. }
  1538. ],
  1539. "yaxis": {
  1540. "align": false
  1541. }
  1542. },
  1543. {
  1544. "aliasColors": {},
  1545. "bars": false,
  1546. "dashLength": 10,
  1547. "dashes": false,
  1548. "datasource": {
  1549. "uid": "$datasource"
  1550. },
  1551. "fieldConfig": {
  1552. "defaults": {
  1553. "links": []
  1554. },
  1555. "overrides": []
  1556. },
  1557. "fill": 1,
  1558. "fillGradient": 0,
  1559. "gridPos": {
  1560. "h": 7,
  1561. "w": 12,
  1562. "x": 12,
  1563. "y": 41
  1564. },
  1565. "hiddenSeries": false,
  1566. "id": 120,
  1567. "legend": {
  1568. "avg": false,
  1569. "current": false,
  1570. "max": false,
  1571. "min": false,
  1572. "show": true,
  1573. "total": false,
  1574. "values": false
  1575. },
  1576. "lines": true,
  1577. "linewidth": 1,
  1578. "links": [],
  1579. "nullPointMode": "null as zero",
  1580. "options": {
  1581. "alertThreshold": true
  1582. },
  1583. "percentage": false,
  1584. "pluginVersion": "9.2.2",
  1585. "pointradius": 2,
  1586. "points": false,
  1587. "renderer": "flot",
  1588. "seriesOverrides": [],
  1589. "spaceLength": 10,
  1590. "stack": true,
  1591. "steppedLine": false,
  1592. "targets": [
  1593. {
  1594. "datasource": {
  1595. "uid": "$datasource"
  1596. },
  1597. "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])",
  1598. "format": "time_series",
  1599. "hide": false,
  1600. "instant": false,
  1601. "intervalFactor": 1,
  1602. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  1603. "refId": "A"
  1604. },
  1605. {
  1606. "datasource": {
  1607. "uid": "$datasource"
  1608. },
  1609. "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])",
  1610. "format": "time_series",
  1611. "hide": false,
  1612. "instant": false,
  1613. "interval": "",
  1614. "intervalFactor": 1,
  1615. "legendFormat": "{{job}}-{{index}} {{name}}",
  1616. "refId": "B"
  1617. }
  1618. ],
  1619. "thresholds": [
  1620. {
  1621. "colorMode": "critical",
  1622. "fill": true,
  1623. "line": true,
  1624. "op": "gt",
  1625. "value": 1,
  1626. "yaxis": "left"
  1627. }
  1628. ],
  1629. "timeRegions": [],
  1630. "title": "Stacked CPU usage",
  1631. "tooltip": {
  1632. "shared": false,
  1633. "sort": 0,
  1634. "value_type": "individual"
  1635. },
  1636. "type": "graph",
  1637. "xaxis": {
  1638. "mode": "time",
  1639. "show": true,
  1640. "values": []
  1641. },
  1642. "yaxes": [
  1643. {
  1644. "$$hashKey": "object:572",
  1645. "format": "percentunit",
  1646. "logBase": 1,
  1647. "show": true
  1648. },
  1649. {
  1650. "$$hashKey": "object:573",
  1651. "format": "short",
  1652. "logBase": 1,
  1653. "show": true
  1654. }
  1655. ],
  1656. "yaxis": {
  1657. "align": false
  1658. }
  1659. },
  1660. {
  1661. "aliasColors": {},
  1662. "bars": false,
  1663. "dashLength": 10,
  1664. "dashes": false,
  1665. "datasource": {
  1666. "type": "prometheus",
  1667. "uid": "$datasource"
  1668. },
  1669. "fieldConfig": {
  1670. "defaults": {
  1671. "links": []
  1672. },
  1673. "overrides": []
  1674. },
  1675. "fill": 1,
  1676. "fillGradient": 0,
  1677. "gridPos": {
  1678. "h": 7,
  1679. "w": 12,
  1680. "x": 0,
  1681. "y": 48
  1682. },
  1683. "hiddenSeries": false,
  1684. "id": 136,
  1685. "interval": "",
  1686. "legend": {
  1687. "avg": false,
  1688. "current": false,
  1689. "max": false,
  1690. "min": false,
  1691. "show": true,
  1692. "total": false,
  1693. "values": false
  1694. },
  1695. "lines": true,
  1696. "linewidth": 1,
  1697. "nullPointMode": "null",
  1698. "options": {
  1699. "alertThreshold": true
  1700. },
  1701. "percentage": false,
  1702. "pluginVersion": "9.2.2",
  1703. "pointradius": 2,
  1704. "points": false,
  1705. "renderer": "flot",
  1706. "seriesOverrides": [],
  1707. "spaceLength": 10,
  1708. "stack": false,
  1709. "steppedLine": false,
  1710. "targets": [
  1711. {
  1712. "datasource": {
  1713. "uid": "$datasource"
  1714. },
  1715. "editorMode": "code",
  1716. "expr": "rate(synapse_http_client_requests_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  1717. "legendFormat": "{{job}}-{{index}} {{method}}",
  1718. "range": true,
  1719. "refId": "A"
  1720. },
  1721. {
  1722. "datasource": {
  1723. "uid": "$datasource"
  1724. },
  1725. "editorMode": "code",
  1726. "expr": "rate(synapse_http_matrixfederationclient_requests_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  1727. "legendFormat": "{{job}}-{{index}} {{method}} (federation)",
  1728. "range": true,
  1729. "refId": "B"
  1730. }
  1731. ],
  1732. "thresholds": [],
  1733. "timeRegions": [],
  1734. "title": "Outgoing HTTP request rate",
  1735. "tooltip": {
  1736. "shared": false,
  1737. "sort": 0,
  1738. "value_type": "individual"
  1739. },
  1740. "type": "graph",
  1741. "xaxis": {
  1742. "mode": "time",
  1743. "show": true,
  1744. "values": []
  1745. },
  1746. "yaxes": [
  1747. {
  1748. "$$hashKey": "object:123",
  1749. "format": "reqps",
  1750. "logBase": 1,
  1751. "show": true
  1752. },
  1753. {
  1754. "$$hashKey": "object:124",
  1755. "format": "short",
  1756. "logBase": 1,
  1757. "show": true
  1758. }
  1759. ],
  1760. "yaxis": {
  1761. "align": false
  1762. }
  1763. },
  1764. {
  1765. "datasource": {
  1766. "type": "prometheus",
  1767. "uid": "${DS_PROMETHEUS}"
  1768. },
  1769. "fieldConfig": {
  1770. "defaults": {
  1771. "color": {
  1772. "mode": "palette-classic"
  1773. },
  1774. "custom": {
  1775. "axisCenteredZero": false,
  1776. "axisColorMode": "text",
  1777. "axisLabel": "active threads",
  1778. "axisPlacement": "auto",
  1779. "barAlignment": 0,
  1780. "drawStyle": "line",
  1781. "fillOpacity": 0,
  1782. "gradientMode": "none",
  1783. "hideFrom": {
  1784. "legend": false,
  1785. "tooltip": false,
  1786. "viz": false
  1787. },
  1788. "lineInterpolation": "linear",
  1789. "lineWidth": 1,
  1790. "pointSize": 5,
  1791. "scaleDistribution": {
  1792. "type": "linear"
  1793. },
  1794. "showPoints": "auto",
  1795. "spanNulls": false,
  1796. "stacking": {
  1797. "group": "A",
  1798. "mode": "none"
  1799. },
  1800. "thresholdsStyle": {
  1801. "mode": "off"
  1802. }
  1803. },
  1804. "mappings": [],
  1805. "thresholds": {
  1806. "mode": "absolute",
  1807. "steps": [
  1808. {
  1809. "color": "green"
  1810. },
  1811. {
  1812. "color": "red",
  1813. "value": 80
  1814. }
  1815. ]
  1816. }
  1817. },
  1818. "overrides": []
  1819. },
  1820. "gridPos": {
  1821. "h": 7,
  1822. "w": 12,
  1823. "x": 12,
  1824. "y": 48
  1825. },
  1826. "id": 207,
  1827. "options": {
  1828. "legend": {
  1829. "calcs": [],
  1830. "displayMode": "list",
  1831. "placement": "bottom",
  1832. "showLegend": true
  1833. },
  1834. "tooltip": {
  1835. "mode": "single",
  1836. "sort": "none"
  1837. }
  1838. },
  1839. "targets": [
  1840. {
  1841. "datasource": {
  1842. "type": "prometheus",
  1843. "uid": "${DS_PROMETHEUS}"
  1844. },
  1845. "exemplar": true,
  1846. "expr": "synapse_threadpool_working_threads{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  1847. "interval": "",
  1848. "legendFormat": "{{job}}-{{index}} {{name}}",
  1849. "refId": "A"
  1850. }
  1851. ],
  1852. "title": "Threadpool activity",
  1853. "type": "timeseries"
  1854. }
  1855. ],
  1856. "targets": [
  1857. {
  1858. "datasource": {
  1859. "type": "prometheus",
  1860. "uid": "$datasource"
  1861. },
  1862. "refId": "A"
  1863. }
  1864. ],
  1865. "title": "Process info",
  1866. "type": "row"
  1867. },
  1868. {
  1869. "collapsed": true,
  1870. "datasource": {
  1871. "type": "prometheus",
  1872. "uid": "$datasource"
  1873. },
  1874. "gridPos": {
  1875. "h": 1,
  1876. "w": 24,
  1877. "x": 0,
  1878. "y": 27
  1879. },
  1880. "id": 56,
  1881. "panels": [
  1882. {
  1883. "cards": {
  1884. "cardPadding": -1,
  1885. "cardRound": 0
  1886. },
  1887. "color": {
  1888. "cardColor": "#b4ff00",
  1889. "colorScale": "sqrt",
  1890. "colorScheme": "interpolateInferno",
  1891. "exponent": 0.5,
  1892. "mode": "spectrum"
  1893. },
  1894. "dataFormat": "tsbuckets",
  1895. "datasource": {
  1896. "uid": "$datasource"
  1897. },
  1898. "fieldConfig": {
  1899. "defaults": {
  1900. "custom": {
  1901. "hideFrom": {
  1902. "legend": false,
  1903. "tooltip": false,
  1904. "viz": false
  1905. },
  1906. "scaleDistribution": {
  1907. "type": "linear"
  1908. }
  1909. }
  1910. },
  1911. "overrides": []
  1912. },
  1913. "gridPos": {
  1914. "h": 9,
  1915. "w": 12,
  1916. "x": 0,
  1917. "y": 28
  1918. },
  1919. "heatmap": {},
  1920. "hideZeroBuckets": false,
  1921. "highlightCards": true,
  1922. "id": 85,
  1923. "legend": {
  1924. "show": false
  1925. },
  1926. "links": [],
  1927. "options": {
  1928. "calculate": false,
  1929. "calculation": {},
  1930. "cellGap": -1,
  1931. "cellRadius": 0,
  1932. "cellValues": {},
  1933. "color": {
  1934. "exponent": 0.5,
  1935. "fill": "#b4ff00",
  1936. "mode": "scheme",
  1937. "reverse": false,
  1938. "scale": "exponential",
  1939. "scheme": "Inferno",
  1940. "steps": 128
  1941. },
  1942. "exemplars": {
  1943. "color": "rgba(255,0,255,0.7)"
  1944. },
  1945. "filterValues": {
  1946. "le": 1e-9
  1947. },
  1948. "legend": {
  1949. "show": false
  1950. },
  1951. "rowsFrame": {
  1952. "layout": "auto"
  1953. },
  1954. "showValue": "never",
  1955. "tooltip": {
  1956. "show": true,
  1957. "yHistogram": true
  1958. },
  1959. "yAxis": {
  1960. "axisPlacement": "left",
  1961. "reverse": false,
  1962. "unit": "s"
  1963. }
  1964. },
  1965. "pluginVersion": "9.2.2",
  1966. "reverseYBuckets": false,
  1967. "targets": [
  1968. {
  1969. "datasource": {
  1970. "uid": "$datasource"
  1971. },
  1972. "expr": "sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\"}[$bucket_size])) by (le)",
  1973. "format": "heatmap",
  1974. "intervalFactor": 1,
  1975. "legendFormat": "{{le}}",
  1976. "refId": "A"
  1977. }
  1978. ],
  1979. "title": "Event Send Time (Including errors, across all workers)",
  1980. "tooltip": {
  1981. "show": true,
  1982. "showHistogram": true
  1983. },
  1984. "type": "heatmap",
  1985. "xAxis": {
  1986. "show": true
  1987. },
  1988. "yAxis": {
  1989. "format": "s",
  1990. "logBase": 2,
  1991. "show": true
  1992. },
  1993. "yBucketBound": "auto"
  1994. },
  1995. {
  1996. "aliasColors": {},
  1997. "bars": false,
  1998. "dashLength": 10,
  1999. "dashes": false,
  2000. "datasource": {
  2001. "uid": "$datasource"
  2002. },
  2003. "description": "",
  2004. "editable": true,
  2005. "error": false,
  2006. "fieldConfig": {
  2007. "defaults": {
  2008. "links": []
  2009. },
  2010. "overrides": []
  2011. },
  2012. "fill": 1,
  2013. "fillGradient": 0,
  2014. "grid": {},
  2015. "gridPos": {
  2016. "h": 9,
  2017. "w": 12,
  2018. "x": 12,
  2019. "y": 28
  2020. },
  2021. "hiddenSeries": false,
  2022. "id": 33,
  2023. "legend": {
  2024. "avg": false,
  2025. "current": false,
  2026. "max": false,
  2027. "min": false,
  2028. "show": false,
  2029. "total": false,
  2030. "values": false
  2031. },
  2032. "lines": true,
  2033. "linewidth": 2,
  2034. "links": [],
  2035. "nullPointMode": "null",
  2036. "options": {
  2037. "alertThreshold": true
  2038. },
  2039. "paceLength": 10,
  2040. "percentage": false,
  2041. "pluginVersion": "9.2.2",
  2042. "pointradius": 5,
  2043. "points": false,
  2044. "renderer": "flot",
  2045. "seriesOverrides": [],
  2046. "spaceLength": 10,
  2047. "stack": false,
  2048. "steppedLine": false,
  2049. "targets": [
  2050. {
  2051. "datasource": {
  2052. "uid": "$datasource"
  2053. },
  2054. "expr": "sum(rate(synapse_storage_events_persisted_events_total{instance=\"$instance\"}[$bucket_size])) without (job,index)",
  2055. "format": "time_series",
  2056. "interval": "",
  2057. "intervalFactor": 2,
  2058. "legendFormat": "",
  2059. "refId": "A",
  2060. "step": 20,
  2061. "target": ""
  2062. }
  2063. ],
  2064. "thresholds": [],
  2065. "timeRegions": [],
  2066. "title": "Events Persisted (all workers)",
  2067. "tooltip": {
  2068. "shared": true,
  2069. "sort": 0,
  2070. "value_type": "cumulative"
  2071. },
  2072. "type": "graph",
  2073. "xaxis": {
  2074. "mode": "time",
  2075. "show": true,
  2076. "values": []
  2077. },
  2078. "yaxes": [
  2079. {
  2080. "$$hashKey": "object:102",
  2081. "format": "hertz",
  2082. "logBase": 1,
  2083. "show": true
  2084. },
  2085. {
  2086. "$$hashKey": "object:103",
  2087. "format": "short",
  2088. "logBase": 1,
  2089. "show": true
  2090. }
  2091. ],
  2092. "yaxis": {
  2093. "align": false
  2094. }
  2095. },
  2096. {
  2097. "aliasColors": {},
  2098. "bars": false,
  2099. "dashLength": 10,
  2100. "dashes": false,
  2101. "datasource": {
  2102. "uid": "$datasource"
  2103. },
  2104. "decimals": 1,
  2105. "fill": 1,
  2106. "fillGradient": 0,
  2107. "gridPos": {
  2108. "h": 7,
  2109. "w": 12,
  2110. "x": 0,
  2111. "y": 37
  2112. },
  2113. "hiddenSeries": false,
  2114. "id": 40,
  2115. "legend": {
  2116. "avg": false,
  2117. "current": false,
  2118. "max": false,
  2119. "min": false,
  2120. "show": true,
  2121. "total": false,
  2122. "values": false
  2123. },
  2124. "lines": true,
  2125. "linewidth": 1,
  2126. "links": [],
  2127. "nullPointMode": "null",
  2128. "options": {
  2129. "alertThreshold": true
  2130. },
  2131. "percentage": false,
  2132. "pluginVersion": "9.2.2",
  2133. "pointradius": 5,
  2134. "points": false,
  2135. "renderer": "flot",
  2136. "seriesOverrides": [],
  2137. "spaceLength": 10,
  2138. "stack": false,
  2139. "steppedLine": false,
  2140. "targets": [
  2141. {
  2142. "datasource": {
  2143. "uid": "$datasource"
  2144. },
  2145. "expr": "rate(synapse_storage_events_persisted_by_source_type{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  2146. "format": "time_series",
  2147. "intervalFactor": 2,
  2148. "legendFormat": "{{type}}",
  2149. "refId": "D"
  2150. }
  2151. ],
  2152. "thresholds": [],
  2153. "timeRegions": [],
  2154. "title": "Events/s Local vs Remote",
  2155. "tooltip": {
  2156. "shared": true,
  2157. "sort": 2,
  2158. "value_type": "individual"
  2159. },
  2160. "type": "graph",
  2161. "xaxis": {
  2162. "mode": "time",
  2163. "show": true,
  2164. "values": []
  2165. },
  2166. "yaxes": [
  2167. {
  2168. "format": "hertz",
  2169. "label": "",
  2170. "logBase": 1,
  2171. "min": "0",
  2172. "show": true
  2173. },
  2174. {
  2175. "format": "short",
  2176. "logBase": 1,
  2177. "show": true
  2178. }
  2179. ],
  2180. "yaxis": {
  2181. "align": false
  2182. }
  2183. },
  2184. {
  2185. "aliasColors": {},
  2186. "bars": false,
  2187. "dashLength": 10,
  2188. "dashes": false,
  2189. "datasource": {
  2190. "uid": "$datasource"
  2191. },
  2192. "decimals": 1,
  2193. "fill": 1,
  2194. "fillGradient": 0,
  2195. "gridPos": {
  2196. "h": 7,
  2197. "w": 12,
  2198. "x": 12,
  2199. "y": 37
  2200. },
  2201. "hiddenSeries": false,
  2202. "id": 46,
  2203. "legend": {
  2204. "avg": false,
  2205. "current": false,
  2206. "max": false,
  2207. "min": false,
  2208. "show": true,
  2209. "total": false,
  2210. "values": false
  2211. },
  2212. "lines": true,
  2213. "linewidth": 1,
  2214. "links": [],
  2215. "nullPointMode": "null",
  2216. "options": {
  2217. "alertThreshold": true
  2218. },
  2219. "percentage": false,
  2220. "pluginVersion": "9.2.2",
  2221. "pointradius": 5,
  2222. "points": false,
  2223. "renderer": "flot",
  2224. "seriesOverrides": [],
  2225. "spaceLength": 10,
  2226. "stack": false,
  2227. "steppedLine": false,
  2228. "targets": [
  2229. {
  2230. "datasource": {
  2231. "uid": "$datasource"
  2232. },
  2233. "expr": "rate(synapse_storage_events_persisted_by_event_type{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  2234. "format": "time_series",
  2235. "instant": false,
  2236. "intervalFactor": 2,
  2237. "legendFormat": "{{type}}",
  2238. "refId": "A",
  2239. "step": 20
  2240. }
  2241. ],
  2242. "thresholds": [],
  2243. "timeRegions": [],
  2244. "title": "Events/s by Type",
  2245. "tooltip": {
  2246. "shared": false,
  2247. "sort": 2,
  2248. "value_type": "individual"
  2249. },
  2250. "type": "graph",
  2251. "xaxis": {
  2252. "mode": "time",
  2253. "show": true,
  2254. "values": []
  2255. },
  2256. "yaxes": [
  2257. {
  2258. "format": "hertz",
  2259. "logBase": 1,
  2260. "min": "0",
  2261. "show": true
  2262. },
  2263. {
  2264. "format": "short",
  2265. "logBase": 1,
  2266. "show": true
  2267. }
  2268. ],
  2269. "yaxis": {
  2270. "align": false
  2271. }
  2272. },
  2273. {
  2274. "aliasColors": {
  2275. "irc-freenode (local)": "#EAB839"
  2276. },
  2277. "bars": false,
  2278. "dashLength": 10,
  2279. "dashes": false,
  2280. "datasource": {
  2281. "uid": "$datasource"
  2282. },
  2283. "decimals": 1,
  2284. "fill": 1,
  2285. "fillGradient": 0,
  2286. "gridPos": {
  2287. "h": 7,
  2288. "w": 12,
  2289. "x": 0,
  2290. "y": 44
  2291. },
  2292. "hiddenSeries": false,
  2293. "id": 44,
  2294. "legend": {
  2295. "alignAsTable": true,
  2296. "avg": false,
  2297. "current": false,
  2298. "hideEmpty": true,
  2299. "hideZero": true,
  2300. "max": false,
  2301. "min": false,
  2302. "show": true,
  2303. "total": false,
  2304. "values": false
  2305. },
  2306. "lines": true,
  2307. "linewidth": 1,
  2308. "links": [],
  2309. "nullPointMode": "null",
  2310. "options": {
  2311. "alertThreshold": true
  2312. },
  2313. "percentage": false,
  2314. "pluginVersion": "9.2.2",
  2315. "pointradius": 5,
  2316. "points": false,
  2317. "renderer": "flot",
  2318. "seriesOverrides": [],
  2319. "spaceLength": 10,
  2320. "stack": false,
  2321. "steppedLine": false,
  2322. "targets": [
  2323. {
  2324. "datasource": {
  2325. "uid": "$datasource"
  2326. },
  2327. "expr": "rate(synapse_storage_events_persisted_by_origin{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  2328. "format": "time_series",
  2329. "intervalFactor": 2,
  2330. "legendFormat": "{{origin_entity}} ({{origin_type}})",
  2331. "refId": "A",
  2332. "step": 20
  2333. }
  2334. ],
  2335. "thresholds": [],
  2336. "timeRegions": [],
  2337. "title": "Events/s by Origin",
  2338. "tooltip": {
  2339. "shared": false,
  2340. "sort": 2,
  2341. "value_type": "individual"
  2342. },
  2343. "type": "graph",
  2344. "xaxis": {
  2345. "mode": "time",
  2346. "show": true,
  2347. "values": []
  2348. },
  2349. "yaxes": [
  2350. {
  2351. "format": "hertz",
  2352. "logBase": 1,
  2353. "min": "0",
  2354. "show": true
  2355. },
  2356. {
  2357. "format": "short",
  2358. "logBase": 1,
  2359. "show": true
  2360. }
  2361. ],
  2362. "yaxis": {
  2363. "align": false
  2364. }
  2365. },
  2366. {
  2367. "aliasColors": {},
  2368. "bars": false,
  2369. "dashLength": 10,
  2370. "dashes": false,
  2371. "datasource": {
  2372. "type": "prometheus",
  2373. "uid": "$datasource"
  2374. },
  2375. "decimals": 1,
  2376. "fill": 1,
  2377. "fillGradient": 0,
  2378. "gridPos": {
  2379. "h": 7,
  2380. "w": 12,
  2381. "x": 12,
  2382. "y": 44
  2383. },
  2384. "hiddenSeries": false,
  2385. "id": 45,
  2386. "legend": {
  2387. "alignAsTable": true,
  2388. "avg": false,
  2389. "current": false,
  2390. "hideEmpty": true,
  2391. "hideZero": true,
  2392. "max": false,
  2393. "min": false,
  2394. "show": true,
  2395. "total": false,
  2396. "values": false
  2397. },
  2398. "lines": true,
  2399. "linewidth": 1,
  2400. "links": [],
  2401. "nullPointMode": "null",
  2402. "options": {
  2403. "alertThreshold": true
  2404. },
  2405. "percentage": false,
  2406. "pluginVersion": "9.2.2",
  2407. "pointradius": 5,
  2408. "points": false,
  2409. "renderer": "flot",
  2410. "seriesOverrides": [],
  2411. "spaceLength": 10,
  2412. "stack": false,
  2413. "steppedLine": false,
  2414. "targets": [
  2415. {
  2416. "datasource": {
  2417. "uid": "$datasource"
  2418. },
  2419. "editorMode": "code",
  2420. "expr": "sum(rate(synapse_storage_events_persisted_events_sep_total{job=~\"$job\",index=~\"$index\", type=\"m.room.member\",instance=\"$instance\", origin_type=\"local\"}[$bucket_size])) by (origin_type, origin_entity)",
  2421. "format": "time_series",
  2422. "intervalFactor": 2,
  2423. "legendFormat": "{{origin_entity}} ({{origin_type}})",
  2424. "range": true,
  2425. "refId": "A",
  2426. "step": 20
  2427. }
  2428. ],
  2429. "thresholds": [],
  2430. "timeRegions": [],
  2431. "title": "Memberships/s by Origin",
  2432. "tooltip": {
  2433. "shared": true,
  2434. "sort": 2,
  2435. "value_type": "individual"
  2436. },
  2437. "type": "graph",
  2438. "xaxis": {
  2439. "mode": "time",
  2440. "show": true,
  2441. "values": []
  2442. },
  2443. "yaxes": [
  2444. {
  2445. "$$hashKey": "object:232",
  2446. "format": "hertz",
  2447. "logBase": 1,
  2448. "min": "0",
  2449. "show": true
  2450. },
  2451. {
  2452. "$$hashKey": "object:233",
  2453. "format": "short",
  2454. "logBase": 1,
  2455. "show": true
  2456. }
  2457. ],
  2458. "yaxis": {
  2459. "align": false
  2460. }
  2461. },
  2462. {
  2463. "aliasColors": {},
  2464. "bars": false,
  2465. "dashLength": 10,
  2466. "dashes": false,
  2467. "datasource": {
  2468. "type": "prometheus",
  2469. "uid": "${DS_PROMETHEUS}"
  2470. },
  2471. "fieldConfig": {
  2472. "defaults": {
  2473. "links": []
  2474. },
  2475. "overrides": []
  2476. },
  2477. "fill": 0,
  2478. "fillGradient": 0,
  2479. "gridPos": {
  2480. "h": 9,
  2481. "w": 12,
  2482. "x": 0,
  2483. "y": 51
  2484. },
  2485. "hiddenSeries": false,
  2486. "id": 118,
  2487. "legend": {
  2488. "avg": false,
  2489. "current": false,
  2490. "max": false,
  2491. "min": false,
  2492. "show": true,
  2493. "total": false,
  2494. "values": false
  2495. },
  2496. "lines": true,
  2497. "linewidth": 1,
  2498. "links": [],
  2499. "nullPointMode": "null",
  2500. "options": {
  2501. "alertThreshold": true
  2502. },
  2503. "paceLength": 10,
  2504. "percentage": false,
  2505. "pluginVersion": "9.2.2",
  2506. "pointradius": 5,
  2507. "points": false,
  2508. "renderer": "flot",
  2509. "repeatDirection": "h",
  2510. "seriesOverrides": [
  2511. {
  2512. "$$hashKey": "object:316",
  2513. "alias": "mean",
  2514. "linewidth": 2
  2515. }
  2516. ],
  2517. "spaceLength": 10,
  2518. "stack": false,
  2519. "steppedLine": false,
  2520. "targets": [
  2521. {
  2522. "datasource": {
  2523. "type": "prometheus",
  2524. "uid": "${DS_PROMETHEUS}"
  2525. },
  2526. "exemplar": true,
  2527. "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))",
  2528. "format": "time_series",
  2529. "interval": "",
  2530. "intervalFactor": 1,
  2531. "legendFormat": "{{job}}-{{index}} 99%",
  2532. "refId": "A"
  2533. },
  2534. {
  2535. "datasource": {
  2536. "type": "prometheus",
  2537. "uid": "${DS_PROMETHEUS}"
  2538. },
  2539. "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))",
  2540. "format": "time_series",
  2541. "interval": "",
  2542. "intervalFactor": 1,
  2543. "legendFormat": "{{job}}-{{index}} 95%",
  2544. "refId": "B"
  2545. },
  2546. {
  2547. "datasource": {
  2548. "type": "prometheus",
  2549. "uid": "${DS_PROMETHEUS}"
  2550. },
  2551. "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))",
  2552. "format": "time_series",
  2553. "intervalFactor": 1,
  2554. "legendFormat": "{{job}}-{{index}} 90%",
  2555. "refId": "C"
  2556. },
  2557. {
  2558. "datasource": {
  2559. "type": "prometheus",
  2560. "uid": "${DS_PROMETHEUS}"
  2561. },
  2562. "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))",
  2563. "format": "time_series",
  2564. "intervalFactor": 1,
  2565. "legendFormat": "{{job}}-{{index}} 50%",
  2566. "refId": "D"
  2567. },
  2568. {
  2569. "datasource": {
  2570. "type": "prometheus",
  2571. "uid": "${DS_PROMETHEUS}"
  2572. },
  2573. "editorMode": "code",
  2574. "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)",
  2575. "format": "time_series",
  2576. "intervalFactor": 1,
  2577. "legendFormat": "{{job}}-{{index}} mean",
  2578. "range": true,
  2579. "refId": "E"
  2580. }
  2581. ],
  2582. "thresholds": [],
  2583. "timeRegions": [],
  2584. "title": "Event send time quantiles by worker",
  2585. "tooltip": {
  2586. "shared": true,
  2587. "sort": 0,
  2588. "value_type": "individual"
  2589. },
  2590. "type": "graph",
  2591. "xaxis": {
  2592. "mode": "time",
  2593. "show": true,
  2594. "values": []
  2595. },
  2596. "yaxes": [
  2597. {
  2598. "$$hashKey": "object:263",
  2599. "format": "s",
  2600. "logBase": 1,
  2601. "show": true
  2602. },
  2603. {
  2604. "$$hashKey": "object:264",
  2605. "format": "short",
  2606. "logBase": 1,
  2607. "show": true
  2608. }
  2609. ],
  2610. "yaxis": {
  2611. "align": false
  2612. }
  2613. },
  2614. {
  2615. "datasource": {
  2616. "type": "prometheus",
  2617. "uid": "$datasource"
  2618. },
  2619. "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",
  2620. "fieldConfig": {
  2621. "defaults": {
  2622. "color": {
  2623. "mode": "palette-classic"
  2624. },
  2625. "custom": {
  2626. "axisCenteredZero": false,
  2627. "axisColorMode": "text",
  2628. "axisLabel": "",
  2629. "axisPlacement": "auto",
  2630. "barAlignment": 0,
  2631. "drawStyle": "line",
  2632. "fillOpacity": 30,
  2633. "gradientMode": "none",
  2634. "hideFrom": {
  2635. "legend": false,
  2636. "tooltip": false,
  2637. "viz": false
  2638. },
  2639. "lineInterpolation": "linear",
  2640. "lineWidth": 1,
  2641. "pointSize": 5,
  2642. "scaleDistribution": {
  2643. "type": "linear"
  2644. },
  2645. "showPoints": "auto",
  2646. "spanNulls": false,
  2647. "stacking": {
  2648. "group": "A",
  2649. "mode": "normal"
  2650. },
  2651. "thresholdsStyle": {
  2652. "mode": "off"
  2653. }
  2654. },
  2655. "mappings": [],
  2656. "thresholds": {
  2657. "mode": "absolute",
  2658. "steps": [
  2659. {
  2660. "color": "green"
  2661. },
  2662. {
  2663. "color": "red",
  2664. "value": 80
  2665. }
  2666. ]
  2667. },
  2668. "unit": "s/s"
  2669. },
  2670. "overrides": []
  2671. },
  2672. "gridPos": {
  2673. "h": 9,
  2674. "w": 12,
  2675. "x": 12,
  2676. "y": 51
  2677. },
  2678. "id": 222,
  2679. "options": {
  2680. "legend": {
  2681. "calcs": [],
  2682. "displayMode": "list",
  2683. "placement": "bottom",
  2684. "showLegend": false
  2685. },
  2686. "tooltip": {
  2687. "mode": "multi",
  2688. "sort": "none"
  2689. }
  2690. },
  2691. "targets": [
  2692. {
  2693. "datasource": {
  2694. "type": "prometheus",
  2695. "uid": "$datasource"
  2696. },
  2697. "exemplar": false,
  2698. "expr": "sum(rate(synapse_state_res_db_for_biggest_room_seconds_total{instance=\"$instance\"}[1m]))",
  2699. "format": "time_series",
  2700. "hide": false,
  2701. "instant": false,
  2702. "interval": "",
  2703. "legendFormat": "DB time",
  2704. "refId": "B"
  2705. },
  2706. {
  2707. "datasource": {
  2708. "type": "prometheus",
  2709. "uid": "$datasource"
  2710. },
  2711. "exemplar": false,
  2712. "expr": "sum(rate(synapse_state_res_cpu_for_biggest_room_seconds_total{instance=\"$instance\"}[1m]))",
  2713. "format": "time_series",
  2714. "hide": false,
  2715. "instant": false,
  2716. "interval": "",
  2717. "legendFormat": "CPU time",
  2718. "refId": "C"
  2719. }
  2720. ],
  2721. "title": "Stateres worst-case",
  2722. "type": "timeseries"
  2723. }
  2724. ],
  2725. "targets": [
  2726. {
  2727. "datasource": {
  2728. "type": "prometheus",
  2729. "uid": "$datasource"
  2730. },
  2731. "refId": "A"
  2732. }
  2733. ],
  2734. "title": "Event persistence",
  2735. "type": "row"
  2736. },
  2737. {
  2738. "collapsed": true,
  2739. "datasource": {
  2740. "type": "prometheus",
  2741. "uid": "$datasource"
  2742. },
  2743. "gridPos": {
  2744. "h": 1,
  2745. "w": 24,
  2746. "x": 0,
  2747. "y": 28
  2748. },
  2749. "id": 57,
  2750. "panels": [
  2751. {
  2752. "aliasColors": {},
  2753. "bars": false,
  2754. "dashLength": 10,
  2755. "dashes": false,
  2756. "datasource": {
  2757. "type": "prometheus",
  2758. "uid": "$datasource"
  2759. },
  2760. "editable": true,
  2761. "error": false,
  2762. "fieldConfig": {
  2763. "defaults": {
  2764. "links": []
  2765. },
  2766. "overrides": []
  2767. },
  2768. "fill": 2,
  2769. "fillGradient": 0,
  2770. "grid": {},
  2771. "gridPos": {
  2772. "h": 8,
  2773. "w": 12,
  2774. "x": 0,
  2775. "y": 29
  2776. },
  2777. "hiddenSeries": false,
  2778. "id": 4,
  2779. "legend": {
  2780. "alignAsTable": true,
  2781. "avg": false,
  2782. "current": false,
  2783. "hideEmpty": false,
  2784. "hideZero": true,
  2785. "max": false,
  2786. "min": false,
  2787. "rightSide": false,
  2788. "show": true,
  2789. "total": false,
  2790. "values": false
  2791. },
  2792. "lines": true,
  2793. "linewidth": 1,
  2794. "links": [],
  2795. "nullPointMode": "null",
  2796. "options": {
  2797. "alertThreshold": true
  2798. },
  2799. "percentage": false,
  2800. "pluginVersion": "9.2.2",
  2801. "pointradius": 5,
  2802. "points": false,
  2803. "renderer": "flot",
  2804. "seriesOverrides": [],
  2805. "spaceLength": 10,
  2806. "stack": false,
  2807. "steppedLine": false,
  2808. "targets": [
  2809. {
  2810. "datasource": {
  2811. "uid": "$datasource"
  2812. },
  2813. "expr": "rate(synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  2814. "format": "time_series",
  2815. "interval": "",
  2816. "intervalFactor": 2,
  2817. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  2818. "refId": "A",
  2819. "step": 20
  2820. }
  2821. ],
  2822. "thresholds": [
  2823. {
  2824. "$$hashKey": "object:234",
  2825. "colorMode": "custom",
  2826. "fill": true,
  2827. "fillColor": "rgba(216, 200, 27, 0.27)",
  2828. "op": "gt",
  2829. "value": 100,
  2830. "yaxis": "left"
  2831. },
  2832. {
  2833. "$$hashKey": "object:235",
  2834. "colorMode": "custom",
  2835. "fill": true,
  2836. "fillColor": "rgba(234, 112, 112, 0.22)",
  2837. "op": "gt",
  2838. "value": 250,
  2839. "yaxis": "left"
  2840. }
  2841. ],
  2842. "timeRegions": [],
  2843. "title": "Request Count by arrival time",
  2844. "tooltip": {
  2845. "shared": false,
  2846. "sort": 2,
  2847. "value_type": "individual"
  2848. },
  2849. "type": "graph",
  2850. "xaxis": {
  2851. "mode": "time",
  2852. "show": true,
  2853. "values": []
  2854. },
  2855. "yaxes": [
  2856. {
  2857. "$$hashKey": "object:206",
  2858. "format": "hertz",
  2859. "logBase": 1,
  2860. "show": true
  2861. },
  2862. {
  2863. "$$hashKey": "object:207",
  2864. "format": "short",
  2865. "logBase": 1,
  2866. "show": true
  2867. }
  2868. ],
  2869. "yaxis": {
  2870. "align": false
  2871. }
  2872. },
  2873. {
  2874. "aliasColors": {},
  2875. "bars": false,
  2876. "dashLength": 10,
  2877. "dashes": false,
  2878. "datasource": {
  2879. "type": "prometheus",
  2880. "uid": "$datasource"
  2881. },
  2882. "editable": true,
  2883. "error": false,
  2884. "fieldConfig": {
  2885. "defaults": {
  2886. "links": []
  2887. },
  2888. "overrides": []
  2889. },
  2890. "fill": 1,
  2891. "fillGradient": 0,
  2892. "grid": {},
  2893. "gridPos": {
  2894. "h": 8,
  2895. "w": 12,
  2896. "x": 12,
  2897. "y": 29
  2898. },
  2899. "hiddenSeries": false,
  2900. "id": 32,
  2901. "legend": {
  2902. "avg": false,
  2903. "current": false,
  2904. "max": false,
  2905. "min": false,
  2906. "show": true,
  2907. "total": false,
  2908. "values": false
  2909. },
  2910. "lines": true,
  2911. "linewidth": 2,
  2912. "links": [],
  2913. "nullPointMode": "null",
  2914. "options": {
  2915. "alertThreshold": true
  2916. },
  2917. "percentage": false,
  2918. "pluginVersion": "9.2.2",
  2919. "pointradius": 5,
  2920. "points": false,
  2921. "renderer": "flot",
  2922. "seriesOverrides": [],
  2923. "spaceLength": 10,
  2924. "stack": false,
  2925. "steppedLine": false,
  2926. "targets": [
  2927. {
  2928. "datasource": {
  2929. "uid": "$datasource"
  2930. },
  2931. "expr": "rate(synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\",method!=\"OPTIONS\"}[$bucket_size]) and topk(10,synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",method!=\"OPTIONS\"})",
  2932. "format": "time_series",
  2933. "intervalFactor": 2,
  2934. "legendFormat": "{{method}} {{servlet}} {{job}}-{{index}}",
  2935. "refId": "A",
  2936. "step": 20,
  2937. "target": ""
  2938. }
  2939. ],
  2940. "thresholds": [],
  2941. "timeRegions": [],
  2942. "title": "Top 10 Request Counts",
  2943. "tooltip": {
  2944. "shared": false,
  2945. "sort": 2,
  2946. "value_type": "cumulative"
  2947. },
  2948. "type": "graph",
  2949. "xaxis": {
  2950. "mode": "time",
  2951. "show": true,
  2952. "values": []
  2953. },
  2954. "yaxes": [
  2955. {
  2956. "$$hashKey": "object:305",
  2957. "format": "hertz",
  2958. "logBase": 1,
  2959. "show": true
  2960. },
  2961. {
  2962. "$$hashKey": "object:306",
  2963. "format": "short",
  2964. "logBase": 1,
  2965. "show": true
  2966. }
  2967. ],
  2968. "yaxis": {
  2969. "align": false
  2970. }
  2971. },
  2972. {
  2973. "aliasColors": {},
  2974. "bars": false,
  2975. "dashLength": 10,
  2976. "dashes": false,
  2977. "datasource": {
  2978. "type": "prometheus",
  2979. "uid": "$datasource"
  2980. },
  2981. "editable": true,
  2982. "error": false,
  2983. "fieldConfig": {
  2984. "defaults": {
  2985. "links": []
  2986. },
  2987. "overrides": []
  2988. },
  2989. "fill": 2,
  2990. "fillGradient": 0,
  2991. "grid": {},
  2992. "gridPos": {
  2993. "h": 8,
  2994. "w": 12,
  2995. "x": 0,
  2996. "y": 37
  2997. },
  2998. "hiddenSeries": false,
  2999. "id": 139,
  3000. "legend": {
  3001. "alignAsTable": true,
  3002. "avg": false,
  3003. "current": false,
  3004. "hideEmpty": false,
  3005. "hideZero": true,
  3006. "max": false,
  3007. "min": false,
  3008. "rightSide": false,
  3009. "show": true,
  3010. "total": false,
  3011. "values": false
  3012. },
  3013. "lines": true,
  3014. "linewidth": 1,
  3015. "links": [],
  3016. "nullPointMode": "null",
  3017. "options": {
  3018. "alertThreshold": true
  3019. },
  3020. "percentage": false,
  3021. "pluginVersion": "9.2.2",
  3022. "pointradius": 5,
  3023. "points": false,
  3024. "renderer": "flot",
  3025. "seriesOverrides": [],
  3026. "spaceLength": 10,
  3027. "stack": false,
  3028. "steppedLine": false,
  3029. "targets": [
  3030. {
  3031. "datasource": {
  3032. "uid": "$datasource"
  3033. },
  3034. "expr": "rate(synapse_http_server_in_flight_requests_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_http_server_in_flight_requests_ru_stime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  3035. "format": "time_series",
  3036. "interval": "",
  3037. "intervalFactor": 1,
  3038. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  3039. "refId": "A",
  3040. "step": 20
  3041. }
  3042. ],
  3043. "thresholds": [
  3044. {
  3045. "$$hashKey": "object:135",
  3046. "colorMode": "custom",
  3047. "fill": true,
  3048. "fillColor": "rgba(216, 200, 27, 0.27)",
  3049. "op": "gt",
  3050. "value": 100,
  3051. "yaxis": "left"
  3052. },
  3053. {
  3054. "$$hashKey": "object:136",
  3055. "colorMode": "custom",
  3056. "fill": true,
  3057. "fillColor": "rgba(234, 112, 112, 0.22)",
  3058. "op": "gt",
  3059. "value": 250,
  3060. "yaxis": "left"
  3061. }
  3062. ],
  3063. "timeRegions": [],
  3064. "title": "Total CPU Usage by Endpoint",
  3065. "tooltip": {
  3066. "shared": false,
  3067. "sort": 2,
  3068. "value_type": "individual"
  3069. },
  3070. "type": "graph",
  3071. "xaxis": {
  3072. "mode": "time",
  3073. "show": true,
  3074. "values": []
  3075. },
  3076. "yaxes": [
  3077. {
  3078. "$$hashKey": "object:107",
  3079. "format": "percentunit",
  3080. "logBase": 1,
  3081. "show": true
  3082. },
  3083. {
  3084. "$$hashKey": "object:108",
  3085. "format": "short",
  3086. "logBase": 1,
  3087. "show": true
  3088. }
  3089. ],
  3090. "yaxis": {
  3091. "align": false
  3092. }
  3093. },
  3094. {
  3095. "aliasColors": {},
  3096. "bars": false,
  3097. "dashLength": 10,
  3098. "dashes": false,
  3099. "datasource": {
  3100. "type": "prometheus",
  3101. "uid": "$datasource"
  3102. },
  3103. "editable": true,
  3104. "error": false,
  3105. "fieldConfig": {
  3106. "defaults": {
  3107. "links": []
  3108. },
  3109. "overrides": []
  3110. },
  3111. "fill": 0,
  3112. "fillGradient": 0,
  3113. "grid": {},
  3114. "gridPos": {
  3115. "h": 8,
  3116. "w": 12,
  3117. "x": 12,
  3118. "y": 37
  3119. },
  3120. "hiddenSeries": false,
  3121. "id": 52,
  3122. "legend": {
  3123. "alignAsTable": true,
  3124. "avg": false,
  3125. "current": false,
  3126. "hideEmpty": false,
  3127. "hideZero": true,
  3128. "max": false,
  3129. "min": false,
  3130. "rightSide": false,
  3131. "show": true,
  3132. "total": false,
  3133. "values": false
  3134. },
  3135. "lines": true,
  3136. "linewidth": 1,
  3137. "links": [],
  3138. "nullPointMode": "null",
  3139. "options": {
  3140. "alertThreshold": true
  3141. },
  3142. "percentage": false,
  3143. "pluginVersion": "9.2.2",
  3144. "pointradius": 5,
  3145. "points": false,
  3146. "renderer": "flot",
  3147. "seriesOverrides": [],
  3148. "spaceLength": 10,
  3149. "stack": false,
  3150. "steppedLine": false,
  3151. "targets": [
  3152. {
  3153. "datasource": {
  3154. "uid": "$datasource"
  3155. },
  3156. "expr": "(rate(synapse_http_server_in_flight_requests_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_http_server_in_flight_requests_ru_stime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) / rate(synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  3157. "format": "time_series",
  3158. "interval": "",
  3159. "intervalFactor": 1,
  3160. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  3161. "refId": "A",
  3162. "step": 20
  3163. }
  3164. ],
  3165. "thresholds": [
  3166. {
  3167. "$$hashKey": "object:417",
  3168. "colorMode": "custom",
  3169. "fill": true,
  3170. "fillColor": "rgba(216, 200, 27, 0.27)",
  3171. "op": "gt",
  3172. "value": 100,
  3173. "yaxis": "left"
  3174. },
  3175. {
  3176. "$$hashKey": "object:418",
  3177. "colorMode": "custom",
  3178. "fill": true,
  3179. "fillColor": "rgba(234, 112, 112, 0.22)",
  3180. "op": "gt",
  3181. "value": 250,
  3182. "yaxis": "left"
  3183. }
  3184. ],
  3185. "timeRegions": [],
  3186. "title": "Average CPU Usage by Endpoint",
  3187. "tooltip": {
  3188. "shared": false,
  3189. "sort": 2,
  3190. "value_type": "individual"
  3191. },
  3192. "type": "graph",
  3193. "xaxis": {
  3194. "mode": "time",
  3195. "show": true,
  3196. "values": []
  3197. },
  3198. "yaxes": [
  3199. {
  3200. "$$hashKey": "object:389",
  3201. "format": "s",
  3202. "logBase": 1,
  3203. "show": true
  3204. },
  3205. {
  3206. "$$hashKey": "object:390",
  3207. "format": "short",
  3208. "logBase": 1,
  3209. "show": true
  3210. }
  3211. ],
  3212. "yaxis": {
  3213. "align": false
  3214. }
  3215. },
  3216. {
  3217. "aliasColors": {},
  3218. "bars": false,
  3219. "dashLength": 10,
  3220. "dashes": false,
  3221. "datasource": {
  3222. "type": "prometheus",
  3223. "uid": "$datasource"
  3224. },
  3225. "editable": true,
  3226. "error": false,
  3227. "fieldConfig": {
  3228. "defaults": {
  3229. "links": []
  3230. },
  3231. "overrides": []
  3232. },
  3233. "fill": 1,
  3234. "fillGradient": 0,
  3235. "grid": {},
  3236. "gridPos": {
  3237. "h": 8,
  3238. "w": 12,
  3239. "x": 0,
  3240. "y": 45
  3241. },
  3242. "hiddenSeries": false,
  3243. "id": 7,
  3244. "legend": {
  3245. "alignAsTable": true,
  3246. "avg": false,
  3247. "current": false,
  3248. "hideEmpty": true,
  3249. "hideZero": true,
  3250. "max": false,
  3251. "min": false,
  3252. "show": true,
  3253. "total": false,
  3254. "values": false
  3255. },
  3256. "lines": true,
  3257. "linewidth": 1,
  3258. "links": [],
  3259. "nullPointMode": "null",
  3260. "options": {
  3261. "alertThreshold": true
  3262. },
  3263. "percentage": false,
  3264. "pluginVersion": "9.2.2",
  3265. "pointradius": 5,
  3266. "points": false,
  3267. "renderer": "flot",
  3268. "seriesOverrides": [],
  3269. "spaceLength": 10,
  3270. "stack": false,
  3271. "steppedLine": false,
  3272. "targets": [
  3273. {
  3274. "datasource": {
  3275. "uid": "$datasource"
  3276. },
  3277. "expr": "rate(synapse_http_server_in_flight_requests_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  3278. "format": "time_series",
  3279. "interval": "",
  3280. "intervalFactor": 1,
  3281. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  3282. "refId": "A",
  3283. "step": 20
  3284. }
  3285. ],
  3286. "thresholds": [],
  3287. "timeRegions": [],
  3288. "title": "DB Usage by endpoint",
  3289. "tooltip": {
  3290. "shared": false,
  3291. "sort": 2,
  3292. "value_type": "cumulative"
  3293. },
  3294. "type": "graph",
  3295. "xaxis": {
  3296. "mode": "time",
  3297. "show": true,
  3298. "values": []
  3299. },
  3300. "yaxes": [
  3301. {
  3302. "$$hashKey": "object:488",
  3303. "format": "percentunit",
  3304. "logBase": 1,
  3305. "show": true
  3306. },
  3307. {
  3308. "$$hashKey": "object:489",
  3309. "format": "short",
  3310. "logBase": 1,
  3311. "show": true
  3312. }
  3313. ],
  3314. "yaxis": {
  3315. "align": false
  3316. }
  3317. },
  3318. {
  3319. "aliasColors": {},
  3320. "bars": false,
  3321. "dashLength": 10,
  3322. "dashes": false,
  3323. "datasource": {
  3324. "uid": "$datasource"
  3325. },
  3326. "editable": true,
  3327. "error": false,
  3328. "fieldConfig": {
  3329. "defaults": {
  3330. "links": []
  3331. },
  3332. "overrides": []
  3333. },
  3334. "fill": 2,
  3335. "fillGradient": 0,
  3336. "grid": {},
  3337. "gridPos": {
  3338. "h": 8,
  3339. "w": 12,
  3340. "x": 12,
  3341. "y": 45
  3342. },
  3343. "hiddenSeries": false,
  3344. "id": 47,
  3345. "legend": {
  3346. "alignAsTable": true,
  3347. "avg": true,
  3348. "current": false,
  3349. "hideEmpty": false,
  3350. "hideZero": true,
  3351. "max": true,
  3352. "min": false,
  3353. "rightSide": false,
  3354. "show": true,
  3355. "total": false,
  3356. "values": true
  3357. },
  3358. "lines": true,
  3359. "linewidth": 1,
  3360. "links": [],
  3361. "nullPointMode": "null",
  3362. "options": {
  3363. "alertThreshold": true
  3364. },
  3365. "percentage": false,
  3366. "pluginVersion": "9.2.2",
  3367. "pointradius": 5,
  3368. "points": false,
  3369. "renderer": "flot",
  3370. "seriesOverrides": [],
  3371. "spaceLength": 10,
  3372. "stack": false,
  3373. "steppedLine": false,
  3374. "targets": [
  3375. {
  3376. "datasource": {
  3377. "uid": "$datasource"
  3378. },
  3379. "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))",
  3380. "format": "time_series",
  3381. "hide": false,
  3382. "interval": "",
  3383. "intervalFactor": 1,
  3384. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}}",
  3385. "refId": "A",
  3386. "step": 20
  3387. }
  3388. ],
  3389. "thresholds": [],
  3390. "timeRegions": [],
  3391. "title": "Non-sync avg response time",
  3392. "tooltip": {
  3393. "shared": false,
  3394. "sort": 2,
  3395. "value_type": "individual"
  3396. },
  3397. "type": "graph",
  3398. "xaxis": {
  3399. "mode": "time",
  3400. "show": true,
  3401. "values": []
  3402. },
  3403. "yaxes": [
  3404. {
  3405. "format": "s",
  3406. "logBase": 1,
  3407. "show": true
  3408. },
  3409. {
  3410. "format": "short",
  3411. "logBase": 1,
  3412. "show": false
  3413. }
  3414. ],
  3415. "yaxis": {
  3416. "align": false
  3417. }
  3418. },
  3419. {
  3420. "aliasColors": {},
  3421. "bars": false,
  3422. "dashLength": 10,
  3423. "dashes": false,
  3424. "datasource": {
  3425. "uid": "$datasource"
  3426. },
  3427. "fieldConfig": {
  3428. "defaults": {
  3429. "links": []
  3430. },
  3431. "overrides": []
  3432. },
  3433. "fill": 1,
  3434. "fillGradient": 0,
  3435. "gridPos": {
  3436. "h": 9,
  3437. "w": 12,
  3438. "x": 0,
  3439. "y": 53
  3440. },
  3441. "hiddenSeries": false,
  3442. "id": 103,
  3443. "legend": {
  3444. "avg": false,
  3445. "current": false,
  3446. "max": false,
  3447. "min": false,
  3448. "show": true,
  3449. "total": false,
  3450. "values": false
  3451. },
  3452. "lines": true,
  3453. "linewidth": 1,
  3454. "links": [],
  3455. "nullPointMode": "null",
  3456. "options": {
  3457. "alertThreshold": true
  3458. },
  3459. "percentage": false,
  3460. "pluginVersion": "9.2.2",
  3461. "pointradius": 5,
  3462. "points": false,
  3463. "renderer": "flot",
  3464. "seriesOverrides": [
  3465. {
  3466. "alias": "Total",
  3467. "color": "rgb(255, 255, 255)",
  3468. "fill": 0,
  3469. "linewidth": 3
  3470. }
  3471. ],
  3472. "spaceLength": 10,
  3473. "stack": false,
  3474. "steppedLine": false,
  3475. "targets": [
  3476. {
  3477. "datasource": {
  3478. "uid": "$datasource"
  3479. },
  3480. "expr": "topk(10,synapse_http_server_in_flight_requests_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})",
  3481. "format": "time_series",
  3482. "interval": "",
  3483. "intervalFactor": 1,
  3484. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}}",
  3485. "refId": "A"
  3486. },
  3487. {
  3488. "datasource": {
  3489. "uid": "$datasource"
  3490. },
  3491. "expr": "sum(avg_over_time(synapse_http_server_in_flight_requests_count{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  3492. "interval": "",
  3493. "legendFormat": "Total",
  3494. "refId": "B"
  3495. }
  3496. ],
  3497. "thresholds": [],
  3498. "timeRegions": [],
  3499. "title": "Requests in flight",
  3500. "tooltip": {
  3501. "shared": false,
  3502. "sort": 2,
  3503. "value_type": "individual"
  3504. },
  3505. "type": "graph",
  3506. "xaxis": {
  3507. "mode": "time",
  3508. "show": true,
  3509. "values": []
  3510. },
  3511. "yaxes": [
  3512. {
  3513. "format": "short",
  3514. "logBase": 1,
  3515. "show": true
  3516. },
  3517. {
  3518. "format": "short",
  3519. "logBase": 1,
  3520. "show": true
  3521. }
  3522. ],
  3523. "yaxis": {
  3524. "align": false
  3525. }
  3526. }
  3527. ],
  3528. "targets": [
  3529. {
  3530. "datasource": {
  3531. "type": "prometheus",
  3532. "uid": "$datasource"
  3533. },
  3534. "refId": "A"
  3535. }
  3536. ],
  3537. "title": "Requests",
  3538. "type": "row"
  3539. },
  3540. {
  3541. "collapsed": true,
  3542. "datasource": {
  3543. "type": "prometheus",
  3544. "uid": "$datasource"
  3545. },
  3546. "gridPos": {
  3547. "h": 1,
  3548. "w": 24,
  3549. "x": 0,
  3550. "y": 29
  3551. },
  3552. "id": 97,
  3553. "panels": [
  3554. {
  3555. "aliasColors": {},
  3556. "bars": false,
  3557. "dashLength": 10,
  3558. "dashes": false,
  3559. "datasource": {
  3560. "uid": "$datasource"
  3561. },
  3562. "fieldConfig": {
  3563. "defaults": {
  3564. "links": []
  3565. },
  3566. "overrides": []
  3567. },
  3568. "fill": 1,
  3569. "fillGradient": 0,
  3570. "gridPos": {
  3571. "h": 9,
  3572. "w": 12,
  3573. "x": 0,
  3574. "y": 30
  3575. },
  3576. "hiddenSeries": false,
  3577. "id": 99,
  3578. "legend": {
  3579. "avg": false,
  3580. "current": false,
  3581. "max": false,
  3582. "min": false,
  3583. "show": true,
  3584. "total": false,
  3585. "values": false
  3586. },
  3587. "lines": true,
  3588. "linewidth": 1,
  3589. "links": [],
  3590. "nullPointMode": "null",
  3591. "options": {
  3592. "alertThreshold": true
  3593. },
  3594. "paceLength": 10,
  3595. "percentage": false,
  3596. "pluginVersion": "9.2.2",
  3597. "pointradius": 5,
  3598. "points": false,
  3599. "renderer": "flot",
  3600. "seriesOverrides": [],
  3601. "spaceLength": 10,
  3602. "stack": false,
  3603. "steppedLine": false,
  3604. "targets": [
  3605. {
  3606. "datasource": {
  3607. "uid": "$datasource"
  3608. },
  3609. "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])",
  3610. "format": "time_series",
  3611. "interval": "",
  3612. "intervalFactor": 1,
  3613. "legendFormat": "{{job}}-{{index}} {{name}}",
  3614. "refId": "A"
  3615. }
  3616. ],
  3617. "thresholds": [],
  3618. "timeRegions": [],
  3619. "title": "CPU usage by background jobs",
  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": "percentunit",
  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. "aliasColors": {},
  3649. "bars": false,
  3650. "dashLength": 10,
  3651. "dashes": false,
  3652. "datasource": {
  3653. "uid": "$datasource"
  3654. },
  3655. "fieldConfig": {
  3656. "defaults": {
  3657. "links": []
  3658. },
  3659. "overrides": []
  3660. },
  3661. "fill": 1,
  3662. "fillGradient": 0,
  3663. "gridPos": {
  3664. "h": 9,
  3665. "w": 12,
  3666. "x": 12,
  3667. "y": 30
  3668. },
  3669. "hiddenSeries": false,
  3670. "id": 101,
  3671. "legend": {
  3672. "avg": false,
  3673. "current": false,
  3674. "max": false,
  3675. "min": false,
  3676. "show": true,
  3677. "total": false,
  3678. "values": false
  3679. },
  3680. "lines": true,
  3681. "linewidth": 1,
  3682. "links": [],
  3683. "nullPointMode": "null",
  3684. "options": {
  3685. "alertThreshold": true
  3686. },
  3687. "paceLength": 10,
  3688. "percentage": false,
  3689. "pluginVersion": "9.2.2",
  3690. "pointradius": 5,
  3691. "points": false,
  3692. "renderer": "flot",
  3693. "seriesOverrides": [],
  3694. "spaceLength": 10,
  3695. "stack": false,
  3696. "steppedLine": false,
  3697. "targets": [
  3698. {
  3699. "datasource": {
  3700. "uid": "$datasource"
  3701. },
  3702. "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])",
  3703. "format": "time_series",
  3704. "hide": false,
  3705. "intervalFactor": 1,
  3706. "legendFormat": "{{job}}-{{index}} {{name}}",
  3707. "refId": "A"
  3708. }
  3709. ],
  3710. "thresholds": [],
  3711. "timeRegions": [],
  3712. "title": "DB usage by background jobs (including scheduling time)",
  3713. "tooltip": {
  3714. "shared": false,
  3715. "sort": 0,
  3716. "value_type": "individual"
  3717. },
  3718. "type": "graph",
  3719. "xaxis": {
  3720. "mode": "time",
  3721. "show": true,
  3722. "values": []
  3723. },
  3724. "yaxes": [
  3725. {
  3726. "format": "percentunit",
  3727. "logBase": 1,
  3728. "show": true
  3729. },
  3730. {
  3731. "format": "short",
  3732. "logBase": 1,
  3733. "show": true
  3734. }
  3735. ],
  3736. "yaxis": {
  3737. "align": false
  3738. }
  3739. },
  3740. {
  3741. "aliasColors": {},
  3742. "bars": false,
  3743. "dashLength": 10,
  3744. "dashes": false,
  3745. "datasource": {
  3746. "uid": "$datasource"
  3747. },
  3748. "fieldConfig": {
  3749. "defaults": {
  3750. "links": []
  3751. },
  3752. "overrides": []
  3753. },
  3754. "fill": 1,
  3755. "fillGradient": 0,
  3756. "gridPos": {
  3757. "h": 8,
  3758. "w": 12,
  3759. "x": 0,
  3760. "y": 39
  3761. },
  3762. "hiddenSeries": false,
  3763. "id": 138,
  3764. "legend": {
  3765. "avg": false,
  3766. "current": false,
  3767. "max": false,
  3768. "min": false,
  3769. "show": true,
  3770. "total": false,
  3771. "values": false
  3772. },
  3773. "lines": true,
  3774. "linewidth": 1,
  3775. "nullPointMode": "null",
  3776. "options": {
  3777. "alertThreshold": true
  3778. },
  3779. "percentage": false,
  3780. "pluginVersion": "9.2.2",
  3781. "pointradius": 2,
  3782. "points": false,
  3783. "renderer": "flot",
  3784. "seriesOverrides": [],
  3785. "spaceLength": 10,
  3786. "stack": false,
  3787. "steppedLine": false,
  3788. "targets": [
  3789. {
  3790. "datasource": {
  3791. "uid": "$datasource"
  3792. },
  3793. "expr": "synapse_background_process_in_flight_count{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  3794. "legendFormat": "{{job}}-{{index}} {{name}}",
  3795. "refId": "A"
  3796. }
  3797. ],
  3798. "thresholds": [],
  3799. "timeRegions": [],
  3800. "title": "Background jobs in flight",
  3801. "tooltip": {
  3802. "shared": false,
  3803. "sort": 0,
  3804. "value_type": "individual"
  3805. },
  3806. "type": "graph",
  3807. "xaxis": {
  3808. "mode": "time",
  3809. "show": true,
  3810. "values": []
  3811. },
  3812. "yaxes": [
  3813. {
  3814. "format": "short",
  3815. "logBase": 1,
  3816. "show": true
  3817. },
  3818. {
  3819. "format": "short",
  3820. "logBase": 1,
  3821. "show": true
  3822. }
  3823. ],
  3824. "yaxis": {
  3825. "align": false
  3826. }
  3827. }
  3828. ],
  3829. "targets": [
  3830. {
  3831. "datasource": {
  3832. "type": "prometheus",
  3833. "uid": "$datasource"
  3834. },
  3835. "refId": "A"
  3836. }
  3837. ],
  3838. "title": "Background jobs",
  3839. "type": "row"
  3840. },
  3841. {
  3842. "collapsed": true,
  3843. "datasource": {
  3844. "type": "prometheus",
  3845. "uid": "$datasource"
  3846. },
  3847. "gridPos": {
  3848. "h": 1,
  3849. "w": 24,
  3850. "x": 0,
  3851. "y": 30
  3852. },
  3853. "id": 81,
  3854. "panels": [
  3855. {
  3856. "aliasColors": {},
  3857. "bars": false,
  3858. "dashLength": 10,
  3859. "dashes": false,
  3860. "datasource": {
  3861. "uid": "$datasource"
  3862. },
  3863. "fieldConfig": {
  3864. "defaults": {
  3865. "links": []
  3866. },
  3867. "overrides": []
  3868. },
  3869. "fill": 1,
  3870. "fillGradient": 0,
  3871. "gridPos": {
  3872. "h": 9,
  3873. "w": 12,
  3874. "x": 0,
  3875. "y": 31
  3876. },
  3877. "hiddenSeries": false,
  3878. "id": 79,
  3879. "legend": {
  3880. "avg": false,
  3881. "current": false,
  3882. "max": false,
  3883. "min": false,
  3884. "show": true,
  3885. "total": false,
  3886. "values": false
  3887. },
  3888. "lines": true,
  3889. "linewidth": 1,
  3890. "links": [],
  3891. "nullPointMode": "null",
  3892. "options": {
  3893. "alertThreshold": true
  3894. },
  3895. "paceLength": 10,
  3896. "percentage": false,
  3897. "pluginVersion": "9.2.2",
  3898. "pointradius": 5,
  3899. "points": false,
  3900. "renderer": "flot",
  3901. "seriesOverrides": [],
  3902. "spaceLength": 10,
  3903. "stack": false,
  3904. "steppedLine": false,
  3905. "targets": [
  3906. {
  3907. "datasource": {
  3908. "uid": "$datasource"
  3909. },
  3910. "expr": "sum(rate(synapse_federation_client_sent_transactions_total{instance=\"$instance\"}[$bucket_size]))",
  3911. "format": "time_series",
  3912. "intervalFactor": 1,
  3913. "legendFormat": "successful txn rate",
  3914. "refId": "A"
  3915. },
  3916. {
  3917. "datasource": {
  3918. "uid": "$datasource"
  3919. },
  3920. "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]))",
  3921. "legendFormat": "failed txn rate",
  3922. "refId": "B"
  3923. }
  3924. ],
  3925. "thresholds": [],
  3926. "timeRegions": [],
  3927. "title": "Outgoing federation transaction rate",
  3928. "tooltip": {
  3929. "shared": true,
  3930. "sort": 0,
  3931. "value_type": "individual"
  3932. },
  3933. "type": "graph",
  3934. "xaxis": {
  3935. "mode": "time",
  3936. "show": true,
  3937. "values": []
  3938. },
  3939. "yaxes": [
  3940. {
  3941. "format": "hertz",
  3942. "logBase": 1,
  3943. "show": true
  3944. },
  3945. {
  3946. "format": "short",
  3947. "logBase": 1,
  3948. "show": true
  3949. }
  3950. ],
  3951. "yaxis": {
  3952. "align": false
  3953. }
  3954. },
  3955. {
  3956. "aliasColors": {},
  3957. "bars": false,
  3958. "dashLength": 10,
  3959. "dashes": false,
  3960. "datasource": {
  3961. "uid": "$datasource"
  3962. },
  3963. "fieldConfig": {
  3964. "defaults": {
  3965. "links": []
  3966. },
  3967. "overrides": []
  3968. },
  3969. "fill": 1,
  3970. "fillGradient": 0,
  3971. "gridPos": {
  3972. "h": 9,
  3973. "w": 12,
  3974. "x": 12,
  3975. "y": 31
  3976. },
  3977. "hiddenSeries": false,
  3978. "id": 83,
  3979. "legend": {
  3980. "avg": false,
  3981. "current": false,
  3982. "max": false,
  3983. "min": false,
  3984. "show": true,
  3985. "total": false,
  3986. "values": false
  3987. },
  3988. "lines": true,
  3989. "linewidth": 1,
  3990. "links": [],
  3991. "nullPointMode": "null",
  3992. "options": {
  3993. "alertThreshold": true
  3994. },
  3995. "paceLength": 10,
  3996. "percentage": false,
  3997. "pluginVersion": "9.2.2",
  3998. "pointradius": 5,
  3999. "points": false,
  4000. "renderer": "flot",
  4001. "seriesOverrides": [],
  4002. "spaceLength": 10,
  4003. "stack": false,
  4004. "steppedLine": false,
  4005. "targets": [
  4006. {
  4007. "datasource": {
  4008. "uid": "$datasource"
  4009. },
  4010. "expr": "sum(rate(synapse_federation_server_received_pdus_total{instance=~\"$instance\"}[$bucket_size]))",
  4011. "format": "time_series",
  4012. "intervalFactor": 1,
  4013. "legendFormat": "pdus",
  4014. "refId": "A"
  4015. },
  4016. {
  4017. "datasource": {
  4018. "uid": "$datasource"
  4019. },
  4020. "expr": "sum(rate(synapse_federation_server_received_edus_total{instance=~\"$instance\"}[$bucket_size]))",
  4021. "format": "time_series",
  4022. "intervalFactor": 1,
  4023. "legendFormat": "edus",
  4024. "refId": "B"
  4025. }
  4026. ],
  4027. "thresholds": [],
  4028. "timeRegions": [],
  4029. "title": "Incoming PDU/EDU rate",
  4030. "tooltip": {
  4031. "shared": true,
  4032. "sort": 0,
  4033. "value_type": "individual"
  4034. },
  4035. "type": "graph",
  4036. "xaxis": {
  4037. "mode": "time",
  4038. "show": true,
  4039. "values": []
  4040. },
  4041. "yaxes": [
  4042. {
  4043. "format": "hertz",
  4044. "logBase": 1,
  4045. "show": true
  4046. },
  4047. {
  4048. "format": "short",
  4049. "logBase": 1,
  4050. "show": true
  4051. }
  4052. ],
  4053. "yaxis": {
  4054. "align": false
  4055. }
  4056. },
  4057. {
  4058. "aliasColors": {},
  4059. "bars": false,
  4060. "dashLength": 10,
  4061. "dashes": false,
  4062. "datasource": {
  4063. "type": "prometheus",
  4064. "uid": "$datasource"
  4065. },
  4066. "fieldConfig": {
  4067. "defaults": {
  4068. "links": []
  4069. },
  4070. "overrides": []
  4071. },
  4072. "fill": 1,
  4073. "fillGradient": 0,
  4074. "gridPos": {
  4075. "h": 9,
  4076. "w": 12,
  4077. "x": 0,
  4078. "y": 40
  4079. },
  4080. "hiddenSeries": false,
  4081. "id": 109,
  4082. "legend": {
  4083. "avg": false,
  4084. "current": false,
  4085. "max": false,
  4086. "min": false,
  4087. "show": true,
  4088. "total": false,
  4089. "values": false
  4090. },
  4091. "lines": true,
  4092. "linewidth": 1,
  4093. "links": [],
  4094. "nullPointMode": "null",
  4095. "options": {
  4096. "alertThreshold": true
  4097. },
  4098. "paceLength": 10,
  4099. "percentage": false,
  4100. "pluginVersion": "9.2.2",
  4101. "pointradius": 5,
  4102. "points": false,
  4103. "renderer": "flot",
  4104. "seriesOverrides": [],
  4105. "spaceLength": 10,
  4106. "stack": false,
  4107. "steppedLine": false,
  4108. "targets": [
  4109. {
  4110. "datasource": {
  4111. "uid": "$datasource"
  4112. },
  4113. "editorMode": "code",
  4114. "expr": "sum(rate(synapse_federation_client_sent_pdu_destinations_count_total{instance=\"$instance\"}[$bucket_size]))",
  4115. "format": "time_series",
  4116. "interval": "",
  4117. "intervalFactor": 1,
  4118. "legendFormat": "pdus",
  4119. "range": true,
  4120. "refId": "A"
  4121. },
  4122. {
  4123. "datasource": {
  4124. "uid": "$datasource"
  4125. },
  4126. "expr": "sum(rate(synapse_federation_client_sent_edus_total{instance=\"$instance\"}[$bucket_size]))",
  4127. "format": "time_series",
  4128. "intervalFactor": 1,
  4129. "legendFormat": "edus",
  4130. "refId": "B"
  4131. }
  4132. ],
  4133. "thresholds": [],
  4134. "timeRegions": [],
  4135. "title": "Outgoing PDU/EDU rate",
  4136. "tooltip": {
  4137. "shared": true,
  4138. "sort": 0,
  4139. "value_type": "individual"
  4140. },
  4141. "type": "graph",
  4142. "xaxis": {
  4143. "mode": "time",
  4144. "show": true,
  4145. "values": []
  4146. },
  4147. "yaxes": [
  4148. {
  4149. "format": "hertz",
  4150. "logBase": 1,
  4151. "show": true
  4152. },
  4153. {
  4154. "format": "short",
  4155. "logBase": 1,
  4156. "show": true
  4157. }
  4158. ],
  4159. "yaxis": {
  4160. "align": false
  4161. }
  4162. },
  4163. {
  4164. "aliasColors": {},
  4165. "bars": false,
  4166. "dashLength": 10,
  4167. "dashes": false,
  4168. "datasource": {
  4169. "type": "prometheus",
  4170. "uid": "$datasource"
  4171. },
  4172. "fieldConfig": {
  4173. "defaults": {
  4174. "links": []
  4175. },
  4176. "overrides": []
  4177. },
  4178. "fill": 1,
  4179. "fillGradient": 0,
  4180. "gridPos": {
  4181. "h": 9,
  4182. "w": 12,
  4183. "x": 12,
  4184. "y": 40
  4185. },
  4186. "hiddenSeries": false,
  4187. "id": 111,
  4188. "legend": {
  4189. "avg": false,
  4190. "current": false,
  4191. "max": false,
  4192. "min": false,
  4193. "show": true,
  4194. "total": false,
  4195. "values": false
  4196. },
  4197. "lines": true,
  4198. "linewidth": 1,
  4199. "links": [],
  4200. "nullPointMode": "null",
  4201. "options": {
  4202. "alertThreshold": true
  4203. },
  4204. "paceLength": 10,
  4205. "percentage": false,
  4206. "pluginVersion": "9.2.2",
  4207. "pointradius": 5,
  4208. "points": false,
  4209. "renderer": "flot",
  4210. "seriesOverrides": [],
  4211. "spaceLength": 10,
  4212. "stack": false,
  4213. "steppedLine": false,
  4214. "targets": [
  4215. {
  4216. "datasource": {
  4217. "uid": "$datasource"
  4218. },
  4219. "editorMode": "code",
  4220. "expr": "rate(synapse_federation_client_sent_edus_by_type_total{instance=\"$instance\"}[$bucket_size])",
  4221. "format": "time_series",
  4222. "interval": "",
  4223. "intervalFactor": 1,
  4224. "legendFormat": "{{type}}",
  4225. "range": true,
  4226. "refId": "A"
  4227. }
  4228. ],
  4229. "thresholds": [],
  4230. "timeRegions": [],
  4231. "title": "Outgoing EDUs by type",
  4232. "tooltip": {
  4233. "shared": true,
  4234. "sort": 0,
  4235. "value_type": "individual"
  4236. },
  4237. "type": "graph",
  4238. "xaxis": {
  4239. "mode": "time",
  4240. "show": true,
  4241. "values": []
  4242. },
  4243. "yaxes": [
  4244. {
  4245. "$$hashKey": "object:462",
  4246. "format": "hertz",
  4247. "logBase": 1,
  4248. "show": true
  4249. },
  4250. {
  4251. "$$hashKey": "object:463",
  4252. "format": "short",
  4253. "logBase": 1,
  4254. "show": true
  4255. }
  4256. ],
  4257. "yaxis": {
  4258. "align": false
  4259. }
  4260. },
  4261. {
  4262. "datasource": {
  4263. "type": "prometheus",
  4264. "uid": "${DS_PROMETHEUS}"
  4265. },
  4266. "description": "Triangular growth may indicate a problem with federation sending from the remote host --- but it may also be the case that everyone is asleep and no messages are being sent.\n\nSee https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_metrics_domains",
  4267. "fieldConfig": {
  4268. "defaults": {
  4269. "color": {
  4270. "mode": "palette-classic"
  4271. },
  4272. "custom": {
  4273. "axisCenteredZero": false,
  4274. "axisColorMode": "text",
  4275. "axisLabel": "",
  4276. "axisPlacement": "auto",
  4277. "axisSoftMax": 60,
  4278. "axisSoftMin": 0,
  4279. "barAlignment": 0,
  4280. "drawStyle": "line",
  4281. "fillOpacity": 0,
  4282. "gradientMode": "none",
  4283. "hideFrom": {
  4284. "legend": false,
  4285. "tooltip": false,
  4286. "viz": false
  4287. },
  4288. "lineInterpolation": "linear",
  4289. "lineWidth": 1,
  4290. "pointSize": 5,
  4291. "scaleDistribution": {
  4292. "type": "linear"
  4293. },
  4294. "showPoints": "auto",
  4295. "spanNulls": false,
  4296. "stacking": {
  4297. "group": "A",
  4298. "mode": "none"
  4299. },
  4300. "thresholdsStyle": {
  4301. "mode": "line"
  4302. }
  4303. },
  4304. "mappings": [],
  4305. "thresholds": {
  4306. "mode": "absolute",
  4307. "steps": [
  4308. {
  4309. "color": "green"
  4310. },
  4311. {
  4312. "color": "red",
  4313. "value": 60
  4314. }
  4315. ]
  4316. },
  4317. "unit": "m"
  4318. },
  4319. "overrides": [
  4320. {
  4321. "__systemRef": "hideSeriesFrom",
  4322. "matcher": {
  4323. "id": "byNames",
  4324. "options": {
  4325. "mode": "exclude",
  4326. "names": [
  4327. "libera.chat "
  4328. ],
  4329. "prefix": "All except:",
  4330. "readOnly": true
  4331. }
  4332. },
  4333. "properties": [
  4334. {
  4335. "id": "custom.hideFrom",
  4336. "value": {
  4337. "legend": false,
  4338. "tooltip": false,
  4339. "viz": true
  4340. }
  4341. }
  4342. ]
  4343. }
  4344. ]
  4345. },
  4346. "gridPos": {
  4347. "h": 8,
  4348. "w": 12,
  4349. "x": 0,
  4350. "y": 49
  4351. },
  4352. "id": 243,
  4353. "options": {
  4354. "legend": {
  4355. "calcs": [],
  4356. "displayMode": "list",
  4357. "placement": "bottom",
  4358. "showLegend": true
  4359. },
  4360. "tooltip": {
  4361. "mode": "single",
  4362. "sort": "none"
  4363. }
  4364. },
  4365. "targets": [
  4366. {
  4367. "datasource": {
  4368. "type": "prometheus",
  4369. "uid": "${DS_PROMETHEUS}"
  4370. },
  4371. "editorMode": "code",
  4372. "exemplar": false,
  4373. "expr": "(time() - max without (job, index, host) (avg_over_time(synapse_federation_last_received_pdu_time[10m]))) / 60",
  4374. "instant": false,
  4375. "legendFormat": "{{server_name}} ",
  4376. "range": true,
  4377. "refId": "A"
  4378. }
  4379. ],
  4380. "title": "Age of last PDU received from nominated hosts",
  4381. "type": "timeseries"
  4382. },
  4383. {
  4384. "datasource": {
  4385. "type": "prometheus",
  4386. "uid": "${DS_PROMETHEUS}"
  4387. },
  4388. "description": "Triangular growth may indicate a problem with federation senders on the monitored instance---but it may also be the case that everyone is asleep and no messages are being sent.\n\nSee https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_metrics_domains",
  4389. "fieldConfig": {
  4390. "defaults": {
  4391. "color": {
  4392. "mode": "palette-classic"
  4393. },
  4394. "custom": {
  4395. "axisCenteredZero": false,
  4396. "axisColorMode": "text",
  4397. "axisLabel": "",
  4398. "axisPlacement": "auto",
  4399. "axisSoftMax": 60,
  4400. "axisSoftMin": 0,
  4401. "barAlignment": 0,
  4402. "drawStyle": "line",
  4403. "fillOpacity": 0,
  4404. "gradientMode": "none",
  4405. "hideFrom": {
  4406. "legend": false,
  4407. "tooltip": false,
  4408. "viz": false
  4409. },
  4410. "lineInterpolation": "linear",
  4411. "lineWidth": 1,
  4412. "pointSize": 5,
  4413. "scaleDistribution": {
  4414. "type": "linear"
  4415. },
  4416. "showPoints": "auto",
  4417. "spanNulls": false,
  4418. "stacking": {
  4419. "group": "A",
  4420. "mode": "none"
  4421. },
  4422. "thresholdsStyle": {
  4423. "mode": "line"
  4424. }
  4425. },
  4426. "mappings": [],
  4427. "thresholds": {
  4428. "mode": "absolute",
  4429. "steps": [
  4430. {
  4431. "color": "green"
  4432. },
  4433. {
  4434. "color": "red",
  4435. "value": 60
  4436. }
  4437. ]
  4438. },
  4439. "unit": "m"
  4440. },
  4441. "overrides": [
  4442. {
  4443. "__systemRef": "hideSeriesFrom",
  4444. "matcher": {
  4445. "id": "byNames",
  4446. "options": {
  4447. "mode": "exclude",
  4448. "names": [
  4449. "libera.chat"
  4450. ],
  4451. "prefix": "All except:",
  4452. "readOnly": true
  4453. }
  4454. },
  4455. "properties": [
  4456. {
  4457. "id": "custom.hideFrom",
  4458. "value": {
  4459. "legend": false,
  4460. "tooltip": false,
  4461. "viz": true
  4462. }
  4463. }
  4464. ]
  4465. }
  4466. ]
  4467. },
  4468. "gridPos": {
  4469. "h": 8,
  4470. "w": 12,
  4471. "x": 12,
  4472. "y": 49
  4473. },
  4474. "id": 241,
  4475. "options": {
  4476. "legend": {
  4477. "calcs": [],
  4478. "displayMode": "list",
  4479. "placement": "bottom",
  4480. "showLegend": true
  4481. },
  4482. "tooltip": {
  4483. "mode": "single",
  4484. "sort": "none"
  4485. }
  4486. },
  4487. "targets": [
  4488. {
  4489. "datasource": {
  4490. "type": "prometheus",
  4491. "uid": "${DS_PROMETHEUS}"
  4492. },
  4493. "editorMode": "code",
  4494. "exemplar": false,
  4495. "expr": "(time() - max without (job, index, host) (avg_over_time(synapse_federation_last_sent_pdu_time[10m]))) / 60",
  4496. "instant": false,
  4497. "legendFormat": "{{server_name}}",
  4498. "range": true,
  4499. "refId": "A"
  4500. }
  4501. ],
  4502. "title": "Age of last PDU sent to nominated hosts",
  4503. "type": "timeseries"
  4504. },
  4505. {
  4506. "aliasColors": {},
  4507. "bars": false,
  4508. "dashLength": 10,
  4509. "dashes": false,
  4510. "datasource": {
  4511. "type": "prometheus",
  4512. "uid": "$datasource"
  4513. },
  4514. "description": "The number of events in the in-memory queues ",
  4515. "fieldConfig": {
  4516. "defaults": {
  4517. "links": []
  4518. },
  4519. "overrides": []
  4520. },
  4521. "fill": 1,
  4522. "fillGradient": 0,
  4523. "gridPos": {
  4524. "h": 9,
  4525. "w": 12,
  4526. "x": 0,
  4527. "y": 57
  4528. },
  4529. "hiddenSeries": false,
  4530. "id": 142,
  4531. "legend": {
  4532. "avg": false,
  4533. "current": false,
  4534. "max": false,
  4535. "min": false,
  4536. "show": true,
  4537. "total": false,
  4538. "values": false
  4539. },
  4540. "lines": true,
  4541. "linewidth": 1,
  4542. "nullPointMode": "null",
  4543. "options": {
  4544. "alertThreshold": true
  4545. },
  4546. "percentage": false,
  4547. "pluginVersion": "9.2.2",
  4548. "pointradius": 2,
  4549. "points": false,
  4550. "renderer": "flot",
  4551. "seriesOverrides": [],
  4552. "spaceLength": 10,
  4553. "stack": false,
  4554. "steppedLine": false,
  4555. "targets": [
  4556. {
  4557. "datasource": {
  4558. "type": "prometheus",
  4559. "uid": "$datasource"
  4560. },
  4561. "editorMode": "code",
  4562. "expr": "synapse_federation_transaction_queue_pending_pdus{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4563. "interval": "",
  4564. "legendFormat": "pending PDUs {{job}}-{{index}}",
  4565. "range": true,
  4566. "refId": "A"
  4567. },
  4568. {
  4569. "datasource": {
  4570. "type": "prometheus",
  4571. "uid": "$datasource"
  4572. },
  4573. "expr": "synapse_federation_transaction_queue_pending_edus{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4574. "interval": "",
  4575. "legendFormat": "pending EDUs {{job}}-{{index}}",
  4576. "refId": "B"
  4577. }
  4578. ],
  4579. "thresholds": [],
  4580. "timeRegions": [],
  4581. "title": "In-memory federation transmission queues",
  4582. "tooltip": {
  4583. "shared": true,
  4584. "sort": 0,
  4585. "value_type": "individual"
  4586. },
  4587. "type": "graph",
  4588. "xaxis": {
  4589. "mode": "time",
  4590. "show": true,
  4591. "values": []
  4592. },
  4593. "yaxes": [
  4594. {
  4595. "$$hashKey": "object:547",
  4596. "format": "short",
  4597. "label": "events",
  4598. "logBase": 1,
  4599. "min": "0",
  4600. "show": true
  4601. },
  4602. {
  4603. "$$hashKey": "object:548",
  4604. "format": "short",
  4605. "label": "",
  4606. "logBase": 1,
  4607. "show": true
  4608. }
  4609. ],
  4610. "yaxis": {
  4611. "align": false
  4612. }
  4613. },
  4614. {
  4615. "aliasColors": {},
  4616. "bars": false,
  4617. "dashLength": 10,
  4618. "dashes": false,
  4619. "datasource": {
  4620. "uid": "$datasource"
  4621. },
  4622. "description": "Number of events queued up on the master process for processing by the federation sender",
  4623. "fieldConfig": {
  4624. "defaults": {
  4625. "links": []
  4626. },
  4627. "overrides": []
  4628. },
  4629. "fill": 1,
  4630. "fillGradient": 0,
  4631. "gridPos": {
  4632. "h": 9,
  4633. "w": 12,
  4634. "x": 12,
  4635. "y": 57
  4636. },
  4637. "hiddenSeries": false,
  4638. "id": 140,
  4639. "legend": {
  4640. "avg": false,
  4641. "current": false,
  4642. "max": false,
  4643. "min": false,
  4644. "show": true,
  4645. "total": false,
  4646. "values": false
  4647. },
  4648. "lines": true,
  4649. "linewidth": 1,
  4650. "links": [],
  4651. "nullPointMode": "null",
  4652. "options": {
  4653. "alertThreshold": true
  4654. },
  4655. "paceLength": 10,
  4656. "percentage": false,
  4657. "pluginVersion": "9.2.2",
  4658. "pointradius": 5,
  4659. "points": false,
  4660. "renderer": "flot",
  4661. "seriesOverrides": [],
  4662. "spaceLength": 10,
  4663. "stack": false,
  4664. "steppedLine": false,
  4665. "targets": [
  4666. {
  4667. "datasource": {
  4668. "uid": "$datasource"
  4669. },
  4670. "expr": "synapse_federation_send_queue_presence_changed_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4671. "format": "time_series",
  4672. "interval": "",
  4673. "intervalFactor": 1,
  4674. "legendFormat": "presence changed",
  4675. "refId": "A"
  4676. },
  4677. {
  4678. "datasource": {
  4679. "uid": "$datasource"
  4680. },
  4681. "expr": "synapse_federation_send_queue_presence_map_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4682. "format": "time_series",
  4683. "hide": false,
  4684. "interval": "",
  4685. "intervalFactor": 1,
  4686. "legendFormat": "presence map",
  4687. "refId": "B"
  4688. },
  4689. {
  4690. "datasource": {
  4691. "uid": "$datasource"
  4692. },
  4693. "expr": "synapse_federation_send_queue_presence_destinations_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4694. "format": "time_series",
  4695. "hide": false,
  4696. "interval": "",
  4697. "intervalFactor": 1,
  4698. "legendFormat": "presence destinations",
  4699. "refId": "E"
  4700. },
  4701. {
  4702. "datasource": {
  4703. "uid": "$datasource"
  4704. },
  4705. "expr": "synapse_federation_send_queue_keyed_edu_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4706. "format": "time_series",
  4707. "hide": false,
  4708. "interval": "",
  4709. "intervalFactor": 1,
  4710. "legendFormat": "keyed edus",
  4711. "refId": "C"
  4712. },
  4713. {
  4714. "datasource": {
  4715. "uid": "$datasource"
  4716. },
  4717. "expr": "synapse_federation_send_queue_edus_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4718. "format": "time_series",
  4719. "hide": false,
  4720. "interval": "",
  4721. "intervalFactor": 1,
  4722. "legendFormat": "other edus",
  4723. "refId": "D"
  4724. },
  4725. {
  4726. "datasource": {
  4727. "uid": "$datasource"
  4728. },
  4729. "expr": "synapse_federation_send_queue_pos_time_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4730. "format": "time_series",
  4731. "hide": false,
  4732. "interval": "",
  4733. "intervalFactor": 1,
  4734. "legendFormat": "stream positions",
  4735. "refId": "F"
  4736. }
  4737. ],
  4738. "thresholds": [],
  4739. "timeRegions": [],
  4740. "title": "Outgoing EDU queues on master",
  4741. "tooltip": {
  4742. "shared": true,
  4743. "sort": 0,
  4744. "value_type": "individual"
  4745. },
  4746. "type": "graph",
  4747. "xaxis": {
  4748. "mode": "time",
  4749. "show": true,
  4750. "values": []
  4751. },
  4752. "yaxes": [
  4753. {
  4754. "format": "none",
  4755. "logBase": 1,
  4756. "min": "0",
  4757. "show": true
  4758. },
  4759. {
  4760. "format": "short",
  4761. "logBase": 1,
  4762. "show": true
  4763. }
  4764. ],
  4765. "yaxis": {
  4766. "align": false
  4767. }
  4768. },
  4769. {
  4770. "cards": {
  4771. "cardPadding": -1
  4772. },
  4773. "color": {
  4774. "cardColor": "#b4ff00",
  4775. "colorScale": "sqrt",
  4776. "colorScheme": "interpolateInferno",
  4777. "exponent": 0.5,
  4778. "min": 0,
  4779. "mode": "spectrum"
  4780. },
  4781. "dataFormat": "tsbuckets",
  4782. "datasource": {
  4783. "uid": "$datasource"
  4784. },
  4785. "fieldConfig": {
  4786. "defaults": {
  4787. "custom": {
  4788. "hideFrom": {
  4789. "legend": false,
  4790. "tooltip": false,
  4791. "viz": false
  4792. },
  4793. "scaleDistribution": {
  4794. "type": "linear"
  4795. }
  4796. }
  4797. },
  4798. "overrides": []
  4799. },
  4800. "gridPos": {
  4801. "h": 9,
  4802. "w": 12,
  4803. "x": 0,
  4804. "y": 66
  4805. },
  4806. "heatmap": {},
  4807. "hideZeroBuckets": false,
  4808. "highlightCards": true,
  4809. "id": 166,
  4810. "legend": {
  4811. "show": false
  4812. },
  4813. "links": [],
  4814. "options": {
  4815. "calculate": false,
  4816. "calculation": {},
  4817. "cellGap": -1,
  4818. "cellValues": {
  4819. "decimals": 2
  4820. },
  4821. "color": {
  4822. "exponent": 0.5,
  4823. "fill": "#b4ff00",
  4824. "min": 0,
  4825. "mode": "scheme",
  4826. "reverse": false,
  4827. "scale": "exponential",
  4828. "scheme": "Inferno",
  4829. "steps": 128
  4830. },
  4831. "exemplars": {
  4832. "color": "rgba(255,0,255,0.7)"
  4833. },
  4834. "filterValues": {
  4835. "le": 1e-9
  4836. },
  4837. "legend": {
  4838. "show": false
  4839. },
  4840. "rowsFrame": {
  4841. "layout": "auto"
  4842. },
  4843. "showValue": "never",
  4844. "tooltip": {
  4845. "show": true,
  4846. "yHistogram": true
  4847. },
  4848. "yAxis": {
  4849. "axisPlacement": "left",
  4850. "decimals": 0,
  4851. "reverse": false,
  4852. "unit": "s"
  4853. }
  4854. },
  4855. "pluginVersion": "9.2.2",
  4856. "reverseYBuckets": false,
  4857. "targets": [
  4858. {
  4859. "datasource": {
  4860. "uid": "$datasource"
  4861. },
  4862. "expr": "sum(rate(synapse_event_processing_lag_by_event_bucket{instance=\"$instance\",name=\"federation_sender\"}[$bucket_size])) by (le)",
  4863. "format": "heatmap",
  4864. "instant": false,
  4865. "interval": "",
  4866. "intervalFactor": 1,
  4867. "legendFormat": "{{ le }}",
  4868. "refId": "A"
  4869. }
  4870. ],
  4871. "title": "Federation send PDU lag",
  4872. "tooltip": {
  4873. "show": true,
  4874. "showHistogram": true
  4875. },
  4876. "tooltipDecimals": 2,
  4877. "type": "heatmap",
  4878. "xAxis": {
  4879. "show": true
  4880. },
  4881. "yAxis": {
  4882. "decimals": 0,
  4883. "format": "s",
  4884. "logBase": 1,
  4885. "show": true
  4886. },
  4887. "yBucketBound": "auto"
  4888. },
  4889. {
  4890. "aliasColors": {},
  4891. "bars": false,
  4892. "dashLength": 10,
  4893. "dashes": false,
  4894. "datasource": {
  4895. "uid": "$datasource"
  4896. },
  4897. "fieldConfig": {
  4898. "defaults": {
  4899. "links": []
  4900. },
  4901. "overrides": []
  4902. },
  4903. "fill": 0,
  4904. "fillGradient": 0,
  4905. "gridPos": {
  4906. "h": 9,
  4907. "w": 12,
  4908. "x": 12,
  4909. "y": 66
  4910. },
  4911. "hiddenSeries": false,
  4912. "id": 162,
  4913. "legend": {
  4914. "avg": false,
  4915. "current": false,
  4916. "max": false,
  4917. "min": false,
  4918. "rightSide": false,
  4919. "show": true,
  4920. "total": false,
  4921. "values": false
  4922. },
  4923. "lines": true,
  4924. "linewidth": 0,
  4925. "links": [],
  4926. "nullPointMode": "connected",
  4927. "options": {
  4928. "alertThreshold": true
  4929. },
  4930. "paceLength": 10,
  4931. "percentage": false,
  4932. "pluginVersion": "9.2.2",
  4933. "pointradius": 5,
  4934. "points": false,
  4935. "renderer": "flot",
  4936. "seriesOverrides": [
  4937. {
  4938. "alias": "Avg",
  4939. "fill": 0,
  4940. "linewidth": 3
  4941. },
  4942. {
  4943. "alias": "99%",
  4944. "color": "#C4162A",
  4945. "fillBelowTo": "90%"
  4946. },
  4947. {
  4948. "alias": "90%",
  4949. "color": "#FF7383",
  4950. "fillBelowTo": "75%"
  4951. },
  4952. {
  4953. "alias": "75%",
  4954. "color": "#FFEE52",
  4955. "fillBelowTo": "50%"
  4956. },
  4957. {
  4958. "alias": "50%",
  4959. "color": "#73BF69",
  4960. "fillBelowTo": "25%"
  4961. },
  4962. {
  4963. "alias": "25%",
  4964. "color": "#1F60C4",
  4965. "fillBelowTo": "5%"
  4966. },
  4967. {
  4968. "alias": "5%",
  4969. "lines": false
  4970. },
  4971. {
  4972. "alias": "Average",
  4973. "color": "rgb(255, 255, 255)",
  4974. "lines": true,
  4975. "linewidth": 3
  4976. }
  4977. ],
  4978. "spaceLength": 10,
  4979. "stack": false,
  4980. "steppedLine": false,
  4981. "targets": [
  4982. {
  4983. "datasource": {
  4984. "uid": "$datasource"
  4985. },
  4986. "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))",
  4987. "format": "time_series",
  4988. "interval": "",
  4989. "intervalFactor": 1,
  4990. "legendFormat": "99%",
  4991. "refId": "D"
  4992. },
  4993. {
  4994. "datasource": {
  4995. "uid": "$datasource"
  4996. },
  4997. "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))",
  4998. "format": "time_series",
  4999. "interval": "",
  5000. "intervalFactor": 1,
  5001. "legendFormat": "90%",
  5002. "refId": "A"
  5003. },
  5004. {
  5005. "datasource": {
  5006. "uid": "$datasource"
  5007. },
  5008. "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))",
  5009. "format": "time_series",
  5010. "interval": "",
  5011. "intervalFactor": 1,
  5012. "legendFormat": "75%",
  5013. "refId": "C"
  5014. },
  5015. {
  5016. "datasource": {
  5017. "uid": "$datasource"
  5018. },
  5019. "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))",
  5020. "format": "time_series",
  5021. "interval": "",
  5022. "intervalFactor": 1,
  5023. "legendFormat": "50%",
  5024. "refId": "B"
  5025. },
  5026. {
  5027. "datasource": {
  5028. "uid": "$datasource"
  5029. },
  5030. "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))",
  5031. "interval": "",
  5032. "legendFormat": "25%",
  5033. "refId": "F"
  5034. },
  5035. {
  5036. "datasource": {
  5037. "uid": "$datasource"
  5038. },
  5039. "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))",
  5040. "interval": "",
  5041. "legendFormat": "5%",
  5042. "refId": "G"
  5043. },
  5044. {
  5045. "datasource": {
  5046. "uid": "$datasource"
  5047. },
  5048. "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]))",
  5049. "interval": "",
  5050. "legendFormat": "Average",
  5051. "refId": "H"
  5052. }
  5053. ],
  5054. "thresholds": [
  5055. {
  5056. "colorMode": "warning",
  5057. "fill": false,
  5058. "line": true,
  5059. "op": "gt",
  5060. "value": 0.25,
  5061. "yaxis": "left"
  5062. },
  5063. {
  5064. "colorMode": "critical",
  5065. "fill": false,
  5066. "line": true,
  5067. "op": "gt",
  5068. "value": 1,
  5069. "yaxis": "left"
  5070. }
  5071. ],
  5072. "timeRegions": [],
  5073. "title": "Federation send PDU lag quantiles",
  5074. "tooltip": {
  5075. "shared": true,
  5076. "sort": 2,
  5077. "value_type": "individual"
  5078. },
  5079. "type": "graph",
  5080. "xaxis": {
  5081. "mode": "time",
  5082. "show": true,
  5083. "values": []
  5084. },
  5085. "yaxes": [
  5086. {
  5087. "format": "s",
  5088. "label": "",
  5089. "logBase": 1,
  5090. "min": "0",
  5091. "show": true
  5092. },
  5093. {
  5094. "format": "hertz",
  5095. "label": "",
  5096. "logBase": 1,
  5097. "min": "0",
  5098. "show": true
  5099. }
  5100. ],
  5101. "yaxis": {
  5102. "align": false
  5103. }
  5104. },
  5105. {
  5106. "cards": {
  5107. "cardPadding": -1
  5108. },
  5109. "color": {
  5110. "cardColor": "#b4ff00",
  5111. "colorScale": "sqrt",
  5112. "colorScheme": "interpolateInferno",
  5113. "exponent": 0.5,
  5114. "min": 0,
  5115. "mode": "spectrum"
  5116. },
  5117. "dataFormat": "tsbuckets",
  5118. "datasource": {
  5119. "uid": "$datasource"
  5120. },
  5121. "fieldConfig": {
  5122. "defaults": {
  5123. "custom": {
  5124. "hideFrom": {
  5125. "legend": false,
  5126. "tooltip": false,
  5127. "viz": false
  5128. },
  5129. "scaleDistribution": {
  5130. "type": "linear"
  5131. }
  5132. }
  5133. },
  5134. "overrides": []
  5135. },
  5136. "gridPos": {
  5137. "h": 9,
  5138. "w": 12,
  5139. "x": 0,
  5140. "y": 75
  5141. },
  5142. "heatmap": {},
  5143. "hideZeroBuckets": false,
  5144. "highlightCards": true,
  5145. "id": 164,
  5146. "legend": {
  5147. "show": false
  5148. },
  5149. "links": [],
  5150. "options": {
  5151. "calculate": false,
  5152. "calculation": {},
  5153. "cellGap": -1,
  5154. "cellValues": {
  5155. "decimals": 2
  5156. },
  5157. "color": {
  5158. "exponent": 0.5,
  5159. "fill": "#b4ff00",
  5160. "min": 0,
  5161. "mode": "scheme",
  5162. "reverse": false,
  5163. "scale": "exponential",
  5164. "scheme": "Inferno",
  5165. "steps": 128
  5166. },
  5167. "exemplars": {
  5168. "color": "rgba(255,0,255,0.7)"
  5169. },
  5170. "filterValues": {
  5171. "le": 1e-9
  5172. },
  5173. "legend": {
  5174. "show": false
  5175. },
  5176. "rowsFrame": {
  5177. "layout": "auto"
  5178. },
  5179. "showValue": "never",
  5180. "tooltip": {
  5181. "show": true,
  5182. "yHistogram": true
  5183. },
  5184. "yAxis": {
  5185. "axisPlacement": "left",
  5186. "decimals": 0,
  5187. "reverse": false,
  5188. "unit": "s"
  5189. }
  5190. },
  5191. "pluginVersion": "9.2.2",
  5192. "reverseYBuckets": false,
  5193. "targets": [
  5194. {
  5195. "datasource": {
  5196. "uid": "$datasource"
  5197. },
  5198. "expr": "sum(rate(synapse_federation_server_pdu_process_time_bucket{instance=\"$instance\"}[$bucket_size])) by (le)",
  5199. "format": "heatmap",
  5200. "instant": false,
  5201. "interval": "",
  5202. "intervalFactor": 1,
  5203. "legendFormat": "{{ le }}",
  5204. "refId": "A"
  5205. }
  5206. ],
  5207. "title": "Handle inbound PDU time",
  5208. "tooltip": {
  5209. "show": true,
  5210. "showHistogram": true
  5211. },
  5212. "tooltipDecimals": 2,
  5213. "type": "heatmap",
  5214. "xAxis": {
  5215. "show": true
  5216. },
  5217. "yAxis": {
  5218. "decimals": 0,
  5219. "format": "s",
  5220. "logBase": 1,
  5221. "show": true
  5222. },
  5223. "yBucketBound": "auto"
  5224. },
  5225. {
  5226. "aliasColors": {},
  5227. "bars": false,
  5228. "dashLength": 10,
  5229. "dashes": false,
  5230. "datasource": {
  5231. "type": "prometheus",
  5232. "uid": "$datasource"
  5233. },
  5234. "editable": true,
  5235. "error": false,
  5236. "fieldConfig": {
  5237. "defaults": {
  5238. "links": []
  5239. },
  5240. "overrides": []
  5241. },
  5242. "fill": 1,
  5243. "fillGradient": 0,
  5244. "grid": {},
  5245. "gridPos": {
  5246. "h": 9,
  5247. "w": 12,
  5248. "x": 12,
  5249. "y": 75
  5250. },
  5251. "hiddenSeries": false,
  5252. "id": 203,
  5253. "legend": {
  5254. "avg": false,
  5255. "current": false,
  5256. "max": false,
  5257. "min": false,
  5258. "show": true,
  5259. "total": false,
  5260. "values": false
  5261. },
  5262. "lines": true,
  5263. "linewidth": 2,
  5264. "links": [],
  5265. "nullPointMode": "null",
  5266. "options": {
  5267. "alertThreshold": true
  5268. },
  5269. "paceLength": 10,
  5270. "percentage": false,
  5271. "pluginVersion": "9.2.2",
  5272. "pointradius": 5,
  5273. "points": false,
  5274. "renderer": "flot",
  5275. "seriesOverrides": [],
  5276. "spaceLength": 10,
  5277. "stack": false,
  5278. "steppedLine": false,
  5279. "targets": [
  5280. {
  5281. "datasource": {
  5282. "uid": "$datasource"
  5283. },
  5284. "editorMode": "code",
  5285. "expr": "synapse_federation_server_oldest_inbound_pdu_in_staging{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  5286. "format": "time_series",
  5287. "interval": "",
  5288. "intervalFactor": 1,
  5289. "legendFormat": "{{job}}-{{index}}",
  5290. "range": true,
  5291. "refId": "A",
  5292. "step": 4
  5293. }
  5294. ],
  5295. "thresholds": [],
  5296. "timeRegions": [],
  5297. "title": "Age of oldest event in staging area",
  5298. "tooltip": {
  5299. "msResolution": false,
  5300. "shared": true,
  5301. "sort": 0,
  5302. "value_type": "cumulative"
  5303. },
  5304. "type": "graph",
  5305. "xaxis": {
  5306. "mode": "time",
  5307. "show": true,
  5308. "values": []
  5309. },
  5310. "yaxes": [
  5311. {
  5312. "$$hashKey": "object:92",
  5313. "format": "ms",
  5314. "logBase": 1,
  5315. "min": 0,
  5316. "show": true
  5317. },
  5318. {
  5319. "$$hashKey": "object:93",
  5320. "format": "short",
  5321. "logBase": 1,
  5322. "show": true
  5323. }
  5324. ],
  5325. "yaxis": {
  5326. "align": false
  5327. }
  5328. },
  5329. {
  5330. "aliasColors": {},
  5331. "bars": false,
  5332. "dashLength": 10,
  5333. "dashes": false,
  5334. "datasource": {
  5335. "type": "prometheus",
  5336. "uid": "$datasource"
  5337. },
  5338. "editable": true,
  5339. "error": false,
  5340. "fieldConfig": {
  5341. "defaults": {
  5342. "links": []
  5343. },
  5344. "overrides": []
  5345. },
  5346. "fill": 1,
  5347. "fillGradient": 0,
  5348. "grid": {},
  5349. "gridPos": {
  5350. "h": 9,
  5351. "w": 12,
  5352. "x": 0,
  5353. "y": 84
  5354. },
  5355. "hiddenSeries": false,
  5356. "id": 202,
  5357. "legend": {
  5358. "avg": false,
  5359. "current": false,
  5360. "max": false,
  5361. "min": false,
  5362. "show": true,
  5363. "total": false,
  5364. "values": false
  5365. },
  5366. "lines": true,
  5367. "linewidth": 2,
  5368. "links": [],
  5369. "nullPointMode": "null",
  5370. "options": {
  5371. "alertThreshold": true
  5372. },
  5373. "paceLength": 10,
  5374. "percentage": false,
  5375. "pluginVersion": "9.2.2",
  5376. "pointradius": 5,
  5377. "points": false,
  5378. "renderer": "flot",
  5379. "seriesOverrides": [],
  5380. "spaceLength": 10,
  5381. "stack": false,
  5382. "steppedLine": false,
  5383. "targets": [
  5384. {
  5385. "datasource": {
  5386. "uid": "$datasource"
  5387. },
  5388. "editorMode": "code",
  5389. "expr": "synapse_federation_server_number_inbound_pdu_in_staging{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  5390. "format": "time_series",
  5391. "interval": "",
  5392. "intervalFactor": 1,
  5393. "legendFormat": "{{job}}-{{index}}",
  5394. "range": true,
  5395. "refId": "A",
  5396. "step": 4
  5397. }
  5398. ],
  5399. "thresholds": [],
  5400. "timeRegions": [],
  5401. "title": "Number of events in federation staging area",
  5402. "tooltip": {
  5403. "msResolution": false,
  5404. "shared": true,
  5405. "sort": 0,
  5406. "value_type": "cumulative"
  5407. },
  5408. "type": "graph",
  5409. "xaxis": {
  5410. "mode": "time",
  5411. "show": true,
  5412. "values": []
  5413. },
  5414. "yaxes": [
  5415. {
  5416. "$$hashKey": "object:92",
  5417. "format": "none",
  5418. "logBase": 1,
  5419. "min": 0,
  5420. "show": true
  5421. },
  5422. {
  5423. "$$hashKey": "object:93",
  5424. "format": "short",
  5425. "logBase": 1,
  5426. "show": true
  5427. }
  5428. ],
  5429. "yaxis": {
  5430. "align": false
  5431. }
  5432. },
  5433. {
  5434. "aliasColors": {},
  5435. "bars": false,
  5436. "dashLength": 10,
  5437. "dashes": false,
  5438. "datasource": {
  5439. "type": "prometheus",
  5440. "uid": "$datasource"
  5441. },
  5442. "fill": 1,
  5443. "fillGradient": 0,
  5444. "gridPos": {
  5445. "h": 8,
  5446. "w": 12,
  5447. "x": 12,
  5448. "y": 84
  5449. },
  5450. "hiddenSeries": false,
  5451. "id": 205,
  5452. "legend": {
  5453. "avg": false,
  5454. "current": false,
  5455. "max": false,
  5456. "min": false,
  5457. "show": true,
  5458. "total": false,
  5459. "values": false
  5460. },
  5461. "lines": true,
  5462. "linewidth": 1,
  5463. "nullPointMode": "null",
  5464. "options": {
  5465. "alertThreshold": true
  5466. },
  5467. "percentage": false,
  5468. "pluginVersion": "9.2.2",
  5469. "pointradius": 2,
  5470. "points": false,
  5471. "renderer": "flot",
  5472. "seriesOverrides": [],
  5473. "spaceLength": 10,
  5474. "stack": false,
  5475. "steppedLine": false,
  5476. "targets": [
  5477. {
  5478. "datasource": {
  5479. "type": "prometheus",
  5480. "uid": "$datasource"
  5481. },
  5482. "expr": "sum(rate(synapse_federation_soft_failed_events_total{instance=\"$instance\"}[$bucket_size]))",
  5483. "interval": "",
  5484. "legendFormat": "soft-failed events",
  5485. "refId": "A"
  5486. }
  5487. ],
  5488. "thresholds": [],
  5489. "timeRegions": [],
  5490. "title": "Soft-failed event rate",
  5491. "tooltip": {
  5492. "shared": true,
  5493. "sort": 0,
  5494. "value_type": "individual"
  5495. },
  5496. "type": "graph",
  5497. "xaxis": {
  5498. "mode": "time",
  5499. "show": true,
  5500. "values": []
  5501. },
  5502. "yaxes": [
  5503. {
  5504. "$$hashKey": "object:131",
  5505. "format": "hertz",
  5506. "logBase": 1,
  5507. "show": true
  5508. },
  5509. {
  5510. "$$hashKey": "object:132",
  5511. "format": "short",
  5512. "logBase": 1,
  5513. "show": false
  5514. }
  5515. ],
  5516. "yaxis": {
  5517. "align": false
  5518. }
  5519. }
  5520. ],
  5521. "targets": [
  5522. {
  5523. "datasource": {
  5524. "type": "prometheus",
  5525. "uid": "$datasource"
  5526. },
  5527. "refId": "A"
  5528. }
  5529. ],
  5530. "title": "Federation",
  5531. "type": "row"
  5532. },
  5533. {
  5534. "collapsed": true,
  5535. "gridPos": {
  5536. "h": 1,
  5537. "w": 24,
  5538. "x": 0,
  5539. "y": 31
  5540. },
  5541. "id": 227,
  5542. "panels": [
  5543. {
  5544. "datasource": {
  5545. "type": "prometheus",
  5546. "uid": "${DS_PROMETHEUS}"
  5547. },
  5548. "fieldConfig": {
  5549. "defaults": {
  5550. "color": {
  5551. "mode": "palette-classic"
  5552. },
  5553. "custom": {
  5554. "axisCenteredZero": false,
  5555. "axisColorMode": "text",
  5556. "axisLabel": "",
  5557. "axisPlacement": "auto",
  5558. "barAlignment": 0,
  5559. "drawStyle": "line",
  5560. "fillOpacity": 0,
  5561. "gradientMode": "none",
  5562. "hideFrom": {
  5563. "legend": false,
  5564. "tooltip": false,
  5565. "viz": false
  5566. },
  5567. "lineInterpolation": "linear",
  5568. "lineWidth": 1,
  5569. "pointSize": 5,
  5570. "scaleDistribution": {
  5571. "type": "linear"
  5572. },
  5573. "showPoints": "auto",
  5574. "spanNulls": false,
  5575. "stacking": {
  5576. "group": "A",
  5577. "mode": "none"
  5578. },
  5579. "thresholdsStyle": {
  5580. "mode": "off"
  5581. }
  5582. },
  5583. "mappings": [],
  5584. "thresholds": {
  5585. "mode": "absolute",
  5586. "steps": [
  5587. {
  5588. "color": "green"
  5589. },
  5590. {
  5591. "color": "red",
  5592. "value": 80
  5593. }
  5594. ]
  5595. }
  5596. },
  5597. "overrides": []
  5598. },
  5599. "gridPos": {
  5600. "h": 8,
  5601. "w": 12,
  5602. "x": 0,
  5603. "y": 154
  5604. },
  5605. "id": 239,
  5606. "options": {
  5607. "legend": {
  5608. "calcs": [],
  5609. "displayMode": "list",
  5610. "placement": "bottom",
  5611. "showLegend": true
  5612. },
  5613. "tooltip": {
  5614. "mode": "single",
  5615. "sort": "none"
  5616. }
  5617. },
  5618. "targets": [
  5619. {
  5620. "datasource": {
  5621. "type": "prometheus",
  5622. "uid": "${DS_PROMETHEUS}"
  5623. },
  5624. "expr": "sum(increase(synapse_rate_limit_reject_total{instance=\"$instance\"}[$bucket_size]))",
  5625. "refId": "A"
  5626. }
  5627. ],
  5628. "title": "Number of rate limit rejected requests",
  5629. "type": "timeseries"
  5630. },
  5631. {
  5632. "datasource": {
  5633. "type": "prometheus",
  5634. "uid": "${DS_PROMETHEUS}"
  5635. },
  5636. "fieldConfig": {
  5637. "defaults": {
  5638. "color": {
  5639. "mode": "palette-classic"
  5640. },
  5641. "custom": {
  5642. "axisCenteredZero": false,
  5643. "axisColorMode": "text",
  5644. "axisLabel": "",
  5645. "axisPlacement": "auto",
  5646. "barAlignment": 0,
  5647. "drawStyle": "line",
  5648. "fillOpacity": 0,
  5649. "gradientMode": "none",
  5650. "hideFrom": {
  5651. "legend": false,
  5652. "tooltip": false,
  5653. "viz": false
  5654. },
  5655. "lineInterpolation": "linear",
  5656. "lineWidth": 1,
  5657. "pointSize": 5,
  5658. "scaleDistribution": {
  5659. "type": "linear"
  5660. },
  5661. "showPoints": "auto",
  5662. "spanNulls": false,
  5663. "stacking": {
  5664. "group": "A",
  5665. "mode": "none"
  5666. },
  5667. "thresholdsStyle": {
  5668. "mode": "off"
  5669. }
  5670. },
  5671. "mappings": [],
  5672. "thresholds": {
  5673. "mode": "absolute",
  5674. "steps": [
  5675. {
  5676. "color": "green"
  5677. },
  5678. {
  5679. "color": "red",
  5680. "value": 80
  5681. }
  5682. ]
  5683. }
  5684. },
  5685. "overrides": []
  5686. },
  5687. "gridPos": {
  5688. "h": 8,
  5689. "w": 12,
  5690. "x": 12,
  5691. "y": 154
  5692. },
  5693. "id": 235,
  5694. "options": {
  5695. "legend": {
  5696. "calcs": [],
  5697. "displayMode": "list",
  5698. "placement": "bottom",
  5699. "showLegend": true
  5700. },
  5701. "tooltip": {
  5702. "mode": "single",
  5703. "sort": "none"
  5704. }
  5705. },
  5706. "targets": [
  5707. {
  5708. "datasource": {
  5709. "type": "prometheus",
  5710. "uid": "${DS_PROMETHEUS}"
  5711. },
  5712. "expr": "sum(increase(synapse_rate_limit_sleep_total{instance=\"$instance\"}[$bucket_size]))",
  5713. "refId": "A"
  5714. }
  5715. ],
  5716. "title": "Number of requests being slept by the rate limiter",
  5717. "type": "timeseries"
  5718. },
  5719. {
  5720. "datasource": {
  5721. "type": "prometheus",
  5722. "uid": "${DS_PROMETHEUS}"
  5723. },
  5724. "description": "Why is the data zero (0)? https://github.com/matrix-org/synapse/pull/13541#discussion_r951926322",
  5725. "fieldConfig": {
  5726. "defaults": {
  5727. "color": {
  5728. "mode": "palette-classic"
  5729. },
  5730. "custom": {
  5731. "axisCenteredZero": false,
  5732. "axisColorMode": "text",
  5733. "axisLabel": "",
  5734. "axisPlacement": "auto",
  5735. "barAlignment": 0,
  5736. "drawStyle": "line",
  5737. "fillOpacity": 0,
  5738. "gradientMode": "none",
  5739. "hideFrom": {
  5740. "legend": false,
  5741. "tooltip": false,
  5742. "viz": false
  5743. },
  5744. "lineInterpolation": "linear",
  5745. "lineWidth": 1,
  5746. "pointSize": 5,
  5747. "scaleDistribution": {
  5748. "type": "linear"
  5749. },
  5750. "showPoints": "auto",
  5751. "spanNulls": false,
  5752. "stacking": {
  5753. "group": "A",
  5754. "mode": "none"
  5755. },
  5756. "thresholdsStyle": {
  5757. "mode": "off"
  5758. }
  5759. },
  5760. "mappings": [],
  5761. "thresholds": {
  5762. "mode": "absolute",
  5763. "steps": [
  5764. {
  5765. "color": "green"
  5766. },
  5767. {
  5768. "color": "red",
  5769. "value": 80
  5770. }
  5771. ]
  5772. }
  5773. },
  5774. "overrides": []
  5775. },
  5776. "gridPos": {
  5777. "h": 8,
  5778. "w": 12,
  5779. "x": 0,
  5780. "y": 162
  5781. },
  5782. "id": 237,
  5783. "options": {
  5784. "legend": {
  5785. "calcs": [],
  5786. "displayMode": "list",
  5787. "placement": "bottom",
  5788. "showLegend": true
  5789. },
  5790. "tooltip": {
  5791. "mode": "single",
  5792. "sort": "none"
  5793. }
  5794. },
  5795. "pluginVersion": "9.0.4",
  5796. "targets": [
  5797. {
  5798. "datasource": {
  5799. "type": "prometheus",
  5800. "uid": "${DS_PROMETHEUS}"
  5801. },
  5802. "expr": "sum(increase(synapse_rate_limit_reject_affected_hosts{instance=\"$instance\"}[$bucket_size]))",
  5803. "refId": "A"
  5804. }
  5805. ],
  5806. "title": "Number of hosts being rejected by the rate limiter",
  5807. "type": "timeseries"
  5808. },
  5809. {
  5810. "datasource": {
  5811. "type": "prometheus",
  5812. "uid": "${DS_PROMETHEUS}"
  5813. },
  5814. "description": "https://github.com/matrix-org/synapse/pull/13541",
  5815. "fieldConfig": {
  5816. "defaults": {
  5817. "color": {
  5818. "mode": "palette-classic"
  5819. },
  5820. "custom": {
  5821. "axisCenteredZero": false,
  5822. "axisColorMode": "text",
  5823. "axisLabel": "",
  5824. "axisPlacement": "auto",
  5825. "barAlignment": 0,
  5826. "drawStyle": "line",
  5827. "fillOpacity": 0,
  5828. "gradientMode": "none",
  5829. "hideFrom": {
  5830. "legend": false,
  5831. "tooltip": false,
  5832. "viz": false
  5833. },
  5834. "lineInterpolation": "linear",
  5835. "lineWidth": 1,
  5836. "pointSize": 5,
  5837. "scaleDistribution": {
  5838. "type": "linear"
  5839. },
  5840. "showPoints": "auto",
  5841. "spanNulls": false,
  5842. "stacking": {
  5843. "group": "A",
  5844. "mode": "none"
  5845. },
  5846. "thresholdsStyle": {
  5847. "mode": "off"
  5848. }
  5849. },
  5850. "mappings": [],
  5851. "thresholds": {
  5852. "mode": "absolute",
  5853. "steps": [
  5854. {
  5855. "color": "green"
  5856. },
  5857. {
  5858. "color": "red",
  5859. "value": 80
  5860. }
  5861. ]
  5862. }
  5863. },
  5864. "overrides": []
  5865. },
  5866. "gridPos": {
  5867. "h": 8,
  5868. "w": 12,
  5869. "x": 12,
  5870. "y": 162
  5871. },
  5872. "id": 233,
  5873. "options": {
  5874. "legend": {
  5875. "calcs": [],
  5876. "displayMode": "list",
  5877. "placement": "bottom",
  5878. "showLegend": true
  5879. },
  5880. "tooltip": {
  5881. "mode": "single",
  5882. "sort": "none"
  5883. }
  5884. },
  5885. "pluginVersion": "9.0.4",
  5886. "targets": [
  5887. {
  5888. "datasource": {
  5889. "type": "prometheus",
  5890. "uid": "${DS_PROMETHEUS}"
  5891. },
  5892. "expr": "sum(increase(synapse_rate_limit_sleep_affected_hosts{instance=\"$instance\"}[$bucket_size]))",
  5893. "refId": "A"
  5894. }
  5895. ],
  5896. "title": "Number of hosts being slept by the rate limiter",
  5897. "type": "timeseries"
  5898. },
  5899. {
  5900. "aliasColors": {},
  5901. "bars": false,
  5902. "dashLength": 10,
  5903. "dashes": false,
  5904. "datasource": {
  5905. "type": "prometheus",
  5906. "uid": "$datasource"
  5907. },
  5908. "description": "",
  5909. "fieldConfig": {
  5910. "defaults": {
  5911. "links": []
  5912. },
  5913. "overrides": []
  5914. },
  5915. "fill": 0,
  5916. "fillGradient": 0,
  5917. "gridPos": {
  5918. "h": 8,
  5919. "w": 12,
  5920. "x": 0,
  5921. "y": 170
  5922. },
  5923. "hiddenSeries": false,
  5924. "id": 229,
  5925. "legend": {
  5926. "avg": false,
  5927. "current": false,
  5928. "max": false,
  5929. "min": false,
  5930. "rightSide": false,
  5931. "show": true,
  5932. "total": false,
  5933. "values": false
  5934. },
  5935. "lines": true,
  5936. "linewidth": 0,
  5937. "links": [],
  5938. "nullPointMode": "connected",
  5939. "options": {
  5940. "alertThreshold": true
  5941. },
  5942. "paceLength": 10,
  5943. "percentage": false,
  5944. "pluginVersion": "9.2.2",
  5945. "pointradius": 5,
  5946. "points": false,
  5947. "renderer": "flot",
  5948. "seriesOverrides": [
  5949. {
  5950. "$$hashKey": "object:276",
  5951. "alias": "Avg",
  5952. "fill": 0,
  5953. "linewidth": 3
  5954. },
  5955. {
  5956. "$$hashKey": "object:277",
  5957. "alias": "99%",
  5958. "color": "#C4162A",
  5959. "fillBelowTo": "90%"
  5960. },
  5961. {
  5962. "$$hashKey": "object:278",
  5963. "alias": "90%",
  5964. "color": "#FF7383",
  5965. "fillBelowTo": "75%"
  5966. },
  5967. {
  5968. "$$hashKey": "object:279",
  5969. "alias": "75%",
  5970. "color": "#FFEE52",
  5971. "fillBelowTo": "50%"
  5972. },
  5973. {
  5974. "$$hashKey": "object:280",
  5975. "alias": "50%",
  5976. "color": "#73BF69",
  5977. "fillBelowTo": "25%"
  5978. },
  5979. {
  5980. "$$hashKey": "object:281",
  5981. "alias": "25%",
  5982. "color": "#1F60C4",
  5983. "fillBelowTo": "5%"
  5984. },
  5985. {
  5986. "$$hashKey": "object:282",
  5987. "alias": "5%",
  5988. "lines": false
  5989. },
  5990. {
  5991. "$$hashKey": "object:283",
  5992. "alias": "Average",
  5993. "color": "rgb(255, 255, 255)",
  5994. "lines": true,
  5995. "linewidth": 3
  5996. },
  5997. {
  5998. "$$hashKey": "object:284",
  5999. "alias": ">99%",
  6000. "color": "#B877D9",
  6001. "fill": 3,
  6002. "lines": true
  6003. }
  6004. ],
  6005. "spaceLength": 10,
  6006. "stack": false,
  6007. "steppedLine": false,
  6008. "targets": [
  6009. {
  6010. "datasource": {
  6011. "uid": "$datasource"
  6012. },
  6013. "editorMode": "code",
  6014. "expr": "histogram_quantile(0.9995, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  6015. "format": "time_series",
  6016. "hide": false,
  6017. "intervalFactor": 1,
  6018. "legendFormat": ">99%",
  6019. "range": true,
  6020. "refId": "E"
  6021. },
  6022. {
  6023. "datasource": {
  6024. "uid": "$datasource"
  6025. },
  6026. "editorMode": "code",
  6027. "expr": "histogram_quantile(0.99, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  6028. "format": "time_series",
  6029. "intervalFactor": 1,
  6030. "legendFormat": "99%",
  6031. "range": true,
  6032. "refId": "D"
  6033. },
  6034. {
  6035. "datasource": {
  6036. "uid": "$datasource"
  6037. },
  6038. "expr": "histogram_quantile(0.9, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  6039. "format": "time_series",
  6040. "interval": "",
  6041. "intervalFactor": 1,
  6042. "legendFormat": "90%",
  6043. "refId": "A"
  6044. },
  6045. {
  6046. "datasource": {
  6047. "uid": "$datasource"
  6048. },
  6049. "expr": "histogram_quantile(0.75, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  6050. "format": "time_series",
  6051. "intervalFactor": 1,
  6052. "legendFormat": "75%",
  6053. "refId": "C"
  6054. },
  6055. {
  6056. "datasource": {
  6057. "uid": "$datasource"
  6058. },
  6059. "expr": "histogram_quantile(0.5, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  6060. "format": "time_series",
  6061. "intervalFactor": 1,
  6062. "legendFormat": "50%",
  6063. "refId": "B"
  6064. },
  6065. {
  6066. "datasource": {
  6067. "uid": "$datasource"
  6068. },
  6069. "expr": "histogram_quantile(0.25, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  6070. "legendFormat": "25%",
  6071. "refId": "F"
  6072. },
  6073. {
  6074. "datasource": {
  6075. "uid": "$datasource"
  6076. },
  6077. "expr": "histogram_quantile(0.05, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))",
  6078. "legendFormat": "5%",
  6079. "refId": "G"
  6080. },
  6081. {
  6082. "datasource": {
  6083. "uid": "$datasource"
  6084. },
  6085. "expr": "sum(rate(synapse_rate_limit_queue_wait_time_seconds_sum{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) / sum(rate(synapse_rate_limit_queue_wait_time_seconds_count{index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  6086. "legendFormat": "Average",
  6087. "refId": "H"
  6088. }
  6089. ],
  6090. "thresholds": [
  6091. {
  6092. "$$hashKey": "object:283",
  6093. "colorMode": "warning",
  6094. "fill": false,
  6095. "line": true,
  6096. "op": "gt",
  6097. "value": 1,
  6098. "yaxis": "left"
  6099. },
  6100. {
  6101. "$$hashKey": "object:284",
  6102. "colorMode": "critical",
  6103. "fill": false,
  6104. "line": true,
  6105. "op": "gt",
  6106. "value": 2,
  6107. "yaxis": "left"
  6108. }
  6109. ],
  6110. "timeRegions": [],
  6111. "title": "Rate limit queue wait time Quantiles (all workers)",
  6112. "tooltip": {
  6113. "shared": true,
  6114. "sort": 2,
  6115. "value_type": "individual"
  6116. },
  6117. "type": "graph",
  6118. "xaxis": {
  6119. "mode": "time",
  6120. "show": true,
  6121. "values": []
  6122. },
  6123. "yaxes": [
  6124. {
  6125. "$$hashKey": "object:255",
  6126. "format": "s",
  6127. "label": "",
  6128. "logBase": 1,
  6129. "min": "0",
  6130. "show": true
  6131. },
  6132. {
  6133. "$$hashKey": "object:256",
  6134. "format": "hertz",
  6135. "label": "",
  6136. "logBase": 1,
  6137. "min": "0",
  6138. "show": true
  6139. }
  6140. ],
  6141. "yaxis": {
  6142. "align": false
  6143. }
  6144. },
  6145. {
  6146. "datasource": {
  6147. "type": "prometheus",
  6148. "uid": "${DS_PROMETHEUS}"
  6149. },
  6150. "fieldConfig": {
  6151. "defaults": {
  6152. "color": {
  6153. "mode": "palette-classic"
  6154. },
  6155. "custom": {
  6156. "axisCenteredZero": false,
  6157. "axisColorMode": "text",
  6158. "axisLabel": "",
  6159. "axisPlacement": "auto",
  6160. "barAlignment": 0,
  6161. "drawStyle": "line",
  6162. "fillOpacity": 0,
  6163. "gradientMode": "none",
  6164. "hideFrom": {
  6165. "legend": false,
  6166. "tooltip": false,
  6167. "viz": false
  6168. },
  6169. "lineInterpolation": "linear",
  6170. "lineWidth": 1,
  6171. "pointSize": 5,
  6172. "scaleDistribution": {
  6173. "type": "linear"
  6174. },
  6175. "showPoints": "auto",
  6176. "spanNulls": false,
  6177. "stacking": {
  6178. "group": "A",
  6179. "mode": "none"
  6180. },
  6181. "thresholdsStyle": {
  6182. "mode": "line"
  6183. }
  6184. },
  6185. "mappings": [],
  6186. "thresholds": {
  6187. "mode": "absolute",
  6188. "steps": [
  6189. {
  6190. "color": "green"
  6191. }
  6192. ]
  6193. },
  6194. "unit": "hertz"
  6195. },
  6196. "overrides": [
  6197. {
  6198. "matcher": {
  6199. "id": "byName",
  6200. "options": "Default reject threshold (50 requests within a second)"
  6201. },
  6202. "properties": [
  6203. {
  6204. "id": "color",
  6205. "value": {
  6206. "fixedColor": "red",
  6207. "mode": "fixed"
  6208. }
  6209. },
  6210. {
  6211. "id": "custom.lineWidth",
  6212. "value": 2
  6213. }
  6214. ]
  6215. }
  6216. ]
  6217. },
  6218. "gridPos": {
  6219. "h": 8,
  6220. "w": 12,
  6221. "x": 12,
  6222. "y": 170
  6223. },
  6224. "id": 231,
  6225. "options": {
  6226. "legend": {
  6227. "calcs": [],
  6228. "displayMode": "list",
  6229. "placement": "bottom",
  6230. "showLegend": true
  6231. },
  6232. "tooltip": {
  6233. "mode": "single",
  6234. "sort": "none"
  6235. }
  6236. },
  6237. "targets": [
  6238. {
  6239. "datasource": {
  6240. "type": "prometheus",
  6241. "uid": "${DS_PROMETHEUS}"
  6242. },
  6243. "expr": "sum(rate(synapse_rate_limit_sleep_total{instance=\"$instance\"}[$bucket_size]))",
  6244. "refId": "A"
  6245. },
  6246. {
  6247. "datasource": {
  6248. "type": "prometheus",
  6249. "uid": "${DS_PROMETHEUS}"
  6250. },
  6251. "editorMode": "code",
  6252. "expr": "50",
  6253. "hide": false,
  6254. "legendFormat": "Default reject threshold (50 requests within a second)",
  6255. "range": true,
  6256. "refId": "B"
  6257. }
  6258. ],
  6259. "title": "Rate of requests being slept by the rate limiter",
  6260. "type": "timeseries"
  6261. }
  6262. ],
  6263. "title": "Federation rate limiter",
  6264. "type": "row"
  6265. },
  6266. {
  6267. "collapsed": true,
  6268. "datasource": {
  6269. "type": "prometheus",
  6270. "uid": "$datasource"
  6271. },
  6272. "gridPos": {
  6273. "h": 1,
  6274. "w": 24,
  6275. "x": 0,
  6276. "y": 32
  6277. },
  6278. "id": 60,
  6279. "panels": [
  6280. {
  6281. "datasource": {
  6282. "type": "prometheus",
  6283. "uid": "$datasource"
  6284. },
  6285. "fieldConfig": {
  6286. "defaults": {
  6287. "color": {
  6288. "mode": "palette-classic"
  6289. },
  6290. "custom": {
  6291. "axisCenteredZero": false,
  6292. "axisColorMode": "text",
  6293. "axisLabel": "",
  6294. "axisPlacement": "auto",
  6295. "barAlignment": 0,
  6296. "drawStyle": "line",
  6297. "fillOpacity": 10,
  6298. "gradientMode": "none",
  6299. "hideFrom": {
  6300. "legend": false,
  6301. "tooltip": false,
  6302. "viz": false
  6303. },
  6304. "lineInterpolation": "linear",
  6305. "lineWidth": 1,
  6306. "pointSize": 5,
  6307. "scaleDistribution": {
  6308. "type": "linear"
  6309. },
  6310. "showPoints": "never",
  6311. "spanNulls": false,
  6312. "stacking": {
  6313. "group": "A",
  6314. "mode": "none"
  6315. },
  6316. "thresholdsStyle": {
  6317. "mode": "off"
  6318. }
  6319. },
  6320. "links": [],
  6321. "mappings": [],
  6322. "thresholds": {
  6323. "mode": "absolute",
  6324. "steps": [
  6325. {
  6326. "color": "green"
  6327. },
  6328. {
  6329. "color": "red",
  6330. "value": 80
  6331. }
  6332. ]
  6333. },
  6334. "unit": "hertz"
  6335. },
  6336. "overrides": []
  6337. },
  6338. "gridPos": {
  6339. "h": 8,
  6340. "w": 12,
  6341. "x": 0,
  6342. "y": 155
  6343. },
  6344. "id": 51,
  6345. "links": [],
  6346. "options": {
  6347. "legend": {
  6348. "calcs": [],
  6349. "displayMode": "list",
  6350. "placement": "bottom",
  6351. "showLegend": true
  6352. },
  6353. "tooltip": {
  6354. "mode": "multi",
  6355. "sort": "none"
  6356. }
  6357. },
  6358. "pluginVersion": "9.2.2",
  6359. "targets": [
  6360. {
  6361. "datasource": {
  6362. "uid": "$datasource"
  6363. },
  6364. "editorMode": "code",
  6365. "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",
  6366. "format": "time_series",
  6367. "interval": "",
  6368. "intervalFactor": 2,
  6369. "legendFormat": "processed {{job}}-{{index}}",
  6370. "range": true,
  6371. "refId": "A",
  6372. "step": 20
  6373. },
  6374. {
  6375. "datasource": {
  6376. "uid": "$datasource"
  6377. },
  6378. "editorMode": "code",
  6379. "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",
  6380. "format": "time_series",
  6381. "intervalFactor": 2,
  6382. "legendFormat": "failed {{job}}-{{index}}",
  6383. "range": true,
  6384. "refId": "B",
  6385. "step": 20
  6386. }
  6387. ],
  6388. "title": "HTTP Push rate",
  6389. "type": "timeseries"
  6390. },
  6391. {
  6392. "aliasColors": {},
  6393. "bars": false,
  6394. "dashLength": 10,
  6395. "dashes": false,
  6396. "datasource": {
  6397. "uid": "$datasource"
  6398. },
  6399. "description": "",
  6400. "fieldConfig": {
  6401. "defaults": {
  6402. "links": []
  6403. },
  6404. "overrides": []
  6405. },
  6406. "fill": 1,
  6407. "fillGradient": 0,
  6408. "gridPos": {
  6409. "h": 8,
  6410. "w": 12,
  6411. "x": 12,
  6412. "y": 155
  6413. },
  6414. "hiddenSeries": false,
  6415. "id": 134,
  6416. "legend": {
  6417. "avg": false,
  6418. "current": false,
  6419. "hideZero": false,
  6420. "max": false,
  6421. "min": false,
  6422. "show": true,
  6423. "total": false,
  6424. "values": false
  6425. },
  6426. "lines": true,
  6427. "linewidth": 1,
  6428. "nullPointMode": "null",
  6429. "options": {
  6430. "alertThreshold": true
  6431. },
  6432. "percentage": false,
  6433. "pluginVersion": "9.2.2",
  6434. "pointradius": 2,
  6435. "points": false,
  6436. "renderer": "flot",
  6437. "seriesOverrides": [],
  6438. "spaceLength": 10,
  6439. "stack": false,
  6440. "steppedLine": false,
  6441. "targets": [
  6442. {
  6443. "datasource": {
  6444. "uid": "$datasource"
  6445. },
  6446. "expr": "topk(10,synapse_pushers{job=~\"$job\",index=~\"$index\", instance=\"$instance\"})",
  6447. "legendFormat": "{{kind}} {{app_id}}",
  6448. "refId": "A"
  6449. }
  6450. ],
  6451. "thresholds": [],
  6452. "timeRegions": [],
  6453. "title": "Active pusher instances by app",
  6454. "tooltip": {
  6455. "shared": false,
  6456. "sort": 2,
  6457. "value_type": "individual"
  6458. },
  6459. "type": "graph",
  6460. "xaxis": {
  6461. "mode": "time",
  6462. "show": true,
  6463. "values": []
  6464. },
  6465. "yaxes": [
  6466. {
  6467. "format": "short",
  6468. "logBase": 1,
  6469. "show": true
  6470. },
  6471. {
  6472. "format": "short",
  6473. "logBase": 1,
  6474. "show": true
  6475. }
  6476. ],
  6477. "yaxis": {
  6478. "align": false
  6479. }
  6480. }
  6481. ],
  6482. "targets": [
  6483. {
  6484. "datasource": {
  6485. "type": "prometheus",
  6486. "uid": "$datasource"
  6487. },
  6488. "refId": "A"
  6489. }
  6490. ],
  6491. "title": "Pushes",
  6492. "type": "row"
  6493. },
  6494. {
  6495. "collapsed": true,
  6496. "datasource": {
  6497. "type": "prometheus",
  6498. "uid": "$datasource"
  6499. },
  6500. "gridPos": {
  6501. "h": 1,
  6502. "w": 24,
  6503. "x": 0,
  6504. "y": 33
  6505. },
  6506. "id": 219,
  6507. "panels": [
  6508. {
  6509. "aliasColors": {},
  6510. "bars": false,
  6511. "dashLength": 10,
  6512. "dashes": false,
  6513. "datasource": {
  6514. "type": "prometheus",
  6515. "uid": "${DS_PROMETHEUS}"
  6516. },
  6517. "description": "How many entries in current state that we are iterating over while calculating push rules.",
  6518. "fieldConfig": {
  6519. "defaults": {
  6520. "links": []
  6521. },
  6522. "overrides": []
  6523. },
  6524. "fill": 1,
  6525. "fillGradient": 0,
  6526. "gridPos": {
  6527. "h": 7,
  6528. "w": 12,
  6529. "x": 0,
  6530. "y": 33
  6531. },
  6532. "hiddenSeries": false,
  6533. "id": 209,
  6534. "legend": {
  6535. "avg": false,
  6536. "current": false,
  6537. "max": false,
  6538. "min": false,
  6539. "show": false,
  6540. "total": false,
  6541. "values": false
  6542. },
  6543. "lines": true,
  6544. "linewidth": 1,
  6545. "links": [],
  6546. "nullPointMode": "null",
  6547. "options": {
  6548. "alertThreshold": true
  6549. },
  6550. "paceLength": 10,
  6551. "percentage": false,
  6552. "pluginVersion": "8.4.3",
  6553. "pointradius": 5,
  6554. "points": false,
  6555. "renderer": "flot",
  6556. "seriesOverrides": [],
  6557. "spaceLength": 10,
  6558. "stack": false,
  6559. "steppedLine": false,
  6560. "targets": [
  6561. {
  6562. "datasource": {
  6563. "type": "prometheus",
  6564. "uid": "${DS_PROMETHEUS}"
  6565. },
  6566. "exemplar": true,
  6567. "expr": "sum(rate(synapse_push_bulk_push_rule_evaluator_push_rules_state_size_counter_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  6568. "format": "time_series",
  6569. "interval": "",
  6570. "intervalFactor": 2,
  6571. "legendFormat": "{{index}}",
  6572. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_state_size_counter_total",
  6573. "refId": "A",
  6574. "step": 2
  6575. }
  6576. ],
  6577. "thresholds": [],
  6578. "timeRegions": [],
  6579. "title": "Iterations over State",
  6580. "tooltip": {
  6581. "shared": true,
  6582. "sort": 0,
  6583. "value_type": "individual"
  6584. },
  6585. "type": "graph",
  6586. "xaxis": {
  6587. "mode": "time",
  6588. "show": true,
  6589. "values": []
  6590. },
  6591. "yaxes": [
  6592. {
  6593. "format": "hertz",
  6594. "label": "",
  6595. "logBase": 1,
  6596. "min": "0",
  6597. "show": true
  6598. },
  6599. {
  6600. "format": "short",
  6601. "logBase": 1,
  6602. "show": true
  6603. }
  6604. ],
  6605. "yaxis": {
  6606. "align": false
  6607. }
  6608. },
  6609. {
  6610. "aliasColors": {},
  6611. "bars": false,
  6612. "dashLength": 10,
  6613. "dashes": false,
  6614. "datasource": {
  6615. "type": "prometheus",
  6616. "uid": "${DS_PROMETHEUS}"
  6617. },
  6618. "description": "Rate that the cached push rules for a room get invalidated due to underlying push rules being changed. ",
  6619. "fieldConfig": {
  6620. "defaults": {
  6621. "links": []
  6622. },
  6623. "overrides": []
  6624. },
  6625. "fill": 1,
  6626. "fillGradient": 0,
  6627. "gridPos": {
  6628. "h": 7,
  6629. "w": 12,
  6630. "x": 12,
  6631. "y": 33
  6632. },
  6633. "hiddenSeries": false,
  6634. "id": 211,
  6635. "legend": {
  6636. "avg": false,
  6637. "current": false,
  6638. "max": false,
  6639. "min": false,
  6640. "show": false,
  6641. "total": false,
  6642. "values": false
  6643. },
  6644. "lines": true,
  6645. "linewidth": 1,
  6646. "links": [],
  6647. "nullPointMode": "null",
  6648. "options": {
  6649. "alertThreshold": true
  6650. },
  6651. "paceLength": 10,
  6652. "percentage": false,
  6653. "pluginVersion": "8.4.3",
  6654. "pointradius": 5,
  6655. "points": false,
  6656. "renderer": "flot",
  6657. "seriesOverrides": [],
  6658. "spaceLength": 10,
  6659. "stack": false,
  6660. "steppedLine": false,
  6661. "targets": [
  6662. {
  6663. "datasource": {
  6664. "type": "prometheus",
  6665. "uid": "$datasource"
  6666. },
  6667. "exemplar": true,
  6668. "expr": "sum(rate(synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))",
  6669. "format": "time_series",
  6670. "interval": "",
  6671. "intervalFactor": 2,
  6672. "legendFormat": "{{index}}",
  6673. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  6674. "refId": "A",
  6675. "step": 2
  6676. }
  6677. ],
  6678. "thresholds": [],
  6679. "timeRegions": [],
  6680. "title": "Push Rule Invalidations",
  6681. "tooltip": {
  6682. "shared": true,
  6683. "sort": 0,
  6684. "value_type": "individual"
  6685. },
  6686. "type": "graph",
  6687. "xaxis": {
  6688. "mode": "time",
  6689. "show": true,
  6690. "values": []
  6691. },
  6692. "yaxes": [
  6693. {
  6694. "format": "hertz",
  6695. "label": "",
  6696. "logBase": 1,
  6697. "min": "0",
  6698. "show": true
  6699. },
  6700. {
  6701. "format": "short",
  6702. "logBase": 1,
  6703. "show": true
  6704. }
  6705. ],
  6706. "yaxis": {
  6707. "align": false
  6708. }
  6709. },
  6710. {
  6711. "aliasColors": {},
  6712. "bars": false,
  6713. "dashLength": 10,
  6714. "dashes": false,
  6715. "datasource": {
  6716. "type": "prometheus",
  6717. "uid": "${DS_PROMETHEUS}"
  6718. },
  6719. "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.",
  6720. "fieldConfig": {
  6721. "defaults": {
  6722. "links": []
  6723. },
  6724. "overrides": []
  6725. },
  6726. "fill": 1,
  6727. "fillGradient": 0,
  6728. "gridPos": {
  6729. "h": 7,
  6730. "w": 12,
  6731. "x": 0,
  6732. "y": 40
  6733. },
  6734. "hiddenSeries": false,
  6735. "id": 213,
  6736. "legend": {
  6737. "avg": false,
  6738. "current": false,
  6739. "max": false,
  6740. "min": false,
  6741. "show": true,
  6742. "total": false,
  6743. "values": false
  6744. },
  6745. "lines": true,
  6746. "linewidth": 1,
  6747. "links": [],
  6748. "nullPointMode": "null",
  6749. "options": {
  6750. "alertThreshold": true
  6751. },
  6752. "paceLength": 10,
  6753. "percentage": false,
  6754. "pluginVersion": "8.4.3",
  6755. "pointradius": 5,
  6756. "points": false,
  6757. "renderer": "flot",
  6758. "seriesOverrides": [
  6759. {
  6760. "alias": "Number of calls",
  6761. "yaxis": 2
  6762. }
  6763. ],
  6764. "spaceLength": 10,
  6765. "stack": false,
  6766. "steppedLine": false,
  6767. "targets": [
  6768. {
  6769. "datasource": {
  6770. "type": "prometheus",
  6771. "uid": "${DS_PROMETHEUS}"
  6772. },
  6773. "exemplar": true,
  6774. "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]))",
  6775. "format": "time_series",
  6776. "interval": "",
  6777. "intervalFactor": 2,
  6778. "legendFormat": "Hit Rate",
  6779. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  6780. "refId": "A",
  6781. "step": 2
  6782. },
  6783. {
  6784. "datasource": {
  6785. "type": "prometheus",
  6786. "uid": "${DS_PROMETHEUS}"
  6787. },
  6788. "exemplar": true,
  6789. "expr": "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"push_rules_delta_state_cache_metric\",instance=\"$instance\"}[$bucket_size]))",
  6790. "format": "time_series",
  6791. "interval": "",
  6792. "intervalFactor": 2,
  6793. "legendFormat": "Number of calls",
  6794. "refId": "B",
  6795. "step": 2
  6796. }
  6797. ],
  6798. "thresholds": [],
  6799. "timeRegions": [],
  6800. "title": "Delta Optimisation",
  6801. "tooltip": {
  6802. "shared": true,
  6803. "sort": 0,
  6804. "value_type": "individual"
  6805. },
  6806. "type": "graph",
  6807. "xaxis": {
  6808. "mode": "time",
  6809. "show": true,
  6810. "values": []
  6811. },
  6812. "yaxes": [
  6813. {
  6814. "format": "percentunit",
  6815. "label": "",
  6816. "logBase": 1,
  6817. "max": "1",
  6818. "min": "0",
  6819. "show": true
  6820. },
  6821. {
  6822. "format": "hertz",
  6823. "label": "",
  6824. "logBase": 1,
  6825. "min": "0",
  6826. "show": true
  6827. }
  6828. ],
  6829. "yaxis": {
  6830. "align": false
  6831. }
  6832. },
  6833. {
  6834. "aliasColors": {},
  6835. "bars": false,
  6836. "dashLength": 10,
  6837. "dashes": false,
  6838. "datasource": {
  6839. "type": "prometheus",
  6840. "uid": "${DS_PROMETHEUS}"
  6841. },
  6842. "description": "How often we have the correct cached push rules for a room.",
  6843. "fieldConfig": {
  6844. "defaults": {
  6845. "links": []
  6846. },
  6847. "overrides": []
  6848. },
  6849. "fill": 1,
  6850. "fillGradient": 0,
  6851. "gridPos": {
  6852. "h": 7,
  6853. "w": 12,
  6854. "x": 12,
  6855. "y": 40
  6856. },
  6857. "hiddenSeries": false,
  6858. "id": 215,
  6859. "legend": {
  6860. "avg": false,
  6861. "current": false,
  6862. "max": false,
  6863. "min": false,
  6864. "show": true,
  6865. "total": false,
  6866. "values": false
  6867. },
  6868. "lines": true,
  6869. "linewidth": 1,
  6870. "links": [],
  6871. "nullPointMode": "null",
  6872. "options": {
  6873. "alertThreshold": true
  6874. },
  6875. "paceLength": 10,
  6876. "percentage": false,
  6877. "pluginVersion": "8.4.3",
  6878. "pointradius": 5,
  6879. "points": false,
  6880. "renderer": "flot",
  6881. "seriesOverrides": [
  6882. {
  6883. "alias": "Number of calls",
  6884. "yaxis": 2
  6885. }
  6886. ],
  6887. "spaceLength": 10,
  6888. "stack": false,
  6889. "steppedLine": false,
  6890. "targets": [
  6891. {
  6892. "datasource": {
  6893. "type": "prometheus",
  6894. "uid": "${DS_PROMETHEUS}"
  6895. },
  6896. "exemplar": true,
  6897. "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]))",
  6898. "format": "time_series",
  6899. "interval": "",
  6900. "intervalFactor": 2,
  6901. "legendFormat": "Hit Rate",
  6902. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  6903. "refId": "A",
  6904. "step": 2
  6905. },
  6906. {
  6907. "datasource": {
  6908. "type": "prometheus",
  6909. "uid": "${DS_PROMETHEUS}"
  6910. },
  6911. "exemplar": true,
  6912. "expr": "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"room_push_rule_cache\",instance=\"$instance\"}[$bucket_size]))",
  6913. "format": "time_series",
  6914. "interval": "",
  6915. "intervalFactor": 2,
  6916. "legendFormat": "Number of calls",
  6917. "refId": "B",
  6918. "step": 2
  6919. }
  6920. ],
  6921. "thresholds": [],
  6922. "timeRegions": [],
  6923. "title": "How often we reuse existing calculated push rules",
  6924. "tooltip": {
  6925. "shared": true,
  6926. "sort": 0,
  6927. "value_type": "individual"
  6928. },
  6929. "type": "graph",
  6930. "xaxis": {
  6931. "mode": "time",
  6932. "show": true,
  6933. "values": []
  6934. },
  6935. "yaxes": [
  6936. {
  6937. "format": "percentunit",
  6938. "label": "",
  6939. "logBase": 1,
  6940. "max": "1",
  6941. "min": "0",
  6942. "show": true
  6943. },
  6944. {
  6945. "format": "hertz",
  6946. "logBase": 1,
  6947. "show": true
  6948. }
  6949. ],
  6950. "yaxis": {
  6951. "align": false
  6952. }
  6953. },
  6954. {
  6955. "aliasColors": {},
  6956. "bars": false,
  6957. "dashLength": 10,
  6958. "dashes": false,
  6959. "datasource": {
  6960. "type": "prometheus",
  6961. "uid": "${DS_PROMETHEUS}"
  6962. },
  6963. "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.",
  6964. "fieldConfig": {
  6965. "defaults": {
  6966. "links": []
  6967. },
  6968. "overrides": []
  6969. },
  6970. "fill": 1,
  6971. "fillGradient": 0,
  6972. "gridPos": {
  6973. "h": 7,
  6974. "w": 12,
  6975. "x": 0,
  6976. "y": 47
  6977. },
  6978. "hiddenSeries": false,
  6979. "id": 217,
  6980. "legend": {
  6981. "avg": false,
  6982. "current": false,
  6983. "max": false,
  6984. "min": false,
  6985. "show": true,
  6986. "total": false,
  6987. "values": false
  6988. },
  6989. "lines": true,
  6990. "linewidth": 1,
  6991. "links": [],
  6992. "nullPointMode": "null",
  6993. "options": {
  6994. "alertThreshold": true
  6995. },
  6996. "paceLength": 10,
  6997. "percentage": false,
  6998. "pluginVersion": "8.4.3",
  6999. "pointradius": 5,
  7000. "points": false,
  7001. "renderer": "flot",
  7002. "seriesOverrides": [
  7003. {
  7004. "alias": "Number of calls",
  7005. "yaxis": 2
  7006. }
  7007. ],
  7008. "spaceLength": 10,
  7009. "stack": false,
  7010. "steppedLine": false,
  7011. "targets": [
  7012. {
  7013. "datasource": {
  7014. "type": "prometheus",
  7015. "uid": "${DS_PROMETHEUS}"
  7016. },
  7017. "exemplar": true,
  7018. "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]))",
  7019. "format": "time_series",
  7020. "interval": "",
  7021. "intervalFactor": 2,
  7022. "legendFormat": "Hit Rate",
  7023. "metric": "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total",
  7024. "refId": "A",
  7025. "step": 2
  7026. },
  7027. {
  7028. "datasource": {
  7029. "type": "prometheus",
  7030. "uid": "${DS_PROMETHEUS}"
  7031. },
  7032. "exemplar": true,
  7033. "expr": "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"_get_rules_for_room\",instance=\"$instance\"}[$bucket_size]))",
  7034. "format": "time_series",
  7035. "interval": "",
  7036. "intervalFactor": 2,
  7037. "legendFormat": "Number of calls",
  7038. "refId": "B",
  7039. "step": 2
  7040. }
  7041. ],
  7042. "thresholds": [],
  7043. "timeRegions": [],
  7044. "title": "How often we have the RulesForRoom cached",
  7045. "tooltip": {
  7046. "shared": true,
  7047. "sort": 0,
  7048. "value_type": "individual"
  7049. },
  7050. "type": "graph",
  7051. "xaxis": {
  7052. "mode": "time",
  7053. "show": true,
  7054. "values": []
  7055. },
  7056. "yaxes": [
  7057. {
  7058. "format": "percentunit",
  7059. "label": "",
  7060. "logBase": 1,
  7061. "max": "1",
  7062. "min": "0",
  7063. "show": true
  7064. },
  7065. {
  7066. "format": "hertz",
  7067. "logBase": 1,
  7068. "show": true
  7069. }
  7070. ],
  7071. "yaxis": {
  7072. "align": false
  7073. }
  7074. }
  7075. ],
  7076. "targets": [
  7077. {
  7078. "datasource": {
  7079. "type": "prometheus",
  7080. "uid": "000000001"
  7081. },
  7082. "refId": "A"
  7083. }
  7084. ],
  7085. "title": "Push Rule Cache",
  7086. "type": "row"
  7087. },
  7088. {
  7089. "collapsed": true,
  7090. "datasource": {
  7091. "type": "prometheus",
  7092. "uid": "000000001"
  7093. },
  7094. "gridPos": {
  7095. "h": 1,
  7096. "w": 24,
  7097. "x": 0,
  7098. "y": 34
  7099. },
  7100. "id": 58,
  7101. "panels": [
  7102. {
  7103. "datasource": {
  7104. "uid": "$datasource"
  7105. },
  7106. "fieldConfig": {
  7107. "defaults": {
  7108. "color": {
  7109. "mode": "palette-classic"
  7110. },
  7111. "custom": {
  7112. "axisLabel": "",
  7113. "axisPlacement": "auto",
  7114. "barAlignment": 0,
  7115. "drawStyle": "line",
  7116. "fillOpacity": 10,
  7117. "gradientMode": "none",
  7118. "hideFrom": {
  7119. "legend": false,
  7120. "tooltip": false,
  7121. "viz": false
  7122. },
  7123. "lineInterpolation": "linear",
  7124. "lineWidth": 1,
  7125. "pointSize": 5,
  7126. "scaleDistribution": {
  7127. "type": "linear"
  7128. },
  7129. "showPoints": "never",
  7130. "spanNulls": false,
  7131. "stacking": {
  7132. "group": "A",
  7133. "mode": "none"
  7134. },
  7135. "thresholdsStyle": {
  7136. "mode": "off"
  7137. }
  7138. },
  7139. "links": [],
  7140. "mappings": [],
  7141. "min": 0,
  7142. "thresholds": {
  7143. "mode": "absolute",
  7144. "steps": [
  7145. {
  7146. "color": "green"
  7147. },
  7148. {
  7149. "color": "red",
  7150. "value": 80
  7151. }
  7152. ]
  7153. },
  7154. "unit": "s"
  7155. },
  7156. "overrides": []
  7157. },
  7158. "gridPos": {
  7159. "h": 7,
  7160. "w": 12,
  7161. "x": 0,
  7162. "y": 35
  7163. },
  7164. "id": 48,
  7165. "links": [],
  7166. "options": {
  7167. "legend": {
  7168. "calcs": [],
  7169. "displayMode": "list",
  7170. "placement": "bottom",
  7171. "showLegend": true
  7172. },
  7173. "tooltip": {
  7174. "mode": "single",
  7175. "sort": "none"
  7176. }
  7177. },
  7178. "pluginVersion": "9.0.4",
  7179. "targets": [
  7180. {
  7181. "datasource": {
  7182. "uid": "$datasource"
  7183. },
  7184. "expr": "rate(synapse_storage_schedule_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(synapse_storage_schedule_time_count[$bucket_size])",
  7185. "format": "time_series",
  7186. "intervalFactor": 2,
  7187. "legendFormat": "{{job}}-{{index}}",
  7188. "refId": "A",
  7189. "step": 20
  7190. }
  7191. ],
  7192. "title": "Avg time waiting for db conn",
  7193. "type": "timeseries"
  7194. },
  7195. {
  7196. "aliasColors": {},
  7197. "bars": false,
  7198. "dashLength": 10,
  7199. "dashes": false,
  7200. "datasource": {
  7201. "uid": "$datasource"
  7202. },
  7203. "description": "Shows the time in which the given percentage of database queries were scheduled, over the sampled timespan",
  7204. "fieldConfig": {
  7205. "defaults": {
  7206. "links": []
  7207. },
  7208. "overrides": []
  7209. },
  7210. "fill": 1,
  7211. "fillGradient": 0,
  7212. "gridPos": {
  7213. "h": 7,
  7214. "w": 12,
  7215. "x": 12,
  7216. "y": 35
  7217. },
  7218. "hiddenSeries": false,
  7219. "id": 104,
  7220. "legend": {
  7221. "alignAsTable": true,
  7222. "avg": false,
  7223. "current": false,
  7224. "max": false,
  7225. "min": false,
  7226. "show": true,
  7227. "total": false,
  7228. "values": false
  7229. },
  7230. "lines": true,
  7231. "linewidth": 1,
  7232. "links": [],
  7233. "nullPointMode": "null",
  7234. "options": {
  7235. "alertThreshold": true
  7236. },
  7237. "paceLength": 10,
  7238. "percentage": false,
  7239. "pluginVersion": "9.0.4",
  7240. "pointradius": 5,
  7241. "points": false,
  7242. "renderer": "flot",
  7243. "seriesOverrides": [],
  7244. "spaceLength": 10,
  7245. "stack": false,
  7246. "steppedLine": false,
  7247. "targets": [
  7248. {
  7249. "datasource": {
  7250. "uid": "$datasource"
  7251. },
  7252. "expr": "histogram_quantile(0.99, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  7253. "format": "time_series",
  7254. "hide": false,
  7255. "intervalFactor": 1,
  7256. "legendFormat": "{{job}} {{index}} 99%",
  7257. "refId": "A",
  7258. "step": 20
  7259. },
  7260. {
  7261. "datasource": {
  7262. "uid": "$datasource"
  7263. },
  7264. "expr": "histogram_quantile(0.95, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  7265. "format": "time_series",
  7266. "intervalFactor": 1,
  7267. "legendFormat": "{{job}} {{index}} 95%",
  7268. "refId": "B"
  7269. },
  7270. {
  7271. "datasource": {
  7272. "uid": "$datasource"
  7273. },
  7274. "expr": "histogram_quantile(0.90, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  7275. "format": "time_series",
  7276. "intervalFactor": 1,
  7277. "legendFormat": "{{job}} {{index}} 90%",
  7278. "refId": "C"
  7279. },
  7280. {
  7281. "datasource": {
  7282. "uid": "$datasource"
  7283. },
  7284. "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])",
  7285. "format": "time_series",
  7286. "interval": "",
  7287. "intervalFactor": 1,
  7288. "legendFormat": "{{job}} {{index}} mean",
  7289. "refId": "D"
  7290. }
  7291. ],
  7292. "thresholds": [],
  7293. "timeRegions": [],
  7294. "title": "Db scheduling time quantiles",
  7295. "tooltip": {
  7296. "shared": false,
  7297. "sort": 0,
  7298. "value_type": "individual"
  7299. },
  7300. "type": "graph",
  7301. "xaxis": {
  7302. "mode": "time",
  7303. "show": true,
  7304. "values": []
  7305. },
  7306. "yaxes": [
  7307. {
  7308. "format": "s",
  7309. "label": "",
  7310. "logBase": 1,
  7311. "min": "0",
  7312. "show": true
  7313. },
  7314. {
  7315. "format": "short",
  7316. "logBase": 1,
  7317. "show": false
  7318. }
  7319. ],
  7320. "yaxis": {
  7321. "align": false
  7322. }
  7323. },
  7324. {
  7325. "aliasColors": {},
  7326. "bars": false,
  7327. "dashLength": 10,
  7328. "dashes": false,
  7329. "datasource": {
  7330. "uid": "$datasource"
  7331. },
  7332. "editable": true,
  7333. "error": false,
  7334. "fieldConfig": {
  7335. "defaults": {
  7336. "links": []
  7337. },
  7338. "overrides": []
  7339. },
  7340. "fill": 0,
  7341. "fillGradient": 0,
  7342. "grid": {},
  7343. "gridPos": {
  7344. "h": 7,
  7345. "w": 12,
  7346. "x": 0,
  7347. "y": 42
  7348. },
  7349. "hiddenSeries": false,
  7350. "id": 10,
  7351. "legend": {
  7352. "avg": false,
  7353. "current": false,
  7354. "hideEmpty": true,
  7355. "hideZero": true,
  7356. "max": false,
  7357. "min": false,
  7358. "show": true,
  7359. "total": false,
  7360. "values": false
  7361. },
  7362. "lines": true,
  7363. "linewidth": 2,
  7364. "links": [],
  7365. "nullPointMode": "null",
  7366. "options": {
  7367. "alertThreshold": true
  7368. },
  7369. "paceLength": 10,
  7370. "percentage": false,
  7371. "pluginVersion": "9.0.4",
  7372. "pointradius": 5,
  7373. "points": false,
  7374. "renderer": "flot",
  7375. "seriesOverrides": [],
  7376. "spaceLength": 10,
  7377. "stack": false,
  7378. "steppedLine": false,
  7379. "targets": [
  7380. {
  7381. "datasource": {
  7382. "uid": "$datasource"
  7383. },
  7384. "expr": "topk(10, rate(synapse_storage_transaction_time_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  7385. "format": "time_series",
  7386. "interval": "",
  7387. "intervalFactor": 2,
  7388. "legendFormat": "{{job}}-{{index}} {{desc}}",
  7389. "refId": "A",
  7390. "step": 20
  7391. }
  7392. ],
  7393. "thresholds": [],
  7394. "timeRegions": [],
  7395. "title": "Top DB transactions by txn rate",
  7396. "tooltip": {
  7397. "shared": false,
  7398. "sort": 0,
  7399. "value_type": "cumulative"
  7400. },
  7401. "type": "graph",
  7402. "xaxis": {
  7403. "mode": "time",
  7404. "show": true,
  7405. "values": []
  7406. },
  7407. "yaxes": [
  7408. {
  7409. "format": "hertz",
  7410. "logBase": 1,
  7411. "min": 0,
  7412. "show": true
  7413. },
  7414. {
  7415. "format": "short",
  7416. "logBase": 1,
  7417. "show": true
  7418. }
  7419. ],
  7420. "yaxis": {
  7421. "align": false
  7422. }
  7423. },
  7424. {
  7425. "aliasColors": {},
  7426. "bars": false,
  7427. "dashLength": 10,
  7428. "dashes": false,
  7429. "datasource": {
  7430. "uid": "$datasource"
  7431. },
  7432. "editable": true,
  7433. "error": false,
  7434. "fieldConfig": {
  7435. "defaults": {
  7436. "links": []
  7437. },
  7438. "overrides": []
  7439. },
  7440. "fill": 1,
  7441. "fillGradient": 0,
  7442. "grid": {},
  7443. "gridPos": {
  7444. "h": 7,
  7445. "w": 12,
  7446. "x": 12,
  7447. "y": 42
  7448. },
  7449. "hiddenSeries": false,
  7450. "id": 11,
  7451. "legend": {
  7452. "avg": false,
  7453. "current": false,
  7454. "hideEmpty": true,
  7455. "hideZero": true,
  7456. "max": false,
  7457. "min": false,
  7458. "show": true,
  7459. "total": false,
  7460. "values": false
  7461. },
  7462. "lines": true,
  7463. "linewidth": 1,
  7464. "links": [],
  7465. "nullPointMode": "null",
  7466. "options": {
  7467. "alertThreshold": true
  7468. },
  7469. "paceLength": 10,
  7470. "percentage": false,
  7471. "pluginVersion": "9.0.4",
  7472. "pointradius": 5,
  7473. "points": false,
  7474. "renderer": "flot",
  7475. "seriesOverrides": [],
  7476. "spaceLength": 10,
  7477. "stack": false,
  7478. "steppedLine": false,
  7479. "targets": [
  7480. {
  7481. "datasource": {
  7482. "uid": "$datasource"
  7483. },
  7484. "expr": "rate(synapse_storage_transaction_time_sum_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  7485. "format": "time_series",
  7486. "instant": false,
  7487. "interval": "",
  7488. "intervalFactor": 1,
  7489. "legendFormat": "{{job}}-{{index}} {{desc}}",
  7490. "refId": "A",
  7491. "step": 20
  7492. }
  7493. ],
  7494. "thresholds": [],
  7495. "timeRegions": [],
  7496. "title": "DB transactions by total txn time",
  7497. "tooltip": {
  7498. "shared": false,
  7499. "sort": 0,
  7500. "value_type": "cumulative"
  7501. },
  7502. "type": "graph",
  7503. "xaxis": {
  7504. "mode": "time",
  7505. "show": true,
  7506. "values": []
  7507. },
  7508. "yaxes": [
  7509. {
  7510. "format": "percentunit",
  7511. "logBase": 1,
  7512. "show": true
  7513. },
  7514. {
  7515. "format": "short",
  7516. "logBase": 1,
  7517. "show": true
  7518. }
  7519. ],
  7520. "yaxis": {
  7521. "align": false
  7522. }
  7523. },
  7524. {
  7525. "aliasColors": {},
  7526. "bars": false,
  7527. "dashLength": 10,
  7528. "dashes": false,
  7529. "datasource": {
  7530. "uid": "$datasource"
  7531. },
  7532. "editable": true,
  7533. "error": false,
  7534. "fieldConfig": {
  7535. "defaults": {
  7536. "links": []
  7537. },
  7538. "overrides": []
  7539. },
  7540. "fill": 0,
  7541. "fillGradient": 0,
  7542. "grid": {},
  7543. "gridPos": {
  7544. "h": 7,
  7545. "w": 12,
  7546. "x": 0,
  7547. "y": 49
  7548. },
  7549. "hiddenSeries": false,
  7550. "id": 180,
  7551. "legend": {
  7552. "avg": false,
  7553. "current": false,
  7554. "hideEmpty": true,
  7555. "hideZero": true,
  7556. "max": false,
  7557. "min": false,
  7558. "show": true,
  7559. "total": false,
  7560. "values": false
  7561. },
  7562. "lines": true,
  7563. "linewidth": 1,
  7564. "links": [],
  7565. "nullPointMode": "null",
  7566. "options": {
  7567. "alertThreshold": false
  7568. },
  7569. "paceLength": 10,
  7570. "percentage": false,
  7571. "pluginVersion": "9.0.4",
  7572. "pointradius": 5,
  7573. "points": false,
  7574. "renderer": "flot",
  7575. "seriesOverrides": [],
  7576. "spaceLength": 10,
  7577. "stack": false,
  7578. "steppedLine": false,
  7579. "targets": [
  7580. {
  7581. "datasource": {
  7582. "uid": "$datasource"
  7583. },
  7584. "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])",
  7585. "format": "time_series",
  7586. "instant": false,
  7587. "interval": "",
  7588. "intervalFactor": 1,
  7589. "legendFormat": "{{job}}-{{index}} {{desc}}",
  7590. "refId": "A",
  7591. "step": 20
  7592. }
  7593. ],
  7594. "thresholds": [],
  7595. "timeRegions": [],
  7596. "title": "Average DB txn time",
  7597. "tooltip": {
  7598. "shared": false,
  7599. "sort": 0,
  7600. "value_type": "cumulative"
  7601. },
  7602. "type": "graph",
  7603. "xaxis": {
  7604. "mode": "time",
  7605. "show": true,
  7606. "values": []
  7607. },
  7608. "yaxes": [
  7609. {
  7610. "format": "s",
  7611. "logBase": 1,
  7612. "show": true
  7613. },
  7614. {
  7615. "format": "short",
  7616. "logBase": 1,
  7617. "show": true
  7618. }
  7619. ],
  7620. "yaxis": {
  7621. "align": false
  7622. }
  7623. },
  7624. {
  7625. "aliasColors": {},
  7626. "bars": false,
  7627. "dashLength": 10,
  7628. "dashes": false,
  7629. "datasource": {
  7630. "uid": "$datasource"
  7631. },
  7632. "fieldConfig": {
  7633. "defaults": {
  7634. "links": []
  7635. },
  7636. "overrides": []
  7637. },
  7638. "fill": 6,
  7639. "fillGradient": 0,
  7640. "gridPos": {
  7641. "h": 9,
  7642. "w": 12,
  7643. "x": 12,
  7644. "y": 49
  7645. },
  7646. "hiddenSeries": false,
  7647. "id": 200,
  7648. "legend": {
  7649. "avg": false,
  7650. "current": false,
  7651. "max": false,
  7652. "min": false,
  7653. "show": true,
  7654. "total": false,
  7655. "values": false
  7656. },
  7657. "lines": true,
  7658. "linewidth": 1,
  7659. "links": [],
  7660. "nullPointMode": "null",
  7661. "options": {
  7662. "alertThreshold": true
  7663. },
  7664. "percentage": false,
  7665. "pluginVersion": "9.0.4",
  7666. "pointradius": 5,
  7667. "points": false,
  7668. "renderer": "flot",
  7669. "seriesOverrides": [],
  7670. "spaceLength": 10,
  7671. "stack": false,
  7672. "steppedLine": false,
  7673. "targets": [
  7674. {
  7675. "datasource": {
  7676. "uid": "$datasource"
  7677. },
  7678. "expr": "histogram_quantile(0.99, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  7679. "format": "time_series",
  7680. "intervalFactor": 1,
  7681. "legendFormat": "99%",
  7682. "refId": "D"
  7683. },
  7684. {
  7685. "datasource": {
  7686. "uid": "$datasource"
  7687. },
  7688. "expr": "histogram_quantile(0.9, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  7689. "format": "time_series",
  7690. "intervalFactor": 1,
  7691. "legendFormat": "90%",
  7692. "refId": "A"
  7693. },
  7694. {
  7695. "datasource": {
  7696. "uid": "$datasource"
  7697. },
  7698. "expr": "histogram_quantile(0.75, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  7699. "format": "time_series",
  7700. "intervalFactor": 1,
  7701. "legendFormat": "75%",
  7702. "refId": "C"
  7703. },
  7704. {
  7705. "datasource": {
  7706. "uid": "$datasource"
  7707. },
  7708. "expr": "histogram_quantile(0.5, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))",
  7709. "format": "time_series",
  7710. "intervalFactor": 1,
  7711. "legendFormat": "50%",
  7712. "refId": "B"
  7713. }
  7714. ],
  7715. "thresholds": [],
  7716. "timeRegions": [],
  7717. "title": "Time waiting for DB connection quantiles",
  7718. "tooltip": {
  7719. "shared": true,
  7720. "sort": 2,
  7721. "value_type": "individual"
  7722. },
  7723. "type": "graph",
  7724. "xaxis": {
  7725. "mode": "time",
  7726. "show": true,
  7727. "values": []
  7728. },
  7729. "yaxes": [
  7730. {
  7731. "$$hashKey": "object:203",
  7732. "format": "s",
  7733. "label": "",
  7734. "logBase": 1,
  7735. "min": "0",
  7736. "show": true
  7737. },
  7738. {
  7739. "$$hashKey": "object:204",
  7740. "format": "short",
  7741. "logBase": 1,
  7742. "show": false
  7743. }
  7744. ],
  7745. "yaxis": {
  7746. "align": false
  7747. }
  7748. }
  7749. ],
  7750. "targets": [
  7751. {
  7752. "datasource": {
  7753. "type": "prometheus",
  7754. "uid": "000000001"
  7755. },
  7756. "refId": "A"
  7757. }
  7758. ],
  7759. "title": "Database",
  7760. "type": "row"
  7761. },
  7762. {
  7763. "collapsed": true,
  7764. "datasource": {
  7765. "type": "prometheus",
  7766. "uid": "000000001"
  7767. },
  7768. "gridPos": {
  7769. "h": 1,
  7770. "w": 24,
  7771. "x": 0,
  7772. "y": 35
  7773. },
  7774. "id": 59,
  7775. "panels": [
  7776. {
  7777. "aliasColors": {},
  7778. "bars": false,
  7779. "dashLength": 10,
  7780. "dashes": false,
  7781. "datasource": {
  7782. "uid": "$datasource"
  7783. },
  7784. "editable": true,
  7785. "error": false,
  7786. "fieldConfig": {
  7787. "defaults": {
  7788. "links": []
  7789. },
  7790. "overrides": []
  7791. },
  7792. "fill": 1,
  7793. "fillGradient": 0,
  7794. "grid": {},
  7795. "gridPos": {
  7796. "h": 13,
  7797. "w": 12,
  7798. "x": 0,
  7799. "y": 158
  7800. },
  7801. "hiddenSeries": false,
  7802. "id": 12,
  7803. "legend": {
  7804. "alignAsTable": true,
  7805. "avg": false,
  7806. "current": false,
  7807. "max": false,
  7808. "min": false,
  7809. "show": true,
  7810. "total": false,
  7811. "values": false
  7812. },
  7813. "lines": true,
  7814. "linewidth": 2,
  7815. "links": [],
  7816. "nullPointMode": "null",
  7817. "options": {
  7818. "alertThreshold": true
  7819. },
  7820. "paceLength": 10,
  7821. "percentage": false,
  7822. "pluginVersion": "9.2.2",
  7823. "pointradius": 5,
  7824. "points": false,
  7825. "renderer": "flot",
  7826. "seriesOverrides": [],
  7827. "spaceLength": 10,
  7828. "stack": false,
  7829. "steppedLine": false,
  7830. "targets": [
  7831. {
  7832. "datasource": {
  7833. "uid": "$datasource"
  7834. },
  7835. "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])",
  7836. "format": "time_series",
  7837. "interval": "",
  7838. "intervalFactor": 2,
  7839. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  7840. "refId": "A",
  7841. "step": 20
  7842. }
  7843. ],
  7844. "thresholds": [],
  7845. "timeRegions": [],
  7846. "title": "Total CPU Usage by Block",
  7847. "tooltip": {
  7848. "shared": true,
  7849. "sort": 2,
  7850. "value_type": "cumulative"
  7851. },
  7852. "type": "graph",
  7853. "xaxis": {
  7854. "mode": "time",
  7855. "show": true,
  7856. "values": []
  7857. },
  7858. "yaxes": [
  7859. {
  7860. "format": "percentunit",
  7861. "logBase": 1,
  7862. "show": true
  7863. },
  7864. {
  7865. "format": "short",
  7866. "logBase": 1,
  7867. "show": true
  7868. }
  7869. ],
  7870. "yaxis": {
  7871. "align": false
  7872. }
  7873. },
  7874. {
  7875. "aliasColors": {},
  7876. "bars": false,
  7877. "dashLength": 10,
  7878. "dashes": false,
  7879. "datasource": {
  7880. "uid": "$datasource"
  7881. },
  7882. "editable": true,
  7883. "error": false,
  7884. "fieldConfig": {
  7885. "defaults": {
  7886. "links": []
  7887. },
  7888. "overrides": []
  7889. },
  7890. "fill": 1,
  7891. "fillGradient": 0,
  7892. "grid": {},
  7893. "gridPos": {
  7894. "h": 13,
  7895. "w": 12,
  7896. "x": 12,
  7897. "y": 158
  7898. },
  7899. "hiddenSeries": false,
  7900. "id": 26,
  7901. "legend": {
  7902. "alignAsTable": true,
  7903. "avg": false,
  7904. "current": false,
  7905. "max": false,
  7906. "min": false,
  7907. "show": true,
  7908. "total": false,
  7909. "values": false
  7910. },
  7911. "lines": true,
  7912. "linewidth": 2,
  7913. "links": [],
  7914. "nullPointMode": "null",
  7915. "options": {
  7916. "alertThreshold": true
  7917. },
  7918. "paceLength": 10,
  7919. "percentage": false,
  7920. "pluginVersion": "9.2.2",
  7921. "pointradius": 5,
  7922. "points": false,
  7923. "renderer": "flot",
  7924. "seriesOverrides": [],
  7925. "spaceLength": 10,
  7926. "stack": false,
  7927. "steppedLine": false,
  7928. "targets": [
  7929. {
  7930. "datasource": {
  7931. "uid": "$datasource"
  7932. },
  7933. "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])",
  7934. "format": "time_series",
  7935. "interval": "",
  7936. "intervalFactor": 2,
  7937. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  7938. "refId": "A",
  7939. "step": 20
  7940. }
  7941. ],
  7942. "thresholds": [],
  7943. "timeRegions": [],
  7944. "title": "Average CPU Time per Block",
  7945. "tooltip": {
  7946. "shared": true,
  7947. "sort": 2,
  7948. "value_type": "cumulative"
  7949. },
  7950. "type": "graph",
  7951. "xaxis": {
  7952. "mode": "time",
  7953. "show": true,
  7954. "values": []
  7955. },
  7956. "yaxes": [
  7957. {
  7958. "format": "ms",
  7959. "logBase": 1,
  7960. "show": true
  7961. },
  7962. {
  7963. "format": "short",
  7964. "logBase": 1,
  7965. "show": true
  7966. }
  7967. ],
  7968. "yaxis": {
  7969. "align": false
  7970. }
  7971. },
  7972. {
  7973. "aliasColors": {},
  7974. "bars": false,
  7975. "dashLength": 10,
  7976. "dashes": false,
  7977. "datasource": {
  7978. "type": "prometheus",
  7979. "uid": "${DS_PROMETHEUS}"
  7980. },
  7981. "editable": true,
  7982. "error": false,
  7983. "fieldConfig": {
  7984. "defaults": {
  7985. "links": []
  7986. },
  7987. "overrides": []
  7988. },
  7989. "fill": 1,
  7990. "fillGradient": 0,
  7991. "grid": {},
  7992. "gridPos": {
  7993. "h": 13,
  7994. "w": 12,
  7995. "x": 0,
  7996. "y": 171
  7997. },
  7998. "hiddenSeries": false,
  7999. "id": 13,
  8000. "legend": {
  8001. "alignAsTable": true,
  8002. "avg": false,
  8003. "current": false,
  8004. "max": false,
  8005. "min": false,
  8006. "show": true,
  8007. "total": false,
  8008. "values": false
  8009. },
  8010. "lines": true,
  8011. "linewidth": 2,
  8012. "links": [],
  8013. "nullPointMode": "null",
  8014. "options": {
  8015. "alertThreshold": true
  8016. },
  8017. "paceLength": 10,
  8018. "percentage": false,
  8019. "pluginVersion": "9.2.2",
  8020. "pointradius": 5,
  8021. "points": false,
  8022. "renderer": "flot",
  8023. "seriesOverrides": [],
  8024. "spaceLength": 10,
  8025. "stack": false,
  8026. "steppedLine": false,
  8027. "targets": [
  8028. {
  8029. "datasource": {
  8030. "type": "prometheus",
  8031. "uid": "${DS_PROMETHEUS}"
  8032. },
  8033. "exemplar": true,
  8034. "expr": "rate(synapse_util_metrics_block_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  8035. "format": "time_series",
  8036. "interval": "",
  8037. "intervalFactor": 2,
  8038. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  8039. "refId": "A",
  8040. "step": 20
  8041. }
  8042. ],
  8043. "thresholds": [],
  8044. "timeRegions": [],
  8045. "title": "Total DB Usage by Block",
  8046. "tooltip": {
  8047. "shared": true,
  8048. "sort": 2,
  8049. "value_type": "cumulative"
  8050. },
  8051. "type": "graph",
  8052. "xaxis": {
  8053. "mode": "time",
  8054. "show": true,
  8055. "values": []
  8056. },
  8057. "yaxes": [
  8058. {
  8059. "$$hashKey": "object:196",
  8060. "format": "percentunit",
  8061. "logBase": 1,
  8062. "min": 0,
  8063. "show": true
  8064. },
  8065. {
  8066. "$$hashKey": "object:197",
  8067. "format": "short",
  8068. "logBase": 1,
  8069. "show": true
  8070. }
  8071. ],
  8072. "yaxis": {
  8073. "align": false
  8074. }
  8075. },
  8076. {
  8077. "aliasColors": {},
  8078. "bars": false,
  8079. "dashLength": 10,
  8080. "dashes": false,
  8081. "datasource": {
  8082. "uid": "$datasource"
  8083. },
  8084. "description": "The time each database transaction takes to execute, on average, broken down by metrics block.",
  8085. "editable": true,
  8086. "error": false,
  8087. "fieldConfig": {
  8088. "defaults": {
  8089. "links": []
  8090. },
  8091. "overrides": []
  8092. },
  8093. "fill": 1,
  8094. "fillGradient": 0,
  8095. "grid": {},
  8096. "gridPos": {
  8097. "h": 13,
  8098. "w": 12,
  8099. "x": 12,
  8100. "y": 171
  8101. },
  8102. "hiddenSeries": false,
  8103. "id": 27,
  8104. "legend": {
  8105. "alignAsTable": true,
  8106. "avg": false,
  8107. "current": false,
  8108. "max": false,
  8109. "min": false,
  8110. "show": true,
  8111. "total": false,
  8112. "values": false
  8113. },
  8114. "lines": true,
  8115. "linewidth": 2,
  8116. "links": [],
  8117. "nullPointMode": "null",
  8118. "options": {
  8119. "alertThreshold": true
  8120. },
  8121. "paceLength": 10,
  8122. "percentage": false,
  8123. "pluginVersion": "9.2.2",
  8124. "pointradius": 5,
  8125. "points": false,
  8126. "renderer": "flot",
  8127. "seriesOverrides": [],
  8128. "spaceLength": 10,
  8129. "stack": false,
  8130. "steppedLine": false,
  8131. "targets": [
  8132. {
  8133. "datasource": {
  8134. "uid": "$datasource"
  8135. },
  8136. "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])",
  8137. "format": "time_series",
  8138. "interval": "",
  8139. "intervalFactor": 2,
  8140. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  8141. "refId": "A",
  8142. "step": 20
  8143. }
  8144. ],
  8145. "thresholds": [],
  8146. "timeRegions": [],
  8147. "title": "Average Database Transaction time, by Block",
  8148. "tooltip": {
  8149. "shared": true,
  8150. "sort": 2,
  8151. "value_type": "cumulative"
  8152. },
  8153. "type": "graph",
  8154. "xaxis": {
  8155. "mode": "time",
  8156. "show": true,
  8157. "values": []
  8158. },
  8159. "yaxes": [
  8160. {
  8161. "format": "ms",
  8162. "logBase": 1,
  8163. "show": true
  8164. },
  8165. {
  8166. "format": "short",
  8167. "logBase": 1,
  8168. "show": true
  8169. }
  8170. ],
  8171. "yaxis": {
  8172. "align": false
  8173. }
  8174. },
  8175. {
  8176. "aliasColors": {},
  8177. "bars": false,
  8178. "dashLength": 10,
  8179. "dashes": false,
  8180. "datasource": {
  8181. "uid": "$datasource"
  8182. },
  8183. "editable": true,
  8184. "error": false,
  8185. "fieldConfig": {
  8186. "defaults": {
  8187. "links": []
  8188. },
  8189. "overrides": []
  8190. },
  8191. "fill": 1,
  8192. "fillGradient": 0,
  8193. "grid": {},
  8194. "gridPos": {
  8195. "h": 13,
  8196. "w": 12,
  8197. "x": 0,
  8198. "y": 184
  8199. },
  8200. "hiddenSeries": false,
  8201. "id": 28,
  8202. "legend": {
  8203. "avg": false,
  8204. "current": false,
  8205. "max": false,
  8206. "min": false,
  8207. "show": false,
  8208. "total": false,
  8209. "values": false
  8210. },
  8211. "lines": true,
  8212. "linewidth": 2,
  8213. "links": [],
  8214. "nullPointMode": "null",
  8215. "options": {
  8216. "alertThreshold": true
  8217. },
  8218. "paceLength": 10,
  8219. "percentage": false,
  8220. "pluginVersion": "9.2.2",
  8221. "pointradius": 5,
  8222. "points": false,
  8223. "renderer": "flot",
  8224. "seriesOverrides": [],
  8225. "spaceLength": 10,
  8226. "stack": false,
  8227. "steppedLine": false,
  8228. "targets": [
  8229. {
  8230. "datasource": {
  8231. "uid": "$datasource"
  8232. },
  8233. "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])",
  8234. "format": "time_series",
  8235. "interval": "",
  8236. "intervalFactor": 2,
  8237. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  8238. "refId": "A",
  8239. "step": 20
  8240. }
  8241. ],
  8242. "thresholds": [],
  8243. "timeRegions": [],
  8244. "title": "Average Transactions per Block",
  8245. "tooltip": {
  8246. "shared": false,
  8247. "sort": 0,
  8248. "value_type": "cumulative"
  8249. },
  8250. "type": "graph",
  8251. "xaxis": {
  8252. "mode": "time",
  8253. "show": true,
  8254. "values": []
  8255. },
  8256. "yaxes": [
  8257. {
  8258. "format": "none",
  8259. "logBase": 1,
  8260. "show": true
  8261. },
  8262. {
  8263. "format": "short",
  8264. "logBase": 1,
  8265. "show": true
  8266. }
  8267. ],
  8268. "yaxis": {
  8269. "align": false
  8270. }
  8271. },
  8272. {
  8273. "aliasColors": {},
  8274. "bars": false,
  8275. "dashLength": 10,
  8276. "dashes": false,
  8277. "datasource": {
  8278. "uid": "$datasource"
  8279. },
  8280. "editable": true,
  8281. "error": false,
  8282. "fieldConfig": {
  8283. "defaults": {
  8284. "links": []
  8285. },
  8286. "overrides": []
  8287. },
  8288. "fill": 1,
  8289. "fillGradient": 0,
  8290. "grid": {},
  8291. "gridPos": {
  8292. "h": 13,
  8293. "w": 12,
  8294. "x": 12,
  8295. "y": 184
  8296. },
  8297. "hiddenSeries": false,
  8298. "id": 25,
  8299. "legend": {
  8300. "avg": false,
  8301. "current": false,
  8302. "max": false,
  8303. "min": false,
  8304. "show": false,
  8305. "total": false,
  8306. "values": false
  8307. },
  8308. "lines": true,
  8309. "linewidth": 2,
  8310. "links": [],
  8311. "nullPointMode": "null",
  8312. "options": {
  8313. "alertThreshold": true
  8314. },
  8315. "paceLength": 10,
  8316. "percentage": false,
  8317. "pluginVersion": "9.2.2",
  8318. "pointradius": 5,
  8319. "points": false,
  8320. "renderer": "flot",
  8321. "seriesOverrides": [],
  8322. "spaceLength": 10,
  8323. "stack": false,
  8324. "steppedLine": false,
  8325. "targets": [
  8326. {
  8327. "datasource": {
  8328. "uid": "$datasource"
  8329. },
  8330. "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])",
  8331. "format": "time_series",
  8332. "interval": "",
  8333. "intervalFactor": 2,
  8334. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  8335. "refId": "A",
  8336. "step": 20
  8337. }
  8338. ],
  8339. "thresholds": [],
  8340. "timeRegions": [],
  8341. "title": "Average Wallclock Time per Block",
  8342. "tooltip": {
  8343. "shared": false,
  8344. "sort": 0,
  8345. "value_type": "cumulative"
  8346. },
  8347. "type": "graph",
  8348. "xaxis": {
  8349. "mode": "time",
  8350. "show": true,
  8351. "values": []
  8352. },
  8353. "yaxes": [
  8354. {
  8355. "$$hashKey": "object:180",
  8356. "format": "s",
  8357. "logBase": 1,
  8358. "show": true
  8359. },
  8360. {
  8361. "$$hashKey": "object:181",
  8362. "format": "short",
  8363. "logBase": 1,
  8364. "show": true
  8365. }
  8366. ],
  8367. "yaxis": {
  8368. "align": false
  8369. }
  8370. },
  8371. {
  8372. "aliasColors": {},
  8373. "bars": false,
  8374. "dashLength": 10,
  8375. "dashes": false,
  8376. "datasource": {
  8377. "uid": "$datasource"
  8378. },
  8379. "fill": 1,
  8380. "fillGradient": 0,
  8381. "gridPos": {
  8382. "h": 15,
  8383. "w": 12,
  8384. "x": 0,
  8385. "y": 197
  8386. },
  8387. "hiddenSeries": false,
  8388. "id": 154,
  8389. "legend": {
  8390. "alignAsTable": true,
  8391. "avg": false,
  8392. "current": false,
  8393. "max": false,
  8394. "min": false,
  8395. "show": true,
  8396. "total": false,
  8397. "values": false
  8398. },
  8399. "lines": true,
  8400. "linewidth": 1,
  8401. "nullPointMode": "null",
  8402. "options": {
  8403. "alertThreshold": true
  8404. },
  8405. "percentage": false,
  8406. "pluginVersion": "9.2.2",
  8407. "pointradius": 2,
  8408. "points": false,
  8409. "renderer": "flot",
  8410. "seriesOverrides": [],
  8411. "spaceLength": 10,
  8412. "stack": false,
  8413. "steppedLine": false,
  8414. "targets": [
  8415. {
  8416. "datasource": {
  8417. "uid": "$datasource"
  8418. },
  8419. "expr": "rate(synapse_util_metrics_block_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  8420. "interval": "",
  8421. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  8422. "refId": "A"
  8423. }
  8424. ],
  8425. "thresholds": [],
  8426. "timeRegions": [],
  8427. "title": "Block count",
  8428. "tooltip": {
  8429. "shared": true,
  8430. "sort": 2,
  8431. "value_type": "individual"
  8432. },
  8433. "type": "graph",
  8434. "xaxis": {
  8435. "mode": "time",
  8436. "show": true,
  8437. "values": []
  8438. },
  8439. "yaxes": [
  8440. {
  8441. "format": "hertz",
  8442. "logBase": 1,
  8443. "show": true
  8444. },
  8445. {
  8446. "format": "short",
  8447. "logBase": 1,
  8448. "show": true
  8449. }
  8450. ],
  8451. "yaxis": {
  8452. "align": false
  8453. }
  8454. }
  8455. ],
  8456. "targets": [
  8457. {
  8458. "datasource": {
  8459. "type": "prometheus",
  8460. "uid": "000000001"
  8461. },
  8462. "refId": "A"
  8463. }
  8464. ],
  8465. "title": "Per-block metrics",
  8466. "type": "row"
  8467. },
  8468. {
  8469. "collapsed": true,
  8470. "datasource": {
  8471. "type": "prometheus",
  8472. "uid": "000000001"
  8473. },
  8474. "gridPos": {
  8475. "h": 1,
  8476. "w": 24,
  8477. "x": 0,
  8478. "y": 36
  8479. },
  8480. "id": 61,
  8481. "panels": [
  8482. {
  8483. "aliasColors": {},
  8484. "bars": false,
  8485. "dashLength": 10,
  8486. "dashes": false,
  8487. "datasource": {
  8488. "uid": "$datasource"
  8489. },
  8490. "decimals": 2,
  8491. "editable": true,
  8492. "error": false,
  8493. "fieldConfig": {
  8494. "defaults": {
  8495. "links": []
  8496. },
  8497. "overrides": []
  8498. },
  8499. "fill": 0,
  8500. "fillGradient": 0,
  8501. "grid": {},
  8502. "gridPos": {
  8503. "h": 10,
  8504. "w": 12,
  8505. "x": 0,
  8506. "y": 36
  8507. },
  8508. "hiddenSeries": false,
  8509. "id": 1,
  8510. "legend": {
  8511. "alignAsTable": true,
  8512. "avg": false,
  8513. "current": false,
  8514. "hideEmpty": true,
  8515. "hideZero": false,
  8516. "max": false,
  8517. "min": false,
  8518. "show": true,
  8519. "total": false,
  8520. "values": false
  8521. },
  8522. "lines": true,
  8523. "linewidth": 2,
  8524. "links": [],
  8525. "nullPointMode": "null",
  8526. "options": {
  8527. "alertThreshold": true
  8528. },
  8529. "percentage": false,
  8530. "pluginVersion": "9.0.4",
  8531. "pointradius": 5,
  8532. "points": false,
  8533. "renderer": "flot",
  8534. "seriesOverrides": [],
  8535. "spaceLength": 10,
  8536. "stack": false,
  8537. "steppedLine": false,
  8538. "targets": [
  8539. {
  8540. "datasource": {
  8541. "uid": "$datasource"
  8542. },
  8543. "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])",
  8544. "format": "time_series",
  8545. "intervalFactor": 2,
  8546. "legendFormat": "{{name}} {{job}}-{{index}}",
  8547. "refId": "A",
  8548. "step": 20
  8549. }
  8550. ],
  8551. "thresholds": [],
  8552. "timeRegions": [],
  8553. "title": "Cache Hit Ratio",
  8554. "tooltip": {
  8555. "msResolution": true,
  8556. "shared": false,
  8557. "sort": 0,
  8558. "value_type": "cumulative"
  8559. },
  8560. "type": "graph",
  8561. "xaxis": {
  8562. "mode": "time",
  8563. "show": true,
  8564. "values": []
  8565. },
  8566. "yaxes": [
  8567. {
  8568. "format": "percentunit",
  8569. "label": "",
  8570. "logBase": 1,
  8571. "max": "1",
  8572. "min": 0,
  8573. "show": true
  8574. },
  8575. {
  8576. "format": "short",
  8577. "logBase": 1,
  8578. "show": false
  8579. }
  8580. ],
  8581. "yaxis": {
  8582. "align": false
  8583. }
  8584. },
  8585. {
  8586. "aliasColors": {},
  8587. "bars": false,
  8588. "dashLength": 10,
  8589. "dashes": false,
  8590. "datasource": {
  8591. "uid": "$datasource"
  8592. },
  8593. "editable": true,
  8594. "error": false,
  8595. "fieldConfig": {
  8596. "defaults": {
  8597. "links": []
  8598. },
  8599. "overrides": []
  8600. },
  8601. "fill": 1,
  8602. "fillGradient": 0,
  8603. "grid": {},
  8604. "gridPos": {
  8605. "h": 10,
  8606. "w": 12,
  8607. "x": 12,
  8608. "y": 36
  8609. },
  8610. "hiddenSeries": false,
  8611. "id": 8,
  8612. "legend": {
  8613. "alignAsTable": true,
  8614. "avg": false,
  8615. "current": false,
  8616. "hideZero": false,
  8617. "max": false,
  8618. "min": false,
  8619. "show": true,
  8620. "total": false,
  8621. "values": false
  8622. },
  8623. "lines": true,
  8624. "linewidth": 2,
  8625. "links": [],
  8626. "nullPointMode": "connected",
  8627. "options": {
  8628. "alertThreshold": true
  8629. },
  8630. "percentage": false,
  8631. "pluginVersion": "9.0.4",
  8632. "pointradius": 5,
  8633. "points": false,
  8634. "renderer": "flot",
  8635. "seriesOverrides": [],
  8636. "spaceLength": 10,
  8637. "stack": false,
  8638. "steppedLine": false,
  8639. "targets": [
  8640. {
  8641. "datasource": {
  8642. "uid": "$datasource"
  8643. },
  8644. "expr": "synapse_util_caches_cache_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  8645. "format": "time_series",
  8646. "hide": false,
  8647. "interval": "",
  8648. "intervalFactor": 2,
  8649. "legendFormat": "{{name}} {{job}}-{{index}}",
  8650. "refId": "A",
  8651. "step": 20
  8652. }
  8653. ],
  8654. "thresholds": [],
  8655. "timeRegions": [],
  8656. "title": "Cache Size",
  8657. "tooltip": {
  8658. "shared": false,
  8659. "sort": 0,
  8660. "value_type": "cumulative"
  8661. },
  8662. "type": "graph",
  8663. "xaxis": {
  8664. "mode": "time",
  8665. "show": true,
  8666. "values": []
  8667. },
  8668. "yaxes": [
  8669. {
  8670. "format": "short",
  8671. "logBase": 1,
  8672. "min": 0,
  8673. "show": true
  8674. },
  8675. {
  8676. "format": "short",
  8677. "logBase": 1,
  8678. "show": true
  8679. }
  8680. ],
  8681. "yaxis": {
  8682. "align": false
  8683. }
  8684. },
  8685. {
  8686. "aliasColors": {},
  8687. "bars": false,
  8688. "dashLength": 10,
  8689. "dashes": false,
  8690. "datasource": {
  8691. "uid": "$datasource"
  8692. },
  8693. "editable": true,
  8694. "error": false,
  8695. "fieldConfig": {
  8696. "defaults": {
  8697. "links": []
  8698. },
  8699. "overrides": []
  8700. },
  8701. "fill": 1,
  8702. "fillGradient": 0,
  8703. "grid": {},
  8704. "gridPos": {
  8705. "h": 10,
  8706. "w": 12,
  8707. "x": 0,
  8708. "y": 46
  8709. },
  8710. "hiddenSeries": false,
  8711. "id": 38,
  8712. "legend": {
  8713. "alignAsTable": true,
  8714. "avg": false,
  8715. "current": false,
  8716. "hideZero": false,
  8717. "max": false,
  8718. "min": false,
  8719. "show": true,
  8720. "total": false,
  8721. "values": false
  8722. },
  8723. "lines": true,
  8724. "linewidth": 2,
  8725. "links": [],
  8726. "nullPointMode": "connected",
  8727. "options": {
  8728. "alertThreshold": true
  8729. },
  8730. "percentage": false,
  8731. "pluginVersion": "9.0.4",
  8732. "pointradius": 5,
  8733. "points": false,
  8734. "renderer": "flot",
  8735. "seriesOverrides": [],
  8736. "spaceLength": 10,
  8737. "stack": false,
  8738. "steppedLine": false,
  8739. "targets": [
  8740. {
  8741. "datasource": {
  8742. "uid": "$datasource"
  8743. },
  8744. "expr": "rate(synapse_util_caches_cache{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  8745. "format": "time_series",
  8746. "interval": "",
  8747. "intervalFactor": 2,
  8748. "legendFormat": "{{name}} {{job}}-{{index}}",
  8749. "refId": "A",
  8750. "step": 20
  8751. }
  8752. ],
  8753. "thresholds": [],
  8754. "timeRegions": [],
  8755. "title": "Cache request rate",
  8756. "tooltip": {
  8757. "shared": false,
  8758. "sort": 0,
  8759. "value_type": "cumulative"
  8760. },
  8761. "type": "graph",
  8762. "xaxis": {
  8763. "mode": "time",
  8764. "show": true,
  8765. "values": []
  8766. },
  8767. "yaxes": [
  8768. {
  8769. "format": "rps",
  8770. "logBase": 1,
  8771. "min": 0,
  8772. "show": true
  8773. },
  8774. {
  8775. "format": "short",
  8776. "logBase": 1,
  8777. "show": true
  8778. }
  8779. ],
  8780. "yaxis": {
  8781. "align": false
  8782. }
  8783. },
  8784. {
  8785. "aliasColors": {},
  8786. "bars": false,
  8787. "dashLength": 10,
  8788. "dashes": false,
  8789. "datasource": {
  8790. "uid": "$datasource"
  8791. },
  8792. "fieldConfig": {
  8793. "defaults": {
  8794. "links": []
  8795. },
  8796. "overrides": []
  8797. },
  8798. "fill": 1,
  8799. "fillGradient": 0,
  8800. "gridPos": {
  8801. "h": 10,
  8802. "w": 12,
  8803. "x": 12,
  8804. "y": 46
  8805. },
  8806. "hiddenSeries": false,
  8807. "id": 39,
  8808. "legend": {
  8809. "alignAsTable": true,
  8810. "avg": false,
  8811. "current": false,
  8812. "hideEmpty": false,
  8813. "hideZero": false,
  8814. "max": true,
  8815. "min": false,
  8816. "rightSide": false,
  8817. "show": true,
  8818. "sort": "max",
  8819. "sortDesc": true,
  8820. "total": false,
  8821. "values": true
  8822. },
  8823. "lines": true,
  8824. "linewidth": 1,
  8825. "links": [],
  8826. "nullPointMode": "null",
  8827. "options": {
  8828. "alertThreshold": true
  8829. },
  8830. "percentage": false,
  8831. "pluginVersion": "9.0.4",
  8832. "pointradius": 5,
  8833. "points": false,
  8834. "renderer": "flot",
  8835. "seriesOverrides": [],
  8836. "spaceLength": 10,
  8837. "stack": false,
  8838. "steppedLine": false,
  8839. "targets": [
  8840. {
  8841. "datasource": {
  8842. "uid": "$datasource"
  8843. },
  8844. "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]))",
  8845. "format": "time_series",
  8846. "interval": "",
  8847. "intervalFactor": 2,
  8848. "legendFormat": "{{name}} {{job}}-{{index}}",
  8849. "refId": "A",
  8850. "step": 20
  8851. }
  8852. ],
  8853. "thresholds": [],
  8854. "timeRegions": [],
  8855. "title": "Top 10 cache misses",
  8856. "tooltip": {
  8857. "shared": false,
  8858. "sort": 0,
  8859. "value_type": "individual"
  8860. },
  8861. "type": "graph",
  8862. "xaxis": {
  8863. "mode": "time",
  8864. "show": true,
  8865. "values": []
  8866. },
  8867. "yaxes": [
  8868. {
  8869. "$$hashKey": "object:101",
  8870. "format": "rps",
  8871. "logBase": 1,
  8872. "show": true
  8873. },
  8874. {
  8875. "$$hashKey": "object:102",
  8876. "format": "short",
  8877. "logBase": 1,
  8878. "show": true
  8879. }
  8880. ],
  8881. "yaxis": {
  8882. "align": false
  8883. }
  8884. },
  8885. {
  8886. "aliasColors": {},
  8887. "bars": false,
  8888. "dashLength": 10,
  8889. "dashes": false,
  8890. "datasource": {
  8891. "uid": "$datasource"
  8892. },
  8893. "fieldConfig": {
  8894. "defaults": {
  8895. "links": []
  8896. },
  8897. "overrides": []
  8898. },
  8899. "fill": 1,
  8900. "fillGradient": 0,
  8901. "gridPos": {
  8902. "h": 9,
  8903. "w": 12,
  8904. "x": 0,
  8905. "y": 56
  8906. },
  8907. "hiddenSeries": false,
  8908. "id": 65,
  8909. "legend": {
  8910. "alignAsTable": true,
  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. "links": [],
  8922. "nullPointMode": "null",
  8923. "options": {
  8924. "alertThreshold": true
  8925. },
  8926. "percentage": false,
  8927. "pluginVersion": "9.0.4",
  8928. "pointradius": 5,
  8929. "points": false,
  8930. "renderer": "flot",
  8931. "seriesOverrides": [],
  8932. "spaceLength": 10,
  8933. "stack": false,
  8934. "steppedLine": false,
  8935. "targets": [
  8936. {
  8937. "datasource": {
  8938. "uid": "$datasource"
  8939. },
  8940. "expr": "rate(synapse_util_caches_cache_evicted_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  8941. "format": "time_series",
  8942. "interval": "",
  8943. "intervalFactor": 1,
  8944. "legendFormat": "{{name}} ({{reason}}) {{job}}-{{index}}",
  8945. "refId": "A"
  8946. }
  8947. ],
  8948. "thresholds": [],
  8949. "timeRegions": [],
  8950. "title": "Cache eviction rate",
  8951. "tooltip": {
  8952. "shared": false,
  8953. "sort": 0,
  8954. "value_type": "individual"
  8955. },
  8956. "type": "graph",
  8957. "xaxis": {
  8958. "mode": "time",
  8959. "show": true,
  8960. "values": []
  8961. },
  8962. "yaxes": [
  8963. {
  8964. "format": "hertz",
  8965. "label": "entries / second",
  8966. "logBase": 1,
  8967. "show": true
  8968. },
  8969. {
  8970. "format": "short",
  8971. "logBase": 1,
  8972. "show": true
  8973. }
  8974. ],
  8975. "yaxis": {
  8976. "align": false
  8977. }
  8978. }
  8979. ],
  8980. "targets": [
  8981. {
  8982. "datasource": {
  8983. "type": "prometheus",
  8984. "uid": "000000001"
  8985. },
  8986. "refId": "A"
  8987. }
  8988. ],
  8989. "title": "Caches",
  8990. "type": "row"
  8991. },
  8992. {
  8993. "collapsed": true,
  8994. "datasource": {
  8995. "type": "prometheus",
  8996. "uid": "000000001"
  8997. },
  8998. "gridPos": {
  8999. "h": 1,
  9000. "w": 24,
  9001. "x": 0,
  9002. "y": 37
  9003. },
  9004. "id": 148,
  9005. "panels": [
  9006. {
  9007. "aliasColors": {},
  9008. "bars": false,
  9009. "dashLength": 10,
  9010. "dashes": false,
  9011. "datasource": {
  9012. "uid": "$datasource"
  9013. },
  9014. "fieldConfig": {
  9015. "defaults": {
  9016. "custom": {},
  9017. "links": []
  9018. },
  9019. "overrides": []
  9020. },
  9021. "fill": 1,
  9022. "fillGradient": 0,
  9023. "gridPos": {
  9024. "h": 8,
  9025. "w": 12,
  9026. "x": 0,
  9027. "y": 29
  9028. },
  9029. "hiddenSeries": false,
  9030. "id": 146,
  9031. "legend": {
  9032. "avg": false,
  9033. "current": false,
  9034. "max": false,
  9035. "min": false,
  9036. "show": true,
  9037. "total": false,
  9038. "values": false
  9039. },
  9040. "lines": true,
  9041. "linewidth": 1,
  9042. "nullPointMode": "null",
  9043. "options": {
  9044. "alertThreshold": true
  9045. },
  9046. "percentage": false,
  9047. "pluginVersion": "7.3.7",
  9048. "pointradius": 2,
  9049. "points": false,
  9050. "renderer": "flot",
  9051. "seriesOverrides": [],
  9052. "spaceLength": 10,
  9053. "stack": false,
  9054. "steppedLine": false,
  9055. "targets": [
  9056. {
  9057. "datasource": {
  9058. "uid": "$datasource"
  9059. },
  9060. "expr": "synapse_util_caches_response_cache_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  9061. "interval": "",
  9062. "legendFormat": "{{name}} {{job}}-{{index}}",
  9063. "refId": "A"
  9064. }
  9065. ],
  9066. "thresholds": [],
  9067. "timeRegions": [],
  9068. "title": "Response cache size",
  9069. "tooltip": {
  9070. "shared": false,
  9071. "sort": 0,
  9072. "value_type": "individual"
  9073. },
  9074. "type": "graph",
  9075. "xaxis": {
  9076. "mode": "time",
  9077. "show": true,
  9078. "values": []
  9079. },
  9080. "yaxes": [
  9081. {
  9082. "format": "short",
  9083. "logBase": 1,
  9084. "show": true
  9085. },
  9086. {
  9087. "format": "short",
  9088. "logBase": 1,
  9089. "show": true
  9090. }
  9091. ],
  9092. "yaxis": {
  9093. "align": false
  9094. }
  9095. },
  9096. {
  9097. "aliasColors": {},
  9098. "bars": false,
  9099. "dashLength": 10,
  9100. "dashes": false,
  9101. "datasource": {
  9102. "uid": "$datasource"
  9103. },
  9104. "fieldConfig": {
  9105. "defaults": {
  9106. "custom": {},
  9107. "links": []
  9108. },
  9109. "overrides": []
  9110. },
  9111. "fill": 1,
  9112. "fillGradient": 0,
  9113. "gridPos": {
  9114. "h": 8,
  9115. "w": 12,
  9116. "x": 12,
  9117. "y": 29
  9118. },
  9119. "hiddenSeries": false,
  9120. "id": 150,
  9121. "legend": {
  9122. "avg": false,
  9123. "current": false,
  9124. "max": false,
  9125. "min": false,
  9126. "show": true,
  9127. "total": false,
  9128. "values": false
  9129. },
  9130. "lines": true,
  9131. "linewidth": 1,
  9132. "nullPointMode": "null",
  9133. "options": {
  9134. "alertThreshold": true
  9135. },
  9136. "percentage": false,
  9137. "pluginVersion": "7.3.7",
  9138. "pointradius": 2,
  9139. "points": false,
  9140. "renderer": "flot",
  9141. "seriesOverrides": [],
  9142. "spaceLength": 10,
  9143. "stack": false,
  9144. "steppedLine": false,
  9145. "targets": [
  9146. {
  9147. "datasource": {
  9148. "uid": "$datasource"
  9149. },
  9150. "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])",
  9151. "interval": "",
  9152. "legendFormat": "{{name}} {{job}}-{{index}}",
  9153. "refId": "A"
  9154. },
  9155. {
  9156. "datasource": {
  9157. "uid": "$datasource"
  9158. },
  9159. "expr": "",
  9160. "interval": "",
  9161. "legendFormat": "",
  9162. "refId": "B"
  9163. }
  9164. ],
  9165. "thresholds": [],
  9166. "timeRegions": [],
  9167. "title": "Response cache hit rate",
  9168. "tooltip": {
  9169. "shared": false,
  9170. "sort": 0,
  9171. "value_type": "individual"
  9172. },
  9173. "type": "graph",
  9174. "xaxis": {
  9175. "mode": "time",
  9176. "show": true,
  9177. "values": []
  9178. },
  9179. "yaxes": [
  9180. {
  9181. "format": "percentunit",
  9182. "logBase": 1,
  9183. "max": "1",
  9184. "min": "0",
  9185. "show": true
  9186. },
  9187. {
  9188. "format": "short",
  9189. "logBase": 1,
  9190. "show": true
  9191. }
  9192. ],
  9193. "yaxis": {
  9194. "align": false
  9195. }
  9196. }
  9197. ],
  9198. "targets": [
  9199. {
  9200. "datasource": {
  9201. "type": "prometheus",
  9202. "uid": "000000001"
  9203. },
  9204. "refId": "A"
  9205. }
  9206. ],
  9207. "title": "Response caches",
  9208. "type": "row"
  9209. },
  9210. {
  9211. "collapsed": true,
  9212. "datasource": {
  9213. "type": "prometheus",
  9214. "uid": "000000001"
  9215. },
  9216. "gridPos": {
  9217. "h": 1,
  9218. "w": 24,
  9219. "x": 0,
  9220. "y": 38
  9221. },
  9222. "id": 62,
  9223. "panels": [
  9224. {
  9225. "aliasColors": {},
  9226. "bars": false,
  9227. "dashLength": 10,
  9228. "dashes": false,
  9229. "datasource": {
  9230. "uid": "$datasource"
  9231. },
  9232. "fieldConfig": {
  9233. "defaults": {
  9234. "custom": {},
  9235. "links": []
  9236. },
  9237. "overrides": []
  9238. },
  9239. "fill": 1,
  9240. "fillGradient": 0,
  9241. "gridPos": {
  9242. "h": 9,
  9243. "w": 12,
  9244. "x": 0,
  9245. "y": 30
  9246. },
  9247. "hiddenSeries": false,
  9248. "id": 91,
  9249. "legend": {
  9250. "avg": false,
  9251. "current": false,
  9252. "max": false,
  9253. "min": false,
  9254. "show": true,
  9255. "total": false,
  9256. "values": false
  9257. },
  9258. "lines": true,
  9259. "linewidth": 1,
  9260. "links": [],
  9261. "nullPointMode": "null",
  9262. "options": {
  9263. "alertThreshold": true
  9264. },
  9265. "percentage": false,
  9266. "pluginVersion": "7.3.7",
  9267. "pointradius": 5,
  9268. "points": false,
  9269. "renderer": "flot",
  9270. "seriesOverrides": [],
  9271. "spaceLength": 10,
  9272. "stack": true,
  9273. "steppedLine": false,
  9274. "targets": [
  9275. {
  9276. "datasource": {
  9277. "uid": "$datasource"
  9278. },
  9279. "expr": "rate(python_gc_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[10m])",
  9280. "format": "time_series",
  9281. "instant": false,
  9282. "intervalFactor": 1,
  9283. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  9284. "refId": "A"
  9285. }
  9286. ],
  9287. "thresholds": [],
  9288. "timeRegions": [],
  9289. "title": "Total GC time by bucket (10m smoothing)",
  9290. "tooltip": {
  9291. "shared": true,
  9292. "sort": 0,
  9293. "value_type": "individual"
  9294. },
  9295. "type": "graph",
  9296. "xaxis": {
  9297. "mode": "time",
  9298. "show": true,
  9299. "values": []
  9300. },
  9301. "yaxes": [
  9302. {
  9303. "format": "percentunit",
  9304. "logBase": 1,
  9305. "min": "0",
  9306. "show": true
  9307. },
  9308. {
  9309. "format": "short",
  9310. "logBase": 1,
  9311. "show": true
  9312. }
  9313. ],
  9314. "yaxis": {
  9315. "align": false
  9316. }
  9317. },
  9318. {
  9319. "aliasColors": {},
  9320. "bars": false,
  9321. "dashLength": 10,
  9322. "dashes": false,
  9323. "datasource": {
  9324. "uid": "$datasource"
  9325. },
  9326. "decimals": 3,
  9327. "editable": true,
  9328. "error": false,
  9329. "fieldConfig": {
  9330. "defaults": {
  9331. "custom": {},
  9332. "links": []
  9333. },
  9334. "overrides": []
  9335. },
  9336. "fill": 1,
  9337. "fillGradient": 0,
  9338. "grid": {},
  9339. "gridPos": {
  9340. "h": 9,
  9341. "w": 12,
  9342. "x": 12,
  9343. "y": 30
  9344. },
  9345. "hiddenSeries": false,
  9346. "id": 21,
  9347. "legend": {
  9348. "alignAsTable": true,
  9349. "avg": false,
  9350. "current": false,
  9351. "max": false,
  9352. "min": false,
  9353. "show": true,
  9354. "total": false,
  9355. "values": false
  9356. },
  9357. "lines": true,
  9358. "linewidth": 2,
  9359. "links": [],
  9360. "nullPointMode": "null as zero",
  9361. "options": {
  9362. "alertThreshold": true
  9363. },
  9364. "percentage": false,
  9365. "pluginVersion": "7.3.7",
  9366. "pointradius": 5,
  9367. "points": false,
  9368. "renderer": "flot",
  9369. "seriesOverrides": [],
  9370. "spaceLength": 10,
  9371. "stack": false,
  9372. "steppedLine": false,
  9373. "targets": [
  9374. {
  9375. "datasource": {
  9376. "uid": "$datasource"
  9377. },
  9378. "expr": "rate(python_gc_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(python_gc_time_count[$bucket_size])",
  9379. "format": "time_series",
  9380. "intervalFactor": 2,
  9381. "legendFormat": "{{job}} {{index}} gen {{gen}} ",
  9382. "refId": "A",
  9383. "step": 20,
  9384. "target": ""
  9385. }
  9386. ],
  9387. "thresholds": [],
  9388. "timeRegions": [],
  9389. "title": "Average GC Time Per Collection",
  9390. "tooltip": {
  9391. "shared": false,
  9392. "sort": 0,
  9393. "value_type": "cumulative"
  9394. },
  9395. "type": "graph",
  9396. "xaxis": {
  9397. "mode": "time",
  9398. "show": true,
  9399. "values": []
  9400. },
  9401. "yaxes": [
  9402. {
  9403. "format": "s",
  9404. "logBase": 1,
  9405. "show": true
  9406. },
  9407. {
  9408. "format": "short",
  9409. "logBase": 1,
  9410. "show": true
  9411. }
  9412. ],
  9413. "yaxis": {
  9414. "align": false
  9415. }
  9416. },
  9417. {
  9418. "aliasColors": {},
  9419. "bars": false,
  9420. "dashLength": 10,
  9421. "dashes": false,
  9422. "datasource": {
  9423. "uid": "$datasource"
  9424. },
  9425. "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.",
  9426. "fieldConfig": {
  9427. "defaults": {
  9428. "custom": {},
  9429. "links": []
  9430. },
  9431. "overrides": []
  9432. },
  9433. "fill": 1,
  9434. "fillGradient": 0,
  9435. "gridPos": {
  9436. "h": 9,
  9437. "w": 12,
  9438. "x": 0,
  9439. "y": 39
  9440. },
  9441. "hiddenSeries": false,
  9442. "id": 89,
  9443. "legend": {
  9444. "avg": false,
  9445. "current": false,
  9446. "hideEmpty": true,
  9447. "hideZero": false,
  9448. "max": false,
  9449. "min": false,
  9450. "show": true,
  9451. "total": false,
  9452. "values": false
  9453. },
  9454. "lines": true,
  9455. "linewidth": 1,
  9456. "links": [],
  9457. "nullPointMode": "null",
  9458. "options": {
  9459. "alertThreshold": true
  9460. },
  9461. "percentage": false,
  9462. "pluginVersion": "7.3.7",
  9463. "pointradius": 5,
  9464. "points": false,
  9465. "renderer": "flot",
  9466. "seriesOverrides": [
  9467. {
  9468. "alias": "/gen 0$/",
  9469. "yaxis": 2
  9470. }
  9471. ],
  9472. "spaceLength": 10,
  9473. "stack": false,
  9474. "steppedLine": false,
  9475. "targets": [
  9476. {
  9477. "datasource": {
  9478. "uid": "$datasource"
  9479. },
  9480. "expr": "python_gc_counts{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  9481. "format": "time_series",
  9482. "intervalFactor": 1,
  9483. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  9484. "refId": "A"
  9485. }
  9486. ],
  9487. "thresholds": [],
  9488. "timeRegions": [],
  9489. "title": "Allocation counts",
  9490. "tooltip": {
  9491. "shared": false,
  9492. "sort": 0,
  9493. "value_type": "individual"
  9494. },
  9495. "type": "graph",
  9496. "xaxis": {
  9497. "mode": "time",
  9498. "show": true,
  9499. "values": []
  9500. },
  9501. "yaxes": [
  9502. {
  9503. "format": "short",
  9504. "label": "Gen N-1 GCs since last Gen N GC",
  9505. "logBase": 1,
  9506. "show": true
  9507. },
  9508. {
  9509. "format": "short",
  9510. "label": "Objects since last Gen 0 GC",
  9511. "logBase": 1,
  9512. "show": true
  9513. }
  9514. ],
  9515. "yaxis": {
  9516. "align": false
  9517. }
  9518. },
  9519. {
  9520. "aliasColors": {},
  9521. "bars": false,
  9522. "dashLength": 10,
  9523. "dashes": false,
  9524. "datasource": {
  9525. "uid": "$datasource"
  9526. },
  9527. "fieldConfig": {
  9528. "defaults": {
  9529. "custom": {},
  9530. "links": []
  9531. },
  9532. "overrides": []
  9533. },
  9534. "fill": 1,
  9535. "fillGradient": 0,
  9536. "gridPos": {
  9537. "h": 9,
  9538. "w": 12,
  9539. "x": 12,
  9540. "y": 39
  9541. },
  9542. "hiddenSeries": false,
  9543. "id": 93,
  9544. "legend": {
  9545. "avg": false,
  9546. "current": false,
  9547. "max": false,
  9548. "min": false,
  9549. "show": true,
  9550. "total": false,
  9551. "values": false
  9552. },
  9553. "lines": true,
  9554. "linewidth": 1,
  9555. "links": [],
  9556. "nullPointMode": "connected",
  9557. "options": {
  9558. "alertThreshold": true
  9559. },
  9560. "percentage": false,
  9561. "pluginVersion": "7.3.7",
  9562. "pointradius": 5,
  9563. "points": false,
  9564. "renderer": "flot",
  9565. "seriesOverrides": [],
  9566. "spaceLength": 10,
  9567. "stack": false,
  9568. "steppedLine": false,
  9569. "targets": [
  9570. {
  9571. "datasource": {
  9572. "uid": "$datasource"
  9573. },
  9574. "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])",
  9575. "format": "time_series",
  9576. "intervalFactor": 1,
  9577. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  9578. "refId": "A"
  9579. }
  9580. ],
  9581. "thresholds": [],
  9582. "timeRegions": [],
  9583. "title": "Object counts per collection",
  9584. "tooltip": {
  9585. "shared": true,
  9586. "sort": 0,
  9587. "value_type": "individual"
  9588. },
  9589. "type": "graph",
  9590. "xaxis": {
  9591. "mode": "time",
  9592. "show": true,
  9593. "values": []
  9594. },
  9595. "yaxes": [
  9596. {
  9597. "format": "short",
  9598. "logBase": 1,
  9599. "show": true
  9600. },
  9601. {
  9602. "format": "short",
  9603. "logBase": 1,
  9604. "show": true
  9605. }
  9606. ],
  9607. "yaxis": {
  9608. "align": false
  9609. }
  9610. },
  9611. {
  9612. "aliasColors": {},
  9613. "bars": false,
  9614. "dashLength": 10,
  9615. "dashes": false,
  9616. "datasource": {
  9617. "uid": "$datasource"
  9618. },
  9619. "fieldConfig": {
  9620. "defaults": {
  9621. "custom": {},
  9622. "links": []
  9623. },
  9624. "overrides": []
  9625. },
  9626. "fill": 1,
  9627. "fillGradient": 0,
  9628. "gridPos": {
  9629. "h": 9,
  9630. "w": 12,
  9631. "x": 0,
  9632. "y": 48
  9633. },
  9634. "hiddenSeries": false,
  9635. "id": 95,
  9636. "legend": {
  9637. "avg": false,
  9638. "current": false,
  9639. "max": false,
  9640. "min": false,
  9641. "show": true,
  9642. "total": false,
  9643. "values": false
  9644. },
  9645. "lines": true,
  9646. "linewidth": 1,
  9647. "links": [],
  9648. "nullPointMode": "null",
  9649. "options": {
  9650. "alertThreshold": true
  9651. },
  9652. "percentage": false,
  9653. "pluginVersion": "7.3.7",
  9654. "pointradius": 5,
  9655. "points": false,
  9656. "renderer": "flot",
  9657. "seriesOverrides": [],
  9658. "spaceLength": 10,
  9659. "stack": false,
  9660. "steppedLine": false,
  9661. "targets": [
  9662. {
  9663. "datasource": {
  9664. "uid": "$datasource"
  9665. },
  9666. "expr": "rate(python_gc_time_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  9667. "format": "time_series",
  9668. "intervalFactor": 1,
  9669. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  9670. "refId": "A"
  9671. }
  9672. ],
  9673. "thresholds": [],
  9674. "timeRegions": [],
  9675. "title": "GC frequency",
  9676. "tooltip": {
  9677. "shared": true,
  9678. "sort": 0,
  9679. "value_type": "individual"
  9680. },
  9681. "type": "graph",
  9682. "xaxis": {
  9683. "mode": "time",
  9684. "show": true,
  9685. "values": []
  9686. },
  9687. "yaxes": [
  9688. {
  9689. "format": "hertz",
  9690. "logBase": 1,
  9691. "show": true
  9692. },
  9693. {
  9694. "format": "short",
  9695. "logBase": 1,
  9696. "show": true
  9697. }
  9698. ],
  9699. "yaxis": {
  9700. "align": false
  9701. }
  9702. },
  9703. {
  9704. "cards": {
  9705. "cardPadding": 0
  9706. },
  9707. "color": {
  9708. "cardColor": "#b4ff00",
  9709. "colorScale": "sqrt",
  9710. "colorScheme": "interpolateSpectral",
  9711. "exponent": 0.5,
  9712. "min": 0,
  9713. "mode": "spectrum"
  9714. },
  9715. "dataFormat": "tsbuckets",
  9716. "datasource": {
  9717. "type": "prometheus",
  9718. "uid": "${DS_PROMETHEUS}"
  9719. },
  9720. "fieldConfig": {
  9721. "defaults": {
  9722. "custom": {}
  9723. },
  9724. "overrides": []
  9725. },
  9726. "gridPos": {
  9727. "h": 9,
  9728. "w": 12,
  9729. "x": 12,
  9730. "y": 48
  9731. },
  9732. "heatmap": {},
  9733. "hideZeroBuckets": true,
  9734. "highlightCards": true,
  9735. "id": 87,
  9736. "legend": {
  9737. "show": true
  9738. },
  9739. "links": [],
  9740. "reverseYBuckets": false,
  9741. "targets": [
  9742. {
  9743. "datasource": {
  9744. "type": "prometheus",
  9745. "uid": "${DS_PROMETHEUS}"
  9746. },
  9747. "expr": "sum(rate(python_gc_time_bucket[$bucket_size])) by (le)",
  9748. "format": "heatmap",
  9749. "intervalFactor": 1,
  9750. "legendFormat": "{{le}}",
  9751. "refId": "A"
  9752. }
  9753. ],
  9754. "title": "GC durations",
  9755. "tooltip": {
  9756. "show": true,
  9757. "showHistogram": false
  9758. },
  9759. "type": "heatmap",
  9760. "xAxis": {
  9761. "show": true
  9762. },
  9763. "yAxis": {
  9764. "format": "s",
  9765. "logBase": 1,
  9766. "show": true
  9767. },
  9768. "yBucketBound": "auto"
  9769. }
  9770. ],
  9771. "targets": [
  9772. {
  9773. "datasource": {
  9774. "type": "prometheus",
  9775. "uid": "000000001"
  9776. },
  9777. "refId": "A"
  9778. }
  9779. ],
  9780. "title": "GC",
  9781. "type": "row"
  9782. },
  9783. {
  9784. "collapsed": true,
  9785. "datasource": {
  9786. "type": "prometheus",
  9787. "uid": "000000001"
  9788. },
  9789. "gridPos": {
  9790. "h": 1,
  9791. "w": 24,
  9792. "x": 0,
  9793. "y": 39
  9794. },
  9795. "id": 63,
  9796. "panels": [
  9797. {
  9798. "aliasColors": {},
  9799. "bars": false,
  9800. "dashLength": 10,
  9801. "dashes": false,
  9802. "datasource": {
  9803. "type": "prometheus",
  9804. "uid": "$datasource"
  9805. },
  9806. "fieldConfig": {
  9807. "defaults": {
  9808. "links": []
  9809. },
  9810. "overrides": []
  9811. },
  9812. "fill": 1,
  9813. "fillGradient": 0,
  9814. "gridPos": {
  9815. "h": 7,
  9816. "w": 12,
  9817. "x": 0,
  9818. "y": 162
  9819. },
  9820. "hiddenSeries": false,
  9821. "id": 43,
  9822. "legend": {
  9823. "avg": false,
  9824. "current": false,
  9825. "max": false,
  9826. "min": false,
  9827. "show": true,
  9828. "total": false,
  9829. "values": false
  9830. },
  9831. "lines": true,
  9832. "linewidth": 1,
  9833. "links": [],
  9834. "nullPointMode": "null",
  9835. "options": {
  9836. "alertThreshold": true
  9837. },
  9838. "paceLength": 10,
  9839. "percentage": false,
  9840. "pluginVersion": "9.2.2",
  9841. "pointradius": 5,
  9842. "points": false,
  9843. "renderer": "flot",
  9844. "seriesOverrides": [],
  9845. "spaceLength": 10,
  9846. "stack": false,
  9847. "steppedLine": false,
  9848. "targets": [
  9849. {
  9850. "datasource": {
  9851. "uid": "$datasource"
  9852. },
  9853. "expr": "sum (rate(synapse_replication_tcp_protocol_outbound_commands_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (name, conn_id)",
  9854. "format": "time_series",
  9855. "intervalFactor": 2,
  9856. "legendFormat": "{{job}}-{{index}} {{command}}",
  9857. "refId": "A",
  9858. "step": 20
  9859. }
  9860. ],
  9861. "thresholds": [],
  9862. "timeRegions": [],
  9863. "title": "Rate of outgoing commands",
  9864. "tooltip": {
  9865. "shared": false,
  9866. "sort": 0,
  9867. "value_type": "individual"
  9868. },
  9869. "type": "graph",
  9870. "xaxis": {
  9871. "mode": "time",
  9872. "show": true,
  9873. "values": []
  9874. },
  9875. "yaxes": [
  9876. {
  9877. "$$hashKey": "object:89",
  9878. "format": "hertz",
  9879. "logBase": 1,
  9880. "show": true
  9881. },
  9882. {
  9883. "$$hashKey": "object:90",
  9884. "format": "short",
  9885. "logBase": 1,
  9886. "show": true
  9887. }
  9888. ],
  9889. "yaxis": {
  9890. "align": false
  9891. }
  9892. },
  9893. {
  9894. "datasource": {
  9895. "type": "prometheus",
  9896. "uid": "$datasource"
  9897. },
  9898. "fieldConfig": {
  9899. "defaults": {
  9900. "color": {
  9901. "mode": "palette-classic"
  9902. },
  9903. "custom": {
  9904. "axisCenteredZero": false,
  9905. "axisColorMode": "text",
  9906. "axisLabel": "",
  9907. "axisPlacement": "auto",
  9908. "barAlignment": 0,
  9909. "drawStyle": "line",
  9910. "fillOpacity": 10,
  9911. "gradientMode": "none",
  9912. "hideFrom": {
  9913. "legend": false,
  9914. "tooltip": false,
  9915. "viz": false
  9916. },
  9917. "lineInterpolation": "linear",
  9918. "lineWidth": 1,
  9919. "pointSize": 5,
  9920. "scaleDistribution": {
  9921. "type": "linear"
  9922. },
  9923. "showPoints": "never",
  9924. "spanNulls": true,
  9925. "stacking": {
  9926. "group": "A",
  9927. "mode": "none"
  9928. },
  9929. "thresholdsStyle": {
  9930. "mode": "off"
  9931. }
  9932. },
  9933. "links": [],
  9934. "mappings": [],
  9935. "thresholds": {
  9936. "mode": "absolute",
  9937. "steps": [
  9938. {
  9939. "color": "green"
  9940. },
  9941. {
  9942. "color": "red",
  9943. "value": 80
  9944. }
  9945. ]
  9946. },
  9947. "unit": "hertz"
  9948. },
  9949. "overrides": []
  9950. },
  9951. "gridPos": {
  9952. "h": 7,
  9953. "w": 12,
  9954. "x": 12,
  9955. "y": 162
  9956. },
  9957. "id": 41,
  9958. "links": [],
  9959. "options": {
  9960. "legend": {
  9961. "calcs": [],
  9962. "displayMode": "list",
  9963. "placement": "bottom",
  9964. "showLegend": true
  9965. },
  9966. "tooltip": {
  9967. "mode": "single",
  9968. "sort": "none"
  9969. }
  9970. },
  9971. "pluginVersion": "8.4.3",
  9972. "targets": [
  9973. {
  9974. "datasource": {
  9975. "type": "prometheus",
  9976. "uid": "${DS_PROMETHEUS}"
  9977. },
  9978. "exemplar": true,
  9979. "expr": "rate(synapse_replication_tcp_resource_stream_updates_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  9980. "format": "time_series",
  9981. "interval": "",
  9982. "intervalFactor": 2,
  9983. "legendFormat": "{{stream_name}}",
  9984. "refId": "A",
  9985. "step": 20
  9986. }
  9987. ],
  9988. "title": "Rate of outgoing RDATA commands, by stream",
  9989. "type": "timeseries"
  9990. },
  9991. {
  9992. "datasource": {
  9993. "type": "prometheus",
  9994. "uid": "$datasource"
  9995. },
  9996. "fieldConfig": {
  9997. "defaults": {
  9998. "color": {
  9999. "mode": "palette-classic"
  10000. },
  10001. "custom": {
  10002. "axisCenteredZero": false,
  10003. "axisColorMode": "text",
  10004. "axisLabel": "",
  10005. "axisPlacement": "auto",
  10006. "barAlignment": 0,
  10007. "drawStyle": "line",
  10008. "fillOpacity": 10,
  10009. "gradientMode": "none",
  10010. "hideFrom": {
  10011. "legend": false,
  10012. "tooltip": false,
  10013. "viz": false
  10014. },
  10015. "lineInterpolation": "linear",
  10016. "lineWidth": 1,
  10017. "pointSize": 5,
  10018. "scaleDistribution": {
  10019. "type": "linear"
  10020. },
  10021. "showPoints": "never",
  10022. "spanNulls": true,
  10023. "stacking": {
  10024. "group": "A",
  10025. "mode": "none"
  10026. },
  10027. "thresholdsStyle": {
  10028. "mode": "off"
  10029. }
  10030. },
  10031. "links": [],
  10032. "mappings": [],
  10033. "min": 0,
  10034. "thresholds": {
  10035. "mode": "absolute",
  10036. "steps": [
  10037. {
  10038. "color": "green"
  10039. },
  10040. {
  10041. "color": "red",
  10042. "value": 80
  10043. }
  10044. ]
  10045. },
  10046. "unit": "hertz"
  10047. },
  10048. "overrides": []
  10049. },
  10050. "gridPos": {
  10051. "h": 7,
  10052. "w": 12,
  10053. "x": 0,
  10054. "y": 169
  10055. },
  10056. "id": 42,
  10057. "links": [],
  10058. "options": {
  10059. "legend": {
  10060. "calcs": [],
  10061. "displayMode": "list",
  10062. "placement": "bottom",
  10063. "showLegend": true
  10064. },
  10065. "tooltip": {
  10066. "mode": "single",
  10067. "sort": "none"
  10068. }
  10069. },
  10070. "pluginVersion": "8.4.3",
  10071. "targets": [
  10072. {
  10073. "datasource": {
  10074. "type": "prometheus",
  10075. "uid": "${DS_PROMETHEUS}"
  10076. },
  10077. "exemplar": true,
  10078. "expr": "sum (rate(synapse_replication_tcp_protocol_inbound_commands_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (name, conn_id)",
  10079. "format": "time_series",
  10080. "interval": "",
  10081. "intervalFactor": 2,
  10082. "legendFormat": "{{job}}-{{index}} {{command}}",
  10083. "refId": "A",
  10084. "step": 20
  10085. }
  10086. ],
  10087. "title": "Rate of incoming commands (including echoes)",
  10088. "type": "timeseries"
  10089. },
  10090. {
  10091. "datasource": {
  10092. "type": "prometheus",
  10093. "uid": "$datasource"
  10094. },
  10095. "fieldConfig": {
  10096. "defaults": {
  10097. "color": {
  10098. "mode": "palette-classic"
  10099. },
  10100. "custom": {
  10101. "axisCenteredZero": false,
  10102. "axisColorMode": "text",
  10103. "axisLabel": "",
  10104. "axisPlacement": "auto",
  10105. "axisSoftMin": 1,
  10106. "barAlignment": 0,
  10107. "drawStyle": "line",
  10108. "fillOpacity": 10,
  10109. "gradientMode": "none",
  10110. "hideFrom": {
  10111. "legend": false,
  10112. "tooltip": false,
  10113. "viz": false
  10114. },
  10115. "lineInterpolation": "linear",
  10116. "lineWidth": 1,
  10117. "pointSize": 5,
  10118. "scaleDistribution": {
  10119. "type": "linear"
  10120. },
  10121. "showPoints": "never",
  10122. "spanNulls": true,
  10123. "stacking": {
  10124. "group": "A",
  10125. "mode": "none"
  10126. },
  10127. "thresholdsStyle": {
  10128. "mode": "off"
  10129. }
  10130. },
  10131. "links": [],
  10132. "mappings": [],
  10133. "min": 0,
  10134. "thresholds": {
  10135. "mode": "absolute",
  10136. "steps": [
  10137. {
  10138. "color": "green"
  10139. },
  10140. {
  10141. "color": "red",
  10142. "value": 80
  10143. }
  10144. ]
  10145. },
  10146. "unit": "hertz"
  10147. },
  10148. "overrides": []
  10149. },
  10150. "gridPos": {
  10151. "h": 7,
  10152. "w": 12,
  10153. "x": 12,
  10154. "y": 169
  10155. },
  10156. "id": 220,
  10157. "links": [],
  10158. "options": {
  10159. "legend": {
  10160. "calcs": [],
  10161. "displayMode": "list",
  10162. "placement": "bottom",
  10163. "showLegend": true
  10164. },
  10165. "tooltip": {
  10166. "mode": "single",
  10167. "sort": "none"
  10168. }
  10169. },
  10170. "pluginVersion": "8.4.3",
  10171. "targets": [
  10172. {
  10173. "datasource": {
  10174. "type": "prometheus",
  10175. "uid": "${DS_PROMETHEUS}"
  10176. },
  10177. "exemplar": true,
  10178. "expr": "rate(synapse_replication_tcp_protocol_inbound_rdata_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  10179. "format": "time_series",
  10180. "interval": "",
  10181. "intervalFactor": 1,
  10182. "legendFormat": "{{job}}-{{index}} {{stream_name}}",
  10183. "refId": "A",
  10184. "step": 20
  10185. }
  10186. ],
  10187. "title": "Rate of incoming RDATA commands (excluding echoes), by stream",
  10188. "type": "timeseries"
  10189. },
  10190. {
  10191. "aliasColors": {},
  10192. "bars": false,
  10193. "dashLength": 10,
  10194. "dashes": false,
  10195. "datasource": {
  10196. "type": "prometheus",
  10197. "uid": "${DS_PROMETHEUS}"
  10198. },
  10199. "description": "",
  10200. "fieldConfig": {
  10201. "defaults": {
  10202. "links": []
  10203. },
  10204. "overrides": []
  10205. },
  10206. "fill": 1,
  10207. "fillGradient": 0,
  10208. "gridPos": {
  10209. "h": 7,
  10210. "w": 12,
  10211. "x": 0,
  10212. "y": 176
  10213. },
  10214. "hiddenSeries": false,
  10215. "id": 144,
  10216. "legend": {
  10217. "avg": false,
  10218. "current": false,
  10219. "max": false,
  10220. "min": false,
  10221. "show": true,
  10222. "total": false,
  10223. "values": false
  10224. },
  10225. "lines": true,
  10226. "linewidth": 1,
  10227. "nullPointMode": "null",
  10228. "options": {
  10229. "alertThreshold": true
  10230. },
  10231. "percentage": false,
  10232. "pluginVersion": "9.2.2",
  10233. "pointradius": 2,
  10234. "points": false,
  10235. "renderer": "flot",
  10236. "seriesOverrides": [],
  10237. "spaceLength": 10,
  10238. "stack": false,
  10239. "steppedLine": false,
  10240. "targets": [
  10241. {
  10242. "datasource": {
  10243. "type": "prometheus",
  10244. "uid": "${DS_PROMETHEUS}"
  10245. },
  10246. "expr": "synapse_replication_tcp_command_queue{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  10247. "interval": "",
  10248. "legendFormat": "{{stream_name}} {{job}}-{{index}}",
  10249. "refId": "A"
  10250. }
  10251. ],
  10252. "thresholds": [],
  10253. "timeRegions": [],
  10254. "title": "Queued incoming RDATA commands, by stream",
  10255. "tooltip": {
  10256. "shared": false,
  10257. "sort": 0,
  10258. "value_type": "individual"
  10259. },
  10260. "type": "graph",
  10261. "xaxis": {
  10262. "mode": "time",
  10263. "show": true,
  10264. "values": []
  10265. },
  10266. "yaxes": [
  10267. {
  10268. "$$hashKey": "object:218",
  10269. "format": "short",
  10270. "logBase": 1,
  10271. "show": true
  10272. },
  10273. {
  10274. "$$hashKey": "object:219",
  10275. "format": "short",
  10276. "logBase": 1,
  10277. "show": true
  10278. }
  10279. ],
  10280. "yaxis": {
  10281. "align": false
  10282. }
  10283. },
  10284. {
  10285. "aliasColors": {},
  10286. "bars": false,
  10287. "dashLength": 10,
  10288. "dashes": false,
  10289. "datasource": {
  10290. "type": "prometheus",
  10291. "uid": "$datasource"
  10292. },
  10293. "fieldConfig": {
  10294. "defaults": {
  10295. "links": []
  10296. },
  10297. "overrides": []
  10298. },
  10299. "fill": 1,
  10300. "fillGradient": 0,
  10301. "gridPos": {
  10302. "h": 7,
  10303. "w": 12,
  10304. "x": 12,
  10305. "y": 176
  10306. },
  10307. "hiddenSeries": false,
  10308. "id": 115,
  10309. "legend": {
  10310. "avg": false,
  10311. "current": false,
  10312. "max": false,
  10313. "min": false,
  10314. "show": true,
  10315. "total": false,
  10316. "values": false
  10317. },
  10318. "lines": true,
  10319. "linewidth": 1,
  10320. "links": [],
  10321. "nullPointMode": "null",
  10322. "options": {
  10323. "alertThreshold": true
  10324. },
  10325. "paceLength": 10,
  10326. "percentage": false,
  10327. "pluginVersion": "9.2.2",
  10328. "pointradius": 5,
  10329. "points": false,
  10330. "renderer": "flot",
  10331. "seriesOverrides": [],
  10332. "spaceLength": 10,
  10333. "stack": false,
  10334. "steppedLine": false,
  10335. "targets": [
  10336. {
  10337. "datasource": {
  10338. "uid": "$datasource"
  10339. },
  10340. "expr": "rate(synapse_replication_tcp_protocol_close_reason_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  10341. "format": "time_series",
  10342. "intervalFactor": 1,
  10343. "legendFormat": "{{job}}-{{index}} {{reason_type}}",
  10344. "refId": "A"
  10345. }
  10346. ],
  10347. "thresholds": [],
  10348. "timeRegions": [],
  10349. "title": "Replication connection close reasons",
  10350. "tooltip": {
  10351. "shared": true,
  10352. "sort": 0,
  10353. "value_type": "individual"
  10354. },
  10355. "type": "graph",
  10356. "xaxis": {
  10357. "mode": "time",
  10358. "show": true,
  10359. "values": []
  10360. },
  10361. "yaxes": [
  10362. {
  10363. "$$hashKey": "object:260",
  10364. "format": "hertz",
  10365. "logBase": 1,
  10366. "show": true
  10367. },
  10368. {
  10369. "$$hashKey": "object:261",
  10370. "format": "short",
  10371. "logBase": 1,
  10372. "show": true
  10373. }
  10374. ],
  10375. "yaxis": {
  10376. "align": false
  10377. }
  10378. },
  10379. {
  10380. "aliasColors": {},
  10381. "bars": false,
  10382. "dashLength": 10,
  10383. "dashes": false,
  10384. "datasource": {
  10385. "uid": "$datasource"
  10386. },
  10387. "fieldConfig": {
  10388. "defaults": {
  10389. "links": []
  10390. },
  10391. "overrides": []
  10392. },
  10393. "fill": 1,
  10394. "fillGradient": 0,
  10395. "gridPos": {
  10396. "h": 7,
  10397. "w": 12,
  10398. "x": 0,
  10399. "y": 183
  10400. },
  10401. "hiddenSeries": false,
  10402. "id": 113,
  10403. "legend": {
  10404. "avg": false,
  10405. "current": false,
  10406. "max": false,
  10407. "min": false,
  10408. "show": true,
  10409. "total": false,
  10410. "values": false
  10411. },
  10412. "lines": true,
  10413. "linewidth": 1,
  10414. "links": [],
  10415. "nullPointMode": "null",
  10416. "options": {
  10417. "alertThreshold": true
  10418. },
  10419. "paceLength": 10,
  10420. "percentage": false,
  10421. "pluginVersion": "9.2.2",
  10422. "pointradius": 5,
  10423. "points": false,
  10424. "renderer": "flot",
  10425. "seriesOverrides": [],
  10426. "spaceLength": 10,
  10427. "stack": false,
  10428. "steppedLine": false,
  10429. "targets": [
  10430. {
  10431. "datasource": {
  10432. "uid": "$datasource"
  10433. },
  10434. "expr": "synapse_replication_tcp_resource_connections_per_stream{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  10435. "format": "time_series",
  10436. "intervalFactor": 1,
  10437. "legendFormat": "{{job}}-{{index}} {{stream_name}}",
  10438. "refId": "A"
  10439. },
  10440. {
  10441. "datasource": {
  10442. "uid": "$datasource"
  10443. },
  10444. "expr": "synapse_replication_tcp_resource_total_connections{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  10445. "format": "time_series",
  10446. "intervalFactor": 1,
  10447. "legendFormat": "{{job}}-{{index}}",
  10448. "refId": "B"
  10449. }
  10450. ],
  10451. "thresholds": [],
  10452. "timeRegions": [],
  10453. "title": "Replication connections",
  10454. "tooltip": {
  10455. "shared": true,
  10456. "sort": 0,
  10457. "value_type": "individual"
  10458. },
  10459. "type": "graph",
  10460. "xaxis": {
  10461. "mode": "time",
  10462. "show": true,
  10463. "values": []
  10464. },
  10465. "yaxes": [
  10466. {
  10467. "format": "short",
  10468. "logBase": 1,
  10469. "min": "0",
  10470. "show": true
  10471. },
  10472. {
  10473. "format": "short",
  10474. "logBase": 1,
  10475. "show": true
  10476. }
  10477. ],
  10478. "yaxis": {
  10479. "align": false
  10480. }
  10481. }
  10482. ],
  10483. "targets": [
  10484. {
  10485. "datasource": {
  10486. "type": "prometheus",
  10487. "uid": "000000001"
  10488. },
  10489. "refId": "A"
  10490. }
  10491. ],
  10492. "title": "Replication",
  10493. "type": "row"
  10494. },
  10495. {
  10496. "collapsed": true,
  10497. "datasource": {
  10498. "type": "prometheus",
  10499. "uid": "000000001"
  10500. },
  10501. "gridPos": {
  10502. "h": 1,
  10503. "w": 24,
  10504. "x": 0,
  10505. "y": 40
  10506. },
  10507. "id": 69,
  10508. "panels": [
  10509. {
  10510. "aliasColors": {},
  10511. "bars": false,
  10512. "dashLength": 10,
  10513. "dashes": false,
  10514. "datasource": {
  10515. "uid": "$datasource"
  10516. },
  10517. "fieldConfig": {
  10518. "defaults": {
  10519. "links": []
  10520. },
  10521. "overrides": []
  10522. },
  10523. "fill": 1,
  10524. "fillGradient": 0,
  10525. "gridPos": {
  10526. "h": 9,
  10527. "w": 12,
  10528. "x": 0,
  10529. "y": 163
  10530. },
  10531. "hiddenSeries": false,
  10532. "id": 67,
  10533. "legend": {
  10534. "avg": false,
  10535. "current": false,
  10536. "max": false,
  10537. "min": false,
  10538. "show": true,
  10539. "total": false,
  10540. "values": false
  10541. },
  10542. "lines": true,
  10543. "linewidth": 1,
  10544. "links": [],
  10545. "nullPointMode": "connected",
  10546. "options": {
  10547. "alertThreshold": true
  10548. },
  10549. "paceLength": 10,
  10550. "percentage": false,
  10551. "pluginVersion": "9.2.2",
  10552. "pointradius": 5,
  10553. "points": false,
  10554. "renderer": "flot",
  10555. "seriesOverrides": [],
  10556. "spaceLength": 10,
  10557. "stack": false,
  10558. "steppedLine": false,
  10559. "targets": [
  10560. {
  10561. "datasource": {
  10562. "uid": "$datasource"
  10563. },
  10564. "expr": "max(synapse_event_persisted_position{instance=\"$instance\"}) - on() group_right() synapse_event_processing_positions{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  10565. "format": "time_series",
  10566. "interval": "",
  10567. "intervalFactor": 1,
  10568. "legendFormat": "{{job}}-{{index}} {{name}}",
  10569. "refId": "A"
  10570. }
  10571. ],
  10572. "thresholds": [],
  10573. "timeRegions": [],
  10574. "title": "Event processing lag",
  10575. "tooltip": {
  10576. "shared": true,
  10577. "sort": 0,
  10578. "value_type": "individual"
  10579. },
  10580. "type": "graph",
  10581. "xaxis": {
  10582. "mode": "time",
  10583. "show": true,
  10584. "values": []
  10585. },
  10586. "yaxes": [
  10587. {
  10588. "format": "short",
  10589. "label": "events",
  10590. "logBase": 1,
  10591. "min": "0",
  10592. "show": true
  10593. },
  10594. {
  10595. "format": "short",
  10596. "logBase": 1,
  10597. "show": true
  10598. }
  10599. ],
  10600. "yaxis": {
  10601. "align": false
  10602. }
  10603. },
  10604. {
  10605. "aliasColors": {},
  10606. "bars": false,
  10607. "dashLength": 10,
  10608. "dashes": false,
  10609. "datasource": {
  10610. "uid": "$datasource"
  10611. },
  10612. "fieldConfig": {
  10613. "defaults": {
  10614. "links": []
  10615. },
  10616. "overrides": []
  10617. },
  10618. "fill": 1,
  10619. "fillGradient": 0,
  10620. "gridPos": {
  10621. "h": 9,
  10622. "w": 12,
  10623. "x": 12,
  10624. "y": 163
  10625. },
  10626. "hiddenSeries": false,
  10627. "id": 71,
  10628. "legend": {
  10629. "avg": false,
  10630. "current": false,
  10631. "max": false,
  10632. "min": false,
  10633. "show": true,
  10634. "total": false,
  10635. "values": false
  10636. },
  10637. "lines": true,
  10638. "linewidth": 1,
  10639. "links": [],
  10640. "nullPointMode": "connected",
  10641. "options": {
  10642. "alertThreshold": true
  10643. },
  10644. "paceLength": 10,
  10645. "percentage": false,
  10646. "pluginVersion": "9.2.2",
  10647. "pointradius": 5,
  10648. "points": false,
  10649. "renderer": "flot",
  10650. "seriesOverrides": [],
  10651. "spaceLength": 10,
  10652. "stack": false,
  10653. "steppedLine": false,
  10654. "targets": [
  10655. {
  10656. "datasource": {
  10657. "uid": "$datasource"
  10658. },
  10659. "expr": "time()*1000-synapse_event_processing_last_ts{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  10660. "format": "time_series",
  10661. "hide": false,
  10662. "interval": "",
  10663. "intervalFactor": 1,
  10664. "legendFormat": "{{job}}-{{index}} {{name}}",
  10665. "refId": "B"
  10666. }
  10667. ],
  10668. "thresholds": [],
  10669. "timeRegions": [],
  10670. "title": "Age of last processed event",
  10671. "tooltip": {
  10672. "shared": true,
  10673. "sort": 0,
  10674. "value_type": "individual"
  10675. },
  10676. "type": "graph",
  10677. "xaxis": {
  10678. "mode": "time",
  10679. "show": true,
  10680. "values": []
  10681. },
  10682. "yaxes": [
  10683. {
  10684. "format": "ms",
  10685. "logBase": 1,
  10686. "min": "0",
  10687. "show": true
  10688. },
  10689. {
  10690. "format": "short",
  10691. "logBase": 1,
  10692. "show": true
  10693. }
  10694. ],
  10695. "yaxis": {
  10696. "align": false
  10697. }
  10698. },
  10699. {
  10700. "aliasColors": {},
  10701. "bars": false,
  10702. "dashLength": 10,
  10703. "dashes": false,
  10704. "datasource": {
  10705. "uid": "$datasource"
  10706. },
  10707. "fieldConfig": {
  10708. "defaults": {
  10709. "links": []
  10710. },
  10711. "overrides": []
  10712. },
  10713. "fill": 1,
  10714. "fillGradient": 0,
  10715. "gridPos": {
  10716. "h": 9,
  10717. "w": 12,
  10718. "x": 0,
  10719. "y": 172
  10720. },
  10721. "hiddenSeries": false,
  10722. "id": 121,
  10723. "interval": "",
  10724. "legend": {
  10725. "avg": false,
  10726. "current": false,
  10727. "max": false,
  10728. "min": false,
  10729. "show": true,
  10730. "total": false,
  10731. "values": false
  10732. },
  10733. "lines": true,
  10734. "linewidth": 1,
  10735. "links": [],
  10736. "nullPointMode": "connected",
  10737. "options": {
  10738. "alertThreshold": true
  10739. },
  10740. "paceLength": 10,
  10741. "percentage": false,
  10742. "pluginVersion": "9.2.2",
  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": "deriv(synapse_event_processing_last_ts{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/1000 - 1",
  10756. "format": "time_series",
  10757. "hide": false,
  10758. "interval": "",
  10759. "intervalFactor": 1,
  10760. "legendFormat": "{{job}}-{{index}} {{name}}",
  10761. "refId": "B"
  10762. }
  10763. ],
  10764. "thresholds": [],
  10765. "timeRegions": [],
  10766. "title": "Event processing catchup rate",
  10767. "tooltip": {
  10768. "shared": true,
  10769. "sort": 0,
  10770. "value_type": "individual"
  10771. },
  10772. "type": "graph",
  10773. "xaxis": {
  10774. "mode": "time",
  10775. "show": true,
  10776. "values": []
  10777. },
  10778. "yaxes": [
  10779. {
  10780. "format": "none",
  10781. "label": "fallbehind(-) / catchup(+): s/sec",
  10782. "logBase": 1,
  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": "Event processing loop positions",
  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": 41
  10819. },
  10820. "id": 126,
  10821. "panels": [
  10822. {
  10823. "cards": {
  10824. "cardPadding": 0
  10825. },
  10826. "color": {
  10827. "cardColor": "#B877D9",
  10828. "colorScale": "sqrt",
  10829. "colorScheme": "interpolateInferno",
  10830. "exponent": 0.5,
  10831. "min": 0,
  10832. "mode": "opacity"
  10833. },
  10834. "dataFormat": "tsbuckets",
  10835. "datasource": {
  10836. "uid": "$datasource"
  10837. },
  10838. "description": "Colour reflects the number of rooms with the given number of forward extremities, or fewer.\n\nThis is only updated once an hour.",
  10839. "fieldConfig": {
  10840. "defaults": {
  10841. "custom": {
  10842. "hideFrom": {
  10843. "legend": false,
  10844. "tooltip": false,
  10845. "viz": false
  10846. },
  10847. "scaleDistribution": {
  10848. "type": "linear"
  10849. }
  10850. }
  10851. },
  10852. "overrides": []
  10853. },
  10854. "gridPos": {
  10855. "h": 8,
  10856. "w": 12,
  10857. "x": 0,
  10858. "y": 42
  10859. },
  10860. "heatmap": {},
  10861. "hideZeroBuckets": true,
  10862. "highlightCards": true,
  10863. "id": 122,
  10864. "legend": {
  10865. "show": true
  10866. },
  10867. "links": [],
  10868. "options": {
  10869. "calculate": false,
  10870. "calculation": {},
  10871. "cellGap": 1,
  10872. "cellValues": {},
  10873. "color": {
  10874. "exponent": 0.5,
  10875. "fill": "#B877D9",
  10876. "min": 0,
  10877. "mode": "opacity",
  10878. "reverse": false,
  10879. "scale": "exponential",
  10880. "scheme": "Oranges",
  10881. "steps": 128
  10882. },
  10883. "exemplars": {
  10884. "color": "rgba(255,0,255,0.7)"
  10885. },
  10886. "filterValues": {
  10887. "le": 1e-9
  10888. },
  10889. "legend": {
  10890. "show": true
  10891. },
  10892. "rowsFrame": {
  10893. "layout": "auto"
  10894. },
  10895. "showValue": "never",
  10896. "tooltip": {
  10897. "show": true,
  10898. "yHistogram": true
  10899. },
  10900. "yAxis": {
  10901. "axisPlacement": "left",
  10902. "decimals": 0,
  10903. "reverse": false,
  10904. "unit": "short"
  10905. }
  10906. },
  10907. "pluginVersion": "9.2.2",
  10908. "reverseYBuckets": false,
  10909. "targets": [
  10910. {
  10911. "datasource": {
  10912. "uid": "$datasource"
  10913. },
  10914. "expr": "synapse_forward_extremities_bucket{instance=\"$instance\"} and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0)",
  10915. "format": "heatmap",
  10916. "intervalFactor": 1,
  10917. "legendFormat": "{{le}}",
  10918. "refId": "A"
  10919. }
  10920. ],
  10921. "title": "Number of rooms, by number of forward extremities in room",
  10922. "tooltip": {
  10923. "show": true,
  10924. "showHistogram": true
  10925. },
  10926. "type": "heatmap",
  10927. "xAxis": {
  10928. "show": true
  10929. },
  10930. "yAxis": {
  10931. "decimals": 0,
  10932. "format": "short",
  10933. "logBase": 1,
  10934. "show": true
  10935. },
  10936. "yBucketBound": "auto"
  10937. },
  10938. {
  10939. "aliasColors": {},
  10940. "bars": false,
  10941. "dashLength": 10,
  10942. "dashes": false,
  10943. "datasource": {
  10944. "uid": "$datasource"
  10945. },
  10946. "description": "Number of rooms with the given number of forward extremities or fewer.\n\nThis is only updated once an hour.",
  10947. "fieldConfig": {
  10948. "defaults": {
  10949. "links": []
  10950. },
  10951. "overrides": []
  10952. },
  10953. "fill": 0,
  10954. "fillGradient": 0,
  10955. "gridPos": {
  10956. "h": 8,
  10957. "w": 12,
  10958. "x": 12,
  10959. "y": 42
  10960. },
  10961. "hiddenSeries": false,
  10962. "id": 124,
  10963. "interval": "",
  10964. "legend": {
  10965. "avg": false,
  10966. "current": false,
  10967. "max": false,
  10968. "min": false,
  10969. "show": true,
  10970. "total": false,
  10971. "values": false
  10972. },
  10973. "lines": true,
  10974. "linewidth": 1,
  10975. "links": [],
  10976. "nullPointMode": "connected",
  10977. "options": {
  10978. "alertThreshold": true
  10979. },
  10980. "percentage": false,
  10981. "pluginVersion": "9.2.2",
  10982. "pointradius": 2,
  10983. "points": false,
  10984. "renderer": "flot",
  10985. "seriesOverrides": [],
  10986. "spaceLength": 10,
  10987. "stack": false,
  10988. "steppedLine": false,
  10989. "targets": [
  10990. {
  10991. "datasource": {
  10992. "uid": "$datasource"
  10993. },
  10994. "expr": "synapse_forward_extremities_bucket{instance=\"$instance\"} > 0",
  10995. "format": "heatmap",
  10996. "interval": "",
  10997. "intervalFactor": 1,
  10998. "legendFormat": "{{le}}",
  10999. "refId": "A"
  11000. }
  11001. ],
  11002. "thresholds": [],
  11003. "timeRegions": [],
  11004. "title": "Room counts, by number of extremities",
  11005. "tooltip": {
  11006. "shared": true,
  11007. "sort": 2,
  11008. "value_type": "individual"
  11009. },
  11010. "type": "graph",
  11011. "xaxis": {
  11012. "mode": "time",
  11013. "show": true,
  11014. "values": []
  11015. },
  11016. "yaxes": [
  11017. {
  11018. "format": "none",
  11019. "label": "Number of rooms",
  11020. "logBase": 10,
  11021. "show": true
  11022. },
  11023. {
  11024. "format": "short",
  11025. "logBase": 1,
  11026. "show": false
  11027. }
  11028. ],
  11029. "yaxis": {
  11030. "align": false
  11031. }
  11032. },
  11033. {
  11034. "cards": {
  11035. "cardPadding": 0
  11036. },
  11037. "color": {
  11038. "cardColor": "#5794F2",
  11039. "colorScale": "sqrt",
  11040. "colorScheme": "interpolateInferno",
  11041. "exponent": 0.5,
  11042. "min": 0,
  11043. "mode": "opacity"
  11044. },
  11045. "dataFormat": "tsbuckets",
  11046. "datasource": {
  11047. "uid": "$datasource"
  11048. },
  11049. "description": "Colour reflects the number of events persisted to rooms with the given number of forward extremities, or fewer.",
  11050. "fieldConfig": {
  11051. "defaults": {
  11052. "custom": {
  11053. "hideFrom": {
  11054. "legend": false,
  11055. "tooltip": false,
  11056. "viz": false
  11057. },
  11058. "scaleDistribution": {
  11059. "type": "linear"
  11060. }
  11061. }
  11062. },
  11063. "overrides": []
  11064. },
  11065. "gridPos": {
  11066. "h": 8,
  11067. "w": 12,
  11068. "x": 0,
  11069. "y": 50
  11070. },
  11071. "heatmap": {},
  11072. "hideZeroBuckets": true,
  11073. "highlightCards": true,
  11074. "id": 127,
  11075. "legend": {
  11076. "show": true
  11077. },
  11078. "links": [],
  11079. "options": {
  11080. "calculate": false,
  11081. "calculation": {},
  11082. "cellGap": 1,
  11083. "cellValues": {},
  11084. "color": {
  11085. "exponent": 0.5,
  11086. "fill": "#5794F2",
  11087. "min": 0,
  11088. "mode": "opacity",
  11089. "reverse": false,
  11090. "scale": "exponential",
  11091. "scheme": "Oranges",
  11092. "steps": 128
  11093. },
  11094. "exemplars": {
  11095. "color": "rgba(255,0,255,0.7)"
  11096. },
  11097. "filterValues": {
  11098. "le": 1e-9
  11099. },
  11100. "legend": {
  11101. "show": true
  11102. },
  11103. "rowsFrame": {
  11104. "layout": "auto"
  11105. },
  11106. "showValue": "never",
  11107. "tooltip": {
  11108. "show": true,
  11109. "yHistogram": true
  11110. },
  11111. "yAxis": {
  11112. "axisPlacement": "left",
  11113. "decimals": 0,
  11114. "reverse": false,
  11115. "unit": "short"
  11116. }
  11117. },
  11118. "pluginVersion": "9.2.2",
  11119. "reverseYBuckets": false,
  11120. "targets": [
  11121. {
  11122. "datasource": {
  11123. "uid": "$datasource"
  11124. },
  11125. "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)",
  11126. "format": "heatmap",
  11127. "intervalFactor": 1,
  11128. "legendFormat": "{{le}}",
  11129. "refId": "A"
  11130. }
  11131. ],
  11132. "title": "Events persisted, by number of forward extremities in room (heatmap)",
  11133. "tooltip": {
  11134. "show": true,
  11135. "showHistogram": true
  11136. },
  11137. "type": "heatmap",
  11138. "xAxis": {
  11139. "show": true
  11140. },
  11141. "yAxis": {
  11142. "decimals": 0,
  11143. "format": "short",
  11144. "logBase": 1,
  11145. "show": true
  11146. },
  11147. "yBucketBound": "auto"
  11148. },
  11149. {
  11150. "aliasColors": {},
  11151. "bars": false,
  11152. "dashLength": 10,
  11153. "dashes": false,
  11154. "datasource": {
  11155. "uid": "$datasource"
  11156. },
  11157. "description": "For a given percentage P, the number X where P% of events were persisted to rooms with X forward extremities or fewer.",
  11158. "fieldConfig": {
  11159. "defaults": {
  11160. "links": []
  11161. },
  11162. "overrides": []
  11163. },
  11164. "fill": 1,
  11165. "fillGradient": 0,
  11166. "gridPos": {
  11167. "h": 8,
  11168. "w": 12,
  11169. "x": 12,
  11170. "y": 50
  11171. },
  11172. "hiddenSeries": false,
  11173. "id": 128,
  11174. "legend": {
  11175. "avg": false,
  11176. "current": false,
  11177. "max": false,
  11178. "min": false,
  11179. "show": true,
  11180. "total": false,
  11181. "values": false
  11182. },
  11183. "lines": true,
  11184. "linewidth": 1,
  11185. "links": [],
  11186. "nullPointMode": "null",
  11187. "options": {
  11188. "alertThreshold": true
  11189. },
  11190. "percentage": false,
  11191. "pluginVersion": "9.2.2",
  11192. "pointradius": 2,
  11193. "points": false,
  11194. "renderer": "flot",
  11195. "seriesOverrides": [],
  11196. "spaceLength": 10,
  11197. "stack": false,
  11198. "steppedLine": false,
  11199. "targets": [
  11200. {
  11201. "datasource": {
  11202. "uid": "$datasource"
  11203. },
  11204. "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))",
  11205. "format": "time_series",
  11206. "intervalFactor": 1,
  11207. "legendFormat": "50%",
  11208. "refId": "A"
  11209. },
  11210. {
  11211. "datasource": {
  11212. "uid": "$datasource"
  11213. },
  11214. "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))",
  11215. "format": "time_series",
  11216. "intervalFactor": 1,
  11217. "legendFormat": "75%",
  11218. "refId": "B"
  11219. },
  11220. {
  11221. "datasource": {
  11222. "uid": "$datasource"
  11223. },
  11224. "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))",
  11225. "format": "time_series",
  11226. "intervalFactor": 1,
  11227. "legendFormat": "90%",
  11228. "refId": "C"
  11229. },
  11230. {
  11231. "datasource": {
  11232. "uid": "$datasource"
  11233. },
  11234. "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))",
  11235. "format": "time_series",
  11236. "intervalFactor": 1,
  11237. "legendFormat": "99%",
  11238. "refId": "D"
  11239. }
  11240. ],
  11241. "thresholds": [],
  11242. "timeRegions": [],
  11243. "title": "Events persisted, by number of forward extremities in room (quantiles)",
  11244. "tooltip": {
  11245. "shared": true,
  11246. "sort": 0,
  11247. "value_type": "individual"
  11248. },
  11249. "type": "graph",
  11250. "xaxis": {
  11251. "mode": "time",
  11252. "show": true,
  11253. "values": []
  11254. },
  11255. "yaxes": [
  11256. {
  11257. "format": "short",
  11258. "label": "Number of extremities in room",
  11259. "logBase": 1,
  11260. "min": "0",
  11261. "show": true
  11262. },
  11263. {
  11264. "format": "short",
  11265. "logBase": 1,
  11266. "show": true
  11267. }
  11268. ],
  11269. "yaxis": {
  11270. "align": false
  11271. }
  11272. },
  11273. {
  11274. "cards": {
  11275. "cardPadding": 0
  11276. },
  11277. "color": {
  11278. "cardColor": "#FF9830",
  11279. "colorScale": "sqrt",
  11280. "colorScheme": "interpolateInferno",
  11281. "exponent": 0.5,
  11282. "min": 0,
  11283. "mode": "opacity"
  11284. },
  11285. "dataFormat": "tsbuckets",
  11286. "datasource": {
  11287. "uid": "$datasource"
  11288. },
  11289. "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.",
  11290. "fieldConfig": {
  11291. "defaults": {
  11292. "custom": {
  11293. "hideFrom": {
  11294. "legend": false,
  11295. "tooltip": false,
  11296. "viz": false
  11297. },
  11298. "scaleDistribution": {
  11299. "type": "linear"
  11300. }
  11301. }
  11302. },
  11303. "overrides": []
  11304. },
  11305. "gridPos": {
  11306. "h": 8,
  11307. "w": 12,
  11308. "x": 0,
  11309. "y": 58
  11310. },
  11311. "heatmap": {},
  11312. "hideZeroBuckets": true,
  11313. "highlightCards": true,
  11314. "id": 129,
  11315. "legend": {
  11316. "show": true
  11317. },
  11318. "links": [],
  11319. "options": {
  11320. "calculate": false,
  11321. "calculation": {},
  11322. "cellGap": 1,
  11323. "cellValues": {},
  11324. "color": {
  11325. "exponent": 0.5,
  11326. "fill": "#FF9830",
  11327. "min": 0,
  11328. "mode": "opacity",
  11329. "reverse": false,
  11330. "scale": "exponential",
  11331. "scheme": "Oranges",
  11332. "steps": 128
  11333. },
  11334. "exemplars": {
  11335. "color": "rgba(255,0,255,0.7)"
  11336. },
  11337. "filterValues": {
  11338. "le": 1e-9
  11339. },
  11340. "legend": {
  11341. "show": true
  11342. },
  11343. "rowsFrame": {
  11344. "layout": "auto"
  11345. },
  11346. "showValue": "never",
  11347. "tooltip": {
  11348. "show": true,
  11349. "yHistogram": true
  11350. },
  11351. "yAxis": {
  11352. "axisPlacement": "left",
  11353. "decimals": 0,
  11354. "reverse": false,
  11355. "unit": "short"
  11356. }
  11357. },
  11358. "pluginVersion": "9.2.2",
  11359. "reverseYBuckets": false,
  11360. "targets": [
  11361. {
  11362. "datasource": {
  11363. "uid": "$datasource"
  11364. },
  11365. "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)",
  11366. "format": "heatmap",
  11367. "intervalFactor": 1,
  11368. "legendFormat": "{{le}}",
  11369. "refId": "A"
  11370. }
  11371. ],
  11372. "title": "Events persisted, by number of stale forward extremities in room (heatmap)",
  11373. "tooltip": {
  11374. "show": true,
  11375. "showHistogram": true
  11376. },
  11377. "type": "heatmap",
  11378. "xAxis": {
  11379. "show": true
  11380. },
  11381. "yAxis": {
  11382. "decimals": 0,
  11383. "format": "short",
  11384. "logBase": 1,
  11385. "show": true
  11386. },
  11387. "yBucketBound": "auto"
  11388. },
  11389. {
  11390. "aliasColors": {},
  11391. "bars": false,
  11392. "dashLength": 10,
  11393. "dashes": false,
  11394. "datasource": {
  11395. "uid": "$datasource"
  11396. },
  11397. "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.",
  11398. "fieldConfig": {
  11399. "defaults": {
  11400. "links": []
  11401. },
  11402. "overrides": []
  11403. },
  11404. "fill": 1,
  11405. "fillGradient": 0,
  11406. "gridPos": {
  11407. "h": 8,
  11408. "w": 12,
  11409. "x": 12,
  11410. "y": 58
  11411. },
  11412. "hiddenSeries": false,
  11413. "id": 130,
  11414. "legend": {
  11415. "avg": false,
  11416. "current": false,
  11417. "max": false,
  11418. "min": false,
  11419. "show": true,
  11420. "total": false,
  11421. "values": false
  11422. },
  11423. "lines": true,
  11424. "linewidth": 1,
  11425. "links": [],
  11426. "nullPointMode": "null",
  11427. "options": {
  11428. "alertThreshold": true
  11429. },
  11430. "percentage": false,
  11431. "pluginVersion": "9.2.2",
  11432. "pointradius": 2,
  11433. "points": false,
  11434. "renderer": "flot",
  11435. "seriesOverrides": [],
  11436. "spaceLength": 10,
  11437. "stack": false,
  11438. "steppedLine": false,
  11439. "targets": [
  11440. {
  11441. "datasource": {
  11442. "uid": "$datasource"
  11443. },
  11444. "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))",
  11445. "format": "time_series",
  11446. "intervalFactor": 1,
  11447. "legendFormat": "50%",
  11448. "refId": "A"
  11449. },
  11450. {
  11451. "datasource": {
  11452. "uid": "$datasource"
  11453. },
  11454. "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))",
  11455. "format": "time_series",
  11456. "intervalFactor": 1,
  11457. "legendFormat": "75%",
  11458. "refId": "B"
  11459. },
  11460. {
  11461. "datasource": {
  11462. "uid": "$datasource"
  11463. },
  11464. "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))",
  11465. "format": "time_series",
  11466. "intervalFactor": 1,
  11467. "legendFormat": "90%",
  11468. "refId": "C"
  11469. },
  11470. {
  11471. "datasource": {
  11472. "uid": "$datasource"
  11473. },
  11474. "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))",
  11475. "format": "time_series",
  11476. "intervalFactor": 1,
  11477. "legendFormat": "99%",
  11478. "refId": "D"
  11479. }
  11480. ],
  11481. "thresholds": [],
  11482. "timeRegions": [],
  11483. "title": "Events persisted, by number of stale forward extremities in room (quantiles)",
  11484. "tooltip": {
  11485. "shared": true,
  11486. "sort": 0,
  11487. "value_type": "individual"
  11488. },
  11489. "type": "graph",
  11490. "xaxis": {
  11491. "mode": "time",
  11492. "show": true,
  11493. "values": []
  11494. },
  11495. "yaxes": [
  11496. {
  11497. "format": "short",
  11498. "label": "Number of stale forward extremities in room",
  11499. "logBase": 1,
  11500. "min": "0",
  11501. "show": true
  11502. },
  11503. {
  11504. "format": "short",
  11505. "logBase": 1,
  11506. "show": true
  11507. }
  11508. ],
  11509. "yaxis": {
  11510. "align": false
  11511. }
  11512. },
  11513. {
  11514. "cards": {
  11515. "cardPadding": 0
  11516. },
  11517. "color": {
  11518. "cardColor": "#73BF69",
  11519. "colorScale": "sqrt",
  11520. "colorScheme": "interpolateInferno",
  11521. "exponent": 0.5,
  11522. "min": 0,
  11523. "mode": "opacity"
  11524. },
  11525. "dataFormat": "tsbuckets",
  11526. "datasource": {
  11527. "uid": "$datasource"
  11528. },
  11529. "description": "Colour reflects the number of state resolution operations performed over the given number of state groups, or fewer.",
  11530. "fieldConfig": {
  11531. "defaults": {
  11532. "custom": {
  11533. "hideFrom": {
  11534. "legend": false,
  11535. "tooltip": false,
  11536. "viz": false
  11537. },
  11538. "scaleDistribution": {
  11539. "type": "linear"
  11540. }
  11541. }
  11542. },
  11543. "overrides": []
  11544. },
  11545. "gridPos": {
  11546. "h": 8,
  11547. "w": 12,
  11548. "x": 0,
  11549. "y": 66
  11550. },
  11551. "heatmap": {},
  11552. "hideZeroBuckets": true,
  11553. "highlightCards": true,
  11554. "id": 131,
  11555. "legend": {
  11556. "show": true
  11557. },
  11558. "links": [],
  11559. "options": {
  11560. "calculate": false,
  11561. "calculation": {},
  11562. "cellGap": 1,
  11563. "cellValues": {},
  11564. "color": {
  11565. "exponent": 0.5,
  11566. "fill": "#73BF69",
  11567. "min": 0,
  11568. "mode": "opacity",
  11569. "reverse": false,
  11570. "scale": "exponential",
  11571. "scheme": "Oranges",
  11572. "steps": 128
  11573. },
  11574. "exemplars": {
  11575. "color": "rgba(255,0,255,0.7)"
  11576. },
  11577. "filterValues": {
  11578. "le": 1e-9
  11579. },
  11580. "legend": {
  11581. "show": true
  11582. },
  11583. "rowsFrame": {
  11584. "layout": "auto"
  11585. },
  11586. "showValue": "never",
  11587. "tooltip": {
  11588. "show": true,
  11589. "yHistogram": true
  11590. },
  11591. "yAxis": {
  11592. "axisPlacement": "left",
  11593. "decimals": 0,
  11594. "reverse": false,
  11595. "unit": "short"
  11596. }
  11597. },
  11598. "pluginVersion": "9.2.2",
  11599. "reverseYBuckets": false,
  11600. "targets": [
  11601. {
  11602. "datasource": {
  11603. "uid": "$datasource"
  11604. },
  11605. "expr": "rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  11606. "format": "heatmap",
  11607. "interval": "",
  11608. "intervalFactor": 1,
  11609. "legendFormat": "{{le}}",
  11610. "refId": "A"
  11611. }
  11612. ],
  11613. "title": "Number of state resolution performed, by number of state groups involved (heatmap)",
  11614. "tooltip": {
  11615. "show": true,
  11616. "showHistogram": true
  11617. },
  11618. "type": "heatmap",
  11619. "xAxis": {
  11620. "show": true
  11621. },
  11622. "yAxis": {
  11623. "decimals": 0,
  11624. "format": "short",
  11625. "logBase": 1,
  11626. "show": true
  11627. },
  11628. "yBucketBound": "auto"
  11629. },
  11630. {
  11631. "aliasColors": {},
  11632. "bars": false,
  11633. "dashLength": 10,
  11634. "dashes": false,
  11635. "datasource": {
  11636. "type": "prometheus",
  11637. "uid": "$datasource"
  11638. },
  11639. "description": "For a given percentage P, the number X where P% of state resolution operations took place over X state groups or fewer.",
  11640. "fieldConfig": {
  11641. "defaults": {
  11642. "links": []
  11643. },
  11644. "overrides": []
  11645. },
  11646. "fill": 1,
  11647. "fillGradient": 0,
  11648. "gridPos": {
  11649. "h": 8,
  11650. "w": 12,
  11651. "x": 12,
  11652. "y": 66
  11653. },
  11654. "hiddenSeries": false,
  11655. "id": 132,
  11656. "interval": "",
  11657. "legend": {
  11658. "avg": false,
  11659. "current": false,
  11660. "max": false,
  11661. "min": false,
  11662. "show": true,
  11663. "total": false,
  11664. "values": false
  11665. },
  11666. "lines": true,
  11667. "linewidth": 1,
  11668. "links": [],
  11669. "nullPointMode": "null",
  11670. "options": {
  11671. "alertThreshold": true
  11672. },
  11673. "percentage": false,
  11674. "pluginVersion": "9.2.2",
  11675. "pointradius": 2,
  11676. "points": false,
  11677. "renderer": "flot",
  11678. "seriesOverrides": [],
  11679. "spaceLength": 10,
  11680. "stack": false,
  11681. "steppedLine": false,
  11682. "targets": [
  11683. {
  11684. "datasource": {
  11685. "uid": "$datasource"
  11686. },
  11687. "editorMode": "code",
  11688. "expr": "histogram_quantile(0.5, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11689. "format": "time_series",
  11690. "interval": "",
  11691. "intervalFactor": 1,
  11692. "legendFormat": "50%",
  11693. "range": true,
  11694. "refId": "A"
  11695. },
  11696. {
  11697. "datasource": {
  11698. "uid": "$datasource"
  11699. },
  11700. "expr": "histogram_quantile(0.75, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11701. "format": "time_series",
  11702. "interval": "",
  11703. "intervalFactor": 1,
  11704. "legendFormat": "75%",
  11705. "refId": "B"
  11706. },
  11707. {
  11708. "datasource": {
  11709. "uid": "$datasource"
  11710. },
  11711. "expr": "histogram_quantile(0.90, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11712. "format": "time_series",
  11713. "interval": "",
  11714. "intervalFactor": 1,
  11715. "legendFormat": "90%",
  11716. "refId": "C"
  11717. },
  11718. {
  11719. "datasource": {
  11720. "uid": "$datasource"
  11721. },
  11722. "expr": "histogram_quantile(0.99, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11723. "format": "time_series",
  11724. "interval": "",
  11725. "intervalFactor": 1,
  11726. "legendFormat": "99%",
  11727. "refId": "D"
  11728. }
  11729. ],
  11730. "thresholds": [],
  11731. "timeRegions": [],
  11732. "title": "Number of state resolutions performed, by number of state groups involved (quantiles)",
  11733. "tooltip": {
  11734. "shared": true,
  11735. "sort": 0,
  11736. "value_type": "individual"
  11737. },
  11738. "type": "graph",
  11739. "xaxis": {
  11740. "mode": "time",
  11741. "show": true,
  11742. "values": []
  11743. },
  11744. "yaxes": [
  11745. {
  11746. "format": "short",
  11747. "label": "Number of state groups",
  11748. "logBase": 1,
  11749. "min": "0",
  11750. "show": true
  11751. },
  11752. {
  11753. "format": "short",
  11754. "logBase": 1,
  11755. "show": true
  11756. }
  11757. ],
  11758. "yaxis": {
  11759. "align": false
  11760. }
  11761. },
  11762. {
  11763. "aliasColors": {},
  11764. "bars": false,
  11765. "dashLength": 10,
  11766. "dashes": false,
  11767. "datasource": {
  11768. "uid": "$datasource"
  11769. },
  11770. "description": "When we do a state res while persisting events we try and see if we can prune any stale extremities.",
  11771. "fill": 1,
  11772. "fillGradient": 0,
  11773. "gridPos": {
  11774. "h": 8,
  11775. "w": 12,
  11776. "x": 0,
  11777. "y": 74
  11778. },
  11779. "hiddenSeries": false,
  11780. "id": 179,
  11781. "legend": {
  11782. "avg": false,
  11783. "current": false,
  11784. "max": false,
  11785. "min": false,
  11786. "show": true,
  11787. "total": false,
  11788. "values": false
  11789. },
  11790. "lines": true,
  11791. "linewidth": 1,
  11792. "nullPointMode": "null",
  11793. "options": {
  11794. "alertThreshold": true
  11795. },
  11796. "percentage": false,
  11797. "pluginVersion": "9.2.2",
  11798. "pointradius": 2,
  11799. "points": false,
  11800. "renderer": "flot",
  11801. "seriesOverrides": [],
  11802. "spaceLength": 10,
  11803. "stack": false,
  11804. "steppedLine": false,
  11805. "targets": [
  11806. {
  11807. "datasource": {
  11808. "uid": "$datasource"
  11809. },
  11810. "expr": "sum(rate(synapse_storage_events_state_resolutions_during_persistence_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11811. "interval": "",
  11812. "legendFormat": "State res ",
  11813. "refId": "A"
  11814. },
  11815. {
  11816. "datasource": {
  11817. "uid": "$datasource"
  11818. },
  11819. "expr": "sum(rate(synapse_storage_events_potential_times_prune_extremities_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11820. "interval": "",
  11821. "legendFormat": "Potential to prune",
  11822. "refId": "B"
  11823. },
  11824. {
  11825. "datasource": {
  11826. "uid": "$datasource"
  11827. },
  11828. "expr": "sum(rate(synapse_storage_events_times_pruned_extremities_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  11829. "interval": "",
  11830. "legendFormat": "Pruned",
  11831. "refId": "C"
  11832. }
  11833. ],
  11834. "thresholds": [],
  11835. "timeRegions": [],
  11836. "title": "Stale extremity dropping",
  11837. "tooltip": {
  11838. "shared": true,
  11839. "sort": 0,
  11840. "value_type": "individual"
  11841. },
  11842. "type": "graph",
  11843. "xaxis": {
  11844. "mode": "time",
  11845. "show": true,
  11846. "values": []
  11847. },
  11848. "yaxes": [
  11849. {
  11850. "format": "hertz",
  11851. "logBase": 1,
  11852. "show": true
  11853. },
  11854. {
  11855. "format": "short",
  11856. "logBase": 1,
  11857. "show": true
  11858. }
  11859. ],
  11860. "yaxis": {
  11861. "align": false
  11862. }
  11863. }
  11864. ],
  11865. "targets": [
  11866. {
  11867. "datasource": {
  11868. "type": "prometheus",
  11869. "uid": "000000001"
  11870. },
  11871. "refId": "A"
  11872. }
  11873. ],
  11874. "title": "Extremities",
  11875. "type": "row"
  11876. },
  11877. {
  11878. "collapsed": true,
  11879. "datasource": {
  11880. "type": "prometheus",
  11881. "uid": "000000001"
  11882. },
  11883. "gridPos": {
  11884. "h": 1,
  11885. "w": 24,
  11886. "x": 0,
  11887. "y": 42
  11888. },
  11889. "id": 158,
  11890. "panels": [
  11891. {
  11892. "aliasColors": {},
  11893. "bars": false,
  11894. "dashLength": 10,
  11895. "dashes": false,
  11896. "datasource": {
  11897. "type": "prometheus",
  11898. "uid": "$datasource"
  11899. },
  11900. "fieldConfig": {
  11901. "defaults": {
  11902. "links": []
  11903. },
  11904. "overrides": []
  11905. },
  11906. "fill": 1,
  11907. "fillGradient": 0,
  11908. "gridPos": {
  11909. "h": 8,
  11910. "w": 12,
  11911. "x": 0,
  11912. "y": 43
  11913. },
  11914. "hiddenSeries": false,
  11915. "id": 156,
  11916. "legend": {
  11917. "avg": false,
  11918. "current": false,
  11919. "max": false,
  11920. "min": false,
  11921. "show": true,
  11922. "total": false,
  11923. "values": false
  11924. },
  11925. "lines": true,
  11926. "linewidth": 1,
  11927. "links": [],
  11928. "nullPointMode": "null",
  11929. "options": {
  11930. "alertThreshold": true
  11931. },
  11932. "percentage": false,
  11933. "pluginVersion": "9.2.2",
  11934. "pointradius": 5,
  11935. "points": false,
  11936. "renderer": "flot",
  11937. "seriesOverrides": [
  11938. {
  11939. "$$hashKey": "object:632",
  11940. "alias": "Max",
  11941. "color": "#bf1b00",
  11942. "fill": 0,
  11943. "linewidth": 2
  11944. }
  11945. ],
  11946. "spaceLength": 10,
  11947. "stack": false,
  11948. "steppedLine": false,
  11949. "targets": [
  11950. {
  11951. "datasource": {
  11952. "uid": "$datasource"
  11953. },
  11954. "editorMode": "code",
  11955. "expr": "max(synapse_admin_mau_max{instance=\"$instance\"})",
  11956. "format": "time_series",
  11957. "interval": "",
  11958. "intervalFactor": 1,
  11959. "legendFormat": "Max",
  11960. "range": true,
  11961. "refId": "B"
  11962. },
  11963. {
  11964. "datasource": {
  11965. "type": "prometheus",
  11966. "uid": "$datasource"
  11967. },
  11968. "editorMode": "code",
  11969. "expr": "max(synapse_admin_mau_current{instance=\"$instance\"})",
  11970. "hide": false,
  11971. "legendFormat": "Current",
  11972. "range": true,
  11973. "refId": "C"
  11974. }
  11975. ],
  11976. "thresholds": [],
  11977. "timeRegions": [],
  11978. "title": "MAU Limits",
  11979. "tooltip": {
  11980. "shared": true,
  11981. "sort": 0,
  11982. "value_type": "individual"
  11983. },
  11984. "type": "graph",
  11985. "xaxis": {
  11986. "mode": "time",
  11987. "show": true,
  11988. "values": []
  11989. },
  11990. "yaxes": [
  11991. {
  11992. "$$hashKey": "object:176",
  11993. "format": "short",
  11994. "logBase": 1,
  11995. "min": "0",
  11996. "show": true
  11997. },
  11998. {
  11999. "$$hashKey": "object:177",
  12000. "format": "short",
  12001. "logBase": 1,
  12002. "show": true
  12003. }
  12004. ],
  12005. "yaxis": {
  12006. "align": false
  12007. }
  12008. },
  12009. {
  12010. "aliasColors": {},
  12011. "bars": false,
  12012. "dashLength": 10,
  12013. "dashes": false,
  12014. "datasource": {
  12015. "uid": "$datasource"
  12016. },
  12017. "fill": 1,
  12018. "fillGradient": 0,
  12019. "gridPos": {
  12020. "h": 8,
  12021. "w": 12,
  12022. "x": 12,
  12023. "y": 43
  12024. },
  12025. "hiddenSeries": false,
  12026. "id": 160,
  12027. "legend": {
  12028. "avg": false,
  12029. "current": false,
  12030. "max": false,
  12031. "min": false,
  12032. "show": true,
  12033. "total": false,
  12034. "values": false
  12035. },
  12036. "lines": true,
  12037. "linewidth": 1,
  12038. "nullPointMode": "null",
  12039. "options": {
  12040. "alertThreshold": true
  12041. },
  12042. "percentage": false,
  12043. "pluginVersion": "9.2.2",
  12044. "pointradius": 2,
  12045. "points": false,
  12046. "renderer": "flot",
  12047. "seriesOverrides": [],
  12048. "spaceLength": 10,
  12049. "stack": false,
  12050. "steppedLine": false,
  12051. "targets": [
  12052. {
  12053. "datasource": {
  12054. "uid": "$datasource"
  12055. },
  12056. "expr": "synapse_admin_mau_current_mau_by_service{instance=\"$instance\"}",
  12057. "interval": "",
  12058. "legendFormat": "{{ app_service }}",
  12059. "refId": "A"
  12060. }
  12061. ],
  12062. "thresholds": [],
  12063. "timeRegions": [],
  12064. "title": "MAU by Appservice",
  12065. "tooltip": {
  12066. "shared": true,
  12067. "sort": 0,
  12068. "value_type": "individual"
  12069. },
  12070. "type": "graph",
  12071. "xaxis": {
  12072. "mode": "time",
  12073. "show": true,
  12074. "values": []
  12075. },
  12076. "yaxes": [
  12077. {
  12078. "format": "short",
  12079. "logBase": 1,
  12080. "show": true
  12081. },
  12082. {
  12083. "format": "short",
  12084. "logBase": 1,
  12085. "show": true
  12086. }
  12087. ],
  12088. "yaxis": {
  12089. "align": false
  12090. }
  12091. }
  12092. ],
  12093. "targets": [
  12094. {
  12095. "datasource": {
  12096. "type": "prometheus",
  12097. "uid": "000000001"
  12098. },
  12099. "refId": "A"
  12100. }
  12101. ],
  12102. "title": "MAU",
  12103. "type": "row"
  12104. },
  12105. {
  12106. "collapsed": true,
  12107. "datasource": {
  12108. "type": "prometheus",
  12109. "uid": "000000001"
  12110. },
  12111. "gridPos": {
  12112. "h": 1,
  12113. "w": 24,
  12114. "x": 0,
  12115. "y": 43
  12116. },
  12117. "id": 177,
  12118. "panels": [
  12119. {
  12120. "aliasColors": {},
  12121. "bars": false,
  12122. "dashLength": 10,
  12123. "dashes": false,
  12124. "datasource": {
  12125. "type": "prometheus",
  12126. "uid": "$datasource"
  12127. },
  12128. "fieldConfig": {
  12129. "defaults": {
  12130. "links": []
  12131. },
  12132. "overrides": []
  12133. },
  12134. "fill": 1,
  12135. "fillGradient": 0,
  12136. "gridPos": {
  12137. "h": 7,
  12138. "w": 12,
  12139. "x": 0,
  12140. "y": 44
  12141. },
  12142. "hiddenSeries": false,
  12143. "id": 173,
  12144. "legend": {
  12145. "avg": false,
  12146. "current": false,
  12147. "max": false,
  12148. "min": false,
  12149. "show": true,
  12150. "total": false,
  12151. "values": false
  12152. },
  12153. "lines": true,
  12154. "linewidth": 1,
  12155. "links": [],
  12156. "nullPointMode": "null",
  12157. "options": {
  12158. "alertThreshold": true
  12159. },
  12160. "percentage": false,
  12161. "pluginVersion": "9.2.2",
  12162. "pointradius": 5,
  12163. "points": false,
  12164. "renderer": "flot",
  12165. "seriesOverrides": [],
  12166. "spaceLength": 10,
  12167. "stack": false,
  12168. "steppedLine": false,
  12169. "targets": [
  12170. {
  12171. "datasource": {
  12172. "uid": "$datasource"
  12173. },
  12174. "editorMode": "code",
  12175. "expr": "rate(synapse_notifier_users_woken_by_stream_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  12176. "format": "time_series",
  12177. "hide": false,
  12178. "intervalFactor": 2,
  12179. "legendFormat": "{{stream}} {{index}}",
  12180. "metric": "synapse_notifier",
  12181. "range": true,
  12182. "refId": "A",
  12183. "step": 2
  12184. }
  12185. ],
  12186. "thresholds": [],
  12187. "timeRegions": [],
  12188. "title": "Notifier Streams Woken",
  12189. "tooltip": {
  12190. "shared": true,
  12191. "sort": 2,
  12192. "value_type": "individual"
  12193. },
  12194. "type": "graph",
  12195. "xaxis": {
  12196. "mode": "time",
  12197. "show": true,
  12198. "values": []
  12199. },
  12200. "yaxes": [
  12201. {
  12202. "$$hashKey": "object:734",
  12203. "format": "hertz",
  12204. "logBase": 1,
  12205. "show": true
  12206. },
  12207. {
  12208. "$$hashKey": "object:735",
  12209. "format": "short",
  12210. "logBase": 1,
  12211. "show": true
  12212. }
  12213. ],
  12214. "yaxis": {
  12215. "align": false
  12216. }
  12217. },
  12218. {
  12219. "aliasColors": {},
  12220. "bars": false,
  12221. "dashLength": 10,
  12222. "dashes": false,
  12223. "datasource": {
  12224. "type": "prometheus",
  12225. "uid": "$datasource"
  12226. },
  12227. "fieldConfig": {
  12228. "defaults": {
  12229. "links": []
  12230. },
  12231. "overrides": []
  12232. },
  12233. "fill": 1,
  12234. "fillGradient": 0,
  12235. "gridPos": {
  12236. "h": 7,
  12237. "w": 12,
  12238. "x": 12,
  12239. "y": 44
  12240. },
  12241. "hiddenSeries": false,
  12242. "id": 175,
  12243. "legend": {
  12244. "avg": false,
  12245. "current": false,
  12246. "max": false,
  12247. "min": false,
  12248. "show": true,
  12249. "total": false,
  12250. "values": false
  12251. },
  12252. "lines": true,
  12253. "linewidth": 1,
  12254. "links": [],
  12255. "nullPointMode": "null",
  12256. "options": {
  12257. "alertThreshold": true
  12258. },
  12259. "percentage": false,
  12260. "pluginVersion": "9.2.2",
  12261. "pointradius": 5,
  12262. "points": false,
  12263. "renderer": "flot",
  12264. "seriesOverrides": [],
  12265. "spaceLength": 10,
  12266. "stack": false,
  12267. "steppedLine": false,
  12268. "targets": [
  12269. {
  12270. "datasource": {
  12271. "uid": "$datasource"
  12272. },
  12273. "editorMode": "code",
  12274. "expr": "rate(synapse_handler_presence_get_updates_total{job=~\"$job\",instance=\"$instance\"}[$bucket_size])",
  12275. "format": "time_series",
  12276. "interval": "",
  12277. "intervalFactor": 2,
  12278. "legendFormat": "{{type}} {{index}}",
  12279. "range": true,
  12280. "refId": "A",
  12281. "step": 2
  12282. }
  12283. ],
  12284. "thresholds": [],
  12285. "timeRegions": [],
  12286. "title": "Presence Stream Fetch Type Rates",
  12287. "tooltip": {
  12288. "shared": true,
  12289. "sort": 2,
  12290. "value_type": "individual"
  12291. },
  12292. "type": "graph",
  12293. "xaxis": {
  12294. "mode": "time",
  12295. "show": true,
  12296. "values": []
  12297. },
  12298. "yaxes": [
  12299. {
  12300. "$$hashKey": "object:819",
  12301. "format": "hertz",
  12302. "logBase": 1,
  12303. "min": "0",
  12304. "show": true
  12305. },
  12306. {
  12307. "$$hashKey": "object:820",
  12308. "format": "short",
  12309. "logBase": 1,
  12310. "show": true
  12311. }
  12312. ],
  12313. "yaxis": {
  12314. "align": false
  12315. }
  12316. }
  12317. ],
  12318. "targets": [
  12319. {
  12320. "datasource": {
  12321. "type": "prometheus",
  12322. "uid": "000000001"
  12323. },
  12324. "refId": "A"
  12325. }
  12326. ],
  12327. "title": "Notifier",
  12328. "type": "row"
  12329. },
  12330. {
  12331. "collapsed": true,
  12332. "datasource": {
  12333. "type": "prometheus",
  12334. "uid": "000000001"
  12335. },
  12336. "gridPos": {
  12337. "h": 1,
  12338. "w": 24,
  12339. "x": 0,
  12340. "y": 44
  12341. },
  12342. "id": 170,
  12343. "panels": [
  12344. {
  12345. "aliasColors": {},
  12346. "bars": false,
  12347. "dashLength": 10,
  12348. "dashes": false,
  12349. "datasource": {
  12350. "type": "prometheus",
  12351. "uid": "$datasource"
  12352. },
  12353. "fill": 1,
  12354. "fillGradient": 0,
  12355. "gridPos": {
  12356. "h": 8,
  12357. "w": 12,
  12358. "x": 0,
  12359. "y": 45
  12360. },
  12361. "hiddenSeries": false,
  12362. "id": 168,
  12363. "legend": {
  12364. "avg": false,
  12365. "current": false,
  12366. "max": false,
  12367. "min": false,
  12368. "show": true,
  12369. "total": false,
  12370. "values": false
  12371. },
  12372. "lines": true,
  12373. "linewidth": 1,
  12374. "nullPointMode": "null",
  12375. "options": {
  12376. "alertThreshold": true
  12377. },
  12378. "percentage": false,
  12379. "pluginVersion": "9.2.2",
  12380. "pointradius": 2,
  12381. "points": false,
  12382. "renderer": "flot",
  12383. "seriesOverrides": [],
  12384. "spaceLength": 10,
  12385. "stack": false,
  12386. "steppedLine": false,
  12387. "targets": [
  12388. {
  12389. "datasource": {
  12390. "uid": "$datasource"
  12391. },
  12392. "editorMode": "code",
  12393. "expr": "rate(synapse_appservice_api_sent_events_total{instance=\"$instance\"}[$bucket_size])",
  12394. "interval": "",
  12395. "legendFormat": "{{service}}",
  12396. "range": true,
  12397. "refId": "A"
  12398. }
  12399. ],
  12400. "thresholds": [],
  12401. "timeRegions": [],
  12402. "title": "Sent Events rate",
  12403. "tooltip": {
  12404. "shared": true,
  12405. "sort": 0,
  12406. "value_type": "individual"
  12407. },
  12408. "type": "graph",
  12409. "xaxis": {
  12410. "mode": "time",
  12411. "show": true,
  12412. "values": []
  12413. },
  12414. "yaxes": [
  12415. {
  12416. "$$hashKey": "object:177",
  12417. "format": "hertz",
  12418. "logBase": 1,
  12419. "show": true
  12420. },
  12421. {
  12422. "$$hashKey": "object:178",
  12423. "format": "short",
  12424. "logBase": 1,
  12425. "show": true
  12426. }
  12427. ],
  12428. "yaxis": {
  12429. "align": false
  12430. }
  12431. },
  12432. {
  12433. "aliasColors": {},
  12434. "bars": false,
  12435. "dashLength": 10,
  12436. "dashes": false,
  12437. "datasource": {
  12438. "type": "prometheus",
  12439. "uid": "$datasource"
  12440. },
  12441. "fill": 1,
  12442. "fillGradient": 0,
  12443. "gridPos": {
  12444. "h": 8,
  12445. "w": 12,
  12446. "x": 12,
  12447. "y": 45
  12448. },
  12449. "hiddenSeries": false,
  12450. "id": 171,
  12451. "legend": {
  12452. "avg": false,
  12453. "current": false,
  12454. "max": false,
  12455. "min": false,
  12456. "show": true,
  12457. "total": false,
  12458. "values": false
  12459. },
  12460. "lines": true,
  12461. "linewidth": 1,
  12462. "nullPointMode": "null",
  12463. "options": {
  12464. "alertThreshold": true
  12465. },
  12466. "percentage": false,
  12467. "pluginVersion": "9.2.2",
  12468. "pointradius": 2,
  12469. "points": false,
  12470. "renderer": "flot",
  12471. "seriesOverrides": [],
  12472. "spaceLength": 10,
  12473. "stack": false,
  12474. "steppedLine": false,
  12475. "targets": [
  12476. {
  12477. "datasource": {
  12478. "uid": "$datasource"
  12479. },
  12480. "editorMode": "code",
  12481. "expr": "rate(synapse_appservice_api_sent_transactions_total{instance=\"$instance\"}[$bucket_size])",
  12482. "interval": "",
  12483. "legendFormat": "{{exported_service }} {{ service }}",
  12484. "range": true,
  12485. "refId": "A"
  12486. }
  12487. ],
  12488. "thresholds": [],
  12489. "timeRegions": [],
  12490. "title": "Transactions rate",
  12491. "tooltip": {
  12492. "shared": true,
  12493. "sort": 0,
  12494. "value_type": "individual"
  12495. },
  12496. "type": "graph",
  12497. "xaxis": {
  12498. "mode": "time",
  12499. "show": true,
  12500. "values": []
  12501. },
  12502. "yaxes": [
  12503. {
  12504. "$$hashKey": "object:260",
  12505. "format": "hertz",
  12506. "logBase": 1,
  12507. "show": true
  12508. },
  12509. {
  12510. "$$hashKey": "object:261",
  12511. "format": "short",
  12512. "logBase": 1,
  12513. "show": true
  12514. }
  12515. ],
  12516. "yaxis": {
  12517. "align": false
  12518. }
  12519. }
  12520. ],
  12521. "targets": [
  12522. {
  12523. "datasource": {
  12524. "type": "prometheus",
  12525. "uid": "000000001"
  12526. },
  12527. "refId": "A"
  12528. }
  12529. ],
  12530. "title": "Appservices",
  12531. "type": "row"
  12532. },
  12533. {
  12534. "collapsed": true,
  12535. "datasource": {
  12536. "type": "prometheus",
  12537. "uid": "000000001"
  12538. },
  12539. "gridPos": {
  12540. "h": 1,
  12541. "w": 24,
  12542. "x": 0,
  12543. "y": 45
  12544. },
  12545. "id": 188,
  12546. "panels": [
  12547. {
  12548. "aliasColors": {},
  12549. "bars": false,
  12550. "dashLength": 10,
  12551. "dashes": false,
  12552. "datasource": {
  12553. "uid": "$datasource"
  12554. },
  12555. "fill": 1,
  12556. "fillGradient": 0,
  12557. "gridPos": {
  12558. "h": 8,
  12559. "w": 12,
  12560. "x": 0,
  12561. "y": 46
  12562. },
  12563. "hiddenSeries": false,
  12564. "id": 182,
  12565. "legend": {
  12566. "avg": false,
  12567. "current": false,
  12568. "max": false,
  12569. "min": false,
  12570. "show": true,
  12571. "total": false,
  12572. "values": false
  12573. },
  12574. "lines": true,
  12575. "linewidth": 1,
  12576. "nullPointMode": "null",
  12577. "options": {
  12578. "alertThreshold": true
  12579. },
  12580. "percentage": false,
  12581. "pluginVersion": "9.2.2",
  12582. "pointradius": 2,
  12583. "points": false,
  12584. "renderer": "flot",
  12585. "seriesOverrides": [],
  12586. "spaceLength": 10,
  12587. "stack": false,
  12588. "steppedLine": false,
  12589. "targets": [
  12590. {
  12591. "datasource": {
  12592. "uid": "$datasource"
  12593. },
  12594. "expr": "rate(synapse_handler_presence_notified_presence_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  12595. "interval": "",
  12596. "legendFormat": "Notified",
  12597. "refId": "A"
  12598. },
  12599. {
  12600. "datasource": {
  12601. "uid": "$datasource"
  12602. },
  12603. "expr": "rate(synapse_handler_presence_federation_presence_out_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  12604. "interval": "",
  12605. "legendFormat": "Remote ping",
  12606. "refId": "B"
  12607. },
  12608. {
  12609. "datasource": {
  12610. "uid": "$datasource"
  12611. },
  12612. "expr": "rate(synapse_handler_presence_presence_updates_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  12613. "interval": "",
  12614. "legendFormat": "Total updates",
  12615. "refId": "C"
  12616. },
  12617. {
  12618. "datasource": {
  12619. "uid": "$datasource"
  12620. },
  12621. "expr": "rate(synapse_handler_presence_federation_presence_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  12622. "interval": "",
  12623. "legendFormat": "Remote updates",
  12624. "refId": "D"
  12625. },
  12626. {
  12627. "datasource": {
  12628. "uid": "$datasource"
  12629. },
  12630. "expr": "rate(synapse_handler_presence_bump_active_time_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  12631. "interval": "",
  12632. "legendFormat": "Bump active time",
  12633. "refId": "E"
  12634. }
  12635. ],
  12636. "thresholds": [],
  12637. "timeRegions": [],
  12638. "title": "Presence",
  12639. "tooltip": {
  12640. "shared": true,
  12641. "sort": 2,
  12642. "value_type": "individual"
  12643. },
  12644. "type": "graph",
  12645. "xaxis": {
  12646. "mode": "time",
  12647. "show": true,
  12648. "values": []
  12649. },
  12650. "yaxes": [
  12651. {
  12652. "format": "hertz",
  12653. "logBase": 1,
  12654. "show": true
  12655. },
  12656. {
  12657. "format": "short",
  12658. "logBase": 1,
  12659. "show": true
  12660. }
  12661. ],
  12662. "yaxis": {
  12663. "align": false
  12664. }
  12665. },
  12666. {
  12667. "aliasColors": {},
  12668. "bars": false,
  12669. "dashLength": 10,
  12670. "dashes": false,
  12671. "datasource": {
  12672. "type": "prometheus",
  12673. "uid": "$datasource"
  12674. },
  12675. "fill": 1,
  12676. "fillGradient": 0,
  12677. "gridPos": {
  12678. "h": 8,
  12679. "w": 12,
  12680. "x": 12,
  12681. "y": 46
  12682. },
  12683. "hiddenSeries": false,
  12684. "id": 184,
  12685. "legend": {
  12686. "avg": false,
  12687. "current": false,
  12688. "max": false,
  12689. "min": false,
  12690. "show": true,
  12691. "total": false,
  12692. "values": false
  12693. },
  12694. "lines": true,
  12695. "linewidth": 1,
  12696. "nullPointMode": "null",
  12697. "options": {
  12698. "alertThreshold": true
  12699. },
  12700. "percentage": false,
  12701. "pluginVersion": "9.2.2",
  12702. "pointradius": 2,
  12703. "points": false,
  12704. "renderer": "flot",
  12705. "seriesOverrides": [],
  12706. "spaceLength": 10,
  12707. "stack": false,
  12708. "steppedLine": false,
  12709. "targets": [
  12710. {
  12711. "datasource": {
  12712. "uid": "$datasource"
  12713. },
  12714. "editorMode": "code",
  12715. "expr": "rate(synapse_handler_presence_state_transition_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  12716. "interval": "",
  12717. "legendFormat": "{{from}} -> {{to}}",
  12718. "range": true,
  12719. "refId": "A"
  12720. }
  12721. ],
  12722. "thresholds": [],
  12723. "timeRegions": [],
  12724. "title": "Presence state transitions",
  12725. "tooltip": {
  12726. "shared": true,
  12727. "sort": 2,
  12728. "value_type": "individual"
  12729. },
  12730. "type": "graph",
  12731. "xaxis": {
  12732. "mode": "time",
  12733. "show": true,
  12734. "values": []
  12735. },
  12736. "yaxes": [
  12737. {
  12738. "$$hashKey": "object:1090",
  12739. "format": "hertz",
  12740. "logBase": 1,
  12741. "show": true
  12742. },
  12743. {
  12744. "$$hashKey": "object:1091",
  12745. "format": "short",
  12746. "logBase": 1,
  12747. "show": true
  12748. }
  12749. ],
  12750. "yaxis": {
  12751. "align": false
  12752. }
  12753. },
  12754. {
  12755. "aliasColors": {},
  12756. "bars": false,
  12757. "dashLength": 10,
  12758. "dashes": false,
  12759. "datasource": {
  12760. "type": "prometheus",
  12761. "uid": "$datasource"
  12762. },
  12763. "fill": 1,
  12764. "fillGradient": 0,
  12765. "gridPos": {
  12766. "h": 8,
  12767. "w": 12,
  12768. "x": 0,
  12769. "y": 54
  12770. },
  12771. "hiddenSeries": false,
  12772. "id": 186,
  12773. "legend": {
  12774. "avg": false,
  12775. "current": false,
  12776. "max": false,
  12777. "min": false,
  12778. "show": true,
  12779. "total": false,
  12780. "values": false
  12781. },
  12782. "lines": true,
  12783. "linewidth": 1,
  12784. "nullPointMode": "null",
  12785. "options": {
  12786. "alertThreshold": true
  12787. },
  12788. "percentage": false,
  12789. "pluginVersion": "9.2.2",
  12790. "pointradius": 2,
  12791. "points": false,
  12792. "renderer": "flot",
  12793. "seriesOverrides": [],
  12794. "spaceLength": 10,
  12795. "stack": false,
  12796. "steppedLine": false,
  12797. "targets": [
  12798. {
  12799. "datasource": {
  12800. "uid": "$datasource"
  12801. },
  12802. "editorMode": "code",
  12803. "expr": "rate(synapse_handler_presence_notify_reason_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  12804. "interval": "",
  12805. "legendFormat": "{{reason}}",
  12806. "range": true,
  12807. "refId": "A"
  12808. }
  12809. ],
  12810. "thresholds": [],
  12811. "timeRegions": [],
  12812. "title": "Presence notify reason",
  12813. "tooltip": {
  12814. "shared": true,
  12815. "sort": 2,
  12816. "value_type": "individual"
  12817. },
  12818. "type": "graph",
  12819. "xaxis": {
  12820. "mode": "time",
  12821. "show": true,
  12822. "values": []
  12823. },
  12824. "yaxes": [
  12825. {
  12826. "$$hashKey": "object:165",
  12827. "format": "hertz",
  12828. "logBase": 1,
  12829. "show": true
  12830. },
  12831. {
  12832. "$$hashKey": "object:166",
  12833. "format": "short",
  12834. "logBase": 1,
  12835. "show": true
  12836. }
  12837. ],
  12838. "yaxis": {
  12839. "align": false
  12840. }
  12841. }
  12842. ],
  12843. "targets": [
  12844. {
  12845. "datasource": {
  12846. "type": "prometheus",
  12847. "uid": "000000001"
  12848. },
  12849. "refId": "A"
  12850. }
  12851. ],
  12852. "title": "Presence",
  12853. "type": "row"
  12854. },
  12855. {
  12856. "collapsed": true,
  12857. "datasource": {
  12858. "type": "prometheus",
  12859. "uid": "000000001"
  12860. },
  12861. "gridPos": {
  12862. "h": 1,
  12863. "w": 24,
  12864. "x": 0,
  12865. "y": 46
  12866. },
  12867. "id": 197,
  12868. "panels": [
  12869. {
  12870. "datasource": {
  12871. "type": "prometheus",
  12872. "uid": "$datasource"
  12873. },
  12874. "fieldConfig": {
  12875. "defaults": {
  12876. "color": {
  12877. "mode": "palette-classic"
  12878. },
  12879. "custom": {
  12880. "axisCenteredZero": false,
  12881. "axisColorMode": "text",
  12882. "axisLabel": "",
  12883. "axisPlacement": "auto",
  12884. "barAlignment": 0,
  12885. "drawStyle": "line",
  12886. "fillOpacity": 10,
  12887. "gradientMode": "none",
  12888. "hideFrom": {
  12889. "legend": false,
  12890. "tooltip": false,
  12891. "viz": false
  12892. },
  12893. "lineInterpolation": "linear",
  12894. "lineWidth": 1,
  12895. "pointSize": 5,
  12896. "scaleDistribution": {
  12897. "type": "linear"
  12898. },
  12899. "showPoints": "never",
  12900. "spanNulls": false,
  12901. "stacking": {
  12902. "group": "A",
  12903. "mode": "none"
  12904. },
  12905. "thresholdsStyle": {
  12906. "mode": "off"
  12907. }
  12908. },
  12909. "mappings": [],
  12910. "thresholds": {
  12911. "mode": "absolute",
  12912. "steps": [
  12913. {
  12914. "color": "green"
  12915. },
  12916. {
  12917. "color": "red",
  12918. "value": 80
  12919. }
  12920. ]
  12921. },
  12922. "unit": "hertz"
  12923. },
  12924. "overrides": []
  12925. },
  12926. "gridPos": {
  12927. "h": 8,
  12928. "w": 12,
  12929. "x": 0,
  12930. "y": 47
  12931. },
  12932. "id": 191,
  12933. "options": {
  12934. "legend": {
  12935. "calcs": [],
  12936. "displayMode": "list",
  12937. "placement": "bottom",
  12938. "showLegend": true
  12939. },
  12940. "tooltip": {
  12941. "mode": "multi",
  12942. "sort": "desc"
  12943. }
  12944. },
  12945. "pluginVersion": "9.0.4",
  12946. "targets": [
  12947. {
  12948. "datasource": {
  12949. "uid": "$datasource"
  12950. },
  12951. "editorMode": "code",
  12952. "expr": "rate(synapse_external_cache_set{job=~\"$job\", instance=\"$instance\", index=~\"$index\"}[$bucket_size])",
  12953. "interval": "",
  12954. "legendFormat": "{{ cache_name }} {{job}}-{{ index }}",
  12955. "range": true,
  12956. "refId": "A"
  12957. }
  12958. ],
  12959. "title": "External Cache Set Rate",
  12960. "type": "timeseries"
  12961. },
  12962. {
  12963. "aliasColors": {},
  12964. "bars": false,
  12965. "dashLength": 10,
  12966. "dashes": false,
  12967. "datasource": {
  12968. "type": "prometheus",
  12969. "uid": "$datasource"
  12970. },
  12971. "description": "",
  12972. "fill": 1,
  12973. "fillGradient": 0,
  12974. "gridPos": {
  12975. "h": 8,
  12976. "w": 12,
  12977. "x": 12,
  12978. "y": 47
  12979. },
  12980. "hiddenSeries": false,
  12981. "id": 193,
  12982. "legend": {
  12983. "avg": false,
  12984. "current": false,
  12985. "max": false,
  12986. "min": false,
  12987. "show": true,
  12988. "total": false,
  12989. "values": false
  12990. },
  12991. "lines": true,
  12992. "linewidth": 1,
  12993. "nullPointMode": "null",
  12994. "options": {
  12995. "alertThreshold": true
  12996. },
  12997. "percentage": false,
  12998. "pluginVersion": "9.2.2",
  12999. "pointradius": 2,
  13000. "points": false,
  13001. "renderer": "flot",
  13002. "seriesOverrides": [],
  13003. "spaceLength": 10,
  13004. "stack": false,
  13005. "steppedLine": false,
  13006. "targets": [
  13007. {
  13008. "datasource": {
  13009. "uid": "$datasource"
  13010. },
  13011. "editorMode": "code",
  13012. "expr": "sum without (hit) (rate(synapse_external_cache_get{job=~\"$job\", instance=\"$instance\", index=~\"$index\"}[$bucket_size]))",
  13013. "interval": "",
  13014. "legendFormat": "{{ cache_name }} {{job}}-{{ index }}",
  13015. "range": true,
  13016. "refId": "A"
  13017. }
  13018. ],
  13019. "thresholds": [],
  13020. "timeRegions": [],
  13021. "title": "External Cache Get Rate",
  13022. "tooltip": {
  13023. "shared": true,
  13024. "sort": 2,
  13025. "value_type": "individual"
  13026. },
  13027. "type": "graph",
  13028. "xaxis": {
  13029. "mode": "time",
  13030. "show": true,
  13031. "values": []
  13032. },
  13033. "yaxes": [
  13034. {
  13035. "$$hashKey": "object:390",
  13036. "format": "hertz",
  13037. "logBase": 1,
  13038. "show": true
  13039. },
  13040. {
  13041. "$$hashKey": "object:391",
  13042. "format": "short",
  13043. "logBase": 1,
  13044. "show": true
  13045. }
  13046. ],
  13047. "yaxis": {
  13048. "align": false
  13049. }
  13050. },
  13051. {
  13052. "cards": {
  13053. "cardPadding": -1
  13054. },
  13055. "color": {
  13056. "cardColor": "#b4ff00",
  13057. "colorScale": "sqrt",
  13058. "colorScheme": "interpolateInferno",
  13059. "exponent": 0.5,
  13060. "min": 0,
  13061. "mode": "spectrum"
  13062. },
  13063. "dataFormat": "tsbuckets",
  13064. "datasource": {
  13065. "type": "prometheus",
  13066. "uid": "$datasource"
  13067. },
  13068. "fieldConfig": {
  13069. "defaults": {
  13070. "custom": {
  13071. "hideFrom": {
  13072. "legend": false,
  13073. "tooltip": false,
  13074. "viz": false
  13075. },
  13076. "scaleDistribution": {
  13077. "type": "linear"
  13078. }
  13079. }
  13080. },
  13081. "overrides": []
  13082. },
  13083. "gridPos": {
  13084. "h": 8,
  13085. "w": 12,
  13086. "x": 0,
  13087. "y": 55
  13088. },
  13089. "heatmap": {},
  13090. "hideZeroBuckets": false,
  13091. "highlightCards": true,
  13092. "id": 195,
  13093. "legend": {
  13094. "show": false
  13095. },
  13096. "links": [],
  13097. "options": {
  13098. "calculate": false,
  13099. "calculation": {},
  13100. "cellGap": -1,
  13101. "cellValues": {
  13102. "decimals": 2
  13103. },
  13104. "color": {
  13105. "exponent": 0.5,
  13106. "fill": "#b4ff00",
  13107. "min": 0,
  13108. "mode": "scheme",
  13109. "reverse": false,
  13110. "scale": "exponential",
  13111. "scheme": "Inferno",
  13112. "steps": 128
  13113. },
  13114. "exemplars": {
  13115. "color": "rgba(255,0,255,0.7)"
  13116. },
  13117. "filterValues": {
  13118. "le": 1e-9
  13119. },
  13120. "legend": {
  13121. "show": false
  13122. },
  13123. "rowsFrame": {
  13124. "layout": "auto"
  13125. },
  13126. "showValue": "never",
  13127. "tooltip": {
  13128. "show": true,
  13129. "yHistogram": true
  13130. },
  13131. "yAxis": {
  13132. "axisPlacement": "left",
  13133. "decimals": 0,
  13134. "reverse": false,
  13135. "unit": "s"
  13136. }
  13137. },
  13138. "pluginVersion": "9.2.2",
  13139. "reverseYBuckets": false,
  13140. "targets": [
  13141. {
  13142. "datasource": {
  13143. "uid": "$datasource"
  13144. },
  13145. "expr": "sum(rate(synapse_external_cache_response_time_seconds_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size])) by (le)",
  13146. "format": "heatmap",
  13147. "instant": false,
  13148. "interval": "",
  13149. "intervalFactor": 1,
  13150. "legendFormat": "{{le}}",
  13151. "refId": "A"
  13152. }
  13153. ],
  13154. "title": "External Cache Response Time",
  13155. "tooltip": {
  13156. "show": true,
  13157. "showHistogram": true
  13158. },
  13159. "tooltipDecimals": 2,
  13160. "type": "heatmap",
  13161. "xAxis": {
  13162. "show": true
  13163. },
  13164. "yAxis": {
  13165. "decimals": 0,
  13166. "format": "s",
  13167. "logBase": 1,
  13168. "show": true
  13169. },
  13170. "yBucketBound": "auto"
  13171. },
  13172. {
  13173. "datasource": {
  13174. "type": "prometheus",
  13175. "uid": "$datasource"
  13176. },
  13177. "description": "",
  13178. "fieldConfig": {
  13179. "defaults": {
  13180. "color": {
  13181. "mode": "palette-classic"
  13182. },
  13183. "custom": {
  13184. "axisCenteredZero": false,
  13185. "axisColorMode": "text",
  13186. "axisLabel": "",
  13187. "axisPlacement": "auto",
  13188. "barAlignment": 0,
  13189. "drawStyle": "line",
  13190. "fillOpacity": 10,
  13191. "gradientMode": "none",
  13192. "hideFrom": {
  13193. "legend": false,
  13194. "tooltip": false,
  13195. "viz": false
  13196. },
  13197. "lineInterpolation": "linear",
  13198. "lineWidth": 1,
  13199. "pointSize": 5,
  13200. "scaleDistribution": {
  13201. "type": "linear"
  13202. },
  13203. "showPoints": "never",
  13204. "spanNulls": false,
  13205. "stacking": {
  13206. "group": "A",
  13207. "mode": "none"
  13208. },
  13209. "thresholdsStyle": {
  13210. "mode": "off"
  13211. }
  13212. },
  13213. "mappings": [],
  13214. "thresholds": {
  13215. "mode": "absolute",
  13216. "steps": [
  13217. {
  13218. "color": "green"
  13219. }
  13220. ]
  13221. },
  13222. "unit": "hertz"
  13223. },
  13224. "overrides": []
  13225. },
  13226. "gridPos": {
  13227. "h": 8,
  13228. "w": 12,
  13229. "x": 12,
  13230. "y": 55
  13231. },
  13232. "id": 223,
  13233. "options": {
  13234. "legend": {
  13235. "calcs": [],
  13236. "displayMode": "list",
  13237. "placement": "bottom",
  13238. "showLegend": true
  13239. },
  13240. "tooltip": {
  13241. "mode": "multi",
  13242. "sort": "desc"
  13243. }
  13244. },
  13245. "pluginVersion": "9.0.4",
  13246. "targets": [
  13247. {
  13248. "datasource": {
  13249. "uid": "$datasource"
  13250. },
  13251. "editorMode": "code",
  13252. "expr": "rate(synapse_external_cache_get{job=~\"$job\", instance=\"$instance\", index=~\"$index\", hit=\"False\"}[$bucket_size])",
  13253. "interval": "",
  13254. "legendFormat": "{{ cache_name }} {{job}}-{{ index }}",
  13255. "range": true,
  13256. "refId": "A"
  13257. }
  13258. ],
  13259. "title": "External Cache Miss Rate",
  13260. "type": "timeseries"
  13261. }
  13262. ],
  13263. "targets": [
  13264. {
  13265. "datasource": {
  13266. "type": "prometheus",
  13267. "uid": "000000001"
  13268. },
  13269. "refId": "A"
  13270. }
  13271. ],
  13272. "title": "External Cache",
  13273. "type": "row"
  13274. }
  13275. ],
  13276. "refresh": false,
  13277. "schemaVersion": 37,
  13278. "style": "dark",
  13279. "tags": [
  13280. "matrix"
  13281. ],
  13282. "templating": {
  13283. "list": [
  13284. {
  13285. "current": {
  13286. "selected": false,
  13287. "text": "default",
  13288. "value": "default"
  13289. },
  13290. "hide": 0,
  13291. "includeAll": false,
  13292. "multi": false,
  13293. "name": "datasource",
  13294. "options": [],
  13295. "query": "prometheus",
  13296. "queryValue": "",
  13297. "refresh": 1,
  13298. "regex": "",
  13299. "skipUrlSync": false,
  13300. "type": "datasource"
  13301. },
  13302. {
  13303. "allFormat": "glob",
  13304. "auto": true,
  13305. "auto_count": 100,
  13306. "auto_min": "30s",
  13307. "current": {
  13308. "selected": false,
  13309. "text": "auto",
  13310. "value": "$__auto_interval_bucket_size"
  13311. },
  13312. "hide": 0,
  13313. "includeAll": false,
  13314. "label": "Bucket Size",
  13315. "multi": false,
  13316. "multiFormat": "glob",
  13317. "name": "bucket_size",
  13318. "options": [
  13319. {
  13320. "selected": true,
  13321. "text": "auto",
  13322. "value": "$__auto_interval_bucket_size"
  13323. },
  13324. {
  13325. "selected": false,
  13326. "text": "30s",
  13327. "value": "30s"
  13328. },
  13329. {
  13330. "selected": false,
  13331. "text": "1m",
  13332. "value": "1m"
  13333. },
  13334. {
  13335. "selected": false,
  13336. "text": "2m",
  13337. "value": "2m"
  13338. },
  13339. {
  13340. "selected": false,
  13341. "text": "5m",
  13342. "value": "5m"
  13343. },
  13344. {
  13345. "selected": false,
  13346. "text": "10m",
  13347. "value": "10m"
  13348. },
  13349. {
  13350. "selected": false,
  13351. "text": "15m",
  13352. "value": "15m"
  13353. }
  13354. ],
  13355. "query": "30s,1m,2m,5m,10m,15m",
  13356. "queryValue": "",
  13357. "refresh": 2,
  13358. "skipUrlSync": false,
  13359. "type": "interval"
  13360. },
  13361. {
  13362. "current": {},
  13363. "datasource": {
  13364. "uid": "$datasource"
  13365. },
  13366. "definition": "",
  13367. "hide": 0,
  13368. "includeAll": false,
  13369. "multi": false,
  13370. "name": "instance",
  13371. "options": [],
  13372. "query": {
  13373. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds_total, instance)",
  13374. "refId": "Prometheus-instance-Variable-Query"
  13375. },
  13376. "refresh": 2,
  13377. "regex": "",
  13378. "skipUrlSync": false,
  13379. "sort": 1,
  13380. "tagValuesQuery": "",
  13381. "tagsQuery": "",
  13382. "type": "query",
  13383. "useTags": false
  13384. },
  13385. {
  13386. "allFormat": "regex wildcard",
  13387. "allValue": "",
  13388. "current": {},
  13389. "datasource": {
  13390. "uid": "$datasource"
  13391. },
  13392. "definition": "",
  13393. "hide": 0,
  13394. "hideLabel": false,
  13395. "includeAll": true,
  13396. "label": "Job",
  13397. "multi": true,
  13398. "multiFormat": "regex values",
  13399. "name": "job",
  13400. "options": [],
  13401. "query": {
  13402. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds_total, job)",
  13403. "refId": "Prometheus-job-Variable-Query"
  13404. },
  13405. "refresh": 2,
  13406. "refresh_on_load": false,
  13407. "regex": "",
  13408. "skipUrlSync": false,
  13409. "sort": 1,
  13410. "tagValuesQuery": "",
  13411. "tagsQuery": "",
  13412. "type": "query",
  13413. "useTags": false
  13414. },
  13415. {
  13416. "allFormat": "regex wildcard",
  13417. "allValue": ".*",
  13418. "current": {},
  13419. "datasource": {
  13420. "uid": "$datasource"
  13421. },
  13422. "definition": "",
  13423. "hide": 0,
  13424. "hideLabel": false,
  13425. "includeAll": true,
  13426. "label": "",
  13427. "multi": true,
  13428. "multiFormat": "regex values",
  13429. "name": "index",
  13430. "options": [],
  13431. "query": {
  13432. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds_total, index)",
  13433. "refId": "Prometheus-index-Variable-Query"
  13434. },
  13435. "refresh": 2,
  13436. "refresh_on_load": false,
  13437. "regex": "",
  13438. "skipUrlSync": false,
  13439. "sort": 3,
  13440. "tagValuesQuery": "",
  13441. "tagsQuery": "",
  13442. "type": "query",
  13443. "useTags": false
  13444. }
  13445. ]
  13446. },
  13447. "time": {
  13448. "from": "now-3h",
  13449. "to": "now"
  13450. },
  13451. "timepicker": {
  13452. "now": true,
  13453. "refresh_intervals": [
  13454. "5s",
  13455. "10s",
  13456. "30s",
  13457. "1m",
  13458. "5m",
  13459. "15m",
  13460. "30m",
  13461. "1h",
  13462. "2h",
  13463. "1d"
  13464. ],
  13465. "time_options": [
  13466. "5m",
  13467. "15m",
  13468. "1h",
  13469. "6h",
  13470. "12h",
  13471. "24h",
  13472. "2d",
  13473. "7d",
  13474. "30d"
  13475. ]
  13476. },
  13477. "timezone": "",
  13478. "title": "Synapse",
  13479. "uid": "000000012",
  13480. "version": 160,
  13481. "weekStart": ""
  13482. }