2019-06-25 03:59:19 -04:00
{
2020-07-13 09:48:21 -04:00
"__inputs" : [
{
"name" : "DS_PROMETHEUS" ,
"label" : "Prometheus" ,
"description" : "" ,
"type" : "datasource" ,
"pluginId" : "prometheus" ,
"pluginName" : "Prometheus"
}
] ,
2022-08-13 16:50:20 -04:00
"__elements" : { } ,
2020-07-13 09:48:21 -04:00
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2022-11-22 05:51:01 -05:00
"version" : "9.2.2"
2020-07-13 09:48:21 -04:00
} ,
{
"type" : "panel" ,
"id" : "graph" ,
2022-08-13 16:50:20 -04:00
"name" : "Graph (old)" ,
2020-07-13 09:48:21 -04:00
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "heatmap" ,
"name" : "Heatmap" ,
"version" : ""
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
"version" : "1.0.0"
2022-08-13 16:50:20 -04:00
} ,
{
"type" : "panel" ,
"id" : "timeseries" ,
"name" : "Time series" ,
"version" : ""
2020-07-13 09:48:21 -04:00
}
] ,
2019-06-25 03:59:19 -04:00
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"enable" : false ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"limit" : 100 ,
"name" : "Annotations & Alerts" ,
"showIn" : 0 ,
"type" : "dashboard"
2023-05-31 15:35:49 -04:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"enable" : true ,
2023-07-20 08:33:06 -04:00
"expr" : "changes(process_start_time_seconds{instance=\"$instance\",job=~\"synapse\"}[$bucket_size]) * on (instance, job) group_left(version) synapse_build_info{instance=\"$instance\",job=\"synapse\"}" ,
2023-05-31 15:35:49 -04:00
"iconColor" : "purple" ,
"name" : "deploys" ,
"titleFormat" : "Deployed {{version}}"
2019-06-25 03:59:19 -04:00
}
]
} ,
"editable" : true ,
2022-08-13 16:50:20 -04:00
"fiscalYearStartMonth" : 0 ,
2019-06-25 03:59:19 -04:00
"graphTooltip" : 0 ,
2020-07-13 09:48:21 -04:00
"id" : null ,
2019-06-25 03:59:19 -04:00
"links" : [
{
2021-05-19 06:47:16 -04:00
"asDropdown" : false ,
2019-06-25 03:59:19 -04:00
"icon" : "external link" ,
2021-05-19 06:47:16 -04:00
"includeVars" : true ,
2019-06-25 03:59:19 -04:00
"keepTime" : true ,
"tags" : [
"matrix"
] ,
"title" : "Dashboards" ,
"type" : "dashboards"
}
] ,
2022-08-13 16:50:20 -04:00
"liveNow" : false ,
2019-06-25 03:59:19 -04:00
"panels" : [
{
"collapsed" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 73 ,
"panels" : [ ] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2019-06-25 03:59:19 -04:00
"title" : "Overview" ,
"type" : "row"
} ,
2021-05-19 06:47:16 -04:00
{
"cards" : {
"cardPadding" : -1 ,
"cardRound" : 0
} ,
"color" : {
"cardColor" : "#b4ff00" ,
"colorScale" : "sqrt" ,
"colorScheme" : "interpolateInferno" ,
"exponent" : 0.5 ,
"mode" : "spectrum"
} ,
"dataFormat" : "tsbuckets" ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2022-11-22 05:51:01 -05:00
"fieldConfig" : {
"defaults" : {
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"scaleDistribution" : {
"type" : "linear"
}
}
} ,
"overrides" : [ ]
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
"y" : 1
} ,
"heatmap" : { } ,
"hideZeroBuckets" : false ,
"highlightCards" : true ,
"id" : 189 ,
"legend" : {
"show" : false
} ,
"links" : [ ] ,
2022-11-22 05:51:01 -05:00
"options" : {
"calculate" : false ,
"calculation" : { } ,
"cellGap" : -1 ,
"cellRadius" : 0 ,
"cellValues" : { } ,
"color" : {
"exponent" : 0.5 ,
"fill" : "#b4ff00" ,
"mode" : "scheme" ,
"reverse" : false ,
"scale" : "exponential" ,
"scheme" : "Inferno" ,
"steps" : 128
} ,
"exemplars" : {
"color" : "rgba(255,0,255,0.7)"
} ,
"filterValues" : {
"le" : 1e-9
} ,
"legend" : {
"show" : false
} ,
"rowsFrame" : {
"layout" : "auto"
} ,
"showValue" : "never" ,
"tooltip" : {
"show" : true ,
"yHistogram" : true
} ,
"yAxis" : {
"axisPlacement" : "left" ,
"reverse" : false ,
"unit" : "s"
}
} ,
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"reverseYBuckets" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le)" ,
"format" : "heatmap" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{le}}" ,
"refId" : "A"
}
] ,
"title" : "Event Send Time (excluding errors, all workers)" ,
"tooltip" : {
"show" : true ,
"showHistogram" : true
} ,
"type" : "heatmap" ,
"xAxis" : {
"show" : true
} ,
"yAxis" : {
"format" : "s" ,
"logBase" : 2 ,
2022-08-13 16:50:20 -04:00
"show" : true
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"yBucketBound" : "auto"
2021-05-19 06:47:16 -04:00
} ,
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 0 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 12 ,
2019-06-25 03:59:19 -04:00
"y" : 1
} ,
2020-03-19 06:45:40 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 152 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2021-05-19 06:47:16 -04:00
"rightSide" : false ,
2019-06-25 03:59:19 -04:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
2021-05-19 06:47:16 -04:00
"linewidth" : 0 ,
2019-06-25 03:59:19 -04:00
"links" : [ ] ,
2021-05-19 06:47:16 -04:00
"nullPointMode" : "connected" ,
2020-03-19 06:45:40 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-03-19 06:45:40 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2021-05-19 06:47:16 -04:00
"seriesOverrides" : [
{
"alias" : "Avg" ,
"fill" : 0 ,
"linewidth" : 3
} ,
{
"alias" : "99%" ,
"color" : "#C4162A" ,
"fillBelowTo" : "90%"
} ,
{
"alias" : "90%" ,
"color" : "#FF7383" ,
"fillBelowTo" : "75%"
} ,
{
"alias" : "75%" ,
"color" : "#FFEE52" ,
"fillBelowTo" : "50%"
} ,
{
"alias" : "50%" ,
"color" : "#73BF69" ,
"fillBelowTo" : "25%"
} ,
{
"alias" : "25%" ,
"color" : "#1F60C4" ,
"fillBelowTo" : "5%"
} ,
{
"alias" : "5%" ,
"lines" : false
} ,
{
"alias" : "Average" ,
"color" : "rgb(255, 255, 255)" ,
"lines" : true ,
"linewidth" : 3
} ,
{
"alias" : "Events" ,
"color" : "#B877D9" ,
"hideTooltip" : true ,
"points" : true ,
"yaxis" : 2 ,
"zindex" : -3
}
] ,
2019-06-25 03:59:19 -04:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.99, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2021-05-19 06:47:16 -04:00
"legendFormat" : "99%" ,
"refId" : "D"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.9, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "90%" ,
2019-06-25 03:59:19 -04:00
"refId" : "A"
2021-05-19 06:47:16 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.75, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "75%" ,
"refId" : "C"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.5, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "50%" ,
"refId" : "B"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.25, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))" ,
"legendFormat" : "25%" ,
"refId" : "F"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.05, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) by (le))" ,
"legendFormat" : "5%" ,
"refId" : "G"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "sum(rate(synapse_http_server_response_time_seconds_sum{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size])) / sum(rate(synapse_http_server_response_time_seconds_count{servlet='RoomSendEventRestServlet',index=~\"$index\",instance=\"$instance\",code=~\"2..\"}[$bucket_size]))" ,
"legendFormat" : "Average" ,
"refId" : "H"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_storage_events_persisted_events_total{instance=\"$instance\"}[$bucket_size]))" ,
2021-05-19 06:47:16 -04:00
"hide" : false ,
"instant" : false ,
"legendFormat" : "Events" ,
"refId" : "E"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:283" ,
2021-05-19 06:47:16 -04:00
"colorMode" : "warning" ,
"fill" : false ,
2019-06-25 03:59:19 -04:00
"line" : true ,
"op" : "gt" ,
"value" : 1 ,
"yaxis" : "left"
2021-05-19 06:47:16 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:284" ,
2021-05-19 06:47:16 -04:00
"colorMode" : "critical" ,
"fill" : false ,
"line" : true ,
"op" : "gt" ,
"value" : 2 ,
"yaxis" : "left"
2019-06-25 03:59:19 -04:00
}
] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Event Send Time Quantiles (excluding errors, all workers)" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : true ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:255" ,
2021-05-19 06:47:16 -04:00
"format" : "s" ,
"label" : "" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:256" ,
2021-05-19 06:47:16 -04:00
"format" : "hertz" ,
"label" : "" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"min" : "0" ,
2019-06-25 03:59:19 -04:00
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 0 ,
"y" : 10
2019-06-25 03:59:19 -04:00
} ,
2020-03-19 06:45:40 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 75 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2021-05-19 06:47:16 -04:00
"show" : true ,
2019-06-25 03:59:19 -04:00
"total" : false ,
"values" : false
} ,
"lines" : true ,
2021-05-19 06:47:16 -04:00
"linewidth" : 3 ,
2019-06-25 03:59:19 -04:00
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-03-19 06:45:40 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-03-19 06:45:40 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "rate(process_cpu_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} " ,
"refId" : "A"
}
] ,
"thresholds" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:566" ,
2021-05-19 06:47:16 -04:00
"colorMode" : "critical" ,
"fill" : true ,
"line" : true ,
"op" : "gt" ,
"value" : 1 ,
"yaxis" : "left"
2019-06-25 03:59:19 -04:00
}
] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "CPU usage" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : false ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
2021-05-19 06:47:16 -04:00
"value_type" : "individual"
2019-06-25 03:59:19 -04:00
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:538" ,
2021-05-19 06:47:16 -04:00
"format" : "percentunit" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"max" : "1.5" ,
"min" : "0" ,
2019-06-25 03:59:19 -04:00
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:539" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"editable" : true ,
"error" : false ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2021-05-19 06:47:16 -04:00
"grid" : { } ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
"y" : 10
} ,
2020-03-19 06:45:40 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 198 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
2021-05-19 06:47:16 -04:00
"linewidth" : 3 ,
2019-06-25 03:59:19 -04:00
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-03-19 06:45:40 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-03-19 06:45:40 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2021-05-19 06:47:16 -04:00
"seriesOverrides" : [ ] ,
2019-06-25 03:59:19 -04:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 2 ,
"legendFormat" : "{{job}} {{index}}" ,
"refId" : "A" ,
"step" : 20 ,
"target" : ""
2019-06-25 03:59:19 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "sum(process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})" ,
"hide" : true ,
"interval" : "" ,
"legendFormat" : "total" ,
"refId" : "B"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Memory" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : false ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
2021-05-19 06:47:16 -04:00
"value_type" : "cumulative"
2019-06-25 03:59:19 -04:00
} ,
2021-05-19 06:47:16 -04:00
"transformations" : [ ] ,
2019-06-25 03:59:19 -04:00
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:1560" ,
2021-05-19 06:47:16 -04:00
"format" : "bytes" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"min" : "0" ,
2019-06-25 03:59:19 -04:00
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:1561" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
2023-05-31 15:35:49 -04:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"axisSoftMax" : 1 ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 10 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
"y" : 19
} ,
"id" : 245 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "synapse_build_info{instance=\"$instance\", job=\"synapse\"} - 1" ,
"legendFormat" : "version {{version}}" ,
"range" : true ,
"refId" : "deployed_synapse_versions"
}
] ,
"title" : "Deployed Synapse versions over time" ,
"type" : "timeseries"
} ,
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 7 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 12 ,
2019-06-25 03:59:19 -04:00
"y" : 19
} ,
2020-03-19 06:45:40 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 37 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-03-19 06:45:40 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-03-19 06:45:40 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:639" ,
2021-05-19 06:47:16 -04:00
"alias" : "/max$/" ,
"color" : "#890F02" ,
"fill" : 0 ,
"legend" : false
2019-06-25 03:59:19 -04:00
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "process_open_fds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"hide" : false ,
2019-06-25 03:59:19 -04:00
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}}" ,
"refId" : "A" ,
"step" : 20
2019-06-25 03:59:19 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "process_max_fds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"hide" : true ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}} max" ,
"refId" : "B" ,
"step" : 20
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Open FDs" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : false ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:650" ,
2021-05-19 06:47:16 -04:00
"format" : "none" ,
"label" : "" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:651" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2021-05-19 06:47:16 -04:00
"y" : 26
2019-06-25 03:59:19 -04:00
} ,
"id" : 54 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2023-05-31 15:35:49 -04:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2022-08-13 16:50:20 -04:00
"y" : 27
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 5 ,
"legend" : {
"alignAsTable" : false ,
"avg" : false ,
"current" : false ,
"hideEmpty" : false ,
"hideZero" : false ,
"max" : false ,
"min" : false ,
"rightSide" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
2021-05-19 06:47:16 -04:00
"linewidth" : 3 ,
2019-06-25 03:59:19 -04:00
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:1240" ,
2019-06-25 03:59:19 -04:00
"alias" : "/user/"
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:1241" ,
2019-06-25 03:59:19 -04:00
"alias" : "/system/"
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2023-05-31 15:35:49 -04:00
"editorMode" : "code" ,
2019-06-25 03:59:19 -04:00
"expr" : "rate(process_cpu_system_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} system " ,
"metric" : "" ,
2023-05-31 15:35:49 -04:00
"range" : true ,
2019-06-25 03:59:19 -04:00
"refId" : "B" ,
"step" : 20
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"expr" : "rate(process_cpu_user_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} user" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:1278" ,
2019-06-25 03:59:19 -04:00
"colorMode" : "custom" ,
"fillColor" : "rgba(255, 255, 255, 1)" ,
"line" : true ,
"lineColor" : "rgba(216, 200, 27, 0.27)" ,
"op" : "gt" ,
2021-05-19 06:47:16 -04:00
"value" : 0.5 ,
"yaxis" : "left"
2019-06-25 03:59:19 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:1279" ,
2019-06-25 03:59:19 -04:00
"colorMode" : "custom" ,
"fillColor" : "rgba(255, 255, 255, 1)" ,
"line" : true ,
2021-05-19 06:47:16 -04:00
"lineColor" : "rgb(87, 6, 16)" ,
"op" : "gt" ,
"value" : 0.8 ,
"yaxis" : "left"
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:1498" ,
2021-05-19 06:47:16 -04:00
"colorMode" : "critical" ,
"fill" : true ,
"line" : true ,
2019-06-25 03:59:19 -04:00
"op" : "gt" ,
2021-05-19 06:47:16 -04:00
"value" : 1 ,
"yaxis" : "left"
2019-06-25 03:59:19 -04:00
}
] ,
"timeRegions" : [ ] ,
"title" : "CPU" ,
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : false ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:1250" ,
2019-06-25 03:59:19 -04:00
"format" : "percentunit" ,
"label" : "" ,
"logBase" : 1 ,
"max" : "1.2" ,
"min" : 0 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:1251" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2021-05-19 06:47:16 -04:00
"description" : "Shows the time in which the given percentage of reactor ticks completed, over the sampled timespan" ,
"fieldConfig" : {
"defaults" : {
2022-08-13 16:50:20 -04:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2022-11-22 05:51:01 -05:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-08-13 16:50:20 -04:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2022-12-13 09:19:43 -05:00
"color" : "green"
2022-08-13 16:50:20 -04:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "s"
2021-05-19 06:47:16 -04:00
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2022-08-13 16:50:20 -04:00
"y" : 27
2019-06-25 03:59:19 -04:00
} ,
2021-05-19 06:47:16 -04:00
"id" : 105 ,
"interval" : "" ,
2019-06-25 03:59:19 -04:00
"links" : [ ] ,
2020-06-02 07:43:22 -04:00
"options" : {
2022-08-13 16:50:20 -04:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
2022-11-22 05:51:01 -05:00
"placement" : "bottom" ,
"showLegend" : true
2022-08-13 16:50:20 -04:00
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
2020-06-02 07:43:22 -04:00
} ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "8.3.2" ,
2019-06-25 03:59:19 -04:00
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
"expr" : "histogram_quantile(0.999, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))" ,
"hide" : false ,
"interval" : "" ,
"legendFormat" : "{{job}}-{{index}} 99.9%" ,
"refId" : "E"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.99, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
2019-06-25 03:59:19 -04:00
"intervalFactor" : 2 ,
2021-05-19 06:47:16 -04:00
"legendFormat" : "{{job}}-{{index}} 99%" ,
2019-06-25 03:59:19 -04:00
"refId" : "A" ,
"step" : 20
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.95, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2022-08-13 16:50:20 -04:00
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} 95%" ,
"refId" : "B"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.90, rate(python_twisted_reactor_tick_time_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} 90%" ,
"refId" : "C"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "rate(python_twisted_reactor_tick_time_sum{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size]) / rate(python_twisted_reactor_tick_time_count{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size])" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} mean" ,
"refId" : "D"
2019-06-25 03:59:19 -04:00
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "Reactor tick quantiles" ,
2022-08-13 16:50:20 -04:00
"type" : "timeseries"
2019-06-25 03:59:19 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 0 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2022-08-13 16:50:20 -04:00
"y" : 34
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 34 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"expr" : "process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
2019-06-25 03:59:19 -04:00
"intervalFactor" : 2 ,
"legendFormat" : "{{job}} {{index}}" ,
"refId" : "A" ,
"step" : 20 ,
"target" : ""
2021-05-19 06:47:16 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "sum(process_resident_memory_bytes{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})" ,
"interval" : "" ,
"legendFormat" : "total" ,
"refId" : "B"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Memory" ,
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : false ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "cumulative"
} ,
2021-05-19 06:47:16 -04:00
"transformations" : [ ] ,
2019-06-25 03:59:19 -04:00
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "bytes" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2022-08-13 16:50:20 -04:00
"y" : 34
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 49 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2021-05-19 06:47:16 -04:00
"seriesOverrides" : [
{
"alias" : "/^up/" ,
"legend" : false ,
"yaxis" : 2
}
] ,
2019-06-25 03:59:19 -04:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "scrape_duration_seconds{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
2021-05-19 06:47:16 -04:00
"legendFormat" : "{{job}}-{{index}}" ,
2019-06-25 03:59:19 -04:00
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Prometheus scrape time" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "s" ,
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"min" : "0" ,
2019-06-25 03:59:19 -04:00
"show" : true
} ,
{
2021-05-19 06:47:16 -04:00
"decimals" : 0 ,
"format" : "none" ,
"label" : "" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"max" : "0" ,
"min" : "-1" ,
2019-06-25 03:59:19 -04:00
"show" : false
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2023-05-31 15:35:49 -04:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2020-06-02 07:43:22 -04:00
"fill" : 0 ,
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2022-08-13 16:50:20 -04:00
"y" : 41
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
"id" : 53 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2023-05-31 15:35:49 -04:00
"seriesOverrides" : [
{
"$$hashKey" : "object:116" ,
"alias" : "/^version .*/" ,
"lines" : true ,
"linewidth" : 6 ,
"points" : false
}
] ,
2019-06-25 03:59:19 -04:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2023-05-31 15:35:49 -04:00
"editorMode" : "code" ,
2020-06-02 07:43:22 -04:00
"expr" : "min_over_time(up{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}}" ,
2023-05-31 15:35:49 -04:00
"range" : true ,
2020-06-02 07:43:22 -04:00
"refId" : "A"
2023-05-31 15:35:49 -04:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"editorMode" : "code" ,
"expr" : "synapse_build_info{instance=\"$instance\", job=\"synapse\"} - 1" ,
"hide" : false ,
"legendFormat" : "version {{version}}" ,
"range" : true ,
"refId" : "deployed_synapse_versions"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2020-06-02 07:43:22 -04:00
"title" : "Up" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : false ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-06-02 07:43:22 -04:00
"format" : "short" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
2020-06-02 07:43:22 -04:00
"show" : true
2019-06-25 03:59:19 -04:00
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2022-08-13 16:50:20 -04:00
"y" : 41
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 120 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
2021-05-19 06:47:16 -04:00
"nullPointMode" : "null as zero" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
2021-05-19 06:47:16 -04:00
"seriesOverrides" : [ ] ,
2019-06-25 03:59:19 -04:00
"spaceLength" : 10 ,
2021-05-19 06:47:16 -04:00
"stack" : true ,
2019-06-25 03:59:19 -04:00
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"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])" ,
"format" : "time_series" ,
"hide" : false ,
"instant" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}" ,
"refId" : "A"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_background_process_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_background_process_ru_stime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"hide" : false ,
"instant" : false ,
2019-06-25 03:59:19 -04:00
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{name}}" ,
"refId" : "B"
}
] ,
"thresholds" : [
{
"colorMode" : "critical" ,
"fill" : true ,
"line" : true ,
"op" : "gt" ,
"value" : 1 ,
"yaxis" : "left"
2019-06-25 03:59:19 -04:00
}
] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Stacked CPU usage" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : false ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:572" ,
2021-05-19 06:47:16 -04:00
"format" : "percentunit" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:573" ,
2021-05-19 06:47:16 -04:00
"format" : "short" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"show" : true
2019-06-25 03:59:19 -04:00
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2020-06-02 07:43:22 -04:00
"fill" : 1 ,
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2022-08-13 16:50:20 -04:00
"y" : 48
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
"id" : 136 ,
"interval" : "" ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2020-06-02 07:43:22 -04:00
"pointradius" : 2 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
"expr" : "rate(synapse_http_client_requests_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2020-06-02 07:43:22 -04:00
"legendFormat" : "{{job}}-{{index}} {{method}}" ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2019-06-25 03:59:19 -04:00
"refId" : "A"
2020-06-02 07:43:22 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
"expr" : "rate(synapse_http_matrixfederationclient_requests_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2020-06-02 07:43:22 -04:00
"legendFormat" : "{{job}}-{{index}} {{method}} (federation)" ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2020-06-02 07:43:22 -04:00
"refId" : "B"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2020-06-02 07:43:22 -04:00
"title" : "Outgoing HTTP request rate" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : false ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:123" ,
2020-06-02 07:43:22 -04:00
"format" : "reqps" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:124" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2022-08-13 16:50:20 -04:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2022-11-22 05:51:01 -05:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-08-13 16:50:20 -04:00
"axisLabel" : "active threads" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2022-12-13 09:19:43 -05:00
"color" : "green"
2022-08-13 16:50:20 -04:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
"y" : 48
} ,
"id" : 207 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
2022-11-22 05:51:01 -05:00
"placement" : "bottom" ,
"showLegend" : true
2022-08-13 16:50:20 -04:00
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
"expr" : "synapse_threadpool_working_threads{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
"interval" : "" ,
"legendFormat" : "{{job}}-{{index}} {{name}}" ,
"refId" : "A"
}
] ,
"title" : "Threadpool activity" ,
"type" : "timeseries"
}
] ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"refId" : "A"
2021-05-19 06:47:16 -04:00
}
] ,
"title" : "Process info" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 27
} ,
"id" : 56 ,
"panels" : [
{
"cards" : {
"cardPadding" : -1 ,
"cardRound" : 0
} ,
"color" : {
"cardColor" : "#b4ff00" ,
"colorScale" : "sqrt" ,
"colorScheme" : "interpolateInferno" ,
"exponent" : 0.5 ,
"mode" : "spectrum"
} ,
"dataFormat" : "tsbuckets" ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2022-11-22 05:51:01 -05:00
"fieldConfig" : {
"defaults" : {
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"scaleDistribution" : {
"type" : "linear"
}
}
} ,
"overrides" : [ ]
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 28
2021-05-19 06:47:16 -04:00
} ,
"heatmap" : { } ,
"hideZeroBuckets" : false ,
"highlightCards" : true ,
"id" : 85 ,
"legend" : {
"show" : false
} ,
"links" : [ ] ,
2022-11-22 05:51:01 -05:00
"options" : {
"calculate" : false ,
"calculation" : { } ,
"cellGap" : -1 ,
"cellRadius" : 0 ,
"cellValues" : { } ,
"color" : {
"exponent" : 0.5 ,
"fill" : "#b4ff00" ,
"mode" : "scheme" ,
"reverse" : false ,
"scale" : "exponential" ,
"scheme" : "Inferno" ,
"steps" : 128
} ,
"exemplars" : {
"color" : "rgba(255,0,255,0.7)"
} ,
"filterValues" : {
"le" : 1e-9
} ,
"legend" : {
"show" : false
} ,
"rowsFrame" : {
"layout" : "auto"
} ,
"showValue" : "never" ,
"tooltip" : {
"show" : true ,
"yHistogram" : true
} ,
"yAxis" : {
"axisPlacement" : "left" ,
"reverse" : false ,
"unit" : "s"
}
} ,
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"reverseYBuckets" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\"}[$bucket_size])) by (le)" ,
"format" : "heatmap" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{le}}" ,
"refId" : "A"
}
] ,
"title" : "Event Send Time (Including errors, across all workers)" ,
"tooltip" : {
"show" : true ,
"showHistogram" : true
} ,
"type" : "heatmap" ,
"xAxis" : {
"show" : true
} ,
"yAxis" : {
"format" : "s" ,
"logBase" : 2 ,
2022-08-13 16:50:20 -04:00
"show" : true
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"yBucketBound" : "auto"
2019-06-25 03:59:19 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "" ,
"editable" : true ,
"error" : false ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2021-05-19 06:47:16 -04:00
"grid" : { } ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 9 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 28
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 33 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2021-05-19 06:47:16 -04:00
"show" : false ,
2019-06-25 03:59:19 -04:00
"total" : false ,
"values" : false
} ,
"lines" : true ,
2021-05-19 06:47:16 -04:00
"linewidth" : 2 ,
2019-06-25 03:59:19 -04:00
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2021-05-19 06:47:16 -04:00
"paceLength" : 10 ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 5 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
2021-05-19 06:47:16 -04:00
"stack" : false ,
2019-06-25 03:59:19 -04:00
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_storage_events_persisted_events_total{instance=\"$instance\"}[$bucket_size])) without (job,index)" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "A" ,
"step" : 20 ,
"target" : ""
2019-06-25 03:59:19 -04:00
}
] ,
2021-05-19 06:47:16 -04:00
"thresholds" : [ ] ,
2019-06-25 03:59:19 -04:00
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Events Persisted (all workers)" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : true ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
2021-05-19 06:47:16 -04:00
"value_type" : "cumulative"
2019-06-25 03:59:19 -04:00
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:102" ,
2021-05-19 06:47:16 -04:00
"format" : "hertz" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:103" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2021-05-19 06:47:16 -04:00
} ,
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"decimals" : 1 ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2021-05-19 06:47:16 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 37
2019-06-25 03:59:19 -04:00
} ,
2021-05-19 06:47:16 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 40 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2021-05-19 06:47:16 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"expr" : "rate(synapse_storage_events_persisted_by_source_type{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{type}}" ,
"refId" : "D"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Events/s Local vs Remote" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"label" : "" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"decimals" : 1 ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2021-05-19 06:47:16 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 37
2019-06-25 03:59:19 -04:00
} ,
2021-05-19 06:47:16 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 46 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2021-05-19 06:47:16 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"expr" : "rate(synapse_storage_events_persisted_by_event_type{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
"format" : "time_series" ,
"instant" : false ,
"intervalFactor" : 2 ,
"legendFormat" : "{{type}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Events/s by Type" ,
"tooltip" : {
"shared" : false ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : {
"irc-freenode (local)" : "#EAB839"
} ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"decimals" : 1 ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2021-05-19 06:47:16 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 44
2019-06-25 03:59:19 -04:00
} ,
2021-05-19 06:47:16 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 44 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"hideEmpty" : true ,
"hideZero" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2021-05-19 06:47:16 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"expr" : "rate(synapse_storage_events_persisted_by_origin{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{origin_entity}} ({{origin_type}})" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Events/s by Origin" ,
"tooltip" : {
"shared" : false ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"decimals" : 1 ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2021-05-19 06:47:16 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 44
2019-06-25 03:59:19 -04:00
} ,
2021-05-19 06:47:16 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 45 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"hideEmpty" : true ,
"hideZero" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2021-05-19 06:47:16 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
"expr" : "sum(rate(synapse_storage_events_persisted_events_sep_total{job=~\"$job\",index=~\"$index\", type=\"m.room.member\",instance=\"$instance\", origin_type=\"local\"}[$bucket_size])) by (origin_type, origin_entity)" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{origin_entity}} ({{origin_type}})" ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2019-06-25 03:59:19 -04:00
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Memberships/s by Origin" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:232" ,
2019-06-25 03:59:19 -04:00
"format" : "hertz" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:233" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2021-05-19 06:47:16 -04:00
} ,
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 0 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 9 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 51
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 118 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2021-05-19 06:47:16 -04:00
"paceLength" : 10 ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2021-05-19 06:47:16 -04:00
"repeatDirection" : "h" ,
"seriesOverrides" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:316" ,
2021-05-19 06:47:16 -04:00
"alias" : "mean" ,
"linewidth" : 2
}
] ,
2019-06-25 03:59:19 -04:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.99, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\",code=~\"2..\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (method))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} 99%" ,
"refId" : "A"
} ,
2019-06-25 03:59:19 -04:00
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.95, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\",code=~\"2..\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (method))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} 95%" ,
"refId" : "B"
2019-06-25 03:59:19 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.90, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\",code=~\"2..\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (method))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} 90%" ,
"refId" : "C"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.50, sum(rate(synapse_http_server_response_time_seconds_bucket{servlet='RoomSendEventRestServlet',instance=\"$instance\",code=~\"2..\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (method))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} 50%" ,
"refId" : "D"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
2021-05-19 06:47:16 -04:00
"expr" : "sum(rate(synapse_http_server_response_time_seconds_sum{servlet='RoomSendEventRestServlet',instance=\"$instance\",code=~\"2..\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (method) / sum(rate(synapse_http_server_response_time_seconds_count{servlet='RoomSendEventRestServlet',instance=\"$instance\",code=~\"2..\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (method)" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} mean" ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2021-05-19 06:47:16 -04:00
"refId" : "E"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Event send time quantiles by worker" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:263" ,
2021-05-19 06:47:16 -04:00
"format" : "s" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:264" ,
2021-05-19 06:47:16 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
2022-08-13 16:50:20 -04:00
} ,
2021-05-19 06:47:16 -04:00
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"description" : "CPU and DB time spent on most expensive state resolution in a room, summed over all workers. This is a very rough proxy for \"how fast is state res\", but it doesn't accurately represent the system load (e.g. it completely ignores cheap state resolutions).\n" ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
2022-08-13 16:50:20 -04:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2022-11-22 05:51:01 -05:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-08-13 16:50:20 -04:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 30 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2022-12-13 09:19:43 -05:00
"color" : "green"
2022-08-13 16:50:20 -04:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "s/s"
2021-05-19 06:47:16 -04:00
} ,
"overrides" : [ ]
} ,
2022-08-13 16:50:20 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 51
2022-08-13 16:50:20 -04:00
} ,
"id" : 222 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
2022-11-22 05:51:01 -05:00
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : false
2022-08-13 16:50:20 -04:00
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"exemplar" : false ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_state_res_db_for_biggest_room_seconds_total{instance=\"$instance\"}[1m]))" ,
2022-08-13 16:50:20 -04:00
"format" : "time_series" ,
"hide" : false ,
"instant" : false ,
"interval" : "" ,
"legendFormat" : "DB time" ,
"refId" : "B"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"exemplar" : false ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_state_res_cpu_for_biggest_room_seconds_total{instance=\"$instance\"}[1m]))" ,
2022-08-13 16:50:20 -04:00
"format" : "time_series" ,
"hide" : false ,
"instant" : false ,
"interval" : "" ,
"legendFormat" : "CPU time" ,
"refId" : "C"
}
] ,
"title" : "Stateres worst-case" ,
"type" : "timeseries"
}
] ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"refId" : "A"
}
] ,
"title" : "Event persistence" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 28
} ,
"id" : 57 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
"editable" : true ,
"error" : false ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 2 ,
"fillGradient" : 0 ,
"grid" : { } ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 29
2021-05-19 06:47:16 -04:00
} ,
"hiddenSeries" : false ,
"id" : 4 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"hideEmpty" : false ,
"hideZero" : true ,
"max" : false ,
"min" : false ,
"rightSide" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"expr" : "rate(synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:234" ,
2021-05-19 06:47:16 -04:00
"colorMode" : "custom" ,
"fill" : true ,
"fillColor" : "rgba(216, 200, 27, 0.27)" ,
"op" : "gt" ,
"value" : 100 ,
"yaxis" : "left"
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:235" ,
2021-05-19 06:47:16 -04:00
"colorMode" : "custom" ,
"fill" : true ,
"fillColor" : "rgba(234, 112, 112, 0.22)" ,
"op" : "gt" ,
"value" : 250 ,
"yaxis" : "left"
}
] ,
2019-06-25 03:59:19 -04:00
"timeRegions" : [ ] ,
"title" : "Request Count by arrival time" ,
"tooltip" : {
"shared" : false ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:206" ,
2019-06-25 03:59:19 -04:00
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:207" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 29
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 32 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"expr" : "rate(synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\",method!=\"OPTIONS\"}[$bucket_size]) and topk(10,synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",method!=\"OPTIONS\"})" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{method}} {{servlet}} {{job}}-{{index}}" ,
"refId" : "A" ,
"step" : 20 ,
"target" : ""
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Top 10 Request Counts" ,
"tooltip" : {
"shared" : false ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:305" ,
2019-06-25 03:59:19 -04:00
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:306" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 2 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 37
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
"id" : 139 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"hideEmpty" : false ,
"hideZero" : true ,
"max" : false ,
"min" : false ,
"rightSide" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"expr" : "rate(synapse_http_server_in_flight_requests_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_http_server_in_flight_requests_ru_stime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:135" ,
2019-06-25 03:59:19 -04:00
"colorMode" : "custom" ,
"fill" : true ,
"fillColor" : "rgba(216, 200, 27, 0.27)" ,
"op" : "gt" ,
"value" : 100 ,
"yaxis" : "left"
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:136" ,
2019-06-25 03:59:19 -04:00
"colorMode" : "custom" ,
"fill" : true ,
"fillColor" : "rgba(234, 112, 112, 0.22)" ,
"op" : "gt" ,
"value" : 250 ,
"yaxis" : "left"
}
] ,
"timeRegions" : [ ] ,
"title" : "Total CPU Usage by Endpoint" ,
"tooltip" : {
"shared" : false ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:107" ,
2019-06-25 03:59:19 -04:00
"format" : "percentunit" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:108" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 0 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 37
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 52 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"hideEmpty" : false ,
"hideZero" : true ,
"max" : false ,
"min" : false ,
"rightSide" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"expr" : "(rate(synapse_http_server_in_flight_requests_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_http_server_in_flight_requests_ru_stime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) / rate(synapse_http_server_requests_received_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 1 ,
2019-06-25 03:59:19 -04:00
"legendFormat" : "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:417" ,
2019-06-25 03:59:19 -04:00
"colorMode" : "custom" ,
"fill" : true ,
"fillColor" : "rgba(216, 200, 27, 0.27)" ,
"op" : "gt" ,
2021-05-19 06:47:16 -04:00
"value" : 100 ,
"yaxis" : "left"
2019-06-25 03:59:19 -04:00
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:418" ,
2019-06-25 03:59:19 -04:00
"colorMode" : "custom" ,
"fill" : true ,
"fillColor" : "rgba(234, 112, 112, 0.22)" ,
"op" : "gt" ,
2021-05-19 06:47:16 -04:00
"value" : 250 ,
"yaxis" : "left"
2019-06-25 03:59:19 -04:00
}
] ,
"timeRegions" : [ ] ,
"title" : "Average CPU Usage by Endpoint" ,
"tooltip" : {
"shared" : false ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:389" ,
2019-06-25 03:59:19 -04:00
"format" : "s" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:390" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 45
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 7 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"hideEmpty" : true ,
"hideZero" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"expr" : "rate(synapse_http_server_in_flight_requests_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 1 ,
2019-06-25 03:59:19 -04:00
"legendFormat" : "{{job}}-{{index}} {{method}} {{servlet}} {{tag}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "DB Usage by endpoint" ,
"tooltip" : {
"shared" : false ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:488" ,
2019-06-25 03:59:19 -04:00
"format" : "percentunit" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:489" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 2 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 45
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 47 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : false ,
"hideEmpty" : false ,
"hideZero" : true ,
"max" : true ,
"min" : false ,
"rightSide" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"expr" : "(sum(rate(synapse_http_server_response_time_seconds_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\",tag!=\"incremental_sync\"}[$bucket_size])) without (code))/(sum(rate(synapse_http_server_response_time_seconds_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\",tag!=\"incremental_sync\"}[$bucket_size])) without (code))" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 1 ,
2019-06-25 03:59:19 -04:00
"legendFormat" : "{{job}}-{{index}} {{method}} {{servlet}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Non-sync avg response time" ,
"tooltip" : {
"shared" : false ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "s" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : false
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 53
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 103 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2021-05-19 06:47:16 -04:00
"seriesOverrides" : [
{
"alias" : "Total" ,
"color" : "rgb(255, 255, 255)" ,
"fill" : 0 ,
"linewidth" : 3
}
] ,
2019-06-25 03:59:19 -04:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"expr" : "topk(10,synapse_http_server_in_flight_requests_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"})" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{method}} {{servlet}}" ,
"refId" : "A"
2021-05-19 06:47:16 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "sum(avg_over_time(synapse_http_server_in_flight_requests_count{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))" ,
"interval" : "" ,
"legendFormat" : "Total" ,
"refId" : "B"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Requests in flight" ,
"tooltip" : {
"shared" : false ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"refId" : "A"
}
] ,
2019-06-25 03:59:19 -04:00
"title" : "Requests" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2021-05-19 06:47:16 -04:00
"y" : 29
2019-06-25 03:59:19 -04:00
} ,
"id" : 97 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 30
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 99 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2022-08-13 16:50:20 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_background_process_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])+rate(synapse_background_process_ru_stime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{name}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "CPU usage by background jobs" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "percentunit" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 30
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 101 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2022-08-13 16:50:20 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_background_process_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) + rate(synapse_background_process_db_sched_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{name}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "DB usage by background jobs (including scheduling time)" ,
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : false ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "percentunit" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2020-06-02 07:43:22 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2020-06-02 07:43:22 -04:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 39
2020-06-02 07:43:22 -04:00
} ,
"hiddenSeries" : false ,
"id" : 138 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
2022-08-13 16:50:20 -04:00
"options" : {
"alertThreshold" : true
} ,
2020-06-02 07:43:22 -04:00
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2020-06-02 07:43:22 -04:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2020-06-02 07:43:22 -04:00
"expr" : "synapse_background_process_in_flight_count{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}" ,
"legendFormat" : "{{job}}-{{index}} {{name}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Background jobs in flight" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2020-06-02 07:43:22 -04:00
}
2019-06-25 03:59:19 -04:00
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"refId" : "A"
}
] ,
2019-06-25 03:59:19 -04:00
"title" : "Background jobs" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2021-05-19 06:47:16 -04:00
"y" : 30
2019-06-25 03:59:19 -04:00
} ,
"id" : 81 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 31
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 79 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2021-08-16 06:57:09 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_federation_client_sent_transactions_total{instance=\"$instance\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2020-03-19 06:45:40 -04:00
"legendFormat" : "successful txn rate" ,
2019-06-25 03:59:19 -04:00
"refId" : "A"
2020-03-19 06:45:40 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_util_metrics_block_count_total{block_name=\"_send_new_transaction\",instance=\"$instance\"}[$bucket_size]) - ignoring (block_name) rate(synapse_federation_client_sent_transactions_total{instance=\"$instance\"}[$bucket_size]))" ,
2020-03-19 06:45:40 -04:00
"legendFormat" : "failed txn rate" ,
"refId" : "B"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Outgoing federation transaction rate" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
2020-06-02 07:43:22 -04:00
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 31
2020-06-02 07:43:22 -04:00
} ,
"hiddenSeries" : false ,
"id" : 83 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2021-08-16 06:57:09 -04:00
"options" : {
"alertThreshold" : true
} ,
2020-06-02 07:43:22 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2020-06-02 07:43:22 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_federation_server_received_pdus_total{instance=~\"$instance\"}[$bucket_size]))" ,
2020-06-02 07:43:22 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "pdus" ,
"refId" : "A"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_federation_server_received_edus_total{instance=~\"$instance\"}[$bucket_size]))" ,
2020-06-02 07:43:22 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "edus" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Incoming PDU/EDU rate" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2020-06-02 07:43:22 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2023-05-31 15:35:49 -04:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2020-06-02 07:43:22 -04:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 40
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
"id" : 109 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2021-08-16 06:57:09 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2023-05-31 15:35:49 -04:00
"editorMode" : "code" ,
"expr" : "sum(rate(synapse_federation_client_sent_pdu_destinations_count_total{instance=\"$instance\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2020-06-02 07:43:22 -04:00
"interval" : "" ,
2019-06-25 03:59:19 -04:00
"intervalFactor" : 1 ,
"legendFormat" : "pdus" ,
2023-05-31 15:35:49 -04:00
"range" : true ,
2019-06-25 03:59:19 -04:00
"refId" : "A"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_federation_client_sent_edus_total{instance=\"$instance\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "edus" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2020-06-02 07:43:22 -04:00
"title" : "Outgoing PDU/EDU rate" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
2020-06-02 07:43:22 -04:00
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 40
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
"id" : 111 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2021-08-16 06:57:09 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
"expr" : "rate(synapse_federation_client_sent_edus_by_type_total{instance=\"$instance\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2020-06-02 07:43:22 -04:00
"legendFormat" : "{{type}}" ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2019-06-25 03:59:19 -04:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2020-06-02 07:43:22 -04:00
"title" : "Outgoing EDUs by type" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:462" ,
2019-06-25 03:59:19 -04:00
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:463" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
2023-05-31 15:35:49 -04:00
"uid" : "${DS_PROMETHEUS}"
2022-08-13 16:50:20 -04:00
} ,
2023-05-31 15:35:49 -04:00
"description" : "Triangular growth may indicate a problem with federation sending from the remote host --- but it may also be the case that everyone is asleep and no messages are being sent.\n\nSee https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_metrics_domains" ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
2023-05-31 15:35:49 -04:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"axisSoftMax" : 60 ,
"axisSoftMin" : 0 ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 60
}
]
} ,
"unit" : "m"
2021-05-19 06:47:16 -04:00
} ,
2023-05-31 15:35:49 -04:00
"overrides" : [
{
"__systemRef" : "hideSeriesFrom" ,
"matcher" : {
"id" : "byNames" ,
"options" : {
"mode" : "exclude" ,
"names" : [
"libera.chat "
] ,
"prefix" : "All except:" ,
"readOnly" : true
}
} ,
"properties" : [
{
"id" : "custom.hideFrom" ,
"value" : {
"legend" : false ,
"tooltip" : false ,
"viz" : true
}
}
]
}
]
2021-05-19 06:47:16 -04:00
} ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
2020-06-02 07:43:22 -04:00
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 49
2019-06-25 03:59:19 -04:00
} ,
2023-05-31 15:35:49 -04:00
"id" : 243 ,
2021-08-16 06:57:09 -04:00
"options" : {
2023-05-31 15:35:49 -04:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
2021-08-16 06:57:09 -04:00
} ,
2021-05-19 06:47:16 -04:00
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
2023-05-31 15:35:49 -04:00
"uid" : "${DS_PROMETHEUS}"
2022-08-13 16:50:20 -04:00
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
2023-05-31 15:35:49 -04:00
"exemplar" : false ,
"expr" : "(time() - max without (job, index, host) (avg_over_time(synapse_federation_last_received_pdu_time[10m]))) / 60" ,
"instant" : false ,
"legendFormat" : "{{server_name}} " ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2021-05-19 06:47:16 -04:00
"refId" : "A"
}
] ,
2023-05-31 15:35:49 -04:00
"title" : "Age of last PDU received from nominated hosts" ,
"type" : "timeseries"
2021-05-19 06:47:16 -04:00
} ,
{
2023-05-31 15:35:49 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "Triangular growth may indicate a problem with federation senders on the monitored instance---but it may also be the case that everyone is asleep and no messages are being sent.\n\nSee https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_metrics_domains" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"axisSoftMax" : 60 ,
"axisSoftMin" : 0 ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 60
}
]
} ,
"unit" : "m"
} ,
"overrides" : [
{
"__systemRef" : "hideSeriesFrom" ,
"matcher" : {
"id" : "byNames" ,
"options" : {
"mode" : "exclude" ,
"names" : [
"libera.chat"
] ,
"prefix" : "All except:" ,
"readOnly" : true
}
} ,
"properties" : [
{
"id" : "custom.hideFrom" ,
"value" : {
"legend" : false ,
"tooltip" : false ,
"viz" : true
}
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 49
} ,
"id" : 241 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "(time() - max without (job, index, host) (avg_over_time(synapse_federation_last_sent_pdu_time[10m]))) / 60" ,
"instant" : false ,
"legendFormat" : "{{server_name}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Age of last PDU sent to nominated hosts" ,
"type" : "timeseries"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"description" : "The number of events in the in-memory queues " ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
"y" : 57
} ,
"hiddenSeries" : false ,
"id" : 142 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "9.2.2" ,
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"editorMode" : "code" ,
"expr" : "synapse_federation_transaction_queue_pending_pdus{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
"interval" : "" ,
"legendFormat" : "pending PDUs {{job}}-{{index}}" ,
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"expr" : "synapse_federation_transaction_queue_pending_edus{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
"interval" : "" ,
"legendFormat" : "pending EDUs {{job}}-{{index}}" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "In-memory federation transmission queues" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"$$hashKey" : "object:547" ,
"format" : "short" ,
"label" : "events" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"$$hashKey" : "object:548" ,
"format" : "short" ,
"label" : "" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
"align" : false
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "Number of events queued up on the master process for processing by the federation sender" ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 57
2021-05-19 06:47:16 -04:00
} ,
"hiddenSeries" : false ,
"id" : 140 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2021-08-16 06:57:09 -04:00
"options" : {
"alertThreshold" : true
} ,
2021-05-19 06:47:16 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 5 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2020-06-02 07:43:22 -04:00
"expr" : "synapse_federation_send_queue_presence_changed_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2020-06-02 07:43:22 -04:00
"legendFormat" : "presence changed" ,
2019-06-25 03:59:19 -04:00
"refId" : "A"
2020-06-02 07:43:22 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2020-06-02 07:43:22 -04:00
"expr" : "synapse_federation_send_queue_presence_map_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "presence map" ,
"refId" : "B"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2020-06-02 07:43:22 -04:00
"expr" : "synapse_federation_send_queue_presence_destinations_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "presence destinations" ,
"refId" : "E"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2020-06-02 07:43:22 -04:00
"expr" : "synapse_federation_send_queue_keyed_edu_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "keyed edus" ,
"refId" : "C"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2020-06-02 07:43:22 -04:00
"expr" : "synapse_federation_send_queue_edus_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "other edus" ,
"refId" : "D"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2020-06-02 07:43:22 -04:00
"expr" : "synapse_federation_send_queue_pos_time_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "stream positions" ,
"refId" : "F"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2020-06-02 07:43:22 -04:00
"title" : "Outgoing EDU queues on master" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2020-06-02 07:43:22 -04:00
"format" : "none" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2020-06-02 07:43:22 -04:00
"min" : "0" ,
2019-06-25 03:59:19 -04:00
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2020-07-13 09:48:21 -04:00
} ,
2021-05-19 06:47:16 -04:00
{
"cards" : {
2022-08-13 16:50:20 -04:00
"cardPadding" : -1
2021-05-19 06:47:16 -04:00
} ,
"color" : {
"cardColor" : "#b4ff00" ,
"colorScale" : "sqrt" ,
"colorScheme" : "interpolateInferno" ,
"exponent" : 0.5 ,
"min" : 0 ,
"mode" : "spectrum"
} ,
"dataFormat" : "tsbuckets" ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2022-11-22 05:51:01 -05:00
"fieldConfig" : {
"defaults" : {
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"scaleDistribution" : {
"type" : "linear"
}
}
} ,
"overrides" : [ ]
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 66
2021-05-19 06:47:16 -04:00
} ,
"heatmap" : { } ,
"hideZeroBuckets" : false ,
"highlightCards" : true ,
"id" : 166 ,
"legend" : {
"show" : false
} ,
"links" : [ ] ,
2022-11-22 05:51:01 -05:00
"options" : {
"calculate" : false ,
"calculation" : { } ,
"cellGap" : -1 ,
"cellValues" : {
"decimals" : 2
} ,
"color" : {
"exponent" : 0.5 ,
"fill" : "#b4ff00" ,
"min" : 0 ,
"mode" : "scheme" ,
"reverse" : false ,
"scale" : "exponential" ,
"scheme" : "Inferno" ,
"steps" : 128
} ,
"exemplars" : {
"color" : "rgba(255,0,255,0.7)"
} ,
"filterValues" : {
"le" : 1e-9
} ,
"legend" : {
"show" : false
} ,
"rowsFrame" : {
"layout" : "auto"
} ,
"showValue" : "never" ,
"tooltip" : {
"show" : true ,
"yHistogram" : true
} ,
"yAxis" : {
"axisPlacement" : "left" ,
"decimals" : 0 ,
"reverse" : false ,
"unit" : "s"
}
} ,
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"reverseYBuckets" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "sum(rate(synapse_event_processing_lag_by_event_bucket{instance=\"$instance\",name=\"federation_sender\"}[$bucket_size])) by (le)" ,
"format" : "heatmap" ,
"instant" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ le }}" ,
"refId" : "A"
}
] ,
"title" : "Federation send PDU lag" ,
"tooltip" : {
"show" : true ,
"showHistogram" : true
} ,
"tooltipDecimals" : 2 ,
"type" : "heatmap" ,
"xAxis" : {
"show" : true
} ,
"yAxis" : {
"decimals" : 0 ,
"format" : "s" ,
"logBase" : 1 ,
2022-08-13 16:50:20 -04:00
"show" : true
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"yBucketBound" : "auto"
2021-05-19 06:47:16 -04:00
} ,
2020-07-13 09:48:21 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 0 ,
2020-07-13 09:48:21 -04:00
"fillGradient" : 0 ,
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 9 ,
2020-07-13 09:48:21 -04:00
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 66
2020-07-13 09:48:21 -04:00
} ,
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 162 ,
2020-07-13 09:48:21 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2021-05-19 06:47:16 -04:00
"rightSide" : false ,
2020-07-13 09:48:21 -04:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
2021-05-19 06:47:16 -04:00
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
2021-08-16 06:57:09 -04:00
"options" : {
"alertThreshold" : true
} ,
2021-05-19 06:47:16 -04:00
"paceLength" : 10 ,
2020-07-13 09:48:21 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 5 ,
2020-07-13 09:48:21 -04:00
"points" : false ,
"renderer" : "flot" ,
2021-05-19 06:47:16 -04:00
"seriesOverrides" : [
{
"alias" : "Avg" ,
"fill" : 0 ,
"linewidth" : 3
} ,
{
"alias" : "99%" ,
"color" : "#C4162A" ,
"fillBelowTo" : "90%"
} ,
{
"alias" : "90%" ,
"color" : "#FF7383" ,
"fillBelowTo" : "75%"
} ,
{
"alias" : "75%" ,
"color" : "#FFEE52" ,
"fillBelowTo" : "50%"
} ,
{
"alias" : "50%" ,
"color" : "#73BF69" ,
"fillBelowTo" : "25%"
} ,
{
"alias" : "25%" ,
"color" : "#1F60C4" ,
"fillBelowTo" : "5%"
} ,
{
"alias" : "5%" ,
"lines" : false
} ,
{
"alias" : "Average" ,
"color" : "rgb(255, 255, 255)" ,
"lines" : true ,
"linewidth" : 3
}
] ,
2020-07-13 09:48:21 -04:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.99, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
2020-07-13 09:48:21 -04:00
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 1 ,
"legendFormat" : "99%" ,
"refId" : "D"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.9, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "90%" ,
2020-07-13 09:48:21 -04:00
"refId" : "A"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.75, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
2020-07-13 09:48:21 -04:00
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 1 ,
"legendFormat" : "75%" ,
"refId" : "C"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.5, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "50%" ,
2020-07-13 09:48:21 -04:00
"refId" : "B"
2021-05-19 06:47:16 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.25, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"interval" : "" ,
"legendFormat" : "25%" ,
"refId" : "F"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.05, sum(rate(synapse_event_processing_lag_by_event_bucket{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"interval" : "" ,
"legendFormat" : "5%" ,
"refId" : "G"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "sum(rate(synapse_event_processing_lag_by_event_sum{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size])) / sum(rate(synapse_event_processing_lag_by_event_count{name='federation_sender',index=~\"$index\",instance=\"$instance\"}[$bucket_size]))" ,
"interval" : "" ,
"legendFormat" : "Average" ,
"refId" : "H"
}
] ,
"thresholds" : [
{
"colorMode" : "warning" ,
"fill" : false ,
"line" : true ,
"op" : "gt" ,
"value" : 0.25 ,
"yaxis" : "left"
} ,
{
"colorMode" : "critical" ,
"fill" : false ,
"line" : true ,
"op" : "gt" ,
"value" : 1 ,
"yaxis" : "left"
2020-07-13 09:48:21 -04:00
}
] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Federation send PDU lag quantiles" ,
2020-07-13 09:48:21 -04:00
"tooltip" : {
"shared" : true ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2020-07-13 09:48:21 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-05-19 06:47:16 -04:00
"format" : "s" ,
"label" : "" ,
2020-07-13 09:48:21 -04:00
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
2021-05-19 06:47:16 -04:00
"format" : "hertz" ,
2020-07-13 09:48:21 -04:00
"label" : "" ,
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"min" : "0" ,
2020-07-13 09:48:21 -04:00
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2020-07-13 09:48:21 -04:00
}
2021-05-19 06:47:16 -04:00
} ,
{
"cards" : {
2022-08-13 16:50:20 -04:00
"cardPadding" : -1
2021-05-19 06:47:16 -04:00
} ,
"color" : {
"cardColor" : "#b4ff00" ,
"colorScale" : "sqrt" ,
"colorScheme" : "interpolateInferno" ,
"exponent" : 0.5 ,
"min" : 0 ,
"mode" : "spectrum"
} ,
"dataFormat" : "tsbuckets" ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2023-05-31 15:35:49 -04:00
"fieldConfig" : {
"defaults" : {
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"scaleDistribution" : {
"type" : "linear"
}
}
} ,
"overrides" : [ ]
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 75
2021-05-19 06:47:16 -04:00
} ,
"heatmap" : { } ,
"hideZeroBuckets" : false ,
"highlightCards" : true ,
"id" : 164 ,
"legend" : {
"show" : false
} ,
"links" : [ ] ,
2023-05-31 15:35:49 -04:00
"options" : {
"calculate" : false ,
"calculation" : { } ,
"cellGap" : -1 ,
"cellValues" : {
"decimals" : 2
} ,
"color" : {
"exponent" : 0.5 ,
"fill" : "#b4ff00" ,
"min" : 0 ,
"mode" : "scheme" ,
"reverse" : false ,
"scale" : "exponential" ,
"scheme" : "Inferno" ,
"steps" : 128
} ,
"exemplars" : {
"color" : "rgba(255,0,255,0.7)"
} ,
"filterValues" : {
"le" : 1e-9
} ,
"legend" : {
"show" : false
} ,
"rowsFrame" : {
"layout" : "auto"
} ,
"showValue" : "never" ,
"tooltip" : {
"show" : true ,
"yHistogram" : true
} ,
"yAxis" : {
"axisPlacement" : "left" ,
"decimals" : 0 ,
"reverse" : false ,
"unit" : "s"
}
} ,
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"reverseYBuckets" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "sum(rate(synapse_federation_server_pdu_process_time_bucket{instance=\"$instance\"}[$bucket_size])) by (le)" ,
"format" : "heatmap" ,
"instant" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ le }}" ,
"refId" : "A"
}
] ,
"title" : "Handle inbound PDU time" ,
"tooltip" : {
"show" : true ,
"showHistogram" : true
} ,
"tooltipDecimals" : 2 ,
"type" : "heatmap" ,
"xAxis" : {
"show" : true
} ,
"yAxis" : {
"decimals" : 0 ,
"format" : "s" ,
"logBase" : 1 ,
2022-08-13 16:50:20 -04:00
"show" : true
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"yBucketBound" : "auto"
2021-08-16 06:57:09 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2023-05-31 15:35:49 -04:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-08-16 06:57:09 -04:00
"editable" : true ,
"error" : false ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"grid" : { } ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 75
2021-08-16 06:57:09 -04:00
} ,
"hiddenSeries" : false ,
"id" : 203 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-08-16 06:57:09 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2023-05-31 15:35:49 -04:00
"editorMode" : "code" ,
"expr" : "synapse_federation_server_oldest_inbound_pdu_in_staging{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}" ,
2021-08-16 06:57:09 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2023-05-31 15:35:49 -04:00
"legendFormat" : "{{job}}-{{index}}" ,
"range" : true ,
2021-08-16 06:57:09 -04:00
"refId" : "A" ,
"step" : 4
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Age of oldest event in staging area" ,
"tooltip" : {
"msResolution" : false ,
"shared" : true ,
"sort" : 0 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:92" ,
2021-08-16 06:57:09 -04:00
"format" : "ms" ,
"logBase" : 1 ,
"min" : 0 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:93" ,
2021-08-16 06:57:09 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-08-16 06:57:09 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2023-05-31 15:35:49 -04:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-08-16 06:57:09 -04:00
"editable" : true ,
"error" : false ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"grid" : { } ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 84
2021-08-16 06:57:09 -04:00
} ,
"hiddenSeries" : false ,
"id" : 202 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-08-16 06:57:09 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2023-05-31 15:35:49 -04:00
"editorMode" : "code" ,
"expr" : "synapse_federation_server_number_inbound_pdu_in_staging{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}" ,
2021-08-16 06:57:09 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
2023-05-31 15:35:49 -04:00
"legendFormat" : "{{job}}-{{index}}" ,
"range" : true ,
2021-08-16 06:57:09 -04:00
"refId" : "A" ,
"step" : 4
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Number of events in federation staging area" ,
"tooltip" : {
"msResolution" : false ,
"shared" : true ,
"sort" : 0 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:92" ,
2021-08-16 06:57:09 -04:00
"format" : "none" ,
"logBase" : 1 ,
"min" : 0 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:93" ,
2021-08-16 06:57:09 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-08-16 06:57:09 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
2021-08-16 06:57:09 -04:00
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 84
2021-08-16 06:57:09 -04:00
} ,
"hiddenSeries" : false ,
"id" : 205 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-08-16 06:57:09 -04:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
2021-08-16 06:57:09 -04:00
"expr" : "sum(rate(synapse_federation_soft_failed_events_total{instance=\"$instance\"}[$bucket_size]))" ,
"interval" : "" ,
"legendFormat" : "soft-failed events" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Soft-failed event rate" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:131" ,
2021-08-16 06:57:09 -04:00
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:132" ,
2021-08-16 06:57:09 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : false
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-08-16 06:57:09 -04:00
}
2021-05-19 06:47:16 -04:00
}
2019-06-25 03:59:19 -04:00
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"refId" : "A"
}
] ,
2019-06-25 03:59:19 -04:00
"title" : "Federation" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2021-05-19 06:47:16 -04:00
"y" : 31
2019-06-25 03:59:19 -04:00
} ,
2022-11-22 05:51:01 -05:00
"id" : 227 ,
2019-06-25 03:59:19 -04:00
"panels" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2022-08-13 16:50:20 -04:00
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
2022-11-22 05:51:01 -05:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2023-05-31 15:35:49 -04:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-11-22 05:51:01 -05:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 154
2022-11-22 05:51:01 -05:00
} ,
"id" : 239 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "sum(increase(synapse_rate_limit_reject_total{instance=\"$instance\"}[$bucket_size]))" ,
"refId" : "A"
}
] ,
"title" : "Number of rate limit rejected requests" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2023-05-31 15:35:49 -04:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-11-22 05:51:01 -05:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 154
2022-11-22 05:51:01 -05:00
} ,
"id" : 235 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "sum(increase(synapse_rate_limit_sleep_total{instance=\"$instance\"}[$bucket_size]))" ,
"refId" : "A"
}
] ,
"title" : "Number of requests being slept by the rate limiter" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "Why is the data zero (0)? https://github.com/matrix-org/synapse/pull/13541#discussion_r951926322" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2023-05-31 15:35:49 -04:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-11-22 05:51:01 -05:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 162
2022-11-22 05:51:01 -05:00
} ,
"id" : 237 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.0.4" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "sum(increase(synapse_rate_limit_reject_affected_hosts{instance=\"$instance\"}[$bucket_size]))" ,
"refId" : "A"
}
] ,
"title" : "Number of hosts being rejected by the rate limiter" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "https://github.com/matrix-org/synapse/pull/13541" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2023-05-31 15:35:49 -04:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-11-22 05:51:01 -05:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 162
2022-11-22 05:51:01 -05:00
} ,
"id" : 233 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.0.4" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "sum(increase(synapse_rate_limit_sleep_affected_hosts{instance=\"$instance\"}[$bucket_size]))" ,
"refId" : "A"
}
] ,
"title" : "Number of hosts being slept by the rate limiter" ,
"type" : "timeseries"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 0 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 170
2022-11-22 05:51:01 -05:00
} ,
"hiddenSeries" : false ,
"id" : 229 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"rightSide" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2022-11-22 05:51:01 -05:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"$$hashKey" : "object:276" ,
"alias" : "Avg" ,
"fill" : 0 ,
"linewidth" : 3
} ,
{
"$$hashKey" : "object:277" ,
"alias" : "99%" ,
"color" : "#C4162A" ,
"fillBelowTo" : "90%"
} ,
{
"$$hashKey" : "object:278" ,
"alias" : "90%" ,
"color" : "#FF7383" ,
"fillBelowTo" : "75%"
} ,
{
"$$hashKey" : "object:279" ,
"alias" : "75%" ,
"color" : "#FFEE52" ,
"fillBelowTo" : "50%"
} ,
{
"$$hashKey" : "object:280" ,
"alias" : "50%" ,
"color" : "#73BF69" ,
"fillBelowTo" : "25%"
} ,
{
"$$hashKey" : "object:281" ,
"alias" : "25%" ,
"color" : "#1F60C4" ,
"fillBelowTo" : "5%"
} ,
{
"$$hashKey" : "object:282" ,
"alias" : "5%" ,
"lines" : false
} ,
{
"$$hashKey" : "object:283" ,
"alias" : "Average" ,
"color" : "rgb(255, 255, 255)" ,
"lines" : true ,
"linewidth" : 3
} ,
{
"$$hashKey" : "object:284" ,
"alias" : ">99%" ,
"color" : "#B877D9" ,
"fill" : 3 ,
"lines" : true
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"uid" : "$datasource"
} ,
"editorMode" : "code" ,
"expr" : "histogram_quantile(0.9995, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : ">99%" ,
"range" : true ,
"refId" : "E"
} ,
{
"datasource" : {
"uid" : "$datasource"
} ,
"editorMode" : "code" ,
"expr" : "histogram_quantile(0.99, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "99%" ,
"range" : true ,
"refId" : "D"
} ,
{
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "histogram_quantile(0.9, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "90%" ,
"refId" : "A"
} ,
{
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "histogram_quantile(0.75, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "75%" ,
"refId" : "C"
} ,
{
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "histogram_quantile(0.5, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "50%" ,
"refId" : "B"
} ,
{
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "histogram_quantile(0.25, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"legendFormat" : "25%" ,
"refId" : "F"
} ,
{
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "histogram_quantile(0.05, sum(rate(synapse_rate_limit_queue_wait_time_seconds_bucket{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) by (le))" ,
"legendFormat" : "5%" ,
"refId" : "G"
} ,
{
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "sum(rate(synapse_rate_limit_queue_wait_time_seconds_sum{index=~\"$index\",instance=\"$instance\"}[$bucket_size])) / sum(rate(synapse_rate_limit_queue_wait_time_seconds_count{index=~\"$index\",instance=\"$instance\"}[$bucket_size]))" ,
"legendFormat" : "Average" ,
"refId" : "H"
}
] ,
"thresholds" : [
{
"$$hashKey" : "object:283" ,
"colorMode" : "warning" ,
"fill" : false ,
"line" : true ,
"op" : "gt" ,
"value" : 1 ,
"yaxis" : "left"
} ,
{
"$$hashKey" : "object:284" ,
"colorMode" : "critical" ,
"fill" : false ,
"line" : true ,
"op" : "gt" ,
"value" : 2 ,
"yaxis" : "left"
}
] ,
"timeRegions" : [ ] ,
"title" : "Rate limit queue wait time Quantiles (all workers)" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"$$hashKey" : "object:255" ,
"format" : "s" ,
"label" : "" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"$$hashKey" : "object:256" ,
"format" : "hertz" ,
"label" : "" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
}
] ,
"yaxis" : {
"align" : false
}
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2023-05-31 15:35:49 -04:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-11-22 05:51:01 -05:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
}
]
} ,
"unit" : "hertz"
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "Default reject threshold (50 requests within a second)"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "red" ,
"mode" : "fixed"
}
} ,
{
"id" : "custom.lineWidth" ,
"value" : 2
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 170
2022-11-22 05:51:01 -05:00
} ,
"id" : 231 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "sum(rate(synapse_rate_limit_sleep_total{instance=\"$instance\"}[$bucket_size]))" ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "50" ,
"hide" : false ,
"legendFormat" : "Default reject threshold (50 requests within a second)" ,
"range" : true ,
"refId" : "B"
}
] ,
"title" : "Rate of requests being slept by the rate limiter" ,
"type" : "timeseries"
}
] ,
"title" : "Federation rate limiter" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 32
} ,
"id" : 60 ,
"panels" : [
{
"datasource" : {
2023-05-31 15:35:49 -04:00
"type" : "prometheus" ,
2022-11-22 05:51:01 -05:00
"uid" : "$datasource"
} ,
"fieldConfig" : {
"defaults" : {
2023-05-31 15:35:49 -04:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "hertz"
2022-11-22 05:51:01 -05:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 155
2022-11-22 05:51:01 -05:00
} ,
"id" : 51 ,
2019-06-25 03:59:19 -04:00
"links" : [ ] ,
2022-08-13 16:50:20 -04:00
"options" : {
2023-05-31 15:35:49 -04:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
2022-08-13 16:50:20 -04:00
} ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2023-05-31 15:35:49 -04:00
"editorMode" : "code" ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_http_httppusher_http_pushes_processed_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) and on (instance, job, index) (synapse_http_httppusher_http_pushes_failed_total + synapse_http_httppusher_http_pushes_processed_total) > 0" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
2023-05-31 15:35:49 -04:00
"legendFormat" : "processed {{job}}-{{index}}" ,
"range" : true ,
2019-06-25 03:59:19 -04:00
"refId" : "A" ,
"step" : 20
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2023-05-31 15:35:49 -04:00
"editorMode" : "code" ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_http_httppusher_http_pushes_failed_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) and on (instance, job, index) (synapse_http_httppusher_http_pushes_failed_total + synapse_http_httppusher_http_pushes_processed_total) > 0" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
2023-05-31 15:35:49 -04:00
"legendFormat" : "failed {{job}}-{{index}}" ,
"range" : true ,
2019-06-25 03:59:19 -04:00
"refId" : "B" ,
"step" : 20
}
] ,
"title" : "HTTP Push rate" ,
2023-05-31 15:35:49 -04:00
"type" : "timeseries"
2020-03-19 06:45:40 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2020-03-19 06:45:40 -04:00
"description" : "" ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2020-03-19 06:45:40 -04:00
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 155
2020-03-19 06:45:40 -04:00
} ,
"hiddenSeries" : false ,
"id" : 134 ,
"legend" : {
"avg" : false ,
"current" : false ,
"hideZero" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
2022-08-13 16:50:20 -04:00
"options" : {
"alertThreshold" : true
} ,
2020-03-19 06:45:40 -04:00
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2020-03-19 06:45:40 -04:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2020-03-19 06:45:40 -04:00
"expr" : "topk(10,synapse_pushers{job=~\"$job\",index=~\"$index\", instance=\"$instance\"})" ,
"legendFormat" : "{{kind}} {{app_id}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Active pusher instances by app" ,
"tooltip" : {
"shared" : false ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2020-03-19 06:45:40 -04:00
}
2019-06-25 03:59:19 -04:00
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"refId" : "A"
}
] ,
2019-06-25 03:59:19 -04:00
"title" : "Pushes" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 33
2019-06-25 03:59:19 -04:00
} ,
2022-08-13 16:50:20 -04:00
"id" : 219 ,
2019-06-25 03:59:19 -04:00
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "How many entries in current state that we are iterating over while calculating push rules." ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2021-08-16 06:57:09 -04:00
"y" : 33
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2022-08-13 16:50:20 -04:00
"id" : 209 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-08-13 16:50:20 -04:00
"show" : false ,
2019-06-25 03:59:19 -04:00
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "8.4.3" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_push_bulk_push_rule_evaluator_push_rules_state_size_counter_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2022-08-13 16:50:20 -04:00
"interval" : "" ,
2019-06-25 03:59:19 -04:00
"intervalFactor" : 2 ,
2022-08-13 16:50:20 -04:00
"legendFormat" : "{{index}}" ,
2022-09-06 07:21:21 -04:00
"metric" : "synapse_push_bulk_push_rule_evaluator_push_rules_state_size_counter_total" ,
2019-06-25 03:59:19 -04:00
"refId" : "A" ,
2022-08-13 16:50:20 -04:00
"step" : 2
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2022-08-13 16:50:20 -04:00
"title" : "Iterations over State" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"format" : "hertz" ,
2019-06-25 03:59:19 -04:00
"label" : "" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
2022-08-13 16:50:20 -04:00
"show" : true
2019-06-25 03:59:19 -04:00
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "Rate that the cached push rules for a room get invalidated due to underlying push rules being changed. " ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2021-08-16 06:57:09 -04:00
"y" : 33
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2022-08-13 16:50:20 -04:00
"id" : 211 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-08-13 16:50:20 -04:00
"show" : false ,
2019-06-25 03:59:19 -04:00
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "8.4.3" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"exemplar" : true ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2022-08-13 16:50:20 -04:00
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{index}}" ,
2022-09-06 07:21:21 -04:00
"metric" : "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total" ,
2019-06-25 03:59:19 -04:00
"refId" : "A" ,
2022-08-13 16:50:20 -04:00
"step" : 2
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Push Rule Invalidations" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"label" : "" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
"align" : false
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "How often the \"delta optimisation\" happens.\n\nThe delta optimisation is when we update the push rules for a room incrementally after a state change where we know the delta between the old state and the new state.\n\nThis can't happen if we don't the delta or we're calculating push rules from scratch." ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
"y" : 40
} ,
"hiddenSeries" : false ,
"id" : 213 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
"pluginVersion" : "8.4.3" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "Number of calls" ,
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_util_caches_cache_hits{job=\"$job\",index=~\"$index\",name=\"push_rules_delta_state_cache_metric\",instance=\"$instance\"}[$bucket_size]))/sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"push_rules_delta_state_cache_metric\",instance=\"$instance\"}[$bucket_size]))" ,
2022-08-13 16:50:20 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "Hit Rate" ,
2022-09-06 07:21:21 -04:00
"metric" : "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total" ,
2022-08-13 16:50:20 -04:00
"refId" : "A" ,
"step" : 2
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"push_rules_delta_state_cache_metric\",instance=\"$instance\"}[$bucket_size]))" ,
2022-08-13 16:50:20 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "Number of calls" ,
"refId" : "B" ,
"step" : 2
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Delta Optimisation" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "percentunit" ,
"label" : "" ,
"logBase" : 1 ,
"max" : "1" ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "hertz" ,
"label" : "" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
}
] ,
"yaxis" : {
"align" : false
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "How often we have the correct cached push rules for a room." ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
"y" : 40
} ,
"hiddenSeries" : false ,
"id" : 215 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
"pluginVersion" : "8.4.3" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "Number of calls" ,
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_util_caches_cache_hits{job=\"$job\",index=~\"$index\",name=\"room_push_rule_cache\",instance=\"$instance\"}[$bucket_size]))/sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"room_push_rule_cache\",instance=\"$instance\"}[$bucket_size]))" ,
2022-08-13 16:50:20 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "Hit Rate" ,
2022-09-06 07:21:21 -04:00
"metric" : "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total" ,
2022-08-13 16:50:20 -04:00
"refId" : "A" ,
"step" : 2
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"room_push_rule_cache\",instance=\"$instance\"}[$bucket_size]))" ,
2022-08-13 16:50:20 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "Number of calls" ,
"refId" : "B" ,
"step" : 2
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "How often we reuse existing calculated push rules" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "percentunit" ,
"label" : "" ,
"logBase" : 1 ,
"max" : "1" ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
"align" : false
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "How often we have existing cached push rules for the room. \n\nNote that these might be outdated and need to be recalculated if the state has changed." ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
"y" : 47
} ,
"hiddenSeries" : false ,
"id" : 217 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
"pluginVersion" : "8.4.3" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "Number of calls" ,
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_util_caches_cache_hits{job=\"$job\",index=~\"$index\",name=\"_get_rules_for_room\",instance=\"$instance\"}[$bucket_size]))/sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"_get_rules_for_room\",instance=\"$instance\"}[$bucket_size]))" ,
2022-08-13 16:50:20 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "Hit Rate" ,
2022-09-06 07:21:21 -04:00
"metric" : "synapse_push_bulk_push_rule_evaluator_push_rules_invalidation_counter_total" ,
2022-08-13 16:50:20 -04:00
"refId" : "A" ,
"step" : 2
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_util_caches_cache{job=\"$job\",index=~\"$index\", name=\"_get_rules_for_room\",instance=\"$instance\"}[$bucket_size]))" ,
2022-08-13 16:50:20 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "Number of calls" ,
"refId" : "B" ,
"step" : 2
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "How often we have the RulesForRoom cached" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "percentunit" ,
"label" : "" ,
"logBase" : 1 ,
"max" : "1" ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
"align" : false
}
}
] ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
"title" : "Push Rule Cache" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 34
2022-08-13 16:50:20 -04:00
} ,
"id" : 58 ,
"panels" : [
{
"datasource" : {
"uid" : "$datasource"
} ,
"fieldConfig" : {
"defaults" : {
2022-11-22 05:51:01 -05:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "s"
2022-08-13 16:50:20 -04:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 35
2022-08-13 16:50:20 -04:00
} ,
"id" : 48 ,
"links" : [ ] ,
"options" : {
2022-11-22 05:51:01 -05:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
2022-08-13 16:50:20 -04:00
} ,
"pluginVersion" : "9.0.4" ,
"targets" : [
{
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "rate(synapse_storage_schedule_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(synapse_storage_schedule_time_count[$bucket_size])" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"title" : "Avg time waiting for db conn" ,
2022-11-22 05:51:01 -05:00
"type" : "timeseries"
2022-08-13 16:50:20 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"uid" : "$datasource"
} ,
"description" : "Shows the time in which the given percentage of database queries were scheduled, over the sampled timespan" ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2022-11-22 05:51:01 -05:00
"y" : 35
2022-08-13 16:50:20 -04:00
} ,
"hiddenSeries" : false ,
"id" : 104 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
"pluginVersion" : "9.0.4" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "histogram_quantile(0.99, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}} {{index}} 99%" ,
"refId" : "A" ,
"step" : 20
} ,
{
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "histogram_quantile(0.95, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}} {{index}} 95%" ,
"refId" : "B"
} ,
{
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "histogram_quantile(0.90, rate(synapse_storage_schedule_time_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}} {{index}} 90%" ,
"refId" : "C"
} ,
{
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"expr" : "rate(synapse_storage_schedule_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(synapse_storage_schedule_time_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}} {{index}} mean" ,
"refId" : "D"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Db scheduling time quantiles" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "s" ,
"label" : "" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : false
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 0 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 42
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 10 ,
"legend" : {
"avg" : false ,
"current" : false ,
"hideEmpty" : true ,
"hideZero" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "9.0.4" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "topk(10, rate(synapse_storage_transaction_time_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}} {{desc}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Top DB transactions by txn rate" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"logBase" : 1 ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2022-11-22 05:51:01 -05:00
"y" : 42
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 11 ,
"legend" : {
"avg" : false ,
"current" : false ,
"hideEmpty" : true ,
"hideZero" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "9.0.4" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
2019-06-25 04:01:53 -04:00
"stack" : false ,
"steppedLine" : false ,
2019-06-25 03:59:19 -04:00
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_storage_transaction_time_sum_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"instant" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{desc}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "DB transactions by total txn time" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "percentunit" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2021-05-19 06:47:16 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"editable" : true ,
"error" : false ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 0 ,
"fillGradient" : 0 ,
"grid" : { } ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 49
2021-05-19 06:47:16 -04:00
} ,
"hiddenSeries" : false ,
"id" : 180 ,
"legend" : {
"avg" : false ,
"current" : false ,
"hideEmpty" : true ,
"hideZero" : true ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : false
} ,
"paceLength" : 10 ,
"percentage" : false ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "9.0.4" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_storage_transaction_time_sum_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(synapse_storage_transaction_time_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"instant" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{desc}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Average DB txn time" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "s" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
2021-08-16 06:57:09 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-08-16 06:57:09 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 6 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
2022-11-22 05:51:01 -05:00
"y" : 49
2021-08-16 06:57:09 -04:00
} ,
"hiddenSeries" : false ,
"id" : 200 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "9.0.4" ,
2021-08-16 06:57:09 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-08-16 06:57:09 -04:00
"expr" : "histogram_quantile(0.99, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "99%" ,
"refId" : "D"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-08-16 06:57:09 -04:00
"expr" : "histogram_quantile(0.9, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "90%" ,
"refId" : "A"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-08-16 06:57:09 -04:00
"expr" : "histogram_quantile(0.75, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "75%" ,
"refId" : "C"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-08-16 06:57:09 -04:00
"expr" : "histogram_quantile(0.5, sum(rate(synapse_storage_schedule_time_bucket{index=~\"$index\",instance=\"$instance\",job=\"$job\"}[$bucket_size])) by (le))" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "50%" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Time waiting for DB connection quantiles" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:203" ,
2021-08-16 06:57:09 -04:00
"format" : "s" ,
"label" : "" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:204" ,
2021-08-16 06:57:09 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : false
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-08-16 06:57:09 -04:00
}
2019-06-25 03:59:19 -04:00
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2019-06-25 03:59:19 -04:00
"title" : "Database" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 35
2019-06-25 03:59:19 -04:00
} ,
"id" : 59 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 13 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 158
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 12 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2022-08-13 16:50:20 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_util_metrics_block_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\",block_name!=\"wrapped_request_handler\"}[$bucket_size]) + rate(synapse_util_metrics_block_ru_stime_seconds_total[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}} {{block_name}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Total CPU Usage by Block" ,
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : true ,
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "percentunit" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 13 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 158
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 26 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2022-08-13 16:50:20 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "(rate(synapse_util_metrics_block_ru_utime_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) + rate(synapse_util_metrics_block_ru_stime_seconds_total[$bucket_size])) / rate(synapse_util_metrics_block_count_total[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}} {{block_name}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Average CPU Time per Block" ,
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : true ,
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "ms" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 13 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 171
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 13 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2022-08-13 16:50:20 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_util_metrics_block_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
2022-08-13 16:50:20 -04:00
"legendFormat" : "{{job}}-{{index}} {{block_name}}" ,
2019-06-25 03:59:19 -04:00
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Total DB Usage by Block" ,
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : true ,
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:196" ,
2019-06-25 03:59:19 -04:00
"format" : "percentunit" ,
"logBase" : 1 ,
"min" : 0 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:197" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2020-06-02 07:43:22 -04:00
"description" : "The time each database transaction takes to execute, on average, broken down by metrics block." ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 13 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 171
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 27 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2022-08-13 16:50:20 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_util_metrics_block_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) / rate(synapse_util_metrics_block_db_txn_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}} {{block_name}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2020-06-02 07:43:22 -04:00
"title" : "Average Database Transaction time, by Block" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : true ,
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "ms" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 13 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 184
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 28 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2022-08-13 16:50:20 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_util_metrics_block_db_txn_duration_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) / rate(synapse_util_metrics_block_db_txn_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}} {{block_name}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Average Transactions per Block" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "none" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 13 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 184
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 25 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2022-08-13 16:50:20 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_util_metrics_block_time_seconds_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]) / rate(synapse_util_metrics_block_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}} {{block_name}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Average Wallclock Time per Block" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-09-01 11:27:06 -04:00
"$$hashKey" : "object:180" ,
"format" : "s" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
2022-09-01 11:27:06 -04:00
"$$hashKey" : "object:181" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2021-05-19 06:47:16 -04:00
} ,
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 15 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 197
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 154 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
2021-05-19 06:47:16 -04:00
"linewidth" : 1 ,
2019-06-25 03:59:19 -04:00
"nullPointMode" : "null" ,
2022-08-13 16:50:20 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_util_metrics_block_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"legendFormat" : "{{job}}-{{index}} {{block_name}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Block count" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "Per-block metrics" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 36
2021-05-19 06:47:16 -04:00
} ,
"id" : 61 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 0 ,
"fillGradient" : 0 ,
"grid" : { } ,
"gridPos" : {
"h" : 10 ,
"w" : 12 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 36
2021-05-19 06:47:16 -04:00
} ,
"hiddenSeries" : false ,
"id" : 1 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"hideEmpty" : true ,
"hideZero" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "9.0.4" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_util_caches_cache_hits{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])/rate(synapse_util_caches_cache{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{name}} {{job}}-{{index}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Cache Hit Ratio" ,
"tooltip" : {
"msResolution" : true ,
"shared" : false ,
"sort" : 0 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "percentunit" ,
"label" : "" ,
"logBase" : 1 ,
"max" : "1" ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : false
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 10 ,
"w" : 12 ,
"x" : 12 ,
2022-11-22 05:51:01 -05:00
"y" : 36
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 8 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"hideZero" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "9.0.4" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "synapse_util_caches_cache_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{name}} {{job}}-{{index}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Cache Size" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"editable" : true ,
"error" : false ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"grid" : { } ,
"gridPos" : {
"h" : 10 ,
"w" : 12 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 46
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 38 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"hideZero" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "9.0.4" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_util_caches_cache{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{name}} {{job}}-{{index}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Cache request rate" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "rps" ,
"logBase" : 1 ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 10 ,
"w" : 12 ,
"x" : 12 ,
2022-11-22 05:51:01 -05:00
"y" : 46
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 39 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
2022-09-01 11:27:06 -04:00
"hideEmpty" : false ,
"hideZero" : false ,
"max" : true ,
2019-06-25 03:59:19 -04:00
"min" : false ,
2022-09-01 11:27:06 -04:00
"rightSide" : false ,
2019-06-25 03:59:19 -04:00
"show" : true ,
2022-09-01 11:27:06 -04:00
"sort" : "max" ,
"sortDesc" : true ,
2019-06-25 03:59:19 -04:00
"total" : false ,
2022-09-01 11:27:06 -04:00
"values" : true
2019-06-25 03:59:19 -04:00
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "9.0.4" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "topk(10, rate(synapse_util_caches_cache{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]) - rate(synapse_util_caches_cache_hits{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-08-16 06:57:09 -04:00
"interval" : "" ,
2019-06-25 03:59:19 -04:00
"intervalFactor" : 2 ,
"legendFormat" : "{{name}} {{job}}-{{index}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Top 10 cache misses" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-09-01 11:27:06 -04:00
"$$hashKey" : "object:101" ,
2019-06-25 03:59:19 -04:00
"format" : "rps" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-09-01 11:27:06 -04:00
"$$hashKey" : "object:102" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 56
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2019-06-25 03:59:19 -04:00
"id" : 65 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "9.0.4" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_util_caches_cache_evicted_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2022-08-13 16:50:20 -04:00
"interval" : "" ,
2019-06-25 03:59:19 -04:00
"intervalFactor" : 1 ,
2021-09-23 09:45:32 -04:00
"legendFormat" : "{{name}} ({{reason}}) {{job}}-{{index}}" ,
2019-06-25 03:59:19 -04:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Cache eviction rate" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"label" : "entries / second" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2019-06-25 03:59:19 -04:00
"title" : "Caches" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 37
2019-06-25 03:59:19 -04:00
} ,
2021-05-19 06:47:16 -04:00
"id" : 148 ,
2019-06-25 03:59:19 -04:00
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"custom" : { } ,
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
"x" : 0 ,
2021-05-19 06:47:16 -04:00
"y" : 29
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 146 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2021-05-19 06:47:16 -04:00
"pluginVersion" : "7.3.7" ,
"pointradius" : 2 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
2021-05-19 06:47:16 -04:00
"stack" : false ,
2019-06-25 03:59:19 -04:00
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "synapse_util_caches_response_cache_size{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"legendFormat" : "{{name}} {{job}}-{{index}}" ,
2019-06-25 03:59:19 -04:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Response cache size" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : false ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-05-19 06:47:16 -04:00
"format" : "short" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"custom" : { } ,
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
"x" : 12 ,
2021-05-19 06:47:16 -04:00
"y" : 29
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 150 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
2021-05-19 06:47:16 -04:00
"linewidth" : 1 ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2021-05-19 06:47:16 -04:00
"pluginVersion" : "7.3.7" ,
"pointradius" : 2 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_util_caches_response_cache_hits{instance=\"$instance\", job=~\"$job\", index=~\"$index\"}[$bucket_size])/rate(synapse_util_caches_response_cache{instance=\"$instance\", job=~\"$job\", index=~\"$index\"}[$bucket_size])" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"legendFormat" : "{{name}} {{job}}-{{index}}" ,
"refId" : "A"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "" ,
"interval" : "" ,
"legendFormat" : "" ,
"refId" : "B"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Response cache hit rate" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
2021-05-19 06:47:16 -04:00
"value_type" : "individual"
2019-06-25 03:59:19 -04:00
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-05-19 06:47:16 -04:00
"format" : "percentunit" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"max" : "1" ,
"min" : "0" ,
2019-06-25 03:59:19 -04:00
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2021-05-19 06:47:16 -04:00
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "Response caches" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 38
2021-05-19 06:47:16 -04:00
} ,
"id" : 62 ,
"panels" : [
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"custom" : { } ,
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2021-05-19 06:47:16 -04:00
"y" : 30
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 91 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2021-05-19 06:47:16 -04:00
"pluginVersion" : "7.3.7" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2021-05-19 06:47:16 -04:00
"seriesOverrides" : [ ] ,
2019-06-25 03:59:19 -04:00
"spaceLength" : 10 ,
2021-05-19 06:47:16 -04:00
"stack" : true ,
2019-06-25 03:59:19 -04:00
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "rate(python_gc_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[10m])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"instant" : false ,
2019-06-25 03:59:19 -04:00
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} gen {{gen}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Total GC time by bucket (10m smoothing)" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : true ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-05-19 06:47:16 -04:00
"format" : "percentunit" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"min" : "0" ,
2019-06-25 03:59:19 -04:00
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"decimals" : 3 ,
"editable" : true ,
"error" : false ,
"fieldConfig" : {
"defaults" : {
"custom" : { } ,
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2021-05-19 06:47:16 -04:00
"grid" : { } ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
2021-05-19 06:47:16 -04:00
"y" : 30
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 21 ,
2019-06-25 03:59:19 -04:00
"legend" : {
2021-05-19 06:47:16 -04:00
"alignAsTable" : true ,
2019-06-25 03:59:19 -04:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
2021-05-19 06:47:16 -04:00
"linewidth" : 2 ,
2019-06-25 03:59:19 -04:00
"links" : [ ] ,
2021-05-19 06:47:16 -04:00
"nullPointMode" : "null as zero" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "7.3.7" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "rate(python_gc_time_sum{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/rate(python_gc_time_count[$bucket_size])" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}} {{index}} gen {{gen}} " ,
"refId" : "A" ,
"step" : 20 ,
"target" : ""
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Average GC Time Per Collection" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "s" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "'gen 0' shows the number of objects allocated since the last gen0 GC.\n'gen 1' / 'gen 2' show the number of gen0/gen1 GCs since the last gen1/gen2 GC." ,
"fieldConfig" : {
"defaults" : {
"custom" : { } ,
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
"y" : 39
} ,
"hiddenSeries" : false ,
"id" : 89 ,
"legend" : {
"avg" : false ,
"current" : false ,
"hideEmpty" : true ,
"hideZero" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "7.3.7" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "/gen 0$/" ,
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "python_gc_counts{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} gen {{gen}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Allocation counts" ,
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : "Gen N-1 GCs since last Gen N GC" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : "Objects since last Gen 0 GC" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"custom" : { } ,
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
"y" : 39
} ,
"hiddenSeries" : false ,
"id" : 93 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2021-05-19 06:47:16 -04:00
"pluginVersion" : "7.3.7" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"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])" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} gen {{gen}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Object counts per collection" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"custom" : { } ,
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
"y" : 48
} ,
"hiddenSeries" : false ,
"id" : 95 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "7.3.7" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "rate(python_gc_time_count{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} gen {{gen}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "GC frequency" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
} ,
{
"cards" : {
2022-08-13 16:50:20 -04:00
"cardPadding" : 0
2021-05-19 06:47:16 -04:00
} ,
"color" : {
"cardColor" : "#b4ff00" ,
"colorScale" : "sqrt" ,
"colorScheme" : "interpolateSpectral" ,
"exponent" : 0.5 ,
"min" : 0 ,
"mode" : "spectrum"
} ,
"dataFormat" : "tsbuckets" ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
"y" : 48
} ,
"heatmap" : { } ,
"hideZeroBuckets" : true ,
"highlightCards" : true ,
"id" : 87 ,
"legend" : {
"show" : true
} ,
"links" : [ ] ,
"reverseYBuckets" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "sum(rate(python_gc_time_bucket[$bucket_size])) by (le)" ,
"format" : "heatmap" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{le}}" ,
"refId" : "A"
}
] ,
"title" : "GC durations" ,
"tooltip" : {
"show" : true ,
"showHistogram" : false
} ,
"type" : "heatmap" ,
"xAxis" : {
"show" : true
} ,
"yAxis" : {
"format" : "s" ,
"logBase" : 1 ,
2022-08-13 16:50:20 -04:00
"show" : true
} ,
"yBucketBound" : "auto"
}
] ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"refId" : "A"
2021-05-19 06:47:16 -04:00
}
] ,
"title" : "GC" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 39
2021-05-19 06:47:16 -04:00
} ,
"id" : 63 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 162
2021-05-19 06:47:16 -04:00
} ,
"hiddenSeries" : false ,
2022-08-13 16:50:20 -04:00
"id" : 43 ,
2021-05-19 06:47:16 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"expr" : "sum (rate(synapse_replication_tcp_protocol_outbound_commands_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (name, conn_id)" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}} {{command}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2022-08-13 16:50:20 -04:00
"title" : "Rate of outgoing commands" ,
2021-05-19 06:47:16 -04:00
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:89" ,
2021-05-19 06:47:16 -04:00
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:90" ,
2021-05-19 06:47:16 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
2022-08-13 16:50:20 -04:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2023-05-31 15:35:49 -04:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-08-13 16:50:20 -04:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "hertz"
2021-05-19 06:47:16 -04:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 162
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"id" : 41 ,
"links" : [ ] ,
2021-05-19 06:47:16 -04:00
"options" : {
2022-08-13 16:50:20 -04:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
2022-11-22 05:51:01 -05:00
"placement" : "bottom" ,
"showLegend" : true
2022-08-13 16:50:20 -04:00
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "8.4.3" ,
2021-05-19 06:47:16 -04:00
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2022-11-22 05:51:01 -05:00
"expr" : "rate(synapse_replication_tcp_resource_stream_updates_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2022-08-13 16:50:20 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
2022-08-13 16:50:20 -04:00
"intervalFactor" : 2 ,
"legendFormat" : "{{stream_name}}" ,
"refId" : "A" ,
"step" : 20
2021-05-19 06:47:16 -04:00
}
] ,
2022-08-13 16:50:20 -04:00
"title" : "Rate of outgoing RDATA commands, by stream" ,
"type" : "timeseries"
2021-05-19 06:47:16 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
2022-08-13 16:50:20 -04:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2023-05-31 15:35:49 -04:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-08-13 16:50:20 -04:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "hertz"
2021-05-19 06:47:16 -04:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 169
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"id" : 42 ,
2021-05-19 06:47:16 -04:00
"links" : [ ] ,
"options" : {
2022-08-13 16:50:20 -04:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
2022-11-22 05:51:01 -05:00
"placement" : "bottom" ,
"showLegend" : true
2022-08-13 16:50:20 -04:00
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "8.4.3" ,
2021-05-19 06:47:16 -04:00
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2022-11-22 05:51:01 -05:00
"expr" : "sum (rate(synapse_replication_tcp_protocol_inbound_commands_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])) without (name, conn_id)" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
2022-08-13 16:50:20 -04:00
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 2 ,
"legendFormat" : "{{job}}-{{index}} {{command}}" ,
"refId" : "A" ,
"step" : 20
}
] ,
2022-08-13 16:50:20 -04:00
"title" : "Rate of incoming commands (including echoes)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2023-05-31 15:35:49 -04:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-08-13 16:50:20 -04:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"axisSoftMin" : 1 ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "hertz"
} ,
"overrides" : [ ]
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 169
2022-08-13 16:50:20 -04:00
} ,
"id" : 220 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
2022-11-22 05:51:01 -05:00
"placement" : "bottom" ,
"showLegend" : true
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"pluginVersion" : "8.4.3" ,
"targets" : [
2021-05-19 06:47:16 -04:00
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"exemplar" : true ,
2022-11-22 05:51:01 -05:00
"expr" : "rate(synapse_replication_tcp_protocol_inbound_rdata_count_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2022-08-13 16:50:20 -04:00
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{stream_name}}" ,
"refId" : "A" ,
"step" : 20
2021-05-19 06:47:16 -04:00
}
] ,
2022-08-13 16:50:20 -04:00
"title" : "Rate of incoming RDATA commands (excluding echoes), by stream" ,
"type" : "timeseries"
2021-05-19 06:47:16 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
2022-08-13 16:50:20 -04:00
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 176
2021-05-19 06:47:16 -04:00
} ,
"hiddenSeries" : false ,
2022-08-13 16:50:20 -04:00
"id" : 144 ,
2021-05-19 06:47:16 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2022-08-13 16:50:20 -04:00
"pointradius" : 2 ,
2021-05-19 06:47:16 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "synapse_replication_tcp_command_queue{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
2022-08-13 16:50:20 -04:00
"legendFormat" : "{{stream_name}} {{job}}-{{index}}" ,
"refId" : "A"
2021-05-19 06:47:16 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2022-08-13 16:50:20 -04:00
"title" : "Queued incoming RDATA commands, by stream" ,
2021-05-19 06:47:16 -04:00
"tooltip" : {
"shared" : false ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:218" ,
"format" : "short" ,
2021-05-19 06:47:16 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:219" ,
2021-05-19 06:47:16 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
2022-08-13 16:50:20 -04:00
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 176
2021-05-19 06:47:16 -04:00
} ,
"hiddenSeries" : false ,
2022-08-13 16:50:20 -04:00
"id" : 115 ,
2021-05-19 06:47:16 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"expr" : "rate(synapse_replication_tcp_protocol_close_reason_total{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2022-08-13 16:50:20 -04:00
"legendFormat" : "{{job}}-{{index}} {{reason_type}}" ,
"refId" : "A"
2021-05-19 06:47:16 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2022-08-13 16:50:20 -04:00
"title" : "Replication connection close reasons" ,
2021-05-19 06:47:16 -04:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:260" ,
2022-08-13 16:50:20 -04:00
"format" : "hertz" ,
2021-05-19 06:47:16 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:261" ,
2021-05-19 06:47:16 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
2022-08-13 16:50:20 -04:00
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 183
2021-05-19 06:47:16 -04:00
} ,
"hiddenSeries" : false ,
2022-08-13 16:50:20 -04:00
"id" : 113 ,
2021-05-19 06:47:16 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "synapse_replication_tcp_resource_connections_per_stream{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2022-08-13 16:50:20 -04:00
"legendFormat" : "{{job}}-{{index}} {{stream_name}}" ,
2021-05-19 06:47:16 -04:00
"refId" : "A"
2022-08-13 16:50:20 -04:00
} ,
{
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "synapse_replication_tcp_resource_total_connections{job=~\"$job\",index=~\"$index\",instance=\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}}" ,
"refId" : "B"
2021-05-19 06:47:16 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2022-08-13 16:50:20 -04:00
"title" : "Replication connections" ,
2021-05-19 06:47:16 -04:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"format" : "short" ,
2021-05-19 06:47:16 -04:00
"logBase" : 1 ,
2022-08-13 16:50:20 -04:00
"min" : "0" ,
2021-05-19 06:47:16 -04:00
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "Replication" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 40
2021-05-19 06:47:16 -04:00
} ,
"id" : 69 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 163
2021-05-19 06:47:16 -04:00
} ,
"hiddenSeries" : false ,
"id" : 67 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "max(synapse_event_persisted_position{instance=\"$instance\"}) - on() group_right() synapse_event_processing_positions{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{name}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Event processing lag" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : "events" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 163
2021-05-19 06:47:16 -04:00
} ,
"hiddenSeries" : false ,
"id" : 71 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "time()*1000-synapse_event_processing_last_ts{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{name}}" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Age of last processed event" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "ms" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 172
2021-05-19 06:47:16 -04:00
} ,
"hiddenSeries" : false ,
"id" : 121 ,
"interval" : "" ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"options" : {
"alertThreshold" : true
} ,
"paceLength" : 10 ,
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "deriv(synapse_event_processing_last_ts{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])/1000 - 1" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{job}}-{{index}} {{name}}" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Event processing catchup rate" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "none" ,
"label" : "fallbehind(-) / catchup(+): s/sec" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "Event processing loop positions" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 41
2021-05-19 06:47:16 -04:00
} ,
"id" : 126 ,
"panels" : [
{
"cards" : {
2022-08-13 16:50:20 -04:00
"cardPadding" : 0
2021-05-19 06:47:16 -04:00
} ,
"color" : {
"cardColor" : "#B877D9" ,
"colorScale" : "sqrt" ,
"colorScheme" : "interpolateInferno" ,
"exponent" : 0.5 ,
"min" : 0 ,
"mode" : "opacity"
} ,
"dataFormat" : "tsbuckets" ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "Colour reflects the number of rooms with the given number of forward extremities, or fewer.\n\nThis is only updated once an hour." ,
"fieldConfig" : {
"defaults" : {
2023-05-31 15:35:49 -04:00
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"scaleDistribution" : {
"type" : "linear"
}
}
2021-05-19 06:47:16 -04:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 42
} ,
"heatmap" : { } ,
"hideZeroBuckets" : true ,
"highlightCards" : true ,
"id" : 122 ,
"legend" : {
"show" : true
} ,
2023-05-31 15:35:49 -04:00
"links" : [ ] ,
"options" : {
"calculate" : false ,
"calculation" : { } ,
"cellGap" : 1 ,
"cellValues" : { } ,
"color" : {
"exponent" : 0.5 ,
"fill" : "#B877D9" ,
"min" : 0 ,
"mode" : "opacity" ,
"reverse" : false ,
"scale" : "exponential" ,
"scheme" : "Oranges" ,
"steps" : 128
} ,
"exemplars" : {
"color" : "rgba(255,0,255,0.7)"
} ,
"filterValues" : {
"le" : 1e-9
} ,
"legend" : {
"show" : true
} ,
"rowsFrame" : {
"layout" : "auto"
} ,
"showValue" : "never" ,
"tooltip" : {
"show" : true ,
"yHistogram" : true
} ,
"yAxis" : {
"axisPlacement" : "left" ,
"decimals" : 0 ,
"reverse" : false ,
"unit" : "short"
}
} ,
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"reverseYBuckets" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "synapse_forward_extremities_bucket{instance=\"$instance\"} and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0)" ,
2021-05-19 06:47:16 -04:00
"format" : "heatmap" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{le}}" ,
"refId" : "A"
}
] ,
"title" : "Number of rooms, by number of forward extremities in room" ,
"tooltip" : {
"show" : true ,
"showHistogram" : true
} ,
"type" : "heatmap" ,
"xAxis" : {
"show" : true
} ,
"yAxis" : {
"decimals" : 0 ,
"format" : "short" ,
"logBase" : 1 ,
2022-08-13 16:50:20 -04:00
"show" : true
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"yBucketBound" : "auto"
2021-05-19 06:47:16 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "Number of rooms with the given number of forward extremities or fewer.\n\nThis is only updated once an hour." ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 0 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 42
} ,
"hiddenSeries" : false ,
"id" : 124 ,
"interval" : "" ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
2023-05-31 15:35:49 -04:00
"options" : {
"alertThreshold" : true
} ,
2021-05-19 06:47:16 -04:00
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "synapse_forward_extremities_bucket{instance=\"$instance\"} > 0" ,
"format" : "heatmap" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{le}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Room counts, by number of extremities" ,
"tooltip" : {
"shared" : true ,
"sort" : 2 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "none" ,
"label" : "Number of rooms" ,
"logBase" : 10 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : false
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
} ,
{
"cards" : {
2022-08-13 16:50:20 -04:00
"cardPadding" : 0
2021-05-19 06:47:16 -04:00
} ,
"color" : {
"cardColor" : "#5794F2" ,
"colorScale" : "sqrt" ,
"colorScheme" : "interpolateInferno" ,
"exponent" : 0.5 ,
"min" : 0 ,
"mode" : "opacity"
} ,
"dataFormat" : "tsbuckets" ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "Colour reflects the number of events persisted to rooms with the given number of forward extremities, or fewer." ,
"fieldConfig" : {
"defaults" : {
2023-05-31 15:35:49 -04:00
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"scaleDistribution" : {
"type" : "linear"
}
}
2021-05-19 06:47:16 -04:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 50
} ,
"heatmap" : { } ,
"hideZeroBuckets" : true ,
"highlightCards" : true ,
"id" : 127 ,
"legend" : {
"show" : true
} ,
"links" : [ ] ,
2023-05-31 15:35:49 -04:00
"options" : {
"calculate" : false ,
"calculation" : { } ,
"cellGap" : 1 ,
"cellValues" : { } ,
"color" : {
"exponent" : 0.5 ,
"fill" : "#5794F2" ,
"min" : 0 ,
"mode" : "opacity" ,
"reverse" : false ,
"scale" : "exponential" ,
"scheme" : "Oranges" ,
"steps" : 128
} ,
"exemplars" : {
"color" : "rgba(255,0,255,0.7)"
} ,
"filterValues" : {
"le" : 1e-9
} ,
"legend" : {
"show" : true
} ,
"rowsFrame" : {
"layout" : "auto"
} ,
"showValue" : "never" ,
"tooltip" : {
"show" : true ,
"yHistogram" : true
} ,
"yAxis" : {
"axisPlacement" : "left" ,
"decimals" : 0 ,
"reverse" : false ,
"unit" : "short"
}
} ,
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"reverseYBuckets" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_storage_events_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0)" ,
2021-05-19 06:47:16 -04:00
"format" : "heatmap" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{le}}" ,
"refId" : "A"
}
] ,
"title" : "Events persisted, by number of forward extremities in room (heatmap)" ,
"tooltip" : {
"show" : true ,
"showHistogram" : true
} ,
"type" : "heatmap" ,
"xAxis" : {
"show" : true
} ,
"yAxis" : {
"decimals" : 0 ,
"format" : "short" ,
"logBase" : 1 ,
2022-08-13 16:50:20 -04:00
"show" : true
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"yBucketBound" : "auto"
2021-05-19 06:47:16 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "For a given percentage P, the number X where P% of events were persisted to rooms with X forward extremities or fewer." ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 50
} ,
"hiddenSeries" : false ,
"id" : 128 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2023-05-31 15:35:49 -04:00
"options" : {
"alertThreshold" : true
} ,
2021-05-19 06:47:16 -04:00
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "histogram_quantile(0.5, rate(synapse_storage_events_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0))" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "50%" ,
"refId" : "A"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "histogram_quantile(0.75, rate(synapse_storage_events_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0))" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "75%" ,
"refId" : "B"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "histogram_quantile(0.90, rate(synapse_storage_events_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0))" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "90%" ,
"refId" : "C"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "histogram_quantile(0.99, rate(synapse_storage_events_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0))" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "99%" ,
"refId" : "D"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Events persisted, by number of forward extremities in room (quantiles)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : "Number of extremities in room" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
} ,
{
"cards" : {
2022-08-13 16:50:20 -04:00
"cardPadding" : 0
2021-05-19 06:47:16 -04:00
} ,
"color" : {
"cardColor" : "#FF9830" ,
"colorScale" : "sqrt" ,
"colorScheme" : "interpolateInferno" ,
"exponent" : 0.5 ,
"min" : 0 ,
"mode" : "opacity"
} ,
"dataFormat" : "tsbuckets" ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "Colour reflects the number of events persisted to rooms with the given number of stale forward extremities, or fewer.\n\nStale forward extremities are those that were in the previous set of extremities as well as the new." ,
"fieldConfig" : {
"defaults" : {
2023-05-31 15:35:49 -04:00
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"scaleDistribution" : {
"type" : "linear"
}
}
2021-05-19 06:47:16 -04:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 58
} ,
"heatmap" : { } ,
"hideZeroBuckets" : true ,
"highlightCards" : true ,
"id" : 129 ,
"legend" : {
"show" : true
} ,
"links" : [ ] ,
2023-05-31 15:35:49 -04:00
"options" : {
"calculate" : false ,
"calculation" : { } ,
"cellGap" : 1 ,
"cellValues" : { } ,
"color" : {
"exponent" : 0.5 ,
"fill" : "#FF9830" ,
"min" : 0 ,
"mode" : "opacity" ,
"reverse" : false ,
"scale" : "exponential" ,
"scheme" : "Oranges" ,
"steps" : 128
} ,
"exemplars" : {
"color" : "rgba(255,0,255,0.7)"
} ,
"filterValues" : {
"le" : 1e-9
} ,
"legend" : {
"show" : true
} ,
"rowsFrame" : {
"layout" : "auto"
} ,
"showValue" : "never" ,
"tooltip" : {
"show" : true ,
"yHistogram" : true
} ,
"yAxis" : {
"axisPlacement" : "left" ,
"decimals" : 0 ,
"reverse" : false ,
"unit" : "short"
}
} ,
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"reverseYBuckets" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_storage_events_stale_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0)" ,
2021-05-19 06:47:16 -04:00
"format" : "heatmap" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{le}}" ,
"refId" : "A"
}
] ,
"title" : "Events persisted, by number of stale forward extremities in room (heatmap)" ,
"tooltip" : {
"show" : true ,
"showHistogram" : true
} ,
"type" : "heatmap" ,
"xAxis" : {
"show" : true
} ,
"yAxis" : {
"decimals" : 0 ,
"format" : "short" ,
"logBase" : 1 ,
2022-08-13 16:50:20 -04:00
"show" : true
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"yBucketBound" : "auto"
2021-05-19 06:47:16 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "For given percentage P, the number X where P% of events were persisted to rooms with X stale forward extremities or fewer.\n\nStale forward extremities are those that were in the previous set of extremities as well as the new." ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 12 ,
"y" : 58
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 130 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2023-05-31 15:35:49 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "histogram_quantile(0.5, rate(synapse_storage_events_stale_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2021-05-19 06:47:16 -04:00
"legendFormat" : "50%" ,
2019-06-25 03:59:19 -04:00
"refId" : "A"
2021-05-19 06:47:16 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "histogram_quantile(0.75, rate(synapse_storage_events_stale_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0))" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "75%" ,
"refId" : "B"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "histogram_quantile(0.90, rate(synapse_storage_events_stale_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0))" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "90%" ,
"refId" : "C"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "histogram_quantile(0.99, rate(synapse_storage_events_stale_forward_extremities_persisted_bucket{instance=\"$instance\"}[$bucket_size]) and on (index, instance, job) (synapse_storage_events_persisted_events_total > 0))" ,
2021-05-19 06:47:16 -04:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "99%" ,
"refId" : "D"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Events persisted, by number of stale forward extremities in room (quantiles)" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-05-19 06:47:16 -04:00
"format" : "short" ,
"label" : "Number of stale forward extremities in room" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"min" : "0" ,
2019-06-25 03:59:19 -04:00
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"cards" : {
2022-08-13 16:50:20 -04:00
"cardPadding" : 0
2019-06-25 03:59:19 -04:00
} ,
"color" : {
2021-05-19 06:47:16 -04:00
"cardColor" : "#73BF69" ,
2019-06-25 03:59:19 -04:00
"colorScale" : "sqrt" ,
2021-05-19 06:47:16 -04:00
"colorScheme" : "interpolateInferno" ,
2019-06-25 03:59:19 -04:00
"exponent" : 0.5 ,
"min" : 0 ,
2021-05-19 06:47:16 -04:00
"mode" : "opacity"
2019-06-25 03:59:19 -04:00
} ,
"dataFormat" : "tsbuckets" ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "Colour reflects the number of state resolution operations performed over the given number of state groups, or fewer." ,
"fieldConfig" : {
"defaults" : {
2023-05-31 15:35:49 -04:00
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"scaleDistribution" : {
"type" : "linear"
}
}
2021-05-19 06:47:16 -04:00
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 0 ,
"y" : 66
2019-06-25 03:59:19 -04:00
} ,
"heatmap" : { } ,
"hideZeroBuckets" : true ,
"highlightCards" : true ,
2021-05-19 06:47:16 -04:00
"id" : 131 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"show" : true
} ,
"links" : [ ] ,
2023-05-31 15:35:49 -04:00
"options" : {
"calculate" : false ,
"calculation" : { } ,
"cellGap" : 1 ,
"cellValues" : { } ,
"color" : {
"exponent" : 0.5 ,
"fill" : "#73BF69" ,
"min" : 0 ,
"mode" : "opacity" ,
"reverse" : false ,
"scale" : "exponential" ,
"scheme" : "Oranges" ,
"steps" : 128
} ,
"exemplars" : {
"color" : "rgba(255,0,255,0.7)"
} ,
"filterValues" : {
"le" : 1e-9
} ,
"legend" : {
"show" : true
} ,
"rowsFrame" : {
"layout" : "auto"
} ,
"showValue" : "never" ,
"tooltip" : {
"show" : true ,
"yHistogram" : true
} ,
"yAxis" : {
"axisPlacement" : "left" ,
"decimals" : 0 ,
"reverse" : false ,
"unit" : "short"
}
} ,
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"reverseYBuckets" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "heatmap" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
2019-06-25 03:59:19 -04:00
"intervalFactor" : 1 ,
"legendFormat" : "{{le}}" ,
"refId" : "A"
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "Number of state resolution performed, by number of state groups involved (heatmap)" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"show" : true ,
2021-05-19 06:47:16 -04:00
"showHistogram" : true
2019-06-25 03:59:19 -04:00
} ,
"type" : "heatmap" ,
"xAxis" : {
"show" : true
} ,
"yAxis" : {
2021-05-19 06:47:16 -04:00
"decimals" : 0 ,
"format" : "short" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2022-08-13 16:50:20 -04:00
"show" : true
2019-06-25 03:59:19 -04:00
} ,
2022-08-13 16:50:20 -04:00
"yBucketBound" : "auto"
2021-05-19 06:47:16 -04:00
} ,
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2023-05-31 15:35:49 -04:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "For a given percentage P, the number X where P% of state resolution operations took place over X state groups or fewer." ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 12 ,
2020-07-13 09:48:21 -04:00
"y" : 66
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 132 ,
"interval" : "" ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2023-05-31 15:35:49 -04:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2023-05-31 15:35:49 -04:00
"editorMode" : "code" ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.5, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "50%" ,
2023-05-31 15:35:49 -04:00
"range" : true ,
2021-05-19 06:47:16 -04:00
"refId" : "A"
2019-06-25 03:59:19 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.75, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "75%" ,
"refId" : "B"
2019-06-25 03:59:19 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.90, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "90%" ,
"refId" : "C"
2019-06-25 03:59:19 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "histogram_quantile(0.99, rate(synapse_state_number_state_groups_in_resolution_bucket{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "99%" ,
"refId" : "D"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Number of state resolutions performed, by number of state groups involved (quantiles)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : "Number of state groups" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
2019-06-25 03:59:19 -04:00
} ,
{
2021-05-19 06:47:16 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2021-05-19 06:47:16 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"description" : "When we do a state res while persisting events we try and see if we can prune any stale extremities." ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 74
} ,
"hiddenSeries" : false ,
"id" : 179 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
2023-05-31 15:35:49 -04:00
"options" : {
"alertThreshold" : true
} ,
2021-05-19 06:47:16 -04:00
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_storage_events_state_resolutions_during_persistence_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"legendFormat" : "State res " ,
"refId" : "A"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_storage_events_potential_times_prune_extremities_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"legendFormat" : "Potential to prune" ,
"refId" : "B"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "sum(rate(synapse_storage_events_times_pruned_extremities_total{instance=\"$instance\",job=~\"$job\",index=~\"$index\"}[$bucket_size]))" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"legendFormat" : "Pruned" ,
"refId" : "C"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Stale extremity dropping" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : true ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2021-05-19 06:47:16 -04:00
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "Extremities" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 42
2021-05-19 06:47:16 -04:00
} ,
"id" : 158 ,
"panels" : [
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 43
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 156 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2021-05-19 06:47:16 -04:00
"seriesOverrides" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:632" ,
2021-05-19 06:47:16 -04:00
"alias" : "Max" ,
"color" : "#bf1b00" ,
"fill" : 0 ,
"linewidth" : 2
}
] ,
2019-06-25 03:59:19 -04:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
2022-12-13 09:19:43 -05:00
"expr" : "max(synapse_admin_mau_max{instance=\"$instance\"})" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"intervalFactor" : 1 ,
2022-11-22 05:51:01 -05:00
"legendFormat" : "Max" ,
"range" : true ,
"refId" : "B"
2021-05-19 06:47:16 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
2022-12-13 09:19:43 -05:00
"expr" : "max(synapse_admin_mau_current{instance=\"$instance\"})" ,
2022-11-22 05:51:01 -05:00
"hide" : false ,
"legendFormat" : "Current" ,
"range" : true ,
"refId" : "C"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "MAU Limits" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : true ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:176" ,
2021-05-19 06:47:16 -04:00
"format" : "short" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"min" : "0" ,
2019-06-25 03:59:19 -04:00
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:177" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 12 ,
2022-11-22 05:51:01 -05:00
"y" : 43
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 160 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"expr" : "synapse_admin_mau_current_mau_by_service{instance=\"$instance\"}" ,
"interval" : "" ,
"legendFormat" : "{{ app_service }}" ,
"refId" : "A"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "MAU by Appservice" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : true ,
2019-06-25 03:59:19 -04:00
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-05-19 06:47:16 -04:00
"format" : "short" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2021-05-19 06:47:16 -04:00
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "MAU" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 43
2021-05-19 06:47:16 -04:00
} ,
"id" : 177 ,
"panels" : [
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 44
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 173 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2022-11-22 05:51:01 -05:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
"expr" : "rate(synapse_notifier_users_woken_by_stream_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"hide" : false ,
2019-06-25 03:59:19 -04:00
"intervalFactor" : 2 ,
2021-05-19 06:47:16 -04:00
"legendFormat" : "{{stream}} {{index}}" ,
"metric" : "synapse_notifier" ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2019-06-25 03:59:19 -04:00
"refId" : "A" ,
2021-05-19 06:47:16 -04:00
"step" : 2
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Notifier Streams Woken" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : true ,
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:734" ,
2019-06-25 03:59:19 -04:00
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:735" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 12 ,
2022-11-22 05:51:01 -05:00
"y" : 44
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 175 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2022-11-22 05:51:01 -05:00
"options" : {
"alertThreshold" : true
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 03:59:19 -04:00
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
"expr" : "rate(synapse_handler_presence_get_updates_total{job=~\"$job\",instance=\"$instance\"}[$bucket_size])" ,
2020-06-02 07:43:22 -04:00
"format" : "time_series" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{type}} {{index}}" ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2021-05-19 06:47:16 -04:00
"refId" : "A" ,
"step" : 2
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Presence Stream Fetch Type Rates" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : true ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:819" ,
2021-05-19 06:47:16 -04:00
"format" : "hertz" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
2020-06-02 07:43:22 -04:00
"min" : "0" ,
2019-06-25 03:59:19 -04:00
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:820" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2021-05-19 06:47:16 -04:00
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "Notifier" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 44
2021-05-19 06:47:16 -04:00
} ,
"id" : 170 ,
"panels" : [
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 45
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 168 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
"expr" : "rate(synapse_appservice_api_sent_events_total{instance=\"$instance\"}[$bucket_size])" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
2021-08-16 06:57:09 -04:00
"legendFormat" : "{{service}}" ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2019-06-25 03:59:19 -04:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Sent Events rate" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:177" ,
2019-06-25 03:59:19 -04:00
"format" : "hertz" ,
"logBase" : 1 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:178" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2021-05-19 06:47:16 -04:00
} ,
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 12 ,
2022-11-22 05:51:01 -05:00
"y" : 45
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 171 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
2021-05-19 06:47:16 -04:00
"nullPointMode" : "null" ,
2020-03-19 06:45:40 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-03-19 06:45:40 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
"expr" : "rate(synapse_appservice_api_sent_transactions_total{instance=\"$instance\"}[$bucket_size])" ,
2019-06-25 03:59:19 -04:00
"interval" : "" ,
2022-08-13 16:50:20 -04:00
"legendFormat" : "{{exported_service }} {{ service }}" ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2019-06-25 03:59:19 -04:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Transactions rate" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:260" ,
2021-05-19 06:47:16 -04:00
"format" : "hertz" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:261" ,
2019-06-25 03:59:19 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2021-05-19 06:47:16 -04:00
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "Appservices" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 45
2021-05-19 06:47:16 -04:00
} ,
"id" : 188 ,
"panels" : [
2019-06-25 03:59:19 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 03:59:19 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 03:59:19 -04:00
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 46
2019-06-25 03:59:19 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 182 ,
2019-06-25 03:59:19 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
2021-05-19 06:47:16 -04:00
"nullPointMode" : "null" ,
2020-03-19 06:45:40 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-03-19 06:45:40 -04:00
} ,
2019-06-25 03:59:19 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
2019-06-25 03:59:19 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_handler_presence_notified_presence_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2020-07-13 09:48:21 -04:00
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"legendFormat" : "Notified" ,
"refId" : "A"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_handler_presence_federation_presence_out_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"legendFormat" : "Remote ping" ,
2019-06-25 03:59:19 -04:00
"refId" : "B"
2021-05-19 06:47:16 -04:00
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_handler_presence_presence_updates_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"legendFormat" : "Total updates" ,
"refId" : "C"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_handler_presence_federation_presence_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"legendFormat" : "Remote updates" ,
"refId" : "D"
} ,
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-09-06 07:21:21 -04:00
"expr" : "rate(synapse_handler_presence_bump_active_time_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
"legendFormat" : "Bump active time" ,
"refId" : "E"
2019-06-25 03:59:19 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Presence" ,
2019-06-25 03:59:19 -04:00
"tooltip" : {
"shared" : true ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 03:59:19 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-05-19 06:47:16 -04:00
"format" : "hertz" ,
2019-06-25 03:59:19 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 03:59:19 -04:00
}
2019-06-25 04:01:53 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2019-06-25 04:01:53 -04:00
"fill" : 1 ,
2020-03-19 06:45:40 -04:00
"fillGradient" : 0 ,
2019-06-25 04:01:53 -04:00
"gridPos" : {
2021-05-19 06:47:16 -04:00
"h" : 8 ,
2019-06-25 04:01:53 -04:00
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 12 ,
2022-11-22 05:51:01 -05:00
"y" : 46
2019-06-25 04:01:53 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 184 ,
2019-06-25 04:01:53 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
2021-05-19 06:47:16 -04:00
"nullPointMode" : "null" ,
2020-03-19 06:45:40 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-03-19 06:45:40 -04:00
} ,
2019-06-25 04:01:53 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2021-05-19 06:47:16 -04:00
"pointradius" : 2 ,
2019-06-25 04:01:53 -04:00
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
"expr" : "rate(synapse_handler_presence_state_transition_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2019-06-25 04:01:53 -04:00
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"legendFormat" : "{{from}} -> {{to}}" ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2021-05-19 06:47:16 -04:00
"refId" : "A"
2019-06-25 04:01:53 -04:00
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Presence state transitions" ,
2019-06-25 04:01:53 -04:00
"tooltip" : {
"shared" : true ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 04:01:53 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:1090" ,
2021-05-19 06:47:16 -04:00
"format" : "hertz" ,
2019-06-25 04:01:53 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
2022-11-22 05:51:01 -05:00
"$$hashKey" : "object:1091" ,
2019-06-25 04:01:53 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 04:01:53 -04:00
}
2019-06-25 03:59:19 -04:00
} ,
2019-06-25 04:01:53 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
2022-11-22 05:51:01 -05:00
"type" : "prometheus" ,
2022-08-13 16:50:20 -04:00
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 04:01:53 -04:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 54
2019-06-25 04:01:53 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 186 ,
2019-06-25 04:01:53 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 04:01:53 -04:00
"percentage" : false ,
2022-11-22 05:51:01 -05:00
"pluginVersion" : "9.2.2" ,
2019-06-25 04:01:53 -04:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2022-11-22 05:51:01 -05:00
"editorMode" : "code" ,
"expr" : "rate(synapse_handler_presence_notify_reason_total{job=\"$job\",index=~\"$index\",instance=\"$instance\"}[$bucket_size])" ,
2019-06-25 04:01:53 -04:00
"interval" : "" ,
2021-05-19 06:47:16 -04:00
"legendFormat" : "{{reason}}" ,
2022-11-22 05:51:01 -05:00
"range" : true ,
2019-06-25 04:01:53 -04:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "Presence notify reason" ,
2019-06-25 04:01:53 -04:00
"tooltip" : {
2021-05-19 06:47:16 -04:00
"shared" : true ,
"sort" : 2 ,
2019-06-25 04:01:53 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:165" ,
2021-05-19 06:47:16 -04:00
"format" : "hertz" ,
2019-06-25 04:01:53 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:166" ,
2019-06-25 04:01:53 -04:00
"format" : "short" ,
"logBase" : 1 ,
2021-05-19 06:47:16 -04:00
"show" : true
2019-06-25 04:01:53 -04:00
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 04:01:53 -04:00
}
2021-05-19 06:47:16 -04:00
}
] ,
2022-08-13 16:50:20 -04:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
"refId" : "A"
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "Presence" ,
"type" : "row"
} ,
{
"collapsed" : true ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
} ,
2021-05-19 06:47:16 -04:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-22 05:51:01 -05:00
"y" : 46
2021-05-19 06:47:16 -04:00
} ,
"id" : 197 ,
"panels" : [
2019-06-25 04:01:53 -04:00
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
2021-05-19 06:47:16 -04:00
"fieldConfig" : {
"defaults" : {
2022-08-13 16:50:20 -04:00
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2023-05-31 15:35:49 -04:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-08-13 16:50:20 -04:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "hertz"
2021-05-19 06:47:16 -04:00
} ,
"overrides" : [ ]
} ,
2019-06-25 04:01:53 -04:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
2021-05-19 06:47:16 -04:00
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 47
2019-06-25 04:01:53 -04:00
} ,
2021-05-19 06:47:16 -04:00
"id" : 191 ,
2020-06-02 07:43:22 -04:00
"options" : {
2022-08-13 16:50:20 -04:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
2022-11-22 05:51:01 -05:00
"placement" : "bottom" ,
"showLegend" : true
2022-08-13 16:50:20 -04:00
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2020-06-02 07:43:22 -04:00
} ,
2022-08-13 16:50:20 -04:00
"pluginVersion" : "9.0.4" ,
2019-06-25 04:01:53 -04:00
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
"editorMode" : "code" ,
"expr" : "rate(synapse_external_cache_set{job=~\"$job\", instance=\"$instance\", index=~\"$index\"}[$bucket_size])" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
2022-08-13 16:50:20 -04:00
"legendFormat" : "{{ cache_name }} {{job}}-{{ index }}" ,
"range" : true ,
2021-05-19 06:47:16 -04:00
"refId" : "A"
2019-06-25 04:01:53 -04:00
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "External Cache Set Rate" ,
2022-08-13 16:50:20 -04:00
"type" : "timeseries"
2019-06-25 04:01:53 -04:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2022-08-13 16:50:20 -04:00
"description" : "" ,
2019-06-25 04:01:53 -04:00
"fill" : 1 ,
2020-06-02 07:43:22 -04:00
"fillGradient" : 0 ,
2019-06-25 04:01:53 -04:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 47
2019-06-25 04:01:53 -04:00
} ,
2020-06-02 07:43:22 -04:00
"hiddenSeries" : false ,
2021-05-19 06:47:16 -04:00
"id" : 193 ,
2019-06-25 04:01:53 -04:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
2020-06-02 07:43:22 -04:00
"options" : {
2021-05-19 06:47:16 -04:00
"alertThreshold" : true
2020-06-02 07:43:22 -04:00
} ,
2019-06-25 04:01:53 -04:00
"percentage" : false ,
2023-05-31 15:35:49 -04:00
"pluginVersion" : "9.2.2" ,
2019-06-25 04:01:53 -04:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
"editorMode" : "code" ,
"expr" : "sum without (hit) (rate(synapse_external_cache_get{job=~\"$job\", instance=\"$instance\", index=~\"$index\"}[$bucket_size]))" ,
2021-05-19 06:47:16 -04:00
"interval" : "" ,
2022-08-13 16:50:20 -04:00
"legendFormat" : "{{ cache_name }} {{job}}-{{ index }}" ,
"range" : true ,
2019-06-25 04:01:53 -04:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
2021-05-19 06:47:16 -04:00
"title" : "External Cache Get Rate" ,
2019-06-25 04:01:53 -04:00
"tooltip" : {
"shared" : true ,
2021-05-19 06:47:16 -04:00
"sort" : 2 ,
2019-06-25 04:01:53 -04:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:390" ,
2021-05-19 06:47:16 -04:00
"format" : "hertz" ,
2019-06-25 04:01:53 -04:00
"logBase" : 1 ,
"show" : true
} ,
{
2022-08-13 16:50:20 -04:00
"$$hashKey" : "object:391" ,
2019-06-25 04:01:53 -04:00
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
2022-08-13 16:50:20 -04:00
"align" : false
2019-06-25 04:01:53 -04:00
}
} ,
{
"cards" : {
2022-08-13 16:50:20 -04:00
"cardPadding" : -1
2019-06-25 04:01:53 -04:00
} ,
"color" : {
2021-05-19 06:47:16 -04:00
"cardColor" : "#b4ff00" ,
2019-06-25 04:01:53 -04:00
"colorScale" : "sqrt" ,
"colorScheme" : "interpolateInferno" ,
"exponent" : 0.5 ,
"min" : 0 ,
2021-05-19 06:47:16 -04:00
"mode" : "spectrum"
2019-06-25 04:01:53 -04:00
} ,
"dataFormat" : "tsbuckets" ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
2021-05-19 06:47:16 -04:00
} ,
2023-05-31 15:35:49 -04:00
"fieldConfig" : {
"defaults" : {
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"scaleDistribution" : {
"type" : "linear"
}
}
} ,
"overrides" : [ ]
} ,
2019-06-25 04:01:53 -04:00
"gridPos" : {
2022-08-13 16:50:20 -04:00
"h" : 8 ,
2019-06-25 04:01:53 -04:00
"w" : 12 ,
"x" : 0 ,
2023-05-31 15:35:49 -04:00
"y" : 55
2019-06-25 04:01:53 -04:00
} ,
"heatmap" : { } ,
2021-05-19 06:47:16 -04:00
"hideZeroBuckets" : false ,
2019-06-25 04:01:53 -04:00
"highlightCards" : true ,
2021-05-19 06:47:16 -04:00
"id" : 195 ,
2019-06-25 04:01:53 -04:00
"legend" : {
2021-05-19 06:47:16 -04:00
"show" : false
2019-06-25 04:01:53 -04:00
} ,
"links" : [ ] ,
2023-05-31 15:35:49 -04:00
"options" : {
"calculate" : false ,
"calculation" : { } ,
"cellGap" : -1 ,
"cellValues" : {
"decimals" : 2
} ,
"color" : {
"exponent" : 0.5 ,
"fill" : "#b4ff00" ,
"min" : 0 ,
"mode" : "scheme" ,
"reverse" : false ,
"scale" : "exponential" ,
"scheme" : "Inferno" ,
"steps" : 128
} ,
"exemplars" : {
"color" : "rgba(255,0,255,0.7)"
} ,
"filterValues" : {
"le" : 1e-9
} ,
"legend" : {
"show" : false
} ,
"rowsFrame" : {
"layout" : "auto"
} ,
"showValue" : "never" ,
"tooltip" : {
"show" : true ,
"yHistogram" : true
} ,
"yAxis" : {
"axisPlacement" : "left" ,
"decimals" : 0 ,
"reverse" : false ,
"unit" : "s"
}
} ,
"pluginVersion" : "9.2.2" ,
2019-06-25 04:01:53 -04:00
"reverseYBuckets" : false ,
"targets" : [
{
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
"expr" : "sum(rate(synapse_external_cache_response_time_seconds_bucket{index=~\"$index\",instance=\"$instance\",job=~\"$job\"}[$bucket_size])) by (le)" ,
2019-06-25 04:01:53 -04:00
"format" : "heatmap" ,
2021-05-19 06:47:16 -04:00
"instant" : false ,
2020-07-13 09:48:21 -04:00
"interval" : "" ,
2019-06-25 04:01:53 -04:00
"intervalFactor" : 1 ,
"legendFormat" : "{{le}}" ,
"refId" : "A"
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "External Cache Response Time" ,
2019-06-25 04:01:53 -04:00
"tooltip" : {
"show" : true ,
"showHistogram" : true
} ,
2021-05-19 06:47:16 -04:00
"tooltipDecimals" : 2 ,
2019-06-25 04:01:53 -04:00
"type" : "heatmap" ,
"xAxis" : {
"show" : true
} ,
"yAxis" : {
"decimals" : 0 ,
2021-05-19 06:47:16 -04:00
"format" : "s" ,
2019-06-25 04:01:53 -04:00
"logBase" : 1 ,
2022-08-13 16:50:20 -04:00
"show" : true
} ,
"yBucketBound" : "auto"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "$datasource"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2023-05-31 15:35:49 -04:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-08-13 16:50:20 -04:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
}
]
} ,
"unit" : "hertz"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2023-05-31 15:35:49 -04:00
"y" : 55
2022-08-13 16:50:20 -04:00
} ,
"id" : 223 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
2022-11-22 05:51:01 -05:00
"placement" : "bottom" ,
"showLegend" : true
2022-08-13 16:50:20 -04:00
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "9.0.4" ,
"targets" : [
{
"datasource" : {
"uid" : "$datasource"
} ,
"editorMode" : "code" ,
"expr" : "rate(synapse_external_cache_get{job=~\"$job\", instance=\"$instance\", index=~\"$index\", hit=\"False\"}[$bucket_size])" ,
"interval" : "" ,
"legendFormat" : "{{ cache_name }} {{job}}-{{ index }}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "External Cache Miss Rate" ,
"type" : "timeseries"
}
] ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "000000001"
2019-06-25 04:01:53 -04:00
} ,
2022-08-13 16:50:20 -04:00
"refId" : "A"
2019-06-25 04:01:53 -04:00
}
] ,
2021-05-19 06:47:16 -04:00
"title" : "External Cache" ,
2019-06-25 04:01:53 -04:00
"type" : "row"
}
] ,
2021-05-19 06:47:16 -04:00
"refresh" : false ,
2022-11-22 05:51:01 -05:00
"schemaVersion" : 37 ,
2019-06-25 04:01:53 -04:00
"style" : "dark" ,
"tags" : [
"matrix"
] ,
"templating" : {
"list" : [
{
"current" : {
2020-07-13 09:48:21 -04:00
"selected" : false ,
2021-05-19 06:47:16 -04:00
"text" : "default" ,
"value" : "default"
2019-06-25 04:01:53 -04:00
} ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
"name" : "datasource" ,
"options" : [ ] ,
"query" : "prometheus" ,
2021-05-19 06:47:16 -04:00
"queryValue" : "" ,
2019-06-25 04:01:53 -04:00
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
{
"allFormat" : "glob" ,
"auto" : true ,
"auto_count" : 100 ,
2022-08-13 16:50:20 -04:00
"auto_min" : "30s" ,
2019-06-25 04:01:53 -04:00
"current" : {
2020-03-19 06:45:40 -04:00
"selected" : false ,
2019-06-25 04:01:53 -04:00
"text" : "auto" ,
"value" : "$__auto_interval_bucket_size"
} ,
"hide" : 0 ,
"includeAll" : false ,
"label" : "Bucket Size" ,
"multi" : false ,
"multiFormat" : "glob" ,
"name" : "bucket_size" ,
"options" : [
{
"selected" : true ,
"text" : "auto" ,
"value" : "$__auto_interval_bucket_size"
} ,
{
"selected" : false ,
"text" : "30s" ,
"value" : "30s"
} ,
{
"selected" : false ,
"text" : "1m" ,
"value" : "1m"
} ,
{
"selected" : false ,
"text" : "2m" ,
"value" : "2m"
} ,
{
"selected" : false ,
"text" : "5m" ,
"value" : "5m"
} ,
{
"selected" : false ,
"text" : "10m" ,
"value" : "10m"
} ,
{
"selected" : false ,
"text" : "15m" ,
"value" : "15m"
}
] ,
"query" : "30s,1m,2m,5m,10m,15m" ,
2021-05-19 06:47:16 -04:00
"queryValue" : "" ,
2019-06-25 04:01:53 -04:00
"refresh" : 2 ,
"skipUrlSync" : false ,
"type" : "interval"
} ,
{
2020-07-13 09:48:21 -04:00
"current" : { } ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 04:01:53 -04:00
"definition" : "" ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
"name" : "instance" ,
"options" : [ ] ,
2022-08-13 16:50:20 -04:00
"query" : {
2022-09-06 07:21:21 -04:00
"query" : "label_values(synapse_util_metrics_block_ru_utime_seconds_total, instance)" ,
2022-08-13 16:50:20 -04:00
"refId" : "Prometheus-instance-Variable-Query"
} ,
2019-06-25 04:01:53 -04:00
"refresh" : 2 ,
"regex" : "" ,
"skipUrlSync" : false ,
2021-05-19 06:47:16 -04:00
"sort" : 1 ,
2019-06-25 04:01:53 -04:00
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allFormat" : "regex wildcard" ,
2019-06-25 03:59:19 -04:00
"allValue" : "" ,
2020-07-13 09:48:21 -04:00
"current" : { } ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"definition" : "" ,
"hide" : 0 ,
"hideLabel" : false ,
"includeAll" : true ,
"label" : "Job" ,
"multi" : true ,
"multiFormat" : "regex values" ,
"name" : "job" ,
"options" : [ ] ,
2022-08-13 16:50:20 -04:00
"query" : {
2022-09-06 07:21:21 -04:00
"query" : "label_values(synapse_util_metrics_block_ru_utime_seconds_total, job)" ,
2022-08-13 16:50:20 -04:00
"refId" : "Prometheus-job-Variable-Query"
} ,
2019-06-25 03:59:19 -04:00
"refresh" : 2 ,
"refresh_on_load" : false ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allFormat" : "regex wildcard" ,
"allValue" : ".*" ,
2020-07-13 09:48:21 -04:00
"current" : { } ,
2022-08-13 16:50:20 -04:00
"datasource" : {
"uid" : "$datasource"
} ,
2019-06-25 03:59:19 -04:00
"definition" : "" ,
"hide" : 0 ,
"hideLabel" : false ,
"includeAll" : true ,
"label" : "" ,
"multi" : true ,
"multiFormat" : "regex values" ,
"name" : "index" ,
"options" : [ ] ,
2022-08-13 16:50:20 -04:00
"query" : {
2022-09-06 07:21:21 -04:00
"query" : "label_values(synapse_util_metrics_block_ru_utime_seconds_total, index)" ,
2022-08-13 16:50:20 -04:00
"refId" : "Prometheus-index-Variable-Query"
} ,
2019-06-25 03:59:19 -04:00
"refresh" : 2 ,
"refresh_on_load" : false ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 3 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
}
]
} ,
"time" : {
2022-09-01 11:27:06 -04:00
"from" : "now-3h" ,
"to" : "now"
2019-06-25 03:59:19 -04:00
} ,
"timepicker" : {
"now" : true ,
"refresh_intervals" : [
"5s" ,
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
] ,
"time_options" : [
"5m" ,
"15m" ,
"1h" ,
"6h" ,
"12h" ,
"24h" ,
"2d" ,
"7d" ,
"30d"
]
} ,
"timezone" : "" ,
"title" : "Synapse" ,
"uid" : "000000012" ,
2023-05-31 15:35:49 -04:00
"version" : 160 ,
2022-08-13 16:50:20 -04:00
"weekStart" : ""
2023-05-31 15:35:49 -04:00
}