synapse.json 136 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211
  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": "5.2.4"
  18. },
  19. {
  20. "type": "panel",
  21. "id": "graph",
  22. "name": "Graph",
  23. "version": "5.0.0"
  24. },
  25. {
  26. "type": "panel",
  27. "id": "heatmap",
  28. "name": "Heatmap",
  29. "version": "5.0.0"
  30. },
  31. {
  32. "type": "datasource",
  33. "id": "prometheus",
  34. "name": "Prometheus",
  35. "version": "5.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": 1537878047048,
  58. "links": [
  59. {
  60. "asDropdown": true,
  61. "icon": "external link",
  62. "keepTime": true,
  63. "tags": [
  64. "matrix"
  65. ],
  66. "title": "Dashboards",
  67. "type": "dashboards"
  68. }
  69. ],
  70. "panels": [
  71. {
  72. "collapsed": false,
  73. "gridPos": {
  74. "h": 1,
  75. "w": 24,
  76. "x": 0,
  77. "y": 0
  78. },
  79. "id": 73,
  80. "panels": [],
  81. "title": "Overview",
  82. "type": "row"
  83. },
  84. {
  85. "aliasColors": {},
  86. "bars": false,
  87. "dashLength": 10,
  88. "dashes": false,
  89. "datasource": "$datasource",
  90. "fill": 1,
  91. "gridPos": {
  92. "h": 9,
  93. "w": 12,
  94. "x": 0,
  95. "y": 1
  96. },
  97. "id": 75,
  98. "legend": {
  99. "avg": false,
  100. "current": false,
  101. "max": false,
  102. "min": false,
  103. "show": true,
  104. "total": false,
  105. "values": false
  106. },
  107. "lines": true,
  108. "linewidth": 1,
  109. "links": [],
  110. "nullPointMode": "null",
  111. "percentage": false,
  112. "pointradius": 5,
  113. "points": false,
  114. "renderer": "flot",
  115. "seriesOverrides": [],
  116. "spaceLength": 10,
  117. "stack": false,
  118. "steppedLine": false,
  119. "targets": [
  120. {
  121. "expr": "rate(process_cpu_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  122. "format": "time_series",
  123. "intervalFactor": 1,
  124. "legendFormat": "{{job}}-{{index}} ",
  125. "refId": "A"
  126. }
  127. ],
  128. "thresholds": [],
  129. "timeFrom": null,
  130. "timeShift": null,
  131. "title": "CPU usage",
  132. "tooltip": {
  133. "shared": true,
  134. "sort": 0,
  135. "value_type": "individual"
  136. },
  137. "type": "graph",
  138. "xaxis": {
  139. "buckets": null,
  140. "mode": "time",
  141. "name": null,
  142. "show": true,
  143. "values": []
  144. },
  145. "yaxes": [
  146. {
  147. "decimals": null,
  148. "format": "percentunit",
  149. "label": null,
  150. "logBase": 1,
  151. "max": "1",
  152. "min": "0",
  153. "show": true
  154. },
  155. {
  156. "format": "short",
  157. "label": null,
  158. "logBase": 1,
  159. "max": null,
  160. "min": null,
  161. "show": true
  162. }
  163. ],
  164. "yaxis": {
  165. "align": false,
  166. "alignLevel": null
  167. }
  168. },
  169. {
  170. "cards": {
  171. "cardPadding": 0,
  172. "cardRound": null
  173. },
  174. "color": {
  175. "cardColor": "#b4ff00",
  176. "colorScale": "sqrt",
  177. "colorScheme": "interpolateSpectral",
  178. "exponent": 0.5,
  179. "mode": "spectrum"
  180. },
  181. "dataFormat": "tsbuckets",
  182. "datasource": "$datasource",
  183. "gridPos": {
  184. "h": 9,
  185. "w": 12,
  186. "x": 12,
  187. "y": 1
  188. },
  189. "heatmap": {},
  190. "highlightCards": true,
  191. "id": 85,
  192. "legend": {
  193. "show": false
  194. },
  195. "links": [],
  196. "targets": [
  197. {
  198. "expr": "sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\"}[$bucket_size])) by (le)",
  199. "format": "heatmap",
  200. "intervalFactor": 1,
  201. "legendFormat": "{{le}}",
  202. "refId": "A"
  203. }
  204. ],
  205. "title": "Event Send Time",
  206. "tooltip": {
  207. "show": true,
  208. "showHistogram": false
  209. },
  210. "type": "heatmap",
  211. "xAxis": {
  212. "show": true
  213. },
  214. "xBucketNumber": null,
  215. "xBucketSize": null,
  216. "yAxis": {
  217. "decimals": null,
  218. "format": "s",
  219. "logBase": 2,
  220. "max": null,
  221. "min": null,
  222. "show": true,
  223. "splitFactor": null
  224. },
  225. "yBucketBound": "auto",
  226. "yBucketNumber": null,
  227. "yBucketSize": null
  228. },
  229. {
  230. "aliasColors": {},
  231. "bars": false,
  232. "dashLength": 10,
  233. "dashes": false,
  234. "datasource": "$datasource",
  235. "editable": true,
  236. "error": false,
  237. "fill": 1,
  238. "grid": {},
  239. "gridPos": {
  240. "h": 7,
  241. "w": 12,
  242. "x": 0,
  243. "y": 10
  244. },
  245. "id": 33,
  246. "legend": {
  247. "avg": false,
  248. "current": false,
  249. "max": false,
  250. "min": false,
  251. "show": false,
  252. "total": false,
  253. "values": false
  254. },
  255. "lines": true,
  256. "linewidth": 2,
  257. "links": [],
  258. "nullPointMode": "null",
  259. "percentage": false,
  260. "pointradius": 5,
  261. "points": false,
  262. "renderer": "flot",
  263. "seriesOverrides": [],
  264. "spaceLength": 10,
  265. "stack": false,
  266. "steppedLine": false,
  267. "targets": [
  268. {
  269. "expr": "sum(rate(synapse_storage_events_persisted_events{instance=\"$instance\"}[$bucket_size])) without (job,index)",
  270. "format": "time_series",
  271. "intervalFactor": 2,
  272. "legendFormat": "",
  273. "refId": "A",
  274. "step": 20,
  275. "target": ""
  276. }
  277. ],
  278. "thresholds": [],
  279. "timeFrom": null,
  280. "timeShift": null,
  281. "title": "Events Persisted",
  282. "tooltip": {
  283. "shared": true,
  284. "sort": 0,
  285. "value_type": "cumulative"
  286. },
  287. "type": "graph",
  288. "xaxis": {
  289. "buckets": null,
  290. "mode": "time",
  291. "name": null,
  292. "show": true,
  293. "values": []
  294. },
  295. "yaxes": [
  296. {
  297. "format": "hertz",
  298. "logBase": 1,
  299. "max": null,
  300. "min": null,
  301. "show": true
  302. },
  303. {
  304. "format": "short",
  305. "logBase": 1,
  306. "max": null,
  307. "min": null,
  308. "show": true
  309. }
  310. ],
  311. "yaxis": {
  312. "align": false,
  313. "alignLevel": null
  314. }
  315. },
  316. {
  317. "collapsed": true,
  318. "gridPos": {
  319. "h": 1,
  320. "w": 24,
  321. "x": 0,
  322. "y": 17
  323. },
  324. "id": 54,
  325. "panels": [
  326. {
  327. "aliasColors": {},
  328. "bars": false,
  329. "dashLength": 10,
  330. "dashes": false,
  331. "datasource": "$datasource",
  332. "editable": true,
  333. "error": false,
  334. "fill": 0,
  335. "grid": {},
  336. "gridPos": {
  337. "h": 7,
  338. "w": 12,
  339. "x": 0,
  340. "y": 18
  341. },
  342. "id": 34,
  343. "legend": {
  344. "avg": false,
  345. "current": false,
  346. "max": false,
  347. "min": false,
  348. "show": true,
  349. "total": false,
  350. "values": false
  351. },
  352. "lines": true,
  353. "linewidth": 2,
  354. "links": [],
  355. "nullPointMode": "null",
  356. "percentage": false,
  357. "pointradius": 5,
  358. "points": false,
  359. "renderer": "flot",
  360. "seriesOverrides": [],
  361. "spaceLength": 10,
  362. "stack": false,
  363. "steppedLine": true,
  364. "targets": [
  365. {
  366. "expr": "process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  367. "format": "time_series",
  368. "intervalFactor": 2,
  369. "legendFormat": "{{job}} {{index}}",
  370. "refId": "A",
  371. "step": 20,
  372. "target": ""
  373. }
  374. ],
  375. "thresholds": [],
  376. "timeFrom": null,
  377. "timeShift": null,
  378. "title": "Memory",
  379. "tooltip": {
  380. "shared": true,
  381. "sort": 0,
  382. "value_type": "cumulative"
  383. },
  384. "type": "graph",
  385. "xaxis": {
  386. "buckets": null,
  387. "mode": "time",
  388. "name": null,
  389. "show": true,
  390. "values": []
  391. },
  392. "yaxes": [
  393. {
  394. "format": "bytes",
  395. "logBase": 1,
  396. "max": null,
  397. "min": "0",
  398. "show": true
  399. },
  400. {
  401. "format": "short",
  402. "logBase": 1,
  403. "max": null,
  404. "min": null,
  405. "show": true
  406. }
  407. ],
  408. "yaxis": {
  409. "align": false,
  410. "alignLevel": null
  411. }
  412. },
  413. {
  414. "aliasColors": {},
  415. "bars": false,
  416. "dashLength": 10,
  417. "dashes": false,
  418. "datasource": "$datasource",
  419. "fill": 1,
  420. "gridPos": {
  421. "h": 7,
  422. "w": 12,
  423. "x": 12,
  424. "y": 18
  425. },
  426. "id": 37,
  427. "legend": {
  428. "avg": false,
  429. "current": false,
  430. "max": false,
  431. "min": false,
  432. "show": true,
  433. "total": false,
  434. "values": false
  435. },
  436. "lines": true,
  437. "linewidth": 1,
  438. "links": [],
  439. "nullPointMode": "null",
  440. "percentage": false,
  441. "pointradius": 5,
  442. "points": false,
  443. "renderer": "flot",
  444. "seriesOverrides": [
  445. {
  446. "alias": "/max$/",
  447. "color": "#890F02",
  448. "fill": 0,
  449. "legend": false
  450. }
  451. ],
  452. "spaceLength": 10,
  453. "stack": false,
  454. "steppedLine": false,
  455. "targets": [
  456. {
  457. "expr": "process_open_fds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  458. "format": "time_series",
  459. "hide": false,
  460. "intervalFactor": 2,
  461. "legendFormat": "{{job}}-{{index}}",
  462. "refId": "A",
  463. "step": 20
  464. },
  465. {
  466. "expr": "process_max_fds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  467. "format": "time_series",
  468. "hide": true,
  469. "intervalFactor": 2,
  470. "legendFormat": "{{job}}-{{index}} max",
  471. "refId": "B",
  472. "step": 20
  473. }
  474. ],
  475. "thresholds": [],
  476. "timeFrom": null,
  477. "timeShift": null,
  478. "title": "Open FDs",
  479. "tooltip": {
  480. "shared": true,
  481. "sort": 0,
  482. "value_type": "individual"
  483. },
  484. "type": "graph",
  485. "xaxis": {
  486. "buckets": null,
  487. "mode": "time",
  488. "name": null,
  489. "show": true,
  490. "values": []
  491. },
  492. "yaxes": [
  493. {
  494. "format": "none",
  495. "label": null,
  496. "logBase": 1,
  497. "max": null,
  498. "min": null,
  499. "show": true
  500. },
  501. {
  502. "format": "short",
  503. "label": null,
  504. "logBase": 1,
  505. "max": null,
  506. "min": null,
  507. "show": true
  508. }
  509. ],
  510. "yaxis": {
  511. "align": false,
  512. "alignLevel": null
  513. }
  514. },
  515. {
  516. "aliasColors": {},
  517. "bars": false,
  518. "dashLength": 10,
  519. "dashes": false,
  520. "datasource": "$datasource",
  521. "fill": 1,
  522. "gridPos": {
  523. "h": 7,
  524. "w": 12,
  525. "x": 0,
  526. "y": 25
  527. },
  528. "id": 50,
  529. "legend": {
  530. "avg": false,
  531. "current": false,
  532. "max": false,
  533. "min": false,
  534. "show": true,
  535. "total": false,
  536. "values": false
  537. },
  538. "lines": true,
  539. "linewidth": 1,
  540. "links": [],
  541. "nullPointMode": "null",
  542. "percentage": false,
  543. "pointradius": 5,
  544. "points": false,
  545. "renderer": "flot",
  546. "seriesOverrides": [],
  547. "spaceLength": 10,
  548. "stack": false,
  549. "steppedLine": false,
  550. "targets": [
  551. {
  552. "expr": "rate(python_twisted_reactor_tick_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(python_twisted_reactor_tick_time_count[$bucket_size])",
  553. "format": "time_series",
  554. "interval": "",
  555. "intervalFactor": 2,
  556. "legendFormat": "{{job}}-{{index}}",
  557. "refId": "A",
  558. "step": 20
  559. }
  560. ],
  561. "thresholds": [],
  562. "timeFrom": null,
  563. "timeShift": null,
  564. "title": "Avg reactor tick time",
  565. "tooltip": {
  566. "shared": true,
  567. "sort": 0,
  568. "value_type": "individual"
  569. },
  570. "type": "graph",
  571. "xaxis": {
  572. "buckets": null,
  573. "mode": "time",
  574. "name": null,
  575. "show": true,
  576. "values": []
  577. },
  578. "yaxes": [
  579. {
  580. "format": "s",
  581. "label": null,
  582. "logBase": 1,
  583. "max": null,
  584. "min": null,
  585. "show": true
  586. },
  587. {
  588. "format": "short",
  589. "label": null,
  590. "logBase": 1,
  591. "max": null,
  592. "min": null,
  593. "show": false
  594. }
  595. ],
  596. "yaxis": {
  597. "align": false,
  598. "alignLevel": null
  599. }
  600. },
  601. {
  602. "aliasColors": {},
  603. "bars": false,
  604. "dashLength": 10,
  605. "dashes": false,
  606. "datasource": "$datasource",
  607. "description": "Shows the time in which the given percentage of reactor ticks completed, over the sampled timespan",
  608. "fill": 1,
  609. "gridPos": {
  610. "h": 7,
  611. "w": 12,
  612. "x": 12,
  613. "y": 25
  614. },
  615. "id": 105,
  616. "legend": {
  617. "avg": false,
  618. "current": false,
  619. "max": false,
  620. "min": false,
  621. "show": true,
  622. "total": false,
  623. "values": false
  624. },
  625. "lines": true,
  626. "linewidth": 1,
  627. "links": [],
  628. "nullPointMode": "null",
  629. "percentage": false,
  630. "pointradius": 5,
  631. "points": false,
  632. "renderer": "flot",
  633. "seriesOverrides": [],
  634. "spaceLength": 10,
  635. "stack": false,
  636. "steppedLine": false,
  637. "targets": [
  638. {
  639. "expr": "histogram_quantile(0.99, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  640. "format": "time_series",
  641. "interval": "",
  642. "intervalFactor": 2,
  643. "legendFormat": "{{job}}-{{index}} 99%",
  644. "refId": "A",
  645. "step": 20
  646. },
  647. {
  648. "expr": "histogram_quantile(0.95, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  649. "format": "time_series",
  650. "intervalFactor": 1,
  651. "legendFormat": "{{job}}-{{index}} 95%",
  652. "refId": "B"
  653. },
  654. {
  655. "expr": "histogram_quantile(0.90, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))",
  656. "format": "time_series",
  657. "intervalFactor": 1,
  658. "legendFormat": "{{job}}-{{index}} 90%",
  659. "refId": "C"
  660. },
  661. {
  662. "expr": "",
  663. "format": "time_series",
  664. "intervalFactor": 1,
  665. "refId": "D"
  666. }
  667. ],
  668. "thresholds": [],
  669. "timeFrom": null,
  670. "timeShift": null,
  671. "title": "Reactor tick quantiles",
  672. "tooltip": {
  673. "shared": false,
  674. "sort": 0,
  675. "value_type": "individual"
  676. },
  677. "type": "graph",
  678. "xaxis": {
  679. "buckets": null,
  680. "mode": "time",
  681. "name": null,
  682. "show": true,
  683. "values": []
  684. },
  685. "yaxes": [
  686. {
  687. "format": "s",
  688. "label": null,
  689. "logBase": 1,
  690. "max": null,
  691. "min": null,
  692. "show": true
  693. },
  694. {
  695. "format": "short",
  696. "label": null,
  697. "logBase": 1,
  698. "max": null,
  699. "min": null,
  700. "show": false
  701. }
  702. ],
  703. "yaxis": {
  704. "align": false,
  705. "alignLevel": null
  706. }
  707. },
  708. {
  709. "aliasColors": {},
  710. "bars": false,
  711. "dashLength": 10,
  712. "dashes": false,
  713. "datasource": "$datasource",
  714. "fill": 0,
  715. "gridPos": {
  716. "h": 7,
  717. "w": 12,
  718. "x": 0,
  719. "y": 32
  720. },
  721. "id": 53,
  722. "legend": {
  723. "avg": false,
  724. "current": false,
  725. "max": false,
  726. "min": false,
  727. "show": true,
  728. "total": false,
  729. "values": false
  730. },
  731. "lines": true,
  732. "linewidth": 1,
  733. "links": [],
  734. "nullPointMode": "null",
  735. "percentage": false,
  736. "pointradius": 5,
  737. "points": false,
  738. "renderer": "flot",
  739. "seriesOverrides": [],
  740. "spaceLength": 10,
  741. "stack": false,
  742. "steppedLine": false,
  743. "targets": [
  744. {
  745. "expr": "min_over_time(up{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  746. "format": "time_series",
  747. "intervalFactor": 2,
  748. "legendFormat": "{{job}}-{{index}}",
  749. "refId": "A"
  750. }
  751. ],
  752. "thresholds": [],
  753. "timeFrom": null,
  754. "timeShift": null,
  755. "title": "Up",
  756. "tooltip": {
  757. "shared": true,
  758. "sort": 0,
  759. "value_type": "individual"
  760. },
  761. "type": "graph",
  762. "xaxis": {
  763. "buckets": null,
  764. "mode": "time",
  765. "name": null,
  766. "show": true,
  767. "values": []
  768. },
  769. "yaxes": [
  770. {
  771. "format": "short",
  772. "label": null,
  773. "logBase": 1,
  774. "max": null,
  775. "min": null,
  776. "show": true
  777. },
  778. {
  779. "format": "short",
  780. "label": null,
  781. "logBase": 1,
  782. "max": null,
  783. "min": null,
  784. "show": true
  785. }
  786. ],
  787. "yaxis": {
  788. "align": false,
  789. "alignLevel": null
  790. }
  791. },
  792. {
  793. "aliasColors": {},
  794. "bars": false,
  795. "dashLength": 10,
  796. "dashes": false,
  797. "datasource": "$datasource",
  798. "fill": 1,
  799. "gridPos": {
  800. "h": 7,
  801. "w": 12,
  802. "x": 12,
  803. "y": 32
  804. },
  805. "id": 49,
  806. "legend": {
  807. "avg": false,
  808. "current": false,
  809. "max": false,
  810. "min": false,
  811. "show": true,
  812. "total": false,
  813. "values": false
  814. },
  815. "lines": true,
  816. "linewidth": 1,
  817. "links": [],
  818. "nullPointMode": "null",
  819. "percentage": false,
  820. "pointradius": 5,
  821. "points": false,
  822. "renderer": "flot",
  823. "seriesOverrides": [
  824. {
  825. "alias": "/^up/",
  826. "legend": false,
  827. "yaxis": 2
  828. }
  829. ],
  830. "spaceLength": 10,
  831. "stack": false,
  832. "steppedLine": false,
  833. "targets": [
  834. {
  835. "expr": "scrape_duration_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  836. "format": "time_series",
  837. "interval": "",
  838. "intervalFactor": 2,
  839. "legendFormat": "{{job}}-{{index}}",
  840. "refId": "A",
  841. "step": 20
  842. }
  843. ],
  844. "thresholds": [],
  845. "timeFrom": null,
  846. "timeShift": null,
  847. "title": "Prometheus scrape time",
  848. "tooltip": {
  849. "shared": true,
  850. "sort": 0,
  851. "value_type": "individual"
  852. },
  853. "type": "graph",
  854. "xaxis": {
  855. "buckets": null,
  856. "mode": "time",
  857. "name": null,
  858. "show": true,
  859. "values": []
  860. },
  861. "yaxes": [
  862. {
  863. "format": "s",
  864. "label": null,
  865. "logBase": 1,
  866. "max": null,
  867. "min": "0",
  868. "show": true
  869. },
  870. {
  871. "decimals": 0,
  872. "format": "none",
  873. "label": "",
  874. "logBase": 1,
  875. "max": "0",
  876. "min": "-1",
  877. "show": false
  878. }
  879. ],
  880. "yaxis": {
  881. "align": false,
  882. "alignLevel": null
  883. }
  884. },
  885. {
  886. "aliasColors": {},
  887. "bars": false,
  888. "dashLength": 10,
  889. "dashes": false,
  890. "datasource": "$datasource",
  891. "editable": true,
  892. "error": false,
  893. "fill": 1,
  894. "grid": {},
  895. "gridPos": {
  896. "h": 7,
  897. "w": 12,
  898. "x": 0,
  899. "y": 39
  900. },
  901. "id": 5,
  902. "legend": {
  903. "alignAsTable": false,
  904. "avg": false,
  905. "current": false,
  906. "hideEmpty": false,
  907. "hideZero": false,
  908. "max": false,
  909. "min": false,
  910. "rightSide": false,
  911. "show": true,
  912. "total": false,
  913. "values": false
  914. },
  915. "lines": true,
  916. "linewidth": 1,
  917. "links": [],
  918. "nullPointMode": "null",
  919. "percentage": false,
  920. "pointradius": 5,
  921. "points": false,
  922. "renderer": "flot",
  923. "seriesOverrides": [
  924. {
  925. "alias": "/user/"
  926. },
  927. {
  928. "alias": "/system/"
  929. }
  930. ],
  931. "spaceLength": 10,
  932. "stack": false,
  933. "steppedLine": false,
  934. "targets": [
  935. {
  936. "expr": "rate(process_cpu_system_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  937. "format": "time_series",
  938. "intervalFactor": 1,
  939. "legendFormat": "{{job}}-{{index}} system ",
  940. "metric": "",
  941. "refId": "B",
  942. "step": 20
  943. },
  944. {
  945. "expr": "rate(process_cpu_user_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  946. "format": "time_series",
  947. "hide": false,
  948. "interval": "",
  949. "intervalFactor": 1,
  950. "legendFormat": "{{job}}-{{index}} user",
  951. "refId": "A",
  952. "step": 20
  953. }
  954. ],
  955. "thresholds": [
  956. {
  957. "colorMode": "custom",
  958. "line": true,
  959. "lineColor": "rgba(216, 200, 27, 0.27)",
  960. "op": "gt",
  961. "value": 0.5
  962. },
  963. {
  964. "colorMode": "custom",
  965. "line": true,
  966. "lineColor": "rgba(234, 112, 112, 0.22)",
  967. "op": "gt",
  968. "value": 0.8
  969. }
  970. ],
  971. "timeFrom": null,
  972. "timeShift": null,
  973. "title": "CPU",
  974. "tooltip": {
  975. "shared": true,
  976. "sort": 0,
  977. "value_type": "individual"
  978. },
  979. "type": "graph",
  980. "xaxis": {
  981. "buckets": null,
  982. "mode": "time",
  983. "name": null,
  984. "show": true,
  985. "values": []
  986. },
  987. "yaxes": [
  988. {
  989. "decimals": null,
  990. "format": "percentunit",
  991. "label": "",
  992. "logBase": 1,
  993. "max": "1.2",
  994. "min": 0,
  995. "show": true
  996. },
  997. {
  998. "format": "short",
  999. "logBase": 1,
  1000. "max": null,
  1001. "min": null,
  1002. "show": true
  1003. }
  1004. ],
  1005. "yaxis": {
  1006. "align": false,
  1007. "alignLevel": null
  1008. }
  1009. }
  1010. ],
  1011. "repeat": null,
  1012. "title": "Process info",
  1013. "type": "row"
  1014. },
  1015. {
  1016. "collapsed": true,
  1017. "gridPos": {
  1018. "h": 1,
  1019. "w": 24,
  1020. "x": 0,
  1021. "y": 18
  1022. },
  1023. "id": 56,
  1024. "panels": [
  1025. {
  1026. "aliasColors": {},
  1027. "bars": false,
  1028. "dashLength": 10,
  1029. "dashes": false,
  1030. "datasource": "$datasource",
  1031. "decimals": 1,
  1032. "fill": 1,
  1033. "gridPos": {
  1034. "h": 7,
  1035. "w": 12,
  1036. "x": 0,
  1037. "y": 47
  1038. },
  1039. "id": 40,
  1040. "legend": {
  1041. "avg": false,
  1042. "current": false,
  1043. "max": false,
  1044. "min": false,
  1045. "show": true,
  1046. "total": false,
  1047. "values": false
  1048. },
  1049. "lines": true,
  1050. "linewidth": 1,
  1051. "links": [],
  1052. "nullPointMode": "null",
  1053. "percentage": false,
  1054. "pointradius": 5,
  1055. "points": false,
  1056. "renderer": "flot",
  1057. "seriesOverrides": [],
  1058. "spaceLength": 10,
  1059. "stack": false,
  1060. "steppedLine": false,
  1061. "targets": [
  1062. {
  1063. "expr": "rate(synapse_storage_events_persisted_by_source_type{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  1064. "format": "time_series",
  1065. "intervalFactor": 2,
  1066. "legendFormat": "{{type}}",
  1067. "refId": "D"
  1068. }
  1069. ],
  1070. "thresholds": [],
  1071. "timeFrom": null,
  1072. "timeShift": null,
  1073. "title": "Events/s Local vs Remote",
  1074. "tooltip": {
  1075. "shared": true,
  1076. "sort": 2,
  1077. "value_type": "individual"
  1078. },
  1079. "type": "graph",
  1080. "xaxis": {
  1081. "buckets": null,
  1082. "mode": "time",
  1083. "name": null,
  1084. "show": true,
  1085. "values": []
  1086. },
  1087. "yaxes": [
  1088. {
  1089. "format": "hertz",
  1090. "label": "",
  1091. "logBase": 1,
  1092. "max": null,
  1093. "min": "0",
  1094. "show": true
  1095. },
  1096. {
  1097. "format": "short",
  1098. "label": null,
  1099. "logBase": 1,
  1100. "max": null,
  1101. "min": null,
  1102. "show": true
  1103. }
  1104. ],
  1105. "yaxis": {
  1106. "align": false,
  1107. "alignLevel": null
  1108. }
  1109. },
  1110. {
  1111. "aliasColors": {},
  1112. "bars": false,
  1113. "dashLength": 10,
  1114. "dashes": false,
  1115. "datasource": "$datasource",
  1116. "decimals": 1,
  1117. "fill": 1,
  1118. "gridPos": {
  1119. "h": 7,
  1120. "w": 12,
  1121. "x": 12,
  1122. "y": 47
  1123. },
  1124. "id": 46,
  1125. "legend": {
  1126. "avg": false,
  1127. "current": false,
  1128. "max": false,
  1129. "min": false,
  1130. "show": true,
  1131. "total": false,
  1132. "values": false
  1133. },
  1134. "lines": true,
  1135. "linewidth": 1,
  1136. "links": [],
  1137. "nullPointMode": "null",
  1138. "percentage": false,
  1139. "pointradius": 5,
  1140. "points": false,
  1141. "renderer": "flot",
  1142. "seriesOverrides": [],
  1143. "spaceLength": 10,
  1144. "stack": false,
  1145. "steppedLine": false,
  1146. "targets": [
  1147. {
  1148. "expr": "rate(synapse_storage_events_persisted_by_event_type{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  1149. "format": "time_series",
  1150. "instant": false,
  1151. "intervalFactor": 2,
  1152. "legendFormat": "{{type}}",
  1153. "refId": "A",
  1154. "step": 20
  1155. }
  1156. ],
  1157. "thresholds": [],
  1158. "timeFrom": null,
  1159. "timeShift": null,
  1160. "title": "Events/s by Type",
  1161. "tooltip": {
  1162. "shared": false,
  1163. "sort": 2,
  1164. "value_type": "individual"
  1165. },
  1166. "type": "graph",
  1167. "xaxis": {
  1168. "buckets": null,
  1169. "mode": "time",
  1170. "name": null,
  1171. "show": true,
  1172. "values": []
  1173. },
  1174. "yaxes": [
  1175. {
  1176. "format": "hertz",
  1177. "label": null,
  1178. "logBase": 1,
  1179. "max": null,
  1180. "min": "0",
  1181. "show": true
  1182. },
  1183. {
  1184. "format": "short",
  1185. "label": null,
  1186. "logBase": 1,
  1187. "max": null,
  1188. "min": null,
  1189. "show": true
  1190. }
  1191. ],
  1192. "yaxis": {
  1193. "align": false,
  1194. "alignLevel": null
  1195. }
  1196. },
  1197. {
  1198. "aliasColors": {
  1199. "irc-freenode (local)": "#EAB839"
  1200. },
  1201. "bars": false,
  1202. "dashLength": 10,
  1203. "dashes": false,
  1204. "datasource": "$datasource",
  1205. "decimals": 1,
  1206. "fill": 1,
  1207. "gridPos": {
  1208. "h": 7,
  1209. "w": 12,
  1210. "x": 0,
  1211. "y": 54
  1212. },
  1213. "id": 44,
  1214. "legend": {
  1215. "alignAsTable": true,
  1216. "avg": false,
  1217. "current": false,
  1218. "hideEmpty": true,
  1219. "hideZero": true,
  1220. "max": false,
  1221. "min": false,
  1222. "show": true,
  1223. "total": false,
  1224. "values": false
  1225. },
  1226. "lines": true,
  1227. "linewidth": 1,
  1228. "links": [],
  1229. "nullPointMode": "null",
  1230. "percentage": false,
  1231. "pointradius": 5,
  1232. "points": false,
  1233. "renderer": "flot",
  1234. "seriesOverrides": [],
  1235. "spaceLength": 10,
  1236. "stack": false,
  1237. "steppedLine": false,
  1238. "targets": [
  1239. {
  1240. "expr": "rate(synapse_storage_events_persisted_by_origin{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  1241. "format": "time_series",
  1242. "intervalFactor": 2,
  1243. "legendFormat": "{{origin_entity}} ({{origin_type}})",
  1244. "refId": "A",
  1245. "step": 20
  1246. }
  1247. ],
  1248. "thresholds": [],
  1249. "timeFrom": null,
  1250. "timeShift": null,
  1251. "title": "Events/s by Origin",
  1252. "tooltip": {
  1253. "shared": false,
  1254. "sort": 2,
  1255. "value_type": "individual"
  1256. },
  1257. "type": "graph",
  1258. "xaxis": {
  1259. "buckets": null,
  1260. "mode": "time",
  1261. "name": null,
  1262. "show": true,
  1263. "values": []
  1264. },
  1265. "yaxes": [
  1266. {
  1267. "format": "hertz",
  1268. "label": null,
  1269. "logBase": 1,
  1270. "max": null,
  1271. "min": "0",
  1272. "show": true
  1273. },
  1274. {
  1275. "format": "short",
  1276. "label": null,
  1277. "logBase": 1,
  1278. "max": null,
  1279. "min": null,
  1280. "show": true
  1281. }
  1282. ],
  1283. "yaxis": {
  1284. "align": false,
  1285. "alignLevel": null
  1286. }
  1287. },
  1288. {
  1289. "aliasColors": {},
  1290. "bars": false,
  1291. "dashLength": 10,
  1292. "dashes": false,
  1293. "datasource": "$datasource",
  1294. "decimals": 1,
  1295. "fill": 1,
  1296. "gridPos": {
  1297. "h": 7,
  1298. "w": 12,
  1299. "x": 12,
  1300. "y": 54
  1301. },
  1302. "id": 45,
  1303. "legend": {
  1304. "alignAsTable": true,
  1305. "avg": false,
  1306. "current": false,
  1307. "hideEmpty": true,
  1308. "hideZero": true,
  1309. "max": false,
  1310. "min": false,
  1311. "show": true,
  1312. "total": false,
  1313. "values": false
  1314. },
  1315. "lines": true,
  1316. "linewidth": 1,
  1317. "links": [],
  1318. "nullPointMode": "null",
  1319. "percentage": false,
  1320. "pointradius": 5,
  1321. "points": false,
  1322. "renderer": "flot",
  1323. "seriesOverrides": [],
  1324. "spaceLength": 10,
  1325. "stack": false,
  1326. "steppedLine": false,
  1327. "targets": [
  1328. {
  1329. "expr": "sum(rate(synapse_storage_events_persisted_events_sep{job=~\"$job\",index=~\"$index\", type=\"m.room.member\",instance=\"$instance\"}[$bucket_size])) by (origin_type, origin_entity)",
  1330. "format": "time_series",
  1331. "intervalFactor": 2,
  1332. "legendFormat": "{{origin_entity}} ({{origin_type}})",
  1333. "refId": "A",
  1334. "step": 20
  1335. }
  1336. ],
  1337. "thresholds": [],
  1338. "timeFrom": null,
  1339. "timeShift": null,
  1340. "title": "Memberships/s by Origin",
  1341. "tooltip": {
  1342. "shared": true,
  1343. "sort": 2,
  1344. "value_type": "individual"
  1345. },
  1346. "type": "graph",
  1347. "xaxis": {
  1348. "buckets": null,
  1349. "mode": "time",
  1350. "name": null,
  1351. "show": true,
  1352. "values": []
  1353. },
  1354. "yaxes": [
  1355. {
  1356. "format": "hertz",
  1357. "label": null,
  1358. "logBase": 1,
  1359. "max": null,
  1360. "min": "0",
  1361. "show": true
  1362. },
  1363. {
  1364. "format": "short",
  1365. "label": null,
  1366. "logBase": 1,
  1367. "max": null,
  1368. "min": null,
  1369. "show": true
  1370. }
  1371. ],
  1372. "yaxis": {
  1373. "align": false,
  1374. "alignLevel": null
  1375. }
  1376. }
  1377. ],
  1378. "repeat": null,
  1379. "title": "Event persist rates",
  1380. "type": "row"
  1381. },
  1382. {
  1383. "collapsed": true,
  1384. "gridPos": {
  1385. "h": 1,
  1386. "w": 24,
  1387. "x": 0,
  1388. "y": 19
  1389. },
  1390. "id": 57,
  1391. "panels": [
  1392. {
  1393. "aliasColors": {},
  1394. "bars": false,
  1395. "dashLength": 10,
  1396. "dashes": false,
  1397. "datasource": "$datasource",
  1398. "decimals": null,
  1399. "editable": true,
  1400. "error": false,
  1401. "fill": 2,
  1402. "grid": {},
  1403. "gridPos": {
  1404. "h": 8,
  1405. "w": 12,
  1406. "x": 0,
  1407. "y": 62
  1408. },
  1409. "id": 4,
  1410. "legend": {
  1411. "alignAsTable": true,
  1412. "avg": false,
  1413. "current": false,
  1414. "hideEmpty": false,
  1415. "hideZero": true,
  1416. "max": false,
  1417. "min": false,
  1418. "rightSide": false,
  1419. "show": true,
  1420. "total": false,
  1421. "values": false
  1422. },
  1423. "lines": true,
  1424. "linewidth": 1,
  1425. "links": [],
  1426. "nullPointMode": "null",
  1427. "percentage": false,
  1428. "pointradius": 5,
  1429. "points": false,
  1430. "renderer": "flot",
  1431. "seriesOverrides": [],
  1432. "spaceLength": 10,
  1433. "stack": false,
  1434. "steppedLine": false,
  1435. "targets": [
  1436. {
  1437. "expr": "rate(synapse_http_server_requests_received{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  1438. "format": "time_series",
  1439. "interval": "",
  1440. "intervalFactor": 2,
  1441. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  1442. "refId": "A",
  1443. "step": 20
  1444. }
  1445. ],
  1446. "thresholds": [
  1447. {
  1448. "colorMode": "custom",
  1449. "fill": true,
  1450. "fillColor": "rgba(216, 200, 27, 0.27)",
  1451. "op": "gt",
  1452. "value": 100
  1453. },
  1454. {
  1455. "colorMode": "custom",
  1456. "fill": true,
  1457. "fillColor": "rgba(234, 112, 112, 0.22)",
  1458. "op": "gt",
  1459. "value": 250
  1460. }
  1461. ],
  1462. "timeFrom": null,
  1463. "timeShift": null,
  1464. "title": "Request Count by arrival time",
  1465. "tooltip": {
  1466. "shared": false,
  1467. "sort": 0,
  1468. "value_type": "individual"
  1469. },
  1470. "transparent": false,
  1471. "type": "graph",
  1472. "xaxis": {
  1473. "buckets": null,
  1474. "mode": "time",
  1475. "name": null,
  1476. "show": true,
  1477. "values": []
  1478. },
  1479. "yaxes": [
  1480. {
  1481. "format": "hertz",
  1482. "logBase": 1,
  1483. "max": null,
  1484. "min": null,
  1485. "show": true
  1486. },
  1487. {
  1488. "format": "short",
  1489. "logBase": 1,
  1490. "max": null,
  1491. "min": null,
  1492. "show": true
  1493. }
  1494. ],
  1495. "yaxis": {
  1496. "align": false,
  1497. "alignLevel": null
  1498. }
  1499. },
  1500. {
  1501. "aliasColors": {},
  1502. "bars": false,
  1503. "dashLength": 10,
  1504. "dashes": false,
  1505. "datasource": "$datasource",
  1506. "editable": true,
  1507. "error": false,
  1508. "fill": 1,
  1509. "grid": {},
  1510. "gridPos": {
  1511. "h": 8,
  1512. "w": 12,
  1513. "x": 12,
  1514. "y": 62
  1515. },
  1516. "id": 32,
  1517. "legend": {
  1518. "avg": false,
  1519. "current": false,
  1520. "max": false,
  1521. "min": false,
  1522. "show": true,
  1523. "total": false,
  1524. "values": false
  1525. },
  1526. "lines": true,
  1527. "linewidth": 2,
  1528. "links": [],
  1529. "nullPointMode": "null",
  1530. "percentage": false,
  1531. "pointradius": 5,
  1532. "points": false,
  1533. "renderer": "flot",
  1534. "seriesOverrides": [],
  1535. "spaceLength": 10,
  1536. "stack": false,
  1537. "steppedLine": false,
  1538. "targets": [
  1539. {
  1540. "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\"})",
  1541. "format": "time_series",
  1542. "intervalFactor": 2,
  1543. "legendFormat": "{{method}} {{servlet}} {{job}}-{{index}}",
  1544. "refId": "A",
  1545. "step": 20,
  1546. "target": ""
  1547. }
  1548. ],
  1549. "thresholds": [],
  1550. "timeFrom": null,
  1551. "timeShift": null,
  1552. "title": "Top 10 Request Counts",
  1553. "tooltip": {
  1554. "shared": false,
  1555. "sort": 0,
  1556. "value_type": "cumulative"
  1557. },
  1558. "type": "graph",
  1559. "xaxis": {
  1560. "buckets": null,
  1561. "mode": "time",
  1562. "name": null,
  1563. "show": true,
  1564. "values": []
  1565. },
  1566. "yaxes": [
  1567. {
  1568. "format": "hertz",
  1569. "logBase": 1,
  1570. "max": null,
  1571. "min": null,
  1572. "show": true
  1573. },
  1574. {
  1575. "format": "short",
  1576. "logBase": 1,
  1577. "max": null,
  1578. "min": null,
  1579. "show": true
  1580. }
  1581. ],
  1582. "yaxis": {
  1583. "align": false,
  1584. "alignLevel": null
  1585. }
  1586. },
  1587. {
  1588. "aliasColors": {},
  1589. "bars": false,
  1590. "dashLength": 10,
  1591. "dashes": false,
  1592. "datasource": "$datasource",
  1593. "decimals": null,
  1594. "editable": true,
  1595. "error": false,
  1596. "fill": 2,
  1597. "grid": {},
  1598. "gridPos": {
  1599. "h": 8,
  1600. "w": 12,
  1601. "x": 0,
  1602. "y": 70
  1603. },
  1604. "id": 23,
  1605. "legend": {
  1606. "alignAsTable": true,
  1607. "avg": false,
  1608. "current": false,
  1609. "hideEmpty": false,
  1610. "hideZero": true,
  1611. "max": false,
  1612. "min": false,
  1613. "rightSide": false,
  1614. "show": true,
  1615. "total": false,
  1616. "values": false
  1617. },
  1618. "lines": true,
  1619. "linewidth": 1,
  1620. "links": [],
  1621. "nullPointMode": "null",
  1622. "percentage": false,
  1623. "pointradius": 5,
  1624. "points": false,
  1625. "renderer": "flot",
  1626. "seriesOverrides": [],
  1627. "spaceLength": 10,
  1628. "stack": false,
  1629. "steppedLine": false,
  1630. "targets": [
  1631. {
  1632. "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])",
  1633. "format": "time_series",
  1634. "interval": "",
  1635. "intervalFactor": 1,
  1636. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  1637. "refId": "A",
  1638. "step": 20
  1639. }
  1640. ],
  1641. "thresholds": [
  1642. {
  1643. "colorMode": "custom",
  1644. "fill": true,
  1645. "fillColor": "rgba(216, 200, 27, 0.27)",
  1646. "op": "gt",
  1647. "value": 100,
  1648. "yaxis": "left"
  1649. },
  1650. {
  1651. "colorMode": "custom",
  1652. "fill": true,
  1653. "fillColor": "rgba(234, 112, 112, 0.22)",
  1654. "op": "gt",
  1655. "value": 250,
  1656. "yaxis": "left"
  1657. }
  1658. ],
  1659. "timeFrom": null,
  1660. "timeShift": null,
  1661. "title": "Total CPU Usage by Endpoint",
  1662. "tooltip": {
  1663. "shared": false,
  1664. "sort": 0,
  1665. "value_type": "individual"
  1666. },
  1667. "transparent": false,
  1668. "type": "graph",
  1669. "xaxis": {
  1670. "buckets": null,
  1671. "mode": "time",
  1672. "name": null,
  1673. "show": true,
  1674. "values": []
  1675. },
  1676. "yaxes": [
  1677. {
  1678. "format": "percentunit",
  1679. "logBase": 1,
  1680. "max": null,
  1681. "min": null,
  1682. "show": true
  1683. },
  1684. {
  1685. "format": "short",
  1686. "logBase": 1,
  1687. "max": null,
  1688. "min": null,
  1689. "show": true
  1690. }
  1691. ],
  1692. "yaxis": {
  1693. "align": false,
  1694. "alignLevel": null
  1695. }
  1696. },
  1697. {
  1698. "aliasColors": {},
  1699. "bars": false,
  1700. "dashLength": 10,
  1701. "dashes": false,
  1702. "datasource": "$datasource",
  1703. "decimals": null,
  1704. "editable": true,
  1705. "error": false,
  1706. "fill": 2,
  1707. "grid": {},
  1708. "gridPos": {
  1709. "h": 8,
  1710. "w": 12,
  1711. "x": 12,
  1712. "y": 70
  1713. },
  1714. "id": 52,
  1715. "legend": {
  1716. "alignAsTable": true,
  1717. "avg": false,
  1718. "current": false,
  1719. "hideEmpty": false,
  1720. "hideZero": true,
  1721. "max": false,
  1722. "min": false,
  1723. "rightSide": false,
  1724. "show": true,
  1725. "total": false,
  1726. "values": false
  1727. },
  1728. "lines": true,
  1729. "linewidth": 1,
  1730. "links": [],
  1731. "nullPointMode": "null",
  1732. "percentage": false,
  1733. "pointradius": 5,
  1734. "points": false,
  1735. "renderer": "flot",
  1736. "seriesOverrides": [],
  1737. "spaceLength": 10,
  1738. "stack": false,
  1739. "steppedLine": false,
  1740. "targets": [
  1741. {
  1742. "expr": "(rate(synapse_http_server_response_ru_utime_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_http_server_response_ru_stime_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) / rate(synapse_http_server_response_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  1743. "format": "time_series",
  1744. "interval": "",
  1745. "intervalFactor": 2,
  1746. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  1747. "refId": "A",
  1748. "step": 20
  1749. }
  1750. ],
  1751. "thresholds": [
  1752. {
  1753. "colorMode": "custom",
  1754. "fill": true,
  1755. "fillColor": "rgba(216, 200, 27, 0.27)",
  1756. "op": "gt",
  1757. "value": 100
  1758. },
  1759. {
  1760. "colorMode": "custom",
  1761. "fill": true,
  1762. "fillColor": "rgba(234, 112, 112, 0.22)",
  1763. "op": "gt",
  1764. "value": 250
  1765. }
  1766. ],
  1767. "timeFrom": null,
  1768. "timeShift": null,
  1769. "title": "Average CPU Usage by Endpoint",
  1770. "tooltip": {
  1771. "shared": false,
  1772. "sort": 0,
  1773. "value_type": "individual"
  1774. },
  1775. "transparent": false,
  1776. "type": "graph",
  1777. "xaxis": {
  1778. "buckets": null,
  1779. "mode": "time",
  1780. "name": null,
  1781. "show": true,
  1782. "values": []
  1783. },
  1784. "yaxes": [
  1785. {
  1786. "format": "s",
  1787. "logBase": 1,
  1788. "max": null,
  1789. "min": null,
  1790. "show": true
  1791. },
  1792. {
  1793. "format": "short",
  1794. "logBase": 1,
  1795. "max": null,
  1796. "min": null,
  1797. "show": true
  1798. }
  1799. ],
  1800. "yaxis": {
  1801. "align": false,
  1802. "alignLevel": null
  1803. }
  1804. },
  1805. {
  1806. "aliasColors": {},
  1807. "bars": false,
  1808. "dashLength": 10,
  1809. "dashes": false,
  1810. "datasource": "$datasource",
  1811. "editable": true,
  1812. "error": false,
  1813. "fill": 1,
  1814. "grid": {},
  1815. "gridPos": {
  1816. "h": 8,
  1817. "w": 12,
  1818. "x": 0,
  1819. "y": 78
  1820. },
  1821. "id": 7,
  1822. "legend": {
  1823. "alignAsTable": true,
  1824. "avg": false,
  1825. "current": false,
  1826. "hideEmpty": true,
  1827. "hideZero": true,
  1828. "max": false,
  1829. "min": false,
  1830. "show": true,
  1831. "total": false,
  1832. "values": false
  1833. },
  1834. "lines": true,
  1835. "linewidth": 1,
  1836. "links": [],
  1837. "nullPointMode": "null",
  1838. "percentage": false,
  1839. "pointradius": 5,
  1840. "points": false,
  1841. "renderer": "flot",
  1842. "seriesOverrides": [],
  1843. "spaceLength": 10,
  1844. "stack": false,
  1845. "steppedLine": false,
  1846. "targets": [
  1847. {
  1848. "expr": "rate(synapse_http_server_response_db_txn_duration_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  1849. "format": "time_series",
  1850. "interval": "",
  1851. "intervalFactor": 2,
  1852. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  1853. "refId": "A",
  1854. "step": 20
  1855. }
  1856. ],
  1857. "thresholds": [],
  1858. "timeFrom": null,
  1859. "timeShift": null,
  1860. "title": "DB Usage by endpoint",
  1861. "tooltip": {
  1862. "shared": false,
  1863. "sort": 0,
  1864. "value_type": "cumulative"
  1865. },
  1866. "type": "graph",
  1867. "xaxis": {
  1868. "buckets": null,
  1869. "mode": "time",
  1870. "name": null,
  1871. "show": true,
  1872. "values": []
  1873. },
  1874. "yaxes": [
  1875. {
  1876. "format": "percentunit",
  1877. "logBase": 1,
  1878. "max": null,
  1879. "min": null,
  1880. "show": true
  1881. },
  1882. {
  1883. "format": "short",
  1884. "logBase": 1,
  1885. "max": null,
  1886. "min": null,
  1887. "show": true
  1888. }
  1889. ],
  1890. "yaxis": {
  1891. "align": false,
  1892. "alignLevel": null
  1893. }
  1894. },
  1895. {
  1896. "aliasColors": {},
  1897. "bars": false,
  1898. "dashLength": 10,
  1899. "dashes": false,
  1900. "datasource": "$datasource",
  1901. "decimals": null,
  1902. "editable": true,
  1903. "error": false,
  1904. "fill": 2,
  1905. "grid": {},
  1906. "gridPos": {
  1907. "h": 8,
  1908. "w": 12,
  1909. "x": 12,
  1910. "y": 78
  1911. },
  1912. "id": 47,
  1913. "legend": {
  1914. "alignAsTable": true,
  1915. "avg": true,
  1916. "current": false,
  1917. "hideEmpty": false,
  1918. "hideZero": true,
  1919. "max": true,
  1920. "min": false,
  1921. "rightSide": false,
  1922. "show": true,
  1923. "total": false,
  1924. "values": true
  1925. },
  1926. "lines": true,
  1927. "linewidth": 1,
  1928. "links": [],
  1929. "nullPointMode": "null",
  1930. "percentage": false,
  1931. "pointradius": 5,
  1932. "points": false,
  1933. "renderer": "flot",
  1934. "seriesOverrides": [],
  1935. "spaceLength": 10,
  1936. "stack": false,
  1937. "steppedLine": false,
  1938. "targets": [
  1939. {
  1940. "expr": "rate(synapse_http_server_response_time_seconds_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\",tag!=\"incremental_sync\"}[$bucket_size])/rate(synapse_http_server_response_time_seconds_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\",tag!=\"incremental_sync\"}[$bucket_size])",
  1941. "format": "time_series",
  1942. "interval": "",
  1943. "intervalFactor": 2,
  1944. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}",
  1945. "refId": "A",
  1946. "step": 20
  1947. }
  1948. ],
  1949. "thresholds": [],
  1950. "timeFrom": null,
  1951. "timeShift": null,
  1952. "title": "Non-sync avg response time",
  1953. "tooltip": {
  1954. "shared": false,
  1955. "sort": 0,
  1956. "value_type": "individual"
  1957. },
  1958. "transparent": false,
  1959. "type": "graph",
  1960. "xaxis": {
  1961. "buckets": null,
  1962. "mode": "time",
  1963. "name": null,
  1964. "show": true,
  1965. "values": []
  1966. },
  1967. "yaxes": [
  1968. {
  1969. "format": "s",
  1970. "logBase": 1,
  1971. "max": null,
  1972. "min": null,
  1973. "show": true
  1974. },
  1975. {
  1976. "format": "short",
  1977. "logBase": 1,
  1978. "max": null,
  1979. "min": null,
  1980. "show": false
  1981. }
  1982. ],
  1983. "yaxis": {
  1984. "align": false,
  1985. "alignLevel": null
  1986. }
  1987. },
  1988. {
  1989. "aliasColors": {},
  1990. "bars": false,
  1991. "dashLength": 10,
  1992. "dashes": false,
  1993. "datasource": "$datasource",
  1994. "fill": 1,
  1995. "gridPos": {
  1996. "h": 9,
  1997. "w": 12,
  1998. "x": 0,
  1999. "y": 86
  2000. },
  2001. "id": 103,
  2002. "legend": {
  2003. "avg": false,
  2004. "current": false,
  2005. "max": false,
  2006. "min": false,
  2007. "show": true,
  2008. "total": false,
  2009. "values": false
  2010. },
  2011. "lines": true,
  2012. "linewidth": 1,
  2013. "links": [],
  2014. "nullPointMode": "null",
  2015. "percentage": false,
  2016. "pointradius": 5,
  2017. "points": false,
  2018. "renderer": "flot",
  2019. "seriesOverrides": [],
  2020. "spaceLength": 10,
  2021. "stack": false,
  2022. "steppedLine": false,
  2023. "targets": [
  2024. {
  2025. "expr": "topk(10,synapse_http_server_in_flight_requests_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})",
  2026. "format": "time_series",
  2027. "interval": "",
  2028. "intervalFactor": 1,
  2029. "legendFormat": "{{job}}-{{index}} {{method}} {{servlet}}",
  2030. "refId": "A"
  2031. }
  2032. ],
  2033. "thresholds": [],
  2034. "timeFrom": null,
  2035. "timeShift": null,
  2036. "title": "Requests in flight",
  2037. "tooltip": {
  2038. "shared": false,
  2039. "sort": 0,
  2040. "value_type": "individual"
  2041. },
  2042. "type": "graph",
  2043. "xaxis": {
  2044. "buckets": null,
  2045. "mode": "time",
  2046. "name": null,
  2047. "show": true,
  2048. "values": []
  2049. },
  2050. "yaxes": [
  2051. {
  2052. "format": "short",
  2053. "label": null,
  2054. "logBase": 1,
  2055. "max": null,
  2056. "min": null,
  2057. "show": true
  2058. },
  2059. {
  2060. "format": "short",
  2061. "label": null,
  2062. "logBase": 1,
  2063. "max": null,
  2064. "min": null,
  2065. "show": true
  2066. }
  2067. ],
  2068. "yaxis": {
  2069. "align": false,
  2070. "alignLevel": null
  2071. }
  2072. }
  2073. ],
  2074. "repeat": null,
  2075. "title": "Requests",
  2076. "type": "row"
  2077. },
  2078. {
  2079. "collapsed": true,
  2080. "gridPos": {
  2081. "h": 1,
  2082. "w": 24,
  2083. "x": 0,
  2084. "y": 20
  2085. },
  2086. "id": 97,
  2087. "panels": [
  2088. {
  2089. "aliasColors": {},
  2090. "bars": false,
  2091. "dashLength": 10,
  2092. "dashes": false,
  2093. "datasource": "$datasource",
  2094. "fill": 1,
  2095. "gridPos": {
  2096. "h": 9,
  2097. "w": 12,
  2098. "x": 0,
  2099. "y": 49
  2100. },
  2101. "id": 99,
  2102. "legend": {
  2103. "avg": false,
  2104. "current": false,
  2105. "max": false,
  2106. "min": false,
  2107. "show": true,
  2108. "total": false,
  2109. "values": false
  2110. },
  2111. "lines": true,
  2112. "linewidth": 1,
  2113. "links": [],
  2114. "nullPointMode": "null",
  2115. "percentage": false,
  2116. "pointradius": 5,
  2117. "points": false,
  2118. "renderer": "flot",
  2119. "seriesOverrides": [],
  2120. "spaceLength": 10,
  2121. "stack": false,
  2122. "steppedLine": false,
  2123. "targets": [
  2124. {
  2125. "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])",
  2126. "format": "time_series",
  2127. "interval": "",
  2128. "intervalFactor": 1,
  2129. "legendFormat": "{{job}}-{{index}} {{name}}",
  2130. "refId": "A"
  2131. }
  2132. ],
  2133. "thresholds": [],
  2134. "timeFrom": null,
  2135. "timeShift": null,
  2136. "title": "CPU usage by background jobs",
  2137. "tooltip": {
  2138. "shared": true,
  2139. "sort": 0,
  2140. "value_type": "individual"
  2141. },
  2142. "type": "graph",
  2143. "xaxis": {
  2144. "buckets": null,
  2145. "mode": "time",
  2146. "name": null,
  2147. "show": true,
  2148. "values": []
  2149. },
  2150. "yaxes": [
  2151. {
  2152. "format": "percentunit",
  2153. "label": null,
  2154. "logBase": 1,
  2155. "max": null,
  2156. "min": null,
  2157. "show": true
  2158. },
  2159. {
  2160. "format": "short",
  2161. "label": null,
  2162. "logBase": 1,
  2163. "max": null,
  2164. "min": null,
  2165. "show": true
  2166. }
  2167. ],
  2168. "yaxis": {
  2169. "align": false,
  2170. "alignLevel": null
  2171. }
  2172. },
  2173. {
  2174. "aliasColors": {},
  2175. "bars": false,
  2176. "dashLength": 10,
  2177. "dashes": false,
  2178. "datasource": "$datasource",
  2179. "fill": 1,
  2180. "gridPos": {
  2181. "h": 9,
  2182. "w": 12,
  2183. "x": 12,
  2184. "y": 49
  2185. },
  2186. "id": 101,
  2187. "legend": {
  2188. "avg": false,
  2189. "current": false,
  2190. "max": false,
  2191. "min": false,
  2192. "show": true,
  2193. "total": false,
  2194. "values": false
  2195. },
  2196. "lines": true,
  2197. "linewidth": 1,
  2198. "links": [],
  2199. "nullPointMode": "null",
  2200. "percentage": false,
  2201. "pointradius": 5,
  2202. "points": false,
  2203. "renderer": "flot",
  2204. "seriesOverrides": [],
  2205. "spaceLength": 10,
  2206. "stack": false,
  2207. "steppedLine": false,
  2208. "targets": [
  2209. {
  2210. "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])",
  2211. "format": "time_series",
  2212. "hide": false,
  2213. "intervalFactor": 1,
  2214. "legendFormat": "{{job}}-{{index}} {{name}}",
  2215. "refId": "A"
  2216. },
  2217. {
  2218. "expr": "",
  2219. "format": "time_series",
  2220. "intervalFactor": 1,
  2221. "refId": "B"
  2222. }
  2223. ],
  2224. "thresholds": [],
  2225. "timeFrom": null,
  2226. "timeShift": null,
  2227. "title": "DB usage by background jobs (including scheduling time)",
  2228. "tooltip": {
  2229. "shared": true,
  2230. "sort": 0,
  2231. "value_type": "individual"
  2232. },
  2233. "type": "graph",
  2234. "xaxis": {
  2235. "buckets": null,
  2236. "mode": "time",
  2237. "name": null,
  2238. "show": true,
  2239. "values": []
  2240. },
  2241. "yaxes": [
  2242. {
  2243. "format": "percentunit",
  2244. "label": null,
  2245. "logBase": 1,
  2246. "max": null,
  2247. "min": null,
  2248. "show": true
  2249. },
  2250. {
  2251. "format": "short",
  2252. "label": null,
  2253. "logBase": 1,
  2254. "max": null,
  2255. "min": null,
  2256. "show": true
  2257. }
  2258. ],
  2259. "yaxis": {
  2260. "align": false,
  2261. "alignLevel": null
  2262. }
  2263. }
  2264. ],
  2265. "title": "Background jobs",
  2266. "type": "row"
  2267. },
  2268. {
  2269. "collapsed": true,
  2270. "gridPos": {
  2271. "h": 1,
  2272. "w": 24,
  2273. "x": 0,
  2274. "y": 21
  2275. },
  2276. "id": 81,
  2277. "panels": [
  2278. {
  2279. "aliasColors": {},
  2280. "bars": false,
  2281. "dashLength": 10,
  2282. "dashes": false,
  2283. "datasource": "$datasource",
  2284. "fill": 1,
  2285. "gridPos": {
  2286. "h": 9,
  2287. "w": 12,
  2288. "x": 0,
  2289. "y": 64
  2290. },
  2291. "id": 79,
  2292. "legend": {
  2293. "avg": false,
  2294. "current": false,
  2295. "max": false,
  2296. "min": false,
  2297. "show": true,
  2298. "total": false,
  2299. "values": false
  2300. },
  2301. "lines": true,
  2302. "linewidth": 1,
  2303. "links": [],
  2304. "nullPointMode": "null",
  2305. "percentage": false,
  2306. "pointradius": 5,
  2307. "points": false,
  2308. "renderer": "flot",
  2309. "seriesOverrides": [],
  2310. "spaceLength": 10,
  2311. "stack": false,
  2312. "steppedLine": false,
  2313. "targets": [
  2314. {
  2315. "expr": "rate(synapse_federation_client_sent_transactions{instance=\"$instance\", job=~\"$job\", index=~\"$index\"}[$bucket_size])",
  2316. "format": "time_series",
  2317. "intervalFactor": 1,
  2318. "legendFormat": "txn rate",
  2319. "refId": "A"
  2320. }
  2321. ],
  2322. "thresholds": [],
  2323. "timeFrom": null,
  2324. "timeShift": null,
  2325. "title": "Outgoing federation transaction rate",
  2326. "tooltip": {
  2327. "shared": true,
  2328. "sort": 0,
  2329. "value_type": "individual"
  2330. },
  2331. "type": "graph",
  2332. "xaxis": {
  2333. "buckets": null,
  2334. "mode": "time",
  2335. "name": null,
  2336. "show": true,
  2337. "values": []
  2338. },
  2339. "yaxes": [
  2340. {
  2341. "format": "hertz",
  2342. "label": null,
  2343. "logBase": 1,
  2344. "max": null,
  2345. "min": null,
  2346. "show": true
  2347. },
  2348. {
  2349. "format": "short",
  2350. "label": null,
  2351. "logBase": 1,
  2352. "max": null,
  2353. "min": null,
  2354. "show": true
  2355. }
  2356. ],
  2357. "yaxis": {
  2358. "align": false,
  2359. "alignLevel": null
  2360. }
  2361. },
  2362. {
  2363. "aliasColors": {},
  2364. "bars": false,
  2365. "dashLength": 10,
  2366. "dashes": false,
  2367. "datasource": "$datasource",
  2368. "fill": 1,
  2369. "gridPos": {
  2370. "h": 9,
  2371. "w": 12,
  2372. "x": 12,
  2373. "y": 64
  2374. },
  2375. "id": 83,
  2376. "legend": {
  2377. "avg": false,
  2378. "current": false,
  2379. "max": false,
  2380. "min": false,
  2381. "show": true,
  2382. "total": false,
  2383. "values": false
  2384. },
  2385. "lines": true,
  2386. "linewidth": 1,
  2387. "links": [],
  2388. "nullPointMode": "null",
  2389. "percentage": false,
  2390. "pointradius": 5,
  2391. "points": false,
  2392. "renderer": "flot",
  2393. "seriesOverrides": [],
  2394. "spaceLength": 10,
  2395. "stack": false,
  2396. "steppedLine": false,
  2397. "targets": [
  2398. {
  2399. "expr": "rate(synapse_federation_server_received_pdus{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  2400. "format": "time_series",
  2401. "intervalFactor": 1,
  2402. "legendFormat": "pdus",
  2403. "refId": "A"
  2404. },
  2405. {
  2406. "expr": "rate(synapse_federation_server_received_edus{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  2407. "format": "time_series",
  2408. "intervalFactor": 1,
  2409. "legendFormat": "edus",
  2410. "refId": "B"
  2411. }
  2412. ],
  2413. "thresholds": [],
  2414. "timeFrom": null,
  2415. "timeShift": null,
  2416. "title": "Incoming PDU/EDU rate",
  2417. "tooltip": {
  2418. "shared": true,
  2419. "sort": 0,
  2420. "value_type": "individual"
  2421. },
  2422. "type": "graph",
  2423. "xaxis": {
  2424. "buckets": null,
  2425. "mode": "time",
  2426. "name": null,
  2427. "show": true,
  2428. "values": []
  2429. },
  2430. "yaxes": [
  2431. {
  2432. "format": "hertz",
  2433. "label": null,
  2434. "logBase": 1,
  2435. "max": null,
  2436. "min": null,
  2437. "show": true
  2438. },
  2439. {
  2440. "format": "short",
  2441. "label": null,
  2442. "logBase": 1,
  2443. "max": null,
  2444. "min": null,
  2445. "show": true
  2446. }
  2447. ],
  2448. "yaxis": {
  2449. "align": false,
  2450. "alignLevel": null
  2451. }
  2452. }
  2453. ],
  2454. "title": "Federation",
  2455. "type": "row"
  2456. },
  2457. {
  2458. "collapsed": true,
  2459. "gridPos": {
  2460. "h": 1,
  2461. "w": 24,
  2462. "x": 0,
  2463. "y": 22
  2464. },
  2465. "id": 60,
  2466. "panels": [
  2467. {
  2468. "aliasColors": {},
  2469. "bars": false,
  2470. "dashLength": 10,
  2471. "dashes": false,
  2472. "datasource": "$datasource",
  2473. "fill": 1,
  2474. "gridPos": {
  2475. "h": 7,
  2476. "w": 12,
  2477. "x": 0,
  2478. "y": 65
  2479. },
  2480. "id": 51,
  2481. "legend": {
  2482. "avg": false,
  2483. "current": false,
  2484. "max": false,
  2485. "min": false,
  2486. "show": true,
  2487. "total": false,
  2488. "values": false
  2489. },
  2490. "lines": true,
  2491. "linewidth": 1,
  2492. "links": [],
  2493. "nullPointMode": "null",
  2494. "percentage": false,
  2495. "pointradius": 5,
  2496. "points": false,
  2497. "renderer": "flot",
  2498. "seriesOverrides": [],
  2499. "spaceLength": 10,
  2500. "stack": false,
  2501. "steppedLine": false,
  2502. "targets": [
  2503. {
  2504. "expr": "rate(synapse_push_httppusher_http_pushes_processed{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  2505. "format": "time_series",
  2506. "interval": "",
  2507. "intervalFactor": 2,
  2508. "legendFormat": "processed {{job}}",
  2509. "refId": "A",
  2510. "step": 20
  2511. },
  2512. {
  2513. "expr": "rate(synapse_push_httppusher_http_pushes_failed{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  2514. "format": "time_series",
  2515. "intervalFactor": 2,
  2516. "legendFormat": "failed {{job}}",
  2517. "refId": "B",
  2518. "step": 20
  2519. }
  2520. ],
  2521. "thresholds": [],
  2522. "timeFrom": null,
  2523. "timeShift": null,
  2524. "title": "HTTP Push rate",
  2525. "tooltip": {
  2526. "shared": true,
  2527. "sort": 0,
  2528. "value_type": "individual"
  2529. },
  2530. "type": "graph",
  2531. "xaxis": {
  2532. "buckets": null,
  2533. "mode": "time",
  2534. "name": null,
  2535. "show": true,
  2536. "values": []
  2537. },
  2538. "yaxes": [
  2539. {
  2540. "format": "hertz",
  2541. "label": null,
  2542. "logBase": 1,
  2543. "max": null,
  2544. "min": null,
  2545. "show": true
  2546. },
  2547. {
  2548. "format": "short",
  2549. "label": null,
  2550. "logBase": 1,
  2551. "max": null,
  2552. "min": null,
  2553. "show": true
  2554. }
  2555. ],
  2556. "yaxis": {
  2557. "align": false,
  2558. "alignLevel": null
  2559. }
  2560. }
  2561. ],
  2562. "repeat": null,
  2563. "title": "Pushes",
  2564. "type": "row"
  2565. },
  2566. {
  2567. "collapsed": true,
  2568. "gridPos": {
  2569. "h": 1,
  2570. "w": 24,
  2571. "x": 0,
  2572. "y": 23
  2573. },
  2574. "id": 58,
  2575. "panels": [
  2576. {
  2577. "aliasColors": {},
  2578. "bars": false,
  2579. "dashLength": 10,
  2580. "dashes": false,
  2581. "datasource": "$datasource",
  2582. "fill": 1,
  2583. "gridPos": {
  2584. "h": 7,
  2585. "w": 12,
  2586. "x": 0,
  2587. "y": 24
  2588. },
  2589. "id": 48,
  2590. "legend": {
  2591. "avg": false,
  2592. "current": false,
  2593. "max": false,
  2594. "min": false,
  2595. "show": true,
  2596. "total": false,
  2597. "values": false
  2598. },
  2599. "lines": true,
  2600. "linewidth": 1,
  2601. "links": [],
  2602. "nullPointMode": "null",
  2603. "percentage": false,
  2604. "pointradius": 5,
  2605. "points": false,
  2606. "renderer": "flot",
  2607. "seriesOverrides": [],
  2608. "spaceLength": 10,
  2609. "stack": false,
  2610. "steppedLine": false,
  2611. "targets": [
  2612. {
  2613. "expr": "rate(synapse_storage_schedule_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(synapse_storage_schedule_time_count[$bucket_size])",
  2614. "format": "time_series",
  2615. "intervalFactor": 2,
  2616. "legendFormat": "{{job}}-{{index}}",
  2617. "refId": "A",
  2618. "step": 20
  2619. }
  2620. ],
  2621. "thresholds": [],
  2622. "timeFrom": null,
  2623. "timeShift": null,
  2624. "title": "Avg time waiting for db conn",
  2625. "tooltip": {
  2626. "shared": true,
  2627. "sort": 0,
  2628. "value_type": "individual"
  2629. },
  2630. "type": "graph",
  2631. "xaxis": {
  2632. "buckets": null,
  2633. "mode": "time",
  2634. "name": null,
  2635. "show": true,
  2636. "values": []
  2637. },
  2638. "yaxes": [
  2639. {
  2640. "decimals": null,
  2641. "format": "s",
  2642. "label": "",
  2643. "logBase": 1,
  2644. "max": null,
  2645. "min": "0",
  2646. "show": true
  2647. },
  2648. {
  2649. "format": "short",
  2650. "label": null,
  2651. "logBase": 1,
  2652. "max": null,
  2653. "min": null,
  2654. "show": false
  2655. }
  2656. ],
  2657. "yaxis": {
  2658. "align": false,
  2659. "alignLevel": null
  2660. }
  2661. },
  2662. {
  2663. "aliasColors": {},
  2664. "bars": false,
  2665. "dashLength": 10,
  2666. "dashes": false,
  2667. "datasource": "$datasource",
  2668. "description": "Shows the time in which the given percentage of database queries were scheduled, over the sampled timespan",
  2669. "fill": 1,
  2670. "gridPos": {
  2671. "h": 7,
  2672. "w": 12,
  2673. "x": 12,
  2674. "y": 24
  2675. },
  2676. "id": 104,
  2677. "legend": {
  2678. "avg": false,
  2679. "current": false,
  2680. "max": false,
  2681. "min": false,
  2682. "show": true,
  2683. "total": false,
  2684. "values": false
  2685. },
  2686. "lines": true,
  2687. "linewidth": 1,
  2688. "links": [],
  2689. "nullPointMode": "null",
  2690. "percentage": false,
  2691. "pointradius": 5,
  2692. "points": false,
  2693. "renderer": "flot",
  2694. "seriesOverrides": [],
  2695. "spaceLength": 10,
  2696. "stack": false,
  2697. "steppedLine": false,
  2698. "targets": [
  2699. {
  2700. "expr": "histogram_quantile(0.99, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  2701. "format": "time_series",
  2702. "hide": false,
  2703. "intervalFactor": 1,
  2704. "legendFormat": "{{job}} {{index}} 99%",
  2705. "refId": "A",
  2706. "step": 20
  2707. },
  2708. {
  2709. "expr": "histogram_quantile(0.95, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  2710. "format": "time_series",
  2711. "intervalFactor": 1,
  2712. "legendFormat": "{{job}} {{index}} 95%",
  2713. "refId": "B"
  2714. },
  2715. {
  2716. "expr": "histogram_quantile(0.90, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  2717. "format": "time_series",
  2718. "intervalFactor": 1,
  2719. "legendFormat": "{{job}} {{index}} 90%",
  2720. "refId": "C"
  2721. }
  2722. ],
  2723. "thresholds": [],
  2724. "timeFrom": null,
  2725. "timeShift": null,
  2726. "title": "Db scheduling time quantiles",
  2727. "tooltip": {
  2728. "shared": true,
  2729. "sort": 0,
  2730. "value_type": "individual"
  2731. },
  2732. "type": "graph",
  2733. "xaxis": {
  2734. "buckets": null,
  2735. "mode": "time",
  2736. "name": null,
  2737. "show": true,
  2738. "values": []
  2739. },
  2740. "yaxes": [
  2741. {
  2742. "decimals": null,
  2743. "format": "s",
  2744. "label": "",
  2745. "logBase": 1,
  2746. "max": null,
  2747. "min": "0",
  2748. "show": true
  2749. },
  2750. {
  2751. "format": "short",
  2752. "label": null,
  2753. "logBase": 1,
  2754. "max": null,
  2755. "min": null,
  2756. "show": false
  2757. }
  2758. ],
  2759. "yaxis": {
  2760. "align": false,
  2761. "alignLevel": null
  2762. }
  2763. },
  2764. {
  2765. "aliasColors": {},
  2766. "bars": false,
  2767. "dashLength": 10,
  2768. "dashes": false,
  2769. "datasource": "$datasource",
  2770. "editable": true,
  2771. "error": false,
  2772. "fill": 0,
  2773. "grid": {},
  2774. "gridPos": {
  2775. "h": 7,
  2776. "w": 12,
  2777. "x": 0,
  2778. "y": 31
  2779. },
  2780. "id": 10,
  2781. "legend": {
  2782. "avg": false,
  2783. "current": false,
  2784. "hideEmpty": true,
  2785. "hideZero": true,
  2786. "max": false,
  2787. "min": false,
  2788. "show": true,
  2789. "total": false,
  2790. "values": false
  2791. },
  2792. "lines": true,
  2793. "linewidth": 2,
  2794. "links": [],
  2795. "nullPointMode": "null",
  2796. "percentage": false,
  2797. "pointradius": 5,
  2798. "points": false,
  2799. "renderer": "flot",
  2800. "seriesOverrides": [],
  2801. "spaceLength": 10,
  2802. "stack": false,
  2803. "steppedLine": false,
  2804. "targets": [
  2805. {
  2806. "expr": "topk(10, rate(synapse_storage_transaction_time_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))",
  2807. "format": "time_series",
  2808. "interval": "",
  2809. "intervalFactor": 2,
  2810. "legendFormat": "{{job}}-{{index}} {{desc}}",
  2811. "refId": "A",
  2812. "step": 20
  2813. }
  2814. ],
  2815. "thresholds": [],
  2816. "timeFrom": null,
  2817. "timeShift": null,
  2818. "title": "Top DB transactions by txn rate",
  2819. "tooltip": {
  2820. "shared": false,
  2821. "sort": 0,
  2822. "value_type": "cumulative"
  2823. },
  2824. "type": "graph",
  2825. "xaxis": {
  2826. "buckets": null,
  2827. "mode": "time",
  2828. "name": null,
  2829. "show": true,
  2830. "values": []
  2831. },
  2832. "yaxes": [
  2833. {
  2834. "format": "hertz",
  2835. "logBase": 1,
  2836. "max": null,
  2837. "min": 0,
  2838. "show": true
  2839. },
  2840. {
  2841. "format": "short",
  2842. "logBase": 1,
  2843. "max": null,
  2844. "min": null,
  2845. "show": true
  2846. }
  2847. ],
  2848. "yaxis": {
  2849. "align": false,
  2850. "alignLevel": null
  2851. }
  2852. },
  2853. {
  2854. "aliasColors": {},
  2855. "bars": false,
  2856. "dashLength": 10,
  2857. "dashes": false,
  2858. "datasource": "$datasource",
  2859. "editable": true,
  2860. "error": false,
  2861. "fill": 1,
  2862. "grid": {},
  2863. "gridPos": {
  2864. "h": 7,
  2865. "w": 12,
  2866. "x": 12,
  2867. "y": 31
  2868. },
  2869. "id": 11,
  2870. "legend": {
  2871. "avg": false,
  2872. "current": false,
  2873. "hideEmpty": true,
  2874. "hideZero": true,
  2875. "max": false,
  2876. "min": false,
  2877. "show": true,
  2878. "total": false,
  2879. "values": false
  2880. },
  2881. "lines": true,
  2882. "linewidth": 1,
  2883. "links": [],
  2884. "nullPointMode": "null",
  2885. "percentage": false,
  2886. "pointradius": 5,
  2887. "points": false,
  2888. "renderer": "flot",
  2889. "seriesOverrides": [],
  2890. "spaceLength": 10,
  2891. "stack": true,
  2892. "steppedLine": true,
  2893. "targets": [
  2894. {
  2895. "expr": "rate(synapse_storage_transaction_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  2896. "format": "time_series",
  2897. "instant": false,
  2898. "interval": "",
  2899. "intervalFactor": 1,
  2900. "legendFormat": "{{job}}-{{index}} {{desc}}",
  2901. "refId": "A",
  2902. "step": 20
  2903. }
  2904. ],
  2905. "thresholds": [],
  2906. "timeFrom": null,
  2907. "timeShift": null,
  2908. "title": "Top DB transactions by total txn time",
  2909. "tooltip": {
  2910. "shared": false,
  2911. "sort": 0,
  2912. "value_type": "cumulative"
  2913. },
  2914. "type": "graph",
  2915. "xaxis": {
  2916. "buckets": null,
  2917. "mode": "time",
  2918. "name": null,
  2919. "show": true,
  2920. "values": []
  2921. },
  2922. "yaxes": [
  2923. {
  2924. "format": "percentunit",
  2925. "logBase": 1,
  2926. "max": null,
  2927. "min": null,
  2928. "show": true
  2929. },
  2930. {
  2931. "format": "short",
  2932. "logBase": 1,
  2933. "max": null,
  2934. "min": null,
  2935. "show": true
  2936. }
  2937. ],
  2938. "yaxis": {
  2939. "align": false,
  2940. "alignLevel": null
  2941. }
  2942. }
  2943. ],
  2944. "repeat": null,
  2945. "title": "Database",
  2946. "type": "row"
  2947. },
  2948. {
  2949. "collapsed": true,
  2950. "gridPos": {
  2951. "h": 1,
  2952. "w": 24,
  2953. "x": 0,
  2954. "y": 24
  2955. },
  2956. "id": 59,
  2957. "panels": [
  2958. {
  2959. "aliasColors": {},
  2960. "bars": false,
  2961. "dashLength": 10,
  2962. "dashes": false,
  2963. "datasource": "$datasource",
  2964. "editable": true,
  2965. "error": false,
  2966. "fill": 1,
  2967. "grid": {},
  2968. "gridPos": {
  2969. "h": 13,
  2970. "w": 12,
  2971. "x": 0,
  2972. "y": 60
  2973. },
  2974. "id": 12,
  2975. "legend": {
  2976. "alignAsTable": true,
  2977. "avg": false,
  2978. "current": false,
  2979. "max": false,
  2980. "min": false,
  2981. "show": true,
  2982. "total": false,
  2983. "values": false
  2984. },
  2985. "lines": true,
  2986. "linewidth": 2,
  2987. "links": [],
  2988. "nullPointMode": "null",
  2989. "percentage": false,
  2990. "pointradius": 5,
  2991. "points": false,
  2992. "renderer": "flot",
  2993. "seriesOverrides": [],
  2994. "spaceLength": 10,
  2995. "stack": false,
  2996. "steppedLine": false,
  2997. "targets": [
  2998. {
  2999. "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])",
  3000. "format": "time_series",
  3001. "interval": "",
  3002. "intervalFactor": 2,
  3003. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  3004. "refId": "A",
  3005. "step": 20
  3006. }
  3007. ],
  3008. "thresholds": [],
  3009. "timeFrom": null,
  3010. "timeShift": null,
  3011. "title": "Total CPU Usage by Block",
  3012. "tooltip": {
  3013. "shared": false,
  3014. "sort": 0,
  3015. "value_type": "cumulative"
  3016. },
  3017. "type": "graph",
  3018. "xaxis": {
  3019. "buckets": null,
  3020. "mode": "time",
  3021. "name": null,
  3022. "show": true,
  3023. "values": []
  3024. },
  3025. "yaxes": [
  3026. {
  3027. "format": "percentunit",
  3028. "logBase": 1,
  3029. "max": null,
  3030. "min": null,
  3031. "show": true
  3032. },
  3033. {
  3034. "format": "short",
  3035. "logBase": 1,
  3036. "max": null,
  3037. "min": null,
  3038. "show": true
  3039. }
  3040. ],
  3041. "yaxis": {
  3042. "align": false,
  3043. "alignLevel": null
  3044. }
  3045. },
  3046. {
  3047. "aliasColors": {},
  3048. "bars": false,
  3049. "dashLength": 10,
  3050. "dashes": false,
  3051. "datasource": "$datasource",
  3052. "editable": true,
  3053. "error": false,
  3054. "fill": 1,
  3055. "grid": {},
  3056. "gridPos": {
  3057. "h": 13,
  3058. "w": 12,
  3059. "x": 12,
  3060. "y": 60
  3061. },
  3062. "id": 26,
  3063. "legend": {
  3064. "alignAsTable": true,
  3065. "avg": false,
  3066. "current": false,
  3067. "max": false,
  3068. "min": false,
  3069. "show": true,
  3070. "total": false,
  3071. "values": false
  3072. },
  3073. "lines": true,
  3074. "linewidth": 2,
  3075. "links": [],
  3076. "nullPointMode": "null",
  3077. "percentage": false,
  3078. "pointradius": 5,
  3079. "points": false,
  3080. "renderer": "flot",
  3081. "seriesOverrides": [],
  3082. "spaceLength": 10,
  3083. "stack": false,
  3084. "steppedLine": false,
  3085. "targets": [
  3086. {
  3087. "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])",
  3088. "format": "time_series",
  3089. "interval": "",
  3090. "intervalFactor": 2,
  3091. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  3092. "refId": "A",
  3093. "step": 20
  3094. }
  3095. ],
  3096. "thresholds": [],
  3097. "timeFrom": null,
  3098. "timeShift": null,
  3099. "title": "Average CPU Time per Block",
  3100. "tooltip": {
  3101. "shared": false,
  3102. "sort": 0,
  3103. "value_type": "cumulative"
  3104. },
  3105. "type": "graph",
  3106. "xaxis": {
  3107. "buckets": null,
  3108. "mode": "time",
  3109. "name": null,
  3110. "show": true,
  3111. "values": []
  3112. },
  3113. "yaxes": [
  3114. {
  3115. "format": "ms",
  3116. "logBase": 1,
  3117. "max": null,
  3118. "min": null,
  3119. "show": true
  3120. },
  3121. {
  3122. "format": "short",
  3123. "logBase": 1,
  3124. "max": null,
  3125. "min": null,
  3126. "show": true
  3127. }
  3128. ],
  3129. "yaxis": {
  3130. "align": false,
  3131. "alignLevel": null
  3132. }
  3133. },
  3134. {
  3135. "aliasColors": {},
  3136. "bars": false,
  3137. "dashLength": 10,
  3138. "dashes": false,
  3139. "datasource": "$datasource",
  3140. "editable": true,
  3141. "error": false,
  3142. "fill": 1,
  3143. "grid": {},
  3144. "gridPos": {
  3145. "h": 13,
  3146. "w": 12,
  3147. "x": 0,
  3148. "y": 73
  3149. },
  3150. "id": 13,
  3151. "legend": {
  3152. "alignAsTable": true,
  3153. "avg": false,
  3154. "current": false,
  3155. "max": false,
  3156. "min": false,
  3157. "show": true,
  3158. "total": false,
  3159. "values": false
  3160. },
  3161. "lines": true,
  3162. "linewidth": 2,
  3163. "links": [],
  3164. "nullPointMode": "null",
  3165. "percentage": false,
  3166. "pointradius": 5,
  3167. "points": false,
  3168. "renderer": "flot",
  3169. "seriesOverrides": [],
  3170. "spaceLength": 10,
  3171. "stack": false,
  3172. "steppedLine": false,
  3173. "targets": [
  3174. {
  3175. "expr": "rate(synapse_util_metrics_block_db_txn_duration_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\",block_name!=\"wrapped_request_handler\"}[$bucket_size])",
  3176. "format": "time_series",
  3177. "interval": "",
  3178. "intervalFactor": 2,
  3179. "legendFormat": "{{job}} {{block_name}}",
  3180. "refId": "A",
  3181. "step": 20
  3182. }
  3183. ],
  3184. "thresholds": [],
  3185. "timeFrom": null,
  3186. "timeShift": null,
  3187. "title": "Total DB Usage by Block",
  3188. "tooltip": {
  3189. "shared": false,
  3190. "sort": 0,
  3191. "value_type": "cumulative"
  3192. },
  3193. "type": "graph",
  3194. "xaxis": {
  3195. "buckets": null,
  3196. "mode": "time",
  3197. "name": null,
  3198. "show": true,
  3199. "values": []
  3200. },
  3201. "yaxes": [
  3202. {
  3203. "format": "percentunit",
  3204. "logBase": 1,
  3205. "max": null,
  3206. "min": 0,
  3207. "show": true
  3208. },
  3209. {
  3210. "format": "short",
  3211. "logBase": 1,
  3212. "max": null,
  3213. "min": null,
  3214. "show": true
  3215. }
  3216. ],
  3217. "yaxis": {
  3218. "align": false,
  3219. "alignLevel": null
  3220. }
  3221. },
  3222. {
  3223. "aliasColors": {},
  3224. "bars": false,
  3225. "dashLength": 10,
  3226. "dashes": false,
  3227. "datasource": "$datasource",
  3228. "editable": true,
  3229. "error": false,
  3230. "fill": 1,
  3231. "grid": {},
  3232. "gridPos": {
  3233. "h": 13,
  3234. "w": 12,
  3235. "x": 12,
  3236. "y": 73
  3237. },
  3238. "id": 27,
  3239. "legend": {
  3240. "alignAsTable": true,
  3241. "avg": false,
  3242. "current": false,
  3243. "max": false,
  3244. "min": false,
  3245. "show": true,
  3246. "total": false,
  3247. "values": false
  3248. },
  3249. "lines": true,
  3250. "linewidth": 2,
  3251. "links": [],
  3252. "nullPointMode": "null",
  3253. "percentage": false,
  3254. "pointradius": 5,
  3255. "points": false,
  3256. "renderer": "flot",
  3257. "seriesOverrides": [],
  3258. "spaceLength": 10,
  3259. "stack": false,
  3260. "steppedLine": false,
  3261. "targets": [
  3262. {
  3263. "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])",
  3264. "format": "time_series",
  3265. "interval": "",
  3266. "intervalFactor": 2,
  3267. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  3268. "refId": "A",
  3269. "step": 20
  3270. }
  3271. ],
  3272. "thresholds": [],
  3273. "timeFrom": null,
  3274. "timeShift": null,
  3275. "title": "Average Database Time per Block",
  3276. "tooltip": {
  3277. "shared": false,
  3278. "sort": 0,
  3279. "value_type": "cumulative"
  3280. },
  3281. "type": "graph",
  3282. "xaxis": {
  3283. "buckets": null,
  3284. "mode": "time",
  3285. "name": null,
  3286. "show": true,
  3287. "values": []
  3288. },
  3289. "yaxes": [
  3290. {
  3291. "format": "ms",
  3292. "logBase": 1,
  3293. "max": null,
  3294. "min": null,
  3295. "show": true
  3296. },
  3297. {
  3298. "format": "short",
  3299. "logBase": 1,
  3300. "max": null,
  3301. "min": null,
  3302. "show": true
  3303. }
  3304. ],
  3305. "yaxis": {
  3306. "align": false,
  3307. "alignLevel": null
  3308. }
  3309. },
  3310. {
  3311. "aliasColors": {},
  3312. "bars": false,
  3313. "dashLength": 10,
  3314. "dashes": false,
  3315. "datasource": "$datasource",
  3316. "editable": true,
  3317. "error": false,
  3318. "fill": 1,
  3319. "grid": {},
  3320. "gridPos": {
  3321. "h": 13,
  3322. "w": 12,
  3323. "x": 0,
  3324. "y": 86
  3325. },
  3326. "id": 28,
  3327. "legend": {
  3328. "avg": false,
  3329. "current": false,
  3330. "max": false,
  3331. "min": false,
  3332. "show": false,
  3333. "total": false,
  3334. "values": false
  3335. },
  3336. "lines": true,
  3337. "linewidth": 2,
  3338. "links": [],
  3339. "nullPointMode": "null",
  3340. "percentage": false,
  3341. "pointradius": 5,
  3342. "points": false,
  3343. "renderer": "flot",
  3344. "seriesOverrides": [],
  3345. "spaceLength": 10,
  3346. "stack": false,
  3347. "steppedLine": false,
  3348. "targets": [
  3349. {
  3350. "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])",
  3351. "format": "time_series",
  3352. "interval": "",
  3353. "intervalFactor": 2,
  3354. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  3355. "refId": "A",
  3356. "step": 20
  3357. }
  3358. ],
  3359. "thresholds": [],
  3360. "timeFrom": null,
  3361. "timeShift": null,
  3362. "title": "Average Transactions per Block",
  3363. "tooltip": {
  3364. "shared": false,
  3365. "sort": 0,
  3366. "value_type": "cumulative"
  3367. },
  3368. "type": "graph",
  3369. "xaxis": {
  3370. "buckets": null,
  3371. "mode": "time",
  3372. "name": null,
  3373. "show": true,
  3374. "values": []
  3375. },
  3376. "yaxes": [
  3377. {
  3378. "format": "none",
  3379. "logBase": 1,
  3380. "max": null,
  3381. "min": null,
  3382. "show": true
  3383. },
  3384. {
  3385. "format": "short",
  3386. "logBase": 1,
  3387. "max": null,
  3388. "min": null,
  3389. "show": true
  3390. }
  3391. ],
  3392. "yaxis": {
  3393. "align": false,
  3394. "alignLevel": null
  3395. }
  3396. },
  3397. {
  3398. "aliasColors": {},
  3399. "bars": false,
  3400. "dashLength": 10,
  3401. "dashes": false,
  3402. "datasource": "$datasource",
  3403. "editable": true,
  3404. "error": false,
  3405. "fill": 1,
  3406. "grid": {},
  3407. "gridPos": {
  3408. "h": 13,
  3409. "w": 12,
  3410. "x": 12,
  3411. "y": 86
  3412. },
  3413. "id": 25,
  3414. "legend": {
  3415. "avg": false,
  3416. "current": false,
  3417. "max": false,
  3418. "min": false,
  3419. "show": false,
  3420. "total": false,
  3421. "values": false
  3422. },
  3423. "lines": true,
  3424. "linewidth": 2,
  3425. "links": [],
  3426. "nullPointMode": "null",
  3427. "percentage": false,
  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": "rate(synapse_util_metrics_block_time_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) / rate(synapse_util_metrics_block_count[$bucket_size])",
  3438. "format": "time_series",
  3439. "interval": "",
  3440. "intervalFactor": 2,
  3441. "legendFormat": "{{job}}-{{index}} {{block_name}}",
  3442. "refId": "A",
  3443. "step": 20
  3444. }
  3445. ],
  3446. "thresholds": [],
  3447. "timeFrom": null,
  3448. "timeShift": null,
  3449. "title": "Average Wallclock Time per Block",
  3450. "tooltip": {
  3451. "shared": false,
  3452. "sort": 0,
  3453. "value_type": "cumulative"
  3454. },
  3455. "type": "graph",
  3456. "xaxis": {
  3457. "buckets": null,
  3458. "mode": "time",
  3459. "name": null,
  3460. "show": true,
  3461. "values": []
  3462. },
  3463. "yaxes": [
  3464. {
  3465. "format": "ms",
  3466. "logBase": 1,
  3467. "max": null,
  3468. "min": null,
  3469. "show": true
  3470. },
  3471. {
  3472. "format": "short",
  3473. "logBase": 1,
  3474. "max": null,
  3475. "min": null,
  3476. "show": true
  3477. }
  3478. ],
  3479. "yaxis": {
  3480. "align": false,
  3481. "alignLevel": null
  3482. }
  3483. }
  3484. ],
  3485. "repeat": null,
  3486. "title": "Per-block metrics",
  3487. "type": "row"
  3488. },
  3489. {
  3490. "collapsed": true,
  3491. "gridPos": {
  3492. "h": 1,
  3493. "w": 24,
  3494. "x": 0,
  3495. "y": 25
  3496. },
  3497. "id": 61,
  3498. "panels": [
  3499. {
  3500. "aliasColors": {},
  3501. "bars": false,
  3502. "dashLength": 10,
  3503. "dashes": false,
  3504. "datasource": "$datasource",
  3505. "decimals": 2,
  3506. "editable": true,
  3507. "error": false,
  3508. "fill": 0,
  3509. "grid": {},
  3510. "gridPos": {
  3511. "h": 10,
  3512. "w": 12,
  3513. "x": 0,
  3514. "y": 68
  3515. },
  3516. "id": 1,
  3517. "legend": {
  3518. "alignAsTable": true,
  3519. "avg": false,
  3520. "current": false,
  3521. "hideEmpty": true,
  3522. "hideZero": false,
  3523. "max": false,
  3524. "min": false,
  3525. "show": true,
  3526. "total": false,
  3527. "values": false
  3528. },
  3529. "lines": true,
  3530. "linewidth": 2,
  3531. "links": [],
  3532. "nullPointMode": "null",
  3533. "percentage": false,
  3534. "pointradius": 5,
  3535. "points": false,
  3536. "renderer": "flot",
  3537. "seriesOverrides": [],
  3538. "spaceLength": 10,
  3539. "stack": false,
  3540. "steppedLine": false,
  3541. "targets": [
  3542. {
  3543. "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])",
  3544. "format": "time_series",
  3545. "intervalFactor": 2,
  3546. "legendFormat": "{{name}} {{job}}-{{index}}",
  3547. "refId": "A",
  3548. "step": 20
  3549. }
  3550. ],
  3551. "thresholds": [],
  3552. "timeFrom": null,
  3553. "timeShift": null,
  3554. "title": "Cache Hit Ratio",
  3555. "tooltip": {
  3556. "msResolution": true,
  3557. "shared": false,
  3558. "sort": 0,
  3559. "value_type": "cumulative"
  3560. },
  3561. "type": "graph",
  3562. "xaxis": {
  3563. "buckets": null,
  3564. "mode": "time",
  3565. "name": null,
  3566. "show": true,
  3567. "values": []
  3568. },
  3569. "yaxes": [
  3570. {
  3571. "decimals": null,
  3572. "format": "percentunit",
  3573. "label": "",
  3574. "logBase": 1,
  3575. "max": "1",
  3576. "min": 0,
  3577. "show": true
  3578. },
  3579. {
  3580. "format": "short",
  3581. "logBase": 1,
  3582. "max": null,
  3583. "min": null,
  3584. "show": false
  3585. }
  3586. ],
  3587. "yaxis": {
  3588. "align": false,
  3589. "alignLevel": null
  3590. }
  3591. },
  3592. {
  3593. "aliasColors": {},
  3594. "bars": false,
  3595. "dashLength": 10,
  3596. "dashes": false,
  3597. "datasource": "$datasource",
  3598. "editable": true,
  3599. "error": false,
  3600. "fill": 1,
  3601. "grid": {},
  3602. "gridPos": {
  3603. "h": 10,
  3604. "w": 12,
  3605. "x": 12,
  3606. "y": 68
  3607. },
  3608. "id": 8,
  3609. "legend": {
  3610. "alignAsTable": true,
  3611. "avg": false,
  3612. "current": false,
  3613. "hideZero": false,
  3614. "max": false,
  3615. "min": false,
  3616. "show": true,
  3617. "total": false,
  3618. "values": false
  3619. },
  3620. "lines": true,
  3621. "linewidth": 2,
  3622. "links": [],
  3623. "nullPointMode": "connected",
  3624. "percentage": false,
  3625. "pointradius": 5,
  3626. "points": false,
  3627. "renderer": "flot",
  3628. "seriesOverrides": [],
  3629. "spaceLength": 10,
  3630. "stack": false,
  3631. "steppedLine": false,
  3632. "targets": [
  3633. {
  3634. "expr": "synapse_util_caches_cache:size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  3635. "format": "time_series",
  3636. "hide": false,
  3637. "interval": "",
  3638. "intervalFactor": 2,
  3639. "legendFormat": "{{name}} {{job}}-{{index}}",
  3640. "refId": "A",
  3641. "step": 20
  3642. }
  3643. ],
  3644. "thresholds": [],
  3645. "timeFrom": null,
  3646. "timeShift": null,
  3647. "title": "Cache Size",
  3648. "tooltip": {
  3649. "shared": false,
  3650. "sort": 0,
  3651. "value_type": "cumulative"
  3652. },
  3653. "type": "graph",
  3654. "xaxis": {
  3655. "buckets": null,
  3656. "mode": "time",
  3657. "name": null,
  3658. "show": true,
  3659. "values": []
  3660. },
  3661. "yaxes": [
  3662. {
  3663. "format": "short",
  3664. "logBase": 1,
  3665. "max": null,
  3666. "min": 0,
  3667. "show": true
  3668. },
  3669. {
  3670. "format": "short",
  3671. "logBase": 1,
  3672. "max": null,
  3673. "min": null,
  3674. "show": true
  3675. }
  3676. ],
  3677. "yaxis": {
  3678. "align": false,
  3679. "alignLevel": null
  3680. }
  3681. },
  3682. {
  3683. "aliasColors": {},
  3684. "bars": false,
  3685. "dashLength": 10,
  3686. "dashes": false,
  3687. "datasource": "$datasource",
  3688. "editable": true,
  3689. "error": false,
  3690. "fill": 1,
  3691. "grid": {},
  3692. "gridPos": {
  3693. "h": 10,
  3694. "w": 12,
  3695. "x": 0,
  3696. "y": 78
  3697. },
  3698. "id": 38,
  3699. "legend": {
  3700. "alignAsTable": true,
  3701. "avg": false,
  3702. "current": false,
  3703. "hideZero": false,
  3704. "max": false,
  3705. "min": false,
  3706. "show": true,
  3707. "total": false,
  3708. "values": false
  3709. },
  3710. "lines": true,
  3711. "linewidth": 2,
  3712. "links": [],
  3713. "nullPointMode": "connected",
  3714. "percentage": false,
  3715. "pointradius": 5,
  3716. "points": false,
  3717. "renderer": "flot",
  3718. "seriesOverrides": [],
  3719. "spaceLength": 10,
  3720. "stack": false,
  3721. "steppedLine": false,
  3722. "targets": [
  3723. {
  3724. "expr": "rate(synapse_util_caches_cache:total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  3725. "format": "time_series",
  3726. "interval": "",
  3727. "intervalFactor": 2,
  3728. "legendFormat": "{{name}} {{job}}-{{index}}",
  3729. "refId": "A",
  3730. "step": 20
  3731. }
  3732. ],
  3733. "thresholds": [],
  3734. "timeFrom": null,
  3735. "timeShift": null,
  3736. "title": "Cache request rate",
  3737. "tooltip": {
  3738. "shared": false,
  3739. "sort": 0,
  3740. "value_type": "cumulative"
  3741. },
  3742. "type": "graph",
  3743. "xaxis": {
  3744. "buckets": null,
  3745. "mode": "time",
  3746. "name": null,
  3747. "show": true,
  3748. "values": []
  3749. },
  3750. "yaxes": [
  3751. {
  3752. "format": "rps",
  3753. "logBase": 1,
  3754. "max": null,
  3755. "min": 0,
  3756. "show": true
  3757. },
  3758. {
  3759. "format": "short",
  3760. "logBase": 1,
  3761. "max": null,
  3762. "min": null,
  3763. "show": true
  3764. }
  3765. ],
  3766. "yaxis": {
  3767. "align": false,
  3768. "alignLevel": null
  3769. }
  3770. },
  3771. {
  3772. "aliasColors": {},
  3773. "bars": false,
  3774. "dashLength": 10,
  3775. "dashes": false,
  3776. "datasource": "$datasource",
  3777. "fill": 1,
  3778. "gridPos": {
  3779. "h": 10,
  3780. "w": 12,
  3781. "x": 12,
  3782. "y": 78
  3783. },
  3784. "id": 39,
  3785. "legend": {
  3786. "alignAsTable": true,
  3787. "avg": false,
  3788. "current": false,
  3789. "max": false,
  3790. "min": false,
  3791. "show": true,
  3792. "total": false,
  3793. "values": false
  3794. },
  3795. "lines": true,
  3796. "linewidth": 1,
  3797. "links": [],
  3798. "nullPointMode": "null",
  3799. "percentage": false,
  3800. "pointradius": 5,
  3801. "points": false,
  3802. "renderer": "flot",
  3803. "seriesOverrides": [],
  3804. "spaceLength": 10,
  3805. "stack": false,
  3806. "steppedLine": false,
  3807. "targets": [
  3808. {
  3809. "expr": "topk(10, rate(synapse_util_caches_cache:total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]) - rate(synapse_util_caches_cache:hits{job=\"$job\",instance=\"$instance\"}[$bucket_size]))",
  3810. "format": "time_series",
  3811. "intervalFactor": 2,
  3812. "legendFormat": "{{name}} {{job}}-{{index}}",
  3813. "refId": "A",
  3814. "step": 20
  3815. }
  3816. ],
  3817. "thresholds": [],
  3818. "timeFrom": null,
  3819. "timeShift": null,
  3820. "title": "Top 10 cache misses",
  3821. "tooltip": {
  3822. "shared": true,
  3823. "sort": 0,
  3824. "value_type": "individual"
  3825. },
  3826. "type": "graph",
  3827. "xaxis": {
  3828. "buckets": null,
  3829. "mode": "time",
  3830. "name": null,
  3831. "show": true,
  3832. "values": []
  3833. },
  3834. "yaxes": [
  3835. {
  3836. "format": "rps",
  3837. "label": null,
  3838. "logBase": 1,
  3839. "max": null,
  3840. "min": null,
  3841. "show": true
  3842. },
  3843. {
  3844. "format": "short",
  3845. "label": null,
  3846. "logBase": 1,
  3847. "max": null,
  3848. "min": null,
  3849. "show": true
  3850. }
  3851. ],
  3852. "yaxis": {
  3853. "align": false,
  3854. "alignLevel": null
  3855. }
  3856. },
  3857. {
  3858. "aliasColors": {},
  3859. "bars": false,
  3860. "dashLength": 10,
  3861. "dashes": false,
  3862. "datasource": "$datasource",
  3863. "fill": 1,
  3864. "gridPos": {
  3865. "h": 9,
  3866. "w": 12,
  3867. "x": 0,
  3868. "y": 88
  3869. },
  3870. "id": 65,
  3871. "legend": {
  3872. "alignAsTable": true,
  3873. "avg": false,
  3874. "current": false,
  3875. "max": false,
  3876. "min": false,
  3877. "show": true,
  3878. "total": false,
  3879. "values": false
  3880. },
  3881. "lines": true,
  3882. "linewidth": 1,
  3883. "links": [],
  3884. "nullPointMode": "null",
  3885. "percentage": false,
  3886. "pointradius": 5,
  3887. "points": false,
  3888. "renderer": "flot",
  3889. "seriesOverrides": [],
  3890. "spaceLength": 10,
  3891. "stack": false,
  3892. "steppedLine": false,
  3893. "targets": [
  3894. {
  3895. "expr": "rate(synapse_util_caches_cache:evicted_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  3896. "format": "time_series",
  3897. "intervalFactor": 1,
  3898. "legendFormat": "{{name}} {{job}}-{{index}}",
  3899. "refId": "A"
  3900. }
  3901. ],
  3902. "thresholds": [],
  3903. "timeFrom": null,
  3904. "timeShift": null,
  3905. "title": "Cache eviction rate",
  3906. "tooltip": {
  3907. "shared": false,
  3908. "sort": 0,
  3909. "value_type": "individual"
  3910. },
  3911. "transparent": false,
  3912. "type": "graph",
  3913. "xaxis": {
  3914. "buckets": null,
  3915. "mode": "time",
  3916. "name": null,
  3917. "show": true,
  3918. "values": []
  3919. },
  3920. "yaxes": [
  3921. {
  3922. "decimals": null,
  3923. "format": "hertz",
  3924. "label": "entries / second",
  3925. "logBase": 1,
  3926. "max": null,
  3927. "min": null,
  3928. "show": true
  3929. },
  3930. {
  3931. "format": "short",
  3932. "label": null,
  3933. "logBase": 1,
  3934. "max": null,
  3935. "min": null,
  3936. "show": true
  3937. }
  3938. ],
  3939. "yaxis": {
  3940. "align": false,
  3941. "alignLevel": null
  3942. }
  3943. }
  3944. ],
  3945. "repeat": null,
  3946. "title": "Caches",
  3947. "type": "row"
  3948. },
  3949. {
  3950. "collapsed": true,
  3951. "gridPos": {
  3952. "h": 1,
  3953. "w": 24,
  3954. "x": 0,
  3955. "y": 26
  3956. },
  3957. "id": 62,
  3958. "panels": [
  3959. {
  3960. "aliasColors": {},
  3961. "bars": false,
  3962. "dashLength": 10,
  3963. "dashes": false,
  3964. "datasource": "$datasource",
  3965. "fill": 1,
  3966. "gridPos": {
  3967. "h": 9,
  3968. "w": 12,
  3969. "x": 0,
  3970. "y": 27
  3971. },
  3972. "id": 91,
  3973. "legend": {
  3974. "avg": false,
  3975. "current": false,
  3976. "max": false,
  3977. "min": false,
  3978. "show": true,
  3979. "total": false,
  3980. "values": false
  3981. },
  3982. "lines": true,
  3983. "linewidth": 1,
  3984. "links": [],
  3985. "nullPointMode": "null",
  3986. "percentage": false,
  3987. "pointradius": 5,
  3988. "points": false,
  3989. "renderer": "flot",
  3990. "seriesOverrides": [],
  3991. "spaceLength": 10,
  3992. "stack": true,
  3993. "steppedLine": false,
  3994. "targets": [
  3995. {
  3996. "expr": "rate(python_gc_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[10m])",
  3997. "format": "time_series",
  3998. "instant": false,
  3999. "intervalFactor": 1,
  4000. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  4001. "refId": "A"
  4002. }
  4003. ],
  4004. "thresholds": [],
  4005. "timeFrom": null,
  4006. "timeShift": null,
  4007. "title": "Total GC time by bucket (10m smoothing)",
  4008. "tooltip": {
  4009. "shared": true,
  4010. "sort": 0,
  4011. "value_type": "individual"
  4012. },
  4013. "type": "graph",
  4014. "xaxis": {
  4015. "buckets": null,
  4016. "mode": "time",
  4017. "name": null,
  4018. "show": true,
  4019. "values": []
  4020. },
  4021. "yaxes": [
  4022. {
  4023. "decimals": null,
  4024. "format": "percentunit",
  4025. "label": null,
  4026. "logBase": 1,
  4027. "max": null,
  4028. "min": "0",
  4029. "show": true
  4030. },
  4031. {
  4032. "format": "short",
  4033. "label": null,
  4034. "logBase": 1,
  4035. "max": null,
  4036. "min": null,
  4037. "show": true
  4038. }
  4039. ],
  4040. "yaxis": {
  4041. "align": false,
  4042. "alignLevel": null
  4043. }
  4044. },
  4045. {
  4046. "aliasColors": {},
  4047. "bars": false,
  4048. "dashLength": 10,
  4049. "dashes": false,
  4050. "datasource": "$datasource",
  4051. "decimals": 3,
  4052. "editable": true,
  4053. "error": false,
  4054. "fill": 1,
  4055. "grid": {},
  4056. "gridPos": {
  4057. "h": 9,
  4058. "w": 12,
  4059. "x": 12,
  4060. "y": 27
  4061. },
  4062. "id": 21,
  4063. "legend": {
  4064. "alignAsTable": true,
  4065. "avg": false,
  4066. "current": false,
  4067. "max": false,
  4068. "min": false,
  4069. "show": true,
  4070. "total": false,
  4071. "values": false
  4072. },
  4073. "lines": true,
  4074. "linewidth": 2,
  4075. "links": [],
  4076. "nullPointMode": "null as zero",
  4077. "percentage": false,
  4078. "pointradius": 5,
  4079. "points": false,
  4080. "renderer": "flot",
  4081. "seriesOverrides": [],
  4082. "spaceLength": 10,
  4083. "stack": false,
  4084. "steppedLine": false,
  4085. "targets": [
  4086. {
  4087. "expr": "rate(python_gc_time_sum{instance=\"$instance\",job=~\"$job\"}[$bucket_size])/rate(python_gc_time_count[$bucket_size])",
  4088. "format": "time_series",
  4089. "intervalFactor": 2,
  4090. "legendFormat": "{{job}} {{index}} gen {{gen}} ",
  4091. "refId": "A",
  4092. "step": 20,
  4093. "target": ""
  4094. }
  4095. ],
  4096. "thresholds": [],
  4097. "timeFrom": null,
  4098. "timeShift": null,
  4099. "title": "Average GC Time Per Collection",
  4100. "tooltip": {
  4101. "shared": false,
  4102. "sort": 0,
  4103. "value_type": "cumulative"
  4104. },
  4105. "type": "graph",
  4106. "xaxis": {
  4107. "buckets": null,
  4108. "mode": "time",
  4109. "name": null,
  4110. "show": true,
  4111. "values": []
  4112. },
  4113. "yaxes": [
  4114. {
  4115. "format": "s",
  4116. "logBase": 1,
  4117. "max": null,
  4118. "min": null,
  4119. "show": true
  4120. },
  4121. {
  4122. "format": "short",
  4123. "logBase": 1,
  4124. "max": null,
  4125. "min": null,
  4126. "show": true
  4127. }
  4128. ],
  4129. "yaxis": {
  4130. "align": false,
  4131. "alignLevel": null
  4132. }
  4133. },
  4134. {
  4135. "aliasColors": {},
  4136. "bars": false,
  4137. "dashLength": 10,
  4138. "dashes": false,
  4139. "datasource": "$datasource",
  4140. "fill": 1,
  4141. "gridPos": {
  4142. "h": 9,
  4143. "w": 12,
  4144. "x": 0,
  4145. "y": 36
  4146. },
  4147. "id": 89,
  4148. "legend": {
  4149. "avg": false,
  4150. "current": false,
  4151. "hideEmpty": true,
  4152. "hideZero": false,
  4153. "max": false,
  4154. "min": false,
  4155. "show": true,
  4156. "total": false,
  4157. "values": false
  4158. },
  4159. "lines": true,
  4160. "linewidth": 1,
  4161. "links": [],
  4162. "nullPointMode": "null",
  4163. "percentage": false,
  4164. "pointradius": 5,
  4165. "points": false,
  4166. "renderer": "flot",
  4167. "seriesOverrides": [],
  4168. "spaceLength": 10,
  4169. "stack": false,
  4170. "steppedLine": false,
  4171. "targets": [
  4172. {
  4173. "expr": "python_gc_counts{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}",
  4174. "format": "time_series",
  4175. "intervalFactor": 1,
  4176. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  4177. "refId": "A"
  4178. }
  4179. ],
  4180. "thresholds": [],
  4181. "timeFrom": null,
  4182. "timeShift": null,
  4183. "title": "Currently allocated objects",
  4184. "tooltip": {
  4185. "shared": false,
  4186. "sort": 0,
  4187. "value_type": "individual"
  4188. },
  4189. "type": "graph",
  4190. "xaxis": {
  4191. "buckets": null,
  4192. "mode": "time",
  4193. "name": null,
  4194. "show": true,
  4195. "values": []
  4196. },
  4197. "yaxes": [
  4198. {
  4199. "format": "short",
  4200. "label": null,
  4201. "logBase": 1,
  4202. "max": null,
  4203. "min": null,
  4204. "show": true
  4205. },
  4206. {
  4207. "format": "short",
  4208. "label": null,
  4209. "logBase": 1,
  4210. "max": null,
  4211. "min": null,
  4212. "show": true
  4213. }
  4214. ],
  4215. "yaxis": {
  4216. "align": false,
  4217. "alignLevel": null
  4218. }
  4219. },
  4220. {
  4221. "aliasColors": {},
  4222. "bars": false,
  4223. "dashLength": 10,
  4224. "dashes": false,
  4225. "datasource": "$datasource",
  4226. "fill": 1,
  4227. "gridPos": {
  4228. "h": 9,
  4229. "w": 12,
  4230. "x": 12,
  4231. "y": 36
  4232. },
  4233. "id": 93,
  4234. "legend": {
  4235. "avg": false,
  4236. "current": false,
  4237. "max": false,
  4238. "min": false,
  4239. "show": true,
  4240. "total": false,
  4241. "values": false
  4242. },
  4243. "lines": true,
  4244. "linewidth": 1,
  4245. "links": [],
  4246. "nullPointMode": "connected",
  4247. "percentage": false,
  4248. "pointradius": 5,
  4249. "points": false,
  4250. "renderer": "flot",
  4251. "seriesOverrides": [],
  4252. "spaceLength": 10,
  4253. "stack": false,
  4254. "steppedLine": false,
  4255. "targets": [
  4256. {
  4257. "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])",
  4258. "format": "time_series",
  4259. "intervalFactor": 1,
  4260. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  4261. "refId": "A"
  4262. }
  4263. ],
  4264. "thresholds": [],
  4265. "timeFrom": null,
  4266. "timeShift": null,
  4267. "title": "Object counts per collection",
  4268. "tooltip": {
  4269. "shared": true,
  4270. "sort": 0,
  4271. "value_type": "individual"
  4272. },
  4273. "type": "graph",
  4274. "xaxis": {
  4275. "buckets": null,
  4276. "mode": "time",
  4277. "name": null,
  4278. "show": true,
  4279. "values": []
  4280. },
  4281. "yaxes": [
  4282. {
  4283. "format": "short",
  4284. "label": null,
  4285. "logBase": 1,
  4286. "max": null,
  4287. "min": null,
  4288. "show": true
  4289. },
  4290. {
  4291. "format": "short",
  4292. "label": null,
  4293. "logBase": 1,
  4294. "max": null,
  4295. "min": null,
  4296. "show": true
  4297. }
  4298. ],
  4299. "yaxis": {
  4300. "align": false,
  4301. "alignLevel": null
  4302. }
  4303. },
  4304. {
  4305. "aliasColors": {},
  4306. "bars": false,
  4307. "dashLength": 10,
  4308. "dashes": false,
  4309. "datasource": "$datasource",
  4310. "fill": 1,
  4311. "gridPos": {
  4312. "h": 9,
  4313. "w": 12,
  4314. "x": 0,
  4315. "y": 45
  4316. },
  4317. "id": 95,
  4318. "legend": {
  4319. "avg": false,
  4320. "current": false,
  4321. "max": false,
  4322. "min": false,
  4323. "show": true,
  4324. "total": false,
  4325. "values": false
  4326. },
  4327. "lines": true,
  4328. "linewidth": 1,
  4329. "links": [],
  4330. "nullPointMode": "null",
  4331. "percentage": false,
  4332. "pointradius": 5,
  4333. "points": false,
  4334. "renderer": "flot",
  4335. "seriesOverrides": [],
  4336. "spaceLength": 10,
  4337. "stack": false,
  4338. "steppedLine": false,
  4339. "targets": [
  4340. {
  4341. "expr": "rate(python_gc_time_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  4342. "format": "time_series",
  4343. "intervalFactor": 1,
  4344. "legendFormat": "{{job}}-{{index}} gen {{gen}}",
  4345. "refId": "A"
  4346. }
  4347. ],
  4348. "thresholds": [],
  4349. "timeFrom": null,
  4350. "timeShift": null,
  4351. "title": "GC frequency",
  4352. "tooltip": {
  4353. "shared": true,
  4354. "sort": 0,
  4355. "value_type": "individual"
  4356. },
  4357. "type": "graph",
  4358. "xaxis": {
  4359. "buckets": null,
  4360. "mode": "time",
  4361. "name": null,
  4362. "show": true,
  4363. "values": []
  4364. },
  4365. "yaxes": [
  4366. {
  4367. "format": "hertz",
  4368. "label": null,
  4369. "logBase": 1,
  4370. "max": null,
  4371. "min": null,
  4372. "show": true
  4373. },
  4374. {
  4375. "format": "short",
  4376. "label": null,
  4377. "logBase": 1,
  4378. "max": null,
  4379. "min": null,
  4380. "show": true
  4381. }
  4382. ],
  4383. "yaxis": {
  4384. "align": false,
  4385. "alignLevel": null
  4386. }
  4387. },
  4388. {
  4389. "cards": {
  4390. "cardPadding": 0,
  4391. "cardRound": null
  4392. },
  4393. "color": {
  4394. "cardColor": "#b4ff00",
  4395. "colorScale": "sqrt",
  4396. "colorScheme": "interpolateSpectral",
  4397. "exponent": 0.5,
  4398. "max": null,
  4399. "min": 0,
  4400. "mode": "spectrum"
  4401. },
  4402. "dataFormat": "tsbuckets",
  4403. "datasource": "${DS_PROMETHEUS}",
  4404. "gridPos": {
  4405. "h": 9,
  4406. "w": 12,
  4407. "x": 12,
  4408. "y": 45
  4409. },
  4410. "heatmap": {},
  4411. "highlightCards": true,
  4412. "id": 87,
  4413. "legend": {
  4414. "show": true
  4415. },
  4416. "links": [],
  4417. "targets": [
  4418. {
  4419. "expr": "sum(rate(python_gc_time_bucket[$bucket_size])) by (le)",
  4420. "format": "heatmap",
  4421. "intervalFactor": 1,
  4422. "legendFormat": "{{le}}",
  4423. "refId": "A"
  4424. }
  4425. ],
  4426. "title": "GC durations",
  4427. "tooltip": {
  4428. "show": true,
  4429. "showHistogram": false
  4430. },
  4431. "type": "heatmap",
  4432. "xAxis": {
  4433. "show": true
  4434. },
  4435. "xBucketNumber": null,
  4436. "xBucketSize": null,
  4437. "yAxis": {
  4438. "decimals": null,
  4439. "format": "s",
  4440. "logBase": 1,
  4441. "max": null,
  4442. "min": null,
  4443. "show": true,
  4444. "splitFactor": null
  4445. },
  4446. "yBucketBound": "auto",
  4447. "yBucketNumber": null,
  4448. "yBucketSize": null
  4449. }
  4450. ],
  4451. "repeat": null,
  4452. "title": "GC",
  4453. "type": "row"
  4454. },
  4455. {
  4456. "collapsed": true,
  4457. "gridPos": {
  4458. "h": 1,
  4459. "w": 24,
  4460. "x": 0,
  4461. "y": 27
  4462. },
  4463. "id": 63,
  4464. "panels": [
  4465. {
  4466. "aliasColors": {},
  4467. "bars": false,
  4468. "dashLength": 10,
  4469. "dashes": false,
  4470. "datasource": "$datasource",
  4471. "fill": 1,
  4472. "gridPos": {
  4473. "h": 7,
  4474. "w": 12,
  4475. "x": 0,
  4476. "y": 97
  4477. },
  4478. "id": 2,
  4479. "legend": {
  4480. "avg": false,
  4481. "current": false,
  4482. "max": false,
  4483. "min": false,
  4484. "show": true,
  4485. "total": false,
  4486. "values": false
  4487. },
  4488. "lines": true,
  4489. "linewidth": 1,
  4490. "links": [],
  4491. "nullPointMode": "null",
  4492. "percentage": false,
  4493. "pointradius": 5,
  4494. "points": false,
  4495. "renderer": "flot",
  4496. "seriesOverrides": [],
  4497. "spaceLength": 10,
  4498. "stack": false,
  4499. "steppedLine": false,
  4500. "targets": [
  4501. {
  4502. "expr": "rate(synapse_replication_tcp_resource_user_sync{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  4503. "format": "time_series",
  4504. "intervalFactor": 2,
  4505. "legendFormat": "user started/stopped syncing",
  4506. "refId": "A",
  4507. "step": 20
  4508. },
  4509. {
  4510. "expr": "rate(synapse_replication_tcp_resource_federation_ack{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  4511. "format": "time_series",
  4512. "intervalFactor": 2,
  4513. "legendFormat": "federation ack",
  4514. "refId": "B",
  4515. "step": 20
  4516. },
  4517. {
  4518. "expr": "rate(synapse_replication_tcp_resource_remove_pusher{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  4519. "format": "time_series",
  4520. "intervalFactor": 2,
  4521. "legendFormat": "remove pusher",
  4522. "refId": "C",
  4523. "step": 20
  4524. },
  4525. {
  4526. "expr": "rate(synapse_replication_tcp_resource_invalidate_cache{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  4527. "format": "time_series",
  4528. "intervalFactor": 2,
  4529. "legendFormat": "invalidate cache",
  4530. "refId": "D",
  4531. "step": 20
  4532. },
  4533. {
  4534. "expr": "rate(synapse_replication_tcp_resource_user_ip_cache{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])",
  4535. "format": "time_series",
  4536. "intervalFactor": 2,
  4537. "legendFormat": "user ip cache",
  4538. "refId": "E",
  4539. "step": 20
  4540. }
  4541. ],
  4542. "thresholds": [],
  4543. "timeFrom": null,
  4544. "timeShift": null,
  4545. "title": "Rate of events on replication master",
  4546. "tooltip": {
  4547. "shared": true,
  4548. "sort": 0,
  4549. "value_type": "individual"
  4550. },
  4551. "type": "graph",
  4552. "xaxis": {
  4553. "buckets": null,
  4554. "mode": "time",
  4555. "name": null,
  4556. "show": true,
  4557. "values": []
  4558. },
  4559. "yaxes": [
  4560. {
  4561. "format": "hertz",
  4562. "label": null,
  4563. "logBase": 1,
  4564. "max": null,
  4565. "min": null,
  4566. "show": true
  4567. },
  4568. {
  4569. "format": "short",
  4570. "label": null,
  4571. "logBase": 1,
  4572. "max": null,
  4573. "min": null,
  4574. "show": true
  4575. }
  4576. ],
  4577. "yaxis": {
  4578. "align": false,
  4579. "alignLevel": null
  4580. }
  4581. },
  4582. {
  4583. "aliasColors": {},
  4584. "bars": false,
  4585. "dashLength": 10,
  4586. "dashes": false,
  4587. "datasource": "$datasource",
  4588. "fill": 1,
  4589. "gridPos": {
  4590. "h": 7,
  4591. "w": 12,
  4592. "x": 12,
  4593. "y": 97
  4594. },
  4595. "id": 41,
  4596. "legend": {
  4597. "avg": false,
  4598. "current": false,
  4599. "max": false,
  4600. "min": false,
  4601. "show": true,
  4602. "total": false,
  4603. "values": false
  4604. },
  4605. "lines": true,
  4606. "linewidth": 1,
  4607. "links": [],
  4608. "nullPointMode": "null",
  4609. "percentage": false,
  4610. "pointradius": 5,
  4611. "points": false,
  4612. "renderer": "flot",
  4613. "seriesOverrides": [],
  4614. "spaceLength": 10,
  4615. "stack": false,
  4616. "steppedLine": false,
  4617. "targets": [
  4618. {
  4619. "expr": "rate(synapse_replication_tcp_resource_stream_updates{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])",
  4620. "format": "time_series",
  4621. "interval": "",
  4622. "intervalFactor": 2,
  4623. "legendFormat": "{{stream_name}}",
  4624. "refId": "A",
  4625. "step": 20
  4626. }
  4627. ],
  4628. "thresholds": [],
  4629. "timeFrom": null,
  4630. "timeShift": null,
  4631. "title": "Outgoing stream updates",
  4632. "tooltip": {
  4633. "shared": true,
  4634. "sort": 0,
  4635. "value_type": "individual"
  4636. },
  4637. "type": "graph",
  4638. "xaxis": {
  4639. "buckets": null,
  4640. "mode": "time",
  4641. "name": null,
  4642. "show": true,
  4643. "values": []
  4644. },
  4645. "yaxes": [
  4646. {
  4647. "format": "hertz",
  4648. "label": null,
  4649. "logBase": 1,
  4650. "max": null,
  4651. "min": null,
  4652. "show": true
  4653. },
  4654. {
  4655. "format": "short",
  4656. "label": null,
  4657. "logBase": 1,
  4658. "max": null,
  4659. "min": null,
  4660. "show": true
  4661. }
  4662. ],
  4663. "yaxis": {
  4664. "align": false,
  4665. "alignLevel": null
  4666. }
  4667. },
  4668. {
  4669. "aliasColors": {},
  4670. "bars": false,
  4671. "dashLength": 10,
  4672. "dashes": false,
  4673. "datasource": "$datasource",
  4674. "fill": 1,
  4675. "gridPos": {
  4676. "h": 7,
  4677. "w": 12,
  4678. "x": 0,
  4679. "y": 104
  4680. },
  4681. "id": 42,
  4682. "legend": {
  4683. "avg": false,
  4684. "current": false,
  4685. "max": false,
  4686. "min": false,
  4687. "show": true,
  4688. "total": false,
  4689. "values": false
  4690. },
  4691. "lines": true,
  4692. "linewidth": 1,
  4693. "links": [],
  4694. "nullPointMode": "null",
  4695. "percentage": false,
  4696. "pointradius": 5,
  4697. "points": false,
  4698. "renderer": "flot",
  4699. "seriesOverrides": [],
  4700. "spaceLength": 10,
  4701. "stack": false,
  4702. "steppedLine": false,
  4703. "targets": [
  4704. {
  4705. "expr": "sum (rate(synapse_replication_tcp_protocol_inbound_commands{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (name, conn_id)",
  4706. "format": "time_series",
  4707. "intervalFactor": 2,
  4708. "legendFormat": "{{job}}-{{index}} {{command}}",
  4709. "refId": "A",
  4710. "step": 20
  4711. }
  4712. ],
  4713. "thresholds": [],
  4714. "timeFrom": null,
  4715. "timeShift": null,
  4716. "title": "Rate of incoming commands",
  4717. "tooltip": {
  4718. "shared": true,
  4719. "sort": 0,
  4720. "value_type": "individual"
  4721. },
  4722. "type": "graph",
  4723. "xaxis": {
  4724. "buckets": null,
  4725. "mode": "time",
  4726. "name": null,
  4727. "show": true,
  4728. "values": []
  4729. },
  4730. "yaxes": [
  4731. {
  4732. "format": "hertz",
  4733. "label": null,
  4734. "logBase": 1,
  4735. "max": null,
  4736. "min": null,
  4737. "show": true
  4738. },
  4739. {
  4740. "format": "short",
  4741. "label": null,
  4742. "logBase": 1,
  4743. "max": null,
  4744. "min": null,
  4745. "show": true
  4746. }
  4747. ],
  4748. "yaxis": {
  4749. "align": false,
  4750. "alignLevel": null
  4751. }
  4752. },
  4753. {
  4754. "aliasColors": {},
  4755. "bars": false,
  4756. "dashLength": 10,
  4757. "dashes": false,
  4758. "datasource": "$datasource",
  4759. "fill": 1,
  4760. "gridPos": {
  4761. "h": 7,
  4762. "w": 12,
  4763. "x": 12,
  4764. "y": 104
  4765. },
  4766. "id": 43,
  4767. "legend": {
  4768. "avg": false,
  4769. "current": false,
  4770. "max": false,
  4771. "min": false,
  4772. "show": true,
  4773. "total": false,
  4774. "values": false
  4775. },
  4776. "lines": true,
  4777. "linewidth": 1,
  4778. "links": [],
  4779. "nullPointMode": "null",
  4780. "percentage": false,
  4781. "pointradius": 5,
  4782. "points": false,
  4783. "renderer": "flot",
  4784. "seriesOverrides": [],
  4785. "spaceLength": 10,
  4786. "stack": false,
  4787. "steppedLine": false,
  4788. "targets": [
  4789. {
  4790. "expr": "sum (rate(synapse_replication_tcp_protocol_outbound_commands{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (name, conn_id)",
  4791. "format": "time_series",
  4792. "intervalFactor": 2,
  4793. "legendFormat": "{{job}}-{{index}} {{command}}",
  4794. "refId": "A",
  4795. "step": 20
  4796. }
  4797. ],
  4798. "thresholds": [],
  4799. "timeFrom": null,
  4800. "timeShift": null,
  4801. "title": "Rate of outgoing commands",
  4802. "tooltip": {
  4803. "shared": true,
  4804. "sort": 0,
  4805. "value_type": "individual"
  4806. },
  4807. "type": "graph",
  4808. "xaxis": {
  4809. "buckets": null,
  4810. "mode": "time",
  4811. "name": null,
  4812. "show": true,
  4813. "values": []
  4814. },
  4815. "yaxes": [
  4816. {
  4817. "format": "hertz",
  4818. "label": null,
  4819. "logBase": 1,
  4820. "max": null,
  4821. "min": null,
  4822. "show": true
  4823. },
  4824. {
  4825. "format": "short",
  4826. "label": null,
  4827. "logBase": 1,
  4828. "max": null,
  4829. "min": null,
  4830. "show": true
  4831. }
  4832. ],
  4833. "yaxis": {
  4834. "align": false,
  4835. "alignLevel": null
  4836. }
  4837. }
  4838. ],
  4839. "repeat": null,
  4840. "title": "Replication",
  4841. "type": "row"
  4842. },
  4843. {
  4844. "collapsed": true,
  4845. "gridPos": {
  4846. "h": 1,
  4847. "w": 24,
  4848. "x": 0,
  4849. "y": 28
  4850. },
  4851. "id": 69,
  4852. "panels": [
  4853. {
  4854. "aliasColors": {},
  4855. "bars": false,
  4856. "dashLength": 10,
  4857. "dashes": false,
  4858. "datasource": "$datasource",
  4859. "fill": 1,
  4860. "gridPos": {
  4861. "h": 9,
  4862. "w": 12,
  4863. "x": 0,
  4864. "y": 29
  4865. },
  4866. "id": 67,
  4867. "legend": {
  4868. "avg": false,
  4869. "current": false,
  4870. "max": false,
  4871. "min": false,
  4872. "show": true,
  4873. "total": false,
  4874. "values": false
  4875. },
  4876. "lines": true,
  4877. "linewidth": 1,
  4878. "links": [],
  4879. "nullPointMode": "connected",
  4880. "percentage": false,
  4881. "pointradius": 5,
  4882. "points": false,
  4883. "renderer": "flot",
  4884. "seriesOverrides": [],
  4885. "spaceLength": 10,
  4886. "stack": false,
  4887. "steppedLine": false,
  4888. "targets": [
  4889. {
  4890. "expr": " synapse_event_persisted_position{instance=\"$instance\",job=\"synapse\"} - ignoring(index, job, name) group_right() synapse_event_processing_positions{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4891. "format": "time_series",
  4892. "interval": "",
  4893. "intervalFactor": 1,
  4894. "legendFormat": "{{job}}-{{index}} ",
  4895. "refId": "A"
  4896. }
  4897. ],
  4898. "thresholds": [],
  4899. "timeFrom": null,
  4900. "timeShift": null,
  4901. "title": "Event processing lag",
  4902. "tooltip": {
  4903. "shared": true,
  4904. "sort": 0,
  4905. "value_type": "individual"
  4906. },
  4907. "type": "graph",
  4908. "xaxis": {
  4909. "buckets": null,
  4910. "mode": "time",
  4911. "name": null,
  4912. "show": true,
  4913. "values": []
  4914. },
  4915. "yaxes": [
  4916. {
  4917. "format": "short",
  4918. "label": "events",
  4919. "logBase": 1,
  4920. "max": null,
  4921. "min": null,
  4922. "show": true
  4923. },
  4924. {
  4925. "format": "short",
  4926. "label": null,
  4927. "logBase": 1,
  4928. "max": null,
  4929. "min": null,
  4930. "show": true
  4931. }
  4932. ],
  4933. "yaxis": {
  4934. "align": false,
  4935. "alignLevel": null
  4936. }
  4937. },
  4938. {
  4939. "aliasColors": {},
  4940. "bars": false,
  4941. "dashLength": 10,
  4942. "dashes": false,
  4943. "datasource": "$datasource",
  4944. "fill": 1,
  4945. "gridPos": {
  4946. "h": 9,
  4947. "w": 12,
  4948. "x": 12,
  4949. "y": 29
  4950. },
  4951. "id": 71,
  4952. "legend": {
  4953. "avg": false,
  4954. "current": false,
  4955. "max": false,
  4956. "min": false,
  4957. "show": true,
  4958. "total": false,
  4959. "values": false
  4960. },
  4961. "lines": true,
  4962. "linewidth": 1,
  4963. "links": [],
  4964. "nullPointMode": "connected",
  4965. "percentage": false,
  4966. "pointradius": 5,
  4967. "points": false,
  4968. "renderer": "flot",
  4969. "seriesOverrides": [],
  4970. "spaceLength": 10,
  4971. "stack": false,
  4972. "steppedLine": false,
  4973. "targets": [
  4974. {
  4975. "expr": "time()*1000-synapse_event_processing_last_ts{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}",
  4976. "format": "time_series",
  4977. "hide": false,
  4978. "intervalFactor": 1,
  4979. "legendFormat": "{{job}}-{{index}} {{name}}",
  4980. "refId": "B"
  4981. }
  4982. ],
  4983. "thresholds": [],
  4984. "timeFrom": null,
  4985. "timeShift": null,
  4986. "title": "Age of last processed event",
  4987. "tooltip": {
  4988. "shared": true,
  4989. "sort": 0,
  4990. "value_type": "individual"
  4991. },
  4992. "type": "graph",
  4993. "xaxis": {
  4994. "buckets": null,
  4995. "mode": "time",
  4996. "name": null,
  4997. "show": true,
  4998. "values": []
  4999. },
  5000. "yaxes": [
  5001. {
  5002. "format": "ms",
  5003. "label": null,
  5004. "logBase": 1,
  5005. "max": null,
  5006. "min": null,
  5007. "show": true
  5008. },
  5009. {
  5010. "format": "short",
  5011. "label": null,
  5012. "logBase": 1,
  5013. "max": null,
  5014. "min": null,
  5015. "show": true
  5016. }
  5017. ],
  5018. "yaxis": {
  5019. "align": false,
  5020. "alignLevel": null
  5021. }
  5022. }
  5023. ],
  5024. "title": "Event processing loop positions",
  5025. "type": "row"
  5026. }
  5027. ],
  5028. "refresh": "1m",
  5029. "schemaVersion": 16,
  5030. "style": "dark",
  5031. "tags": [
  5032. "matrix"
  5033. ],
  5034. "templating": {
  5035. "list": [
  5036. {
  5037. "current": {
  5038. "text": "Prometheus",
  5039. "value": "Prometheus"
  5040. },
  5041. "hide": 0,
  5042. "label": null,
  5043. "name": "datasource",
  5044. "options": [],
  5045. "query": "prometheus",
  5046. "refresh": 1,
  5047. "regex": "",
  5048. "type": "datasource"
  5049. },
  5050. {
  5051. "allFormat": "glob",
  5052. "auto": true,
  5053. "auto_count": 100,
  5054. "auto_min": "30s",
  5055. "current": {
  5056. "text": "auto",
  5057. "value": "$__auto_interval_bucket_size"
  5058. },
  5059. "datasource": null,
  5060. "hide": 0,
  5061. "includeAll": false,
  5062. "label": "Bucket Size",
  5063. "multi": false,
  5064. "multiFormat": "glob",
  5065. "name": "bucket_size",
  5066. "options": [
  5067. {
  5068. "selected": true,
  5069. "text": "auto",
  5070. "value": "$__auto_interval_bucket_size"
  5071. },
  5072. {
  5073. "selected": false,
  5074. "text": "30s",
  5075. "value": "30s"
  5076. },
  5077. {
  5078. "selected": false,
  5079. "text": "1m",
  5080. "value": "1m"
  5081. },
  5082. {
  5083. "selected": false,
  5084. "text": "2m",
  5085. "value": "2m"
  5086. },
  5087. {
  5088. "selected": false,
  5089. "text": "5m",
  5090. "value": "5m"
  5091. },
  5092. {
  5093. "selected": false,
  5094. "text": "10m",
  5095. "value": "10m"
  5096. },
  5097. {
  5098. "selected": false,
  5099. "text": "15m",
  5100. "value": "15m"
  5101. }
  5102. ],
  5103. "query": "30s,1m,2m,5m,10m,15m",
  5104. "refresh": 2,
  5105. "type": "interval"
  5106. },
  5107. {
  5108. "allValue": null,
  5109. "current": {},
  5110. "datasource": "$datasource",
  5111. "hide": 0,
  5112. "includeAll": false,
  5113. "label": null,
  5114. "multi": false,
  5115. "name": "instance",
  5116. "options": [],
  5117. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds, instance)",
  5118. "refresh": 2,
  5119. "regex": "",
  5120. "sort": 0,
  5121. "tagValuesQuery": "",
  5122. "tags": [],
  5123. "tagsQuery": "",
  5124. "type": "query",
  5125. "useTags": false
  5126. },
  5127. {
  5128. "allFormat": "regex wildcard",
  5129. "allValue": "",
  5130. "current": {},
  5131. "datasource": "$datasource",
  5132. "hide": 0,
  5133. "hideLabel": false,
  5134. "includeAll": true,
  5135. "label": "Job",
  5136. "multi": true,
  5137. "multiFormat": "regex values",
  5138. "name": "job",
  5139. "options": [],
  5140. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds, job)",
  5141. "refresh": 2,
  5142. "refresh_on_load": false,
  5143. "regex": "",
  5144. "sort": 1,
  5145. "tagValuesQuery": "",
  5146. "tags": [],
  5147. "tagsQuery": "",
  5148. "type": "query",
  5149. "useTags": false
  5150. },
  5151. {
  5152. "allFormat": "regex wildcard",
  5153. "allValue": ".*",
  5154. "current": {},
  5155. "datasource": "$datasource",
  5156. "hide": 0,
  5157. "hideLabel": false,
  5158. "includeAll": true,
  5159. "label": "",
  5160. "multi": true,
  5161. "multiFormat": "regex values",
  5162. "name": "index",
  5163. "options": [],
  5164. "query": "label_values(synapse_util_metrics_block_ru_utime_seconds, index)",
  5165. "refresh": 2,
  5166. "refresh_on_load": false,
  5167. "regex": "",
  5168. "sort": 3,
  5169. "tagValuesQuery": "",
  5170. "tags": [],
  5171. "tagsQuery": "",
  5172. "type": "query",
  5173. "useTags": false
  5174. }
  5175. ]
  5176. },
  5177. "time": {
  5178. "from": "now-1h",
  5179. "to": "now"
  5180. },
  5181. "timepicker": {
  5182. "now": true,
  5183. "refresh_intervals": [
  5184. "5s",
  5185. "10s",
  5186. "30s",
  5187. "1m",
  5188. "5m",
  5189. "15m",
  5190. "30m",
  5191. "1h",
  5192. "2h",
  5193. "1d"
  5194. ],
  5195. "time_options": [
  5196. "5m",
  5197. "15m",
  5198. "1h",
  5199. "6h",
  5200. "12h",
  5201. "24h",
  5202. "2d",
  5203. "7d",
  5204. "30d"
  5205. ]
  5206. },
  5207. "timezone": "",
  5208. "title": "Synapse",
  5209. "uid": "000000012",
  5210. "version": 3
  5211. }