Datadog-Pusher Integration

Overview

Monitor your realtime messages and connection analytics across your Pusher apps:

  • Visualise concurrent connections in realtime

  • Track messages sent by type, including broadcast, client events, webhooks, and API messages

  • Get a statistical breakdown of message size, including average, median, max, and 95th percentile

  • Monitor usage within billing timetables

Setup

Installation

In order to monitor your metrics from Pusher:

  1. Copy your Datadog API key:

  2. Go to your Pusher account settings and select Datadog Integration, or go here

  3. Paste your Datadog API key and click Save

  4. Return to your Datadog dashboard to see metrics begin to populate the default Pusher dashboard view

Metrics are populated in realtime, therefore your historical data will begin to populate once your integration is successfully completed

Data Collected

Metrics

pusher.messages
(count)
Messages sent over time
shown as message
pusher.messages.api_request
(count)
API Requests sent over time
shown as message
pusher.messages.webhook
(count)
Webhooks sent over time
shown as message
pusher.messages.presence_event
(count)
Presence events sent over time
shown as message
pusher.messages.broadcast
(count)
Broadcast messages sent over time
shown as message
pusher.messages.client_event.received
(count)
Client events received sent over time
shown as event
pusher.messages.client_event.sent
(count)
Client events sent over time
shown as event
pusher.message_size.avg
(gauge)
Average message size
shown as byte
pusher.message_size.max
(gauge)
Maximum message size
shown as byte
pusher.message_size.p95
(gauge)
95th percentile message size
shown as byte
pusher.message_size.count
(rate)
Messages count sent over time
shown as message
pusher.message_size.median
(gauge)
Median message size
shown as byte
pusher.connections
(count)
Concurrent connections per second
shown as connection
pusher.connections.non_secure
(count)
Non-secure connections per 5 seconds
shown as connection
pusher.connections.non_secure.sockjs
(count)
Non-secure sockjs connections per 5 seconds
shown as connection
pusher.connections.non_secure.ws
(count)
Non-secure websocket connections per 5 seconds
shown as connection
pusher.connections.secure
(count)
Secure connections per 5 seconds
shown as connection
pusher.connections.secure.sockjs
(count)
Secure sockjs connections per 5 seconds
shown as connection
pusher.connections.secure.ws
(count)
Secure websocket connections per 5 seconds
shown as connection