Loading...
Loading...
Logging, testing, cost hygiene, incident triage, and usage metrics for PubNub apps. Covers the correlation fields every send/receive must log, the test pyramid for real-time apps, payload + fan-out cost hygiene, the incident triage runbook, and PubNub usage metrics for billing reconciliation. Use during code reviews, when planning monitoring, when triaging incidents, or when investigating PubNub cost overruns.
npx skill4agent add pubnub/skills pubnub-observabilityget_pubnub_usage_metricschannelmessage_iduserIdtimetokenget_pubnub_usage_metricsget_pubnub_usage_metrics| Field | Source |
|---|---|
| The PubNub channel name |
| The client-generated UUID for idempotent publish |
| The PubNub |
| The server-assigned 17-digit timetoken |
| Layer | Test |
|---|---|
| Unit | Envelope shape, schema versioning, reducer logic |
| Integration | Full publish → subscribe round trip in a test keyset |
| Load | Fan-out, presence updates, history fetch concurrency |
| End-to-end | Real device flows in staging |
message_idmessage_idget_pubnub_usage_metricsget_pubnub_messagessubscribe_and_receive_pubnub_messagessend_pubnub_messageget_pubnub_messages