3244
3244
"yaxis" : {
3245
3245
"align" : false
3246
3246
}
3247
+ },
3248
+ {
3249
+ "datasource" : {
3250
+ "type" : " prometheus" ,
3251
+ "uid" : " ${DS_PROMETHEUS}"
3252
+ },
3253
+ "description" : " Average number of hosts being rate limited across each worker type." ,
3254
+ "fieldConfig" : {
3255
+ "defaults" : {
3256
+ "color" : {
3257
+ "mode" : " palette-classic"
3258
+ },
3259
+ "custom" : {
3260
+ "axisLabel" : " " ,
3261
+ "axisPlacement" : " auto" ,
3262
+ "barAlignment" : 0 ,
3263
+ "drawStyle" : " line" ,
3264
+ "fillOpacity" : 0 ,
3265
+ "gradientMode" : " none" ,
3266
+ "hideFrom" : {
3267
+ "legend" : false ,
3268
+ "tooltip" : false ,
3269
+ "viz" : false
3270
+ },
3271
+ "lineInterpolation" : " linear" ,
3272
+ "lineWidth" : 1 ,
3273
+ "pointSize" : 5 ,
3274
+ "scaleDistribution" : {
3275
+ "type" : " linear"
3276
+ },
3277
+ "showPoints" : " auto" ,
3278
+ "spanNulls" : false ,
3279
+ "stacking" : {
3280
+ "group" : " A" ,
3281
+ "mode" : " none"
3282
+ },
3283
+ "thresholdsStyle" : {
3284
+ "mode" : " off"
3285
+ }
3286
+ },
3287
+ "mappings" : [],
3288
+ "thresholds" : {
3289
+ "mode" : " absolute" ,
3290
+ "steps" : [
3291
+ {
3292
+ "color" : " green"
3293
+ }
3294
+ ]
3295
+ },
3296
+ "unit" : " none"
3297
+ },
3298
+ "overrides" : []
3299
+ },
3300
+ "gridPos" : {
3301
+ "h" : 9 ,
3302
+ "w" : 12 ,
3303
+ "x" : 12 ,
3304
+ "y" : 53
3305
+ },
3306
+ "id" : 225 ,
3307
+ "options" : {
3308
+ "legend" : {
3309
+ "calcs" : [],
3310
+ "displayMode" : " list" ,
3311
+ "placement" : " bottom"
3312
+ },
3313
+ "tooltip" : {
3314
+ "mode" : " single" ,
3315
+ "sort" : " desc"
3316
+ }
3317
+ },
3318
+ "targets" : [
3319
+ {
3320
+ "datasource" : {
3321
+ "type" : " prometheus" ,
3322
+ "uid" : " ${DS_PROMETHEUS}"
3323
+ },
3324
+ "editorMode" : " builder" ,
3325
+ "expr" : " avg by(job, rate_limiter_name) (synapse_rate_limit_sleep_affected_hosts{instance=\" $instance\" , job=~\" $job\" , index=~\" $index\" })" ,
3326
+ "hide" : false ,
3327
+ "legendFormat" : " Slept by {{job}}:{{rate_limiter_name}}" ,
3328
+ "range" : true ,
3329
+ "refId" : " B"
3330
+ },
3331
+ {
3332
+ "datasource" : {
3333
+ "type" : " prometheus" ,
3334
+ "uid" : " ${DS_PROMETHEUS}"
3335
+ },
3336
+ "editorMode" : " builder" ,
3337
+ "expr" : " avg by(job, rate_limiter_name) (synapse_rate_limit_reject_affected_hosts{instance=\" $instance\" , job=~\" $job\" , index=~\" $index\" })" ,
3338
+ "legendFormat" : " Rejected by {{job}}:{{rate_limiter_name}}" ,
3339
+ "range" : true ,
3340
+ "refId" : " A"
3341
+ }
3342
+ ],
3343
+ "title" : " Hosts being rate limited" ,
3344
+ "type" : " timeseries"
3247
3345
}
3248
3346
],
3249
3347
"targets" : [
6404
6502
"h" : 13 ,
6405
6503
"w" : 12 ,
6406
6504
"x" : 0 ,
6407
- "y" : 10
6505
+ "y" : 35
6408
6506
},
6409
6507
"hiddenSeries" : false ,
6410
6508
"id" : 12 ,
6502
6600
"h" : 13 ,
6503
6601
"w" : 12 ,
6504
6602
"x" : 12 ,
6505
- "y" : 10
6603
+ "y" : 35
6506
6604
},
6507
6605
"hiddenSeries" : false ,
6508
6606
"id" : 26 ,
6601
6699
"h" : 13 ,
6602
6700
"w" : 12 ,
6603
6701
"x" : 0 ,
6604
- "y" : 23
6702
+ "y" : 48
6605
6703
},
6606
6704
"hiddenSeries" : false ,
6607
6705
"id" : 13 ,
6705
6803
"h" : 13 ,
6706
6804
"w" : 12 ,
6707
6805
"x" : 12 ,
6708
- "y" : 23
6806
+ "y" : 48
6709
6807
},
6710
6808
"hiddenSeries" : false ,
6711
6809
"id" : 27 ,
6803
6901
"h" : 13 ,
6804
6902
"w" : 12 ,
6805
6903
"x" : 0 ,
6806
- "y" : 36
6904
+ "y" : 61
6807
6905
},
6808
6906
"hiddenSeries" : false ,
6809
6907
"id" : 28 ,
6900
6998
"h" : 13 ,
6901
6999
"w" : 12 ,
6902
7000
"x" : 12 ,
6903
- "y" : 36
7001
+ "y" : 61
6904
7002
},
6905
7003
"hiddenSeries" : false ,
6906
7004
"id" : 25 ,
6935
7033
"datasource" : {
6936
7034
"uid" : " $datasource"
6937
7035
},
6938
- "expr" : " rate(synapse_util_metrics_block_time_seconds{instance=\" $instance\" ,job=~\" $job\" ,index=~\" $index\" }[$bucket_size]) / rate(synapse_util_metrics_block_count[$bucket_size])" ,
7036
+ "expr" : " rate(synapse_util_metrics_block_time_seconds{instance=\" $instance\" ,job=~\" $job\" ,index=~\" $index\" }[$bucket_size]) / rate(synapse_util_metrics_block_count{instance= \" $instance \" ,job=~ \" $job \" ,index=~ \" $index \" } [$bucket_size])" ,
6939
7037
"format" : " time_series" ,
6940
7038
"interval" : " " ,
6941
7039
"intervalFactor" : 2 ,
6960
7058
},
6961
7059
"yaxes" : [
6962
7060
{
6963
- "format" : " ms" ,
7061
+ "$$hashKey" : " object:180" ,
7062
+ "format" : " s" ,
6964
7063
"logBase" : 1 ,
6965
7064
"show" : true
6966
7065
},
6967
7066
{
7067
+ "$$hashKey" : " object:181" ,
6968
7068
"format" : " short" ,
6969
7069
"logBase" : 1 ,
6970
7070
"show" : true
6988
7088
"h" : 15 ,
6989
7089
"w" : 12 ,
6990
7090
"x" : 0 ,
6991
- "y" : 49
7091
+ "y" : 74
6992
7092
},
6993
7093
"hiddenSeries" : false ,
6994
7094
"id" : 154 ,
7009
7109
"alertThreshold" : true
7010
7110
},
7011
7111
"percentage" : false ,
7012
- "pluginVersion" : " 8.4.3 " ,
7112
+ "pluginVersion" : " 9.0.4 " ,
7013
7113
"pointradius" : 2 ,
7014
7114
"points" : false ,
7015
7115
"renderer" : " flot" ,
7109
7209
"h" : 10 ,
7110
7210
"w" : 12 ,
7111
7211
"x" : 0 ,
7112
- "y" : 36
7212
+ "y" : 69
7113
7213
},
7114
7214
"hiddenSeries" : false ,
7115
7215
"id" : 1 ,
7211
7311
"h" : 10 ,
7212
7312
"w" : 12 ,
7213
7313
"x" : 12 ,
7214
- "y" : 36
7314
+ "y" : 69
7215
7315
},
7216
7316
"hiddenSeries" : false ,
7217
7317
"id" : 8 ,
7311
7411
"h" : 10 ,
7312
7412
"w" : 12 ,
7313
7413
"x" : 0 ,
7314
- "y" : 46
7414
+ "y" : 79
7315
7415
},
7316
7416
"hiddenSeries" : false ,
7317
7417
"id" : 38 ,
7407
7507
"h" : 10 ,
7408
7508
"w" : 12 ,
7409
7509
"x" : 12 ,
7410
- "y" : 46
7510
+ "y" : 79
7411
7511
},
7412
7512
"hiddenSeries" : false ,
7413
7513
"id" : 39 ,
7414
7514
"legend" : {
7415
7515
"alignAsTable" : true ,
7416
7516
"avg" : false ,
7417
7517
"current" : false ,
7418
- "max" : false ,
7518
+ "hideEmpty" : false ,
7519
+ "hideZero" : false ,
7520
+ "max" : true ,
7419
7521
"min" : false ,
7522
+ "rightSide" : false ,
7420
7523
"show" : true ,
7524
+ "sort" : " max" ,
7525
+ "sortDesc" : true ,
7421
7526
"total" : false ,
7422
- "values" : false
7527
+ "values" : true
7423
7528
},
7424
7529
"lines" : true ,
7425
7530
"linewidth" : 1 ,
7467
7572
},
7468
7573
"yaxes" : [
7469
7574
{
7575
+ "$$hashKey" : " object:101" ,
7470
7576
"format" : " rps" ,
7471
7577
"logBase" : 1 ,
7472
7578
"show" : true
7473
7579
},
7474
7580
{
7581
+ "$$hashKey" : " object:102" ,
7475
7582
"format" : " short" ,
7476
7583
"logBase" : 1 ,
7477
7584
"show" : true
7501
7608
"h" : 9 ,
7502
7609
"w" : 12 ,
7503
7610
"x" : 0 ,
7504
- "y" : 56
7611
+ "y" : 89
7505
7612
},
7506
7613
"hiddenSeries" : false ,
7507
7614
"id" : 65 ,
11757
11864
]
11758
11865
},
11759
11866
"time" : {
11760
- "from" : " 2022-07-22T04:08:13.716Z " ,
11761
- "to" : " 2022-07-22T18:44:27.863Z "
11867
+ "from" : " now-3h " ,
11868
+ "to" : " now "
11762
11869
},
11763
11870
"timepicker" : {
11764
11871
"now" : true ,
11789
11896
"timezone" : " " ,
11790
11897
"title" : " Synapse" ,
11791
11898
"uid" : " 000000012" ,
11792
- "version" : 124 ,
11899
+ "version" : 132 ,
11793
11900
"weekStart" : " "
11794
11901
}
0 commit comments