docs: add some tips on collecting per-queue metrics for RabbitMQ (#12227)
Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
HG00 committed
Aug 13, 2022 at 18:17 UTC
5eed8455b1e02f8d1d350f36c153368a170e440b
1 file changed
+22
collectors/python.d.plugin/rabbitmq/README.md
+22
@@ -113,4 +113,26 @@ socket:
113
114
---
115
116
+### Per-Queue Chart configuration
117
118
+RabbitMQ users with the "monitoring" tag cannot see all queue data. You'll need a user with read permissions.
119
+To create a dedicated user for netdata:
120
+
121
+```bash
122
+rabbitmqctl add_user netdata ChangeThisSuperSecretPassword
123
+rabbitmqctl set_permissions netdata "^$" "^$" ".*"
124
+```
125
+
126
+See [set_permissions](https://www.rabbitmq.com/rabbitmqctl.8.html#set_permissions) for details.
127
+
128
+Once the user is set up, add `collect_queues_metrics: yes` to your `rabbitmq.conf`:
129
+
130
+```yaml
131
+local:
132
+ name : 'local'
133
+ host : '127.0.0.1'
134
+ port : 15672
135
+ user : 'netdata'
136
+ pass : 'ChangeThisSuperSecretPassword'
137
+ collect_queues_metrics : 'yes'
138
+```