Make all rates vary, force messages to be read from disk

Set memory high watermark to 256MiB to force trigger the memory alarm,
as well as ensure messages get paged to disk (forces disk reads).

Make all legends display as table so that values are easier to see when
toggling them.
This commit is contained in:
Gerhard Lazu 2019-04-25 17:12:45 +01:00
parent ba302951b9
commit 2a645a4d8c
3 changed files with 39 additions and 35 deletions

View File

@ -51,9 +51,10 @@ services:
- "rabbitmq-prometheus" - "rabbitmq-prometheus"
environment: environment:
URI: "amqp://guest:guest@rabbitmq1:5672/%2f" URI: "amqp://guest:guest@rabbitmq1:5672/%2f"
QUEUE: published-confirmed QUEUE: publisher-confirms
ROUTING_KEY: publisher-confirms
AUTOACK: "true" AUTOACK: "true"
VARIABLE_RATE: "10:30,100:30" VARIABLE_RATE: "12:30,25:30,50:30,100:30"
CONFIRM: 1 CONFIRM: 1
CONFIRM_TIMEOUT: 1 CONFIRM_TIMEOUT: 1
START_TIMEOUT: 30 START_TIMEOUT: 30
@ -63,7 +64,7 @@ services:
- "rabbitmq-prometheus" - "rabbitmq-prometheus"
environment: environment:
URI: "amqp://guest:guest@rabbitmq2:5672/%2f" URI: "amqp://guest:guest@rabbitmq2:5672/%2f"
RATE: 20 VARIABLE_RATE: "2:30,4:30,10:30"
CONSUMERS: 0 CONSUMERS: 0
FLAG: mandatory FLAG: mandatory
START_TIMEOUT: 30 START_TIMEOUT: 30
@ -73,7 +74,7 @@ services:
- "rabbitmq-prometheus" - "rabbitmq-prometheus"
environment: environment:
URI: "amqp://guest:guest@rabbitmq2:5672/%2f" URI: "amqp://guest:guest@rabbitmq2:5672/%2f"
RATE: 25 VARIABLE_RATE: "5:30,10:30,20:30"
CONSUMERS: 0 CONSUMERS: 0
START_TIMEOUT: 30 START_TIMEOUT: 30
slow-consumer-persistent: slow-consumer-persistent:
@ -82,14 +83,16 @@ services:
- "rabbitmq-prometheus" - "rabbitmq-prometheus"
environment: environment:
URI: "amqp://guest:guest@rabbitmq3:5672/%2f" URI: "amqp://guest:guest@rabbitmq3:5672/%2f"
QUEUE: slow-consumer QUEUE: slow-consumer-persistent
QUEUE_ARGS: x-max-length=1000 ROUTING_KEY: slow-consumer-persistent
QUEUE_ARGS: x-max-length=500
FLAG: persistent FLAG: persistent
AUTO_DELETE: "false" AUTO_DELETE: "false"
RATE: 30 SIZE: 256000
CONSUMER_RATE: 20 VARIABLE_RATE: "20:10,1:40"
CONSUMER_RATE: 5
AUTOACK: "false" AUTOACK: "false"
QOS: 40 QOS: 5
START_TIMEOUT: 30 START_TIMEOUT: 30
prometheus: prometheus:
image: prom/prometheus:v2.9.0 image: prom/prometheus:v2.9.0

View File

@ -47,7 +47,7 @@
}, },
"id": 9, "id": 9,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -137,7 +137,7 @@
}, },
"id": 19, "id": 19,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -240,7 +240,7 @@
}, },
"id": 30, "id": 30,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -330,7 +330,7 @@
}, },
"id": 31, "id": 31,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -433,7 +433,7 @@
}, },
"id": 13, "id": 13,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -523,7 +523,7 @@
}, },
"id": 18, "id": 18,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -613,7 +613,7 @@
}, },
"id": 16, "id": 16,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -703,7 +703,7 @@
}, },
"id": 12, "id": 12,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -793,7 +793,7 @@
}, },
"id": 34, "id": 34,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -896,7 +896,7 @@
}, },
"id": 14, "id": 14,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -986,7 +986,7 @@
}, },
"id": 21, "id": 21,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -1076,7 +1076,7 @@
}, },
"id": 24, "id": 24,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -1166,7 +1166,7 @@
}, },
"id": 15, "id": 15,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -1256,7 +1256,7 @@
}, },
"id": 20, "id": 20,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -1346,7 +1346,7 @@
}, },
"id": 23, "id": 23,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -1436,7 +1436,7 @@
}, },
"id": 22, "id": 22,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -1526,7 +1526,7 @@
}, },
"id": 25, "id": 25,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -1629,7 +1629,7 @@
}, },
"id": 7, "id": 7,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -1666,7 +1666,7 @@
"fill": true, "fill": true,
"line": true, "line": true,
"op": "gt", "op": "gt",
"value": 1073741824, "value": 268435456,
"yaxis": "left" "yaxis": "left"
}, },
{ {
@ -1674,7 +1674,7 @@
"fill": true, "fill": true,
"line": true, "line": true,
"op": "gt", "op": "gt",
"value": 536870912, "value": 134217728,
"yaxis": "left" "yaxis": "left"
} }
], ],
@ -1735,7 +1735,7 @@
}, },
"id": 2, "id": 2,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -1842,7 +1842,7 @@
}, },
"id": 6, "id": 6,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -1948,7 +1948,7 @@
}, },
"id": 8, "id": 8,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -2053,7 +2053,7 @@
}, },
"id": 5, "id": 5,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
@ -2152,7 +2152,7 @@
"list": [] "list": []
}, },
"time": { "time": {
"from": "now-15m", "from": "now-5m",
"to": "now" "to": "now"
}, },
"timepicker": { "timepicker": {

View File

@ -3,7 +3,8 @@ listeners.tcp.default = 5672
management.listener.port = 15672 management.listener.port = 15672
management.listener.ssl = false management.listener.ssl = false
vm_memory_high_watermark.absolute = 1024MiB vm_memory_high_watermark.absolute = 256MiB
vm_memory_high_watermark_paging_ratio = 0.5
disk_free_limit.absolute = 2048MiB disk_free_limit.absolute = 2048MiB
cluster_formation.peer_discovery_backend = rabbit_peer_discovery_classic_config cluster_formation.peer_discovery_backend = rabbit_peer_discovery_classic_config