synapse.json 128 KB

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