2

I am working on Meteor projects, which provide real-time updates by DDP (Distributed Data Protocol). I wish to monitor those requests within the browser.

Is there any tool to allow monitoring DDP requests?

TylerH
  • 20,799
  • 66
  • 75
  • 101
Ramesh Murugesan
  • 4,727
  • 7
  • 42
  • 67

3 Answers3

9

As DDP is based on WebSockets, you can actually monitor the transmitted data of those requests within the Chrome DevTools. To do so just switch the Network tab and then choose websocket from the list and click the Frames tab: Chrome DevTools websocket screenshot

Sebastian Zartner
  • 18,808
  • 10
  • 90
  • 132
255kb - Mockoon
  • 6,657
  • 2
  • 22
  • 29
3

There is a Chrome extension that adds monitoring of Meteor DDP traffic to the Dev Tools: https://chrome.google.com/webstore/detail/ddp-monitor/ippapidnnboiophakmmhkdlchoccbgje

Source code: https://github.com/thebakeryio/meteor-ddp-monitor

pors
  • 3,856
  • 36
  • 33
0

Meteor Toys has a DDP monitor that logs to the console - which lets you view DDP data in any browser.

Max Savin
  • 152
  • 4