You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to suggest extending the message queue sensor to support virtual host configuration.
Ex:
sensor_config:
host: "rabbitmq" vhost: "dev"
username: "developer"
password: "developer"
rabbitmq_queue_sensor:
queues:
- "sample_queue"
deserialization_method: "json"
A simple change on queues_sensor.py will handle this improvement.
Hi,
I would like to suggest extending the message queue sensor to support virtual host configuration.
Ex:
sensor_config:
host: "rabbitmq"
vhost: "dev"
username: "developer"
password: "developer"
rabbitmq_queue_sensor:
queues:
- "sample_queue"
deserialization_method: "json"
A simple change on queues_sensor.py will handle this improvement.
++ self.vhost = self._config['sensor_config']['vhost']
++ connection_params = pika.ConnectionParameters(host=self.host, credentials=credentials, virtual_host=self.vhost)
Thank you,
Luciano
The text was updated successfully, but these errors were encountered: