metrics
Get current metric value
Retrieves the latest value for a specific metric
get/monitoring/metrics/{metric}/current
Request
- Base URLhttps://api.quiva.ai
- Auth
- HTTP bearer
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
metric'connections' | 'totalConnections' | 'numberOfSubscriptions' | 'sentMessages' | 'sentBytes' | 'receivedMessages' | 'receivedBytes' | 'slowConsumers' | 'memory' | 'storage' | 'accounts' | 'haAssets' | 'apiTotal' | 'apiErrors' | 'apiInflight' | 'streams' | 'consumers' | 'totalMessages' | 'totalBytes' | 'numberOfSubjects' | 'numberOfDeleted' | 'lostMessages' | 'lostBytes' | 'numberOfAckPending' | 'numberOfRedelivered' | 'numberOfWaiting' | 'numberOfPending' | 'pushBound' | 'paused' | 'deliveredConsumerSequence' | 'deliveredStreamSequence' | 'deliveredLastActive' | 'ackFloorConsumerSequence' | 'ackFloorStreamSequence' | 'ackFloorLastActive' | 'ram' | 'cpu' | 'slowConsumersClients' | 'slowConsumersRoutes' | 'slowConsumersGateways' | 'slowConsumersMeshs' | 'sentMessagesRate' | 'sentBytesRate' | 'receivedMessagesRate' | 'receivedBytesRate' required
Name of the metric to retrieve
Query parameters
nodestring
Node identifier
accountstring
Account identifier (required if node not provided)
streamstring
Stream name
consumerstring
Consumer name (requires stream to be specified)
Response
Successful operation
Changes
No recorded changes to this operation across all 7 revisions of this API.