From the course: Learning RabbitMQ
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Tracing message contents for troubleshooting - RabbitMQ Tutorial
From the course: Learning RabbitMQ
Tracing message contents for troubleshooting
- [Instructor] Sometimes it's useful to see what messages are being sent and handled in your RabbitMQ instances. This is where tracing comes in. You should only use tracing in RabbitMQ during development or when debugging because it impacts performance. When tracing is enabled, RabbitMQ will add extra messages in special format to the amq.rabbitmq.trace exchange. You combine the queue to this exchange and have an application consume this queue. There's also a useful plugin that provides a user interface. To install this plugin, start a RabbitMQ CLI. You'll find it in your start menu in the RabbitMQ folder. It's called RabbitMQ Command Prompt. In this command prompt, you can run the rabbitmq-plugins enable rabbitmq_tracing command. This enables the plugin. Now, all you need to do is enable the actual tracing. This is done by running rabbitmqctl trace_on. You will have to restart RabbitMQ for these changes to take effect.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Set up and use authentication3m 51s
-
(Locked)
Authorize or block application actions4m 44s
-
(Locked)
Validate user IDs3m 18s
-
Working with dead letter exchanges8m 3s
-
(Locked)
Tracing message contents for troubleshooting4m 6s
-
(Locked)
Challenge: Show chat users38s
-
(Locked)
Solution: Show chat users3m 15s
-
(Locked)
-