Dev console

The dev console tab provides realtime insights into application-wide events, such as connection status changes and channel activity. These features enable you to:

  • Observe changes in connection status across the application.
  • View activity on specific channels, including message traffic and channel events.
  • Examine event logs to troubleshoot your application.

Application-wide events interface

The application-wide events interface allows you to monitor your application's health and activity in realtime.

The following explains the realtime monitoring tools in the application-wide events interface:

FieldDescription
API keyThe API key to access and view events within the app.
Average application-wide events per second (p/s)This metric shows the average number of events occurring per second across your application. For example, if the current rate is 0, no active events are being processed.
Event log tableThe event log table displays a record of events related to the current client's connection status. This table can be used to debug potential issues in your application.

Channels

The following is a step-by-step instructions for connecting to a channel, publishing messages.

Connect to a channel

The following explains how to connect to a channel:

StepAction
Enter a channel nameIn the channel name field, choose a name (e.g get-started).
Attach to channelClick the attach to channel button. This connects you to the get-started channel, enabling you to start publishing or subscribing to messages.
Monitor channel statusThe interface will display the channel status as pending and then attached once connected, confirming that the channel is ready for interaction.

Publish a message

The following explains how to publish a message:

StepAction
Message dataIn the message data field, type a message (e.g. example).
Publish messageClick the publish message button to send the message to the get-started channel.
View the messageIf you have a subscriber , it will receive and display the message in the console.

The following explains how to interact with presence:

StepAction
Client IDEnter a unique client ID to simulate joining the presence of the channel.
Enter presenceClick enter presence to indicate that this client is now in the channel.
Monitor presenceThe interface will list all clients in the channel under presence members.

Control the channel

The following explains how to control the channel in the dev console:

StepAction
DetachClick detach to disconnect from the channel.
PauseUse pause to temporarily stop receiving messages.
ClearClick clear to clear the channel data or logs from the interface.