synapse.json 281 KB

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