Get statistics
GET/subscriptions/{subscription_id}/stats
This endpoint exposes statistics of a specified subscription. An example use for the statistics provided could be monitoring lag in consumers.
Example Request
GET https://TENANT_NAME.mambu.com/api/v1/subscriptions/0691160a-b519-4595-b85c-a400fc73e96/stats?show_time_lag=true HTTP/1.1
Accept: application/json
apikey: string
The latest offset is compared with committed offset in order to calculate unconsumed events count for specific partition.
Request
Responses
- 200
- 404
Statistics list for specified subscription successfully returned.
Subscription for the given id was not found.