synapse.json 189 KB

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