Skip to main content
Version: 2.11

Account Connections

Account connection limit events.

Subscription Subject

$SYS.ACCOUNT.{account}.CONNECTIONS

Where {account} is the account name.

Event Schema

Regular advisory published with account states

typeconst: "io.nats.server.advisory.v1.account_connections"required
idstringrequired
Unique correlation ID for this event
timestampstringrequired
The time this event was created in RFC3339 format
serverobjectrequired
Details about the server the client connected to
accstringrequired
The account the update is for
connsintegerrequired
The number of active client connections to the server
Minimum:0
leafnodesintegerrequired
The number of active leafnode connections to the server
Minimum:0
total_connsintegerrequired
The combined client and leafnode account connections
Minimum:0
sentobject
Data sent by this account
receivedobject
Data received by this account
slow_consumersinteger
The number of slow consumer errors this account encountered
Minimum:0