1
0

synapse.json 292 KB

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