how to identify number of active subscribers by subscription in AppSync
kushptlapigarage opened this issue · 2 comments
kushptlapigarage commented
Need to keep count of how many subscribers are connected with each subscription.
For UserA, UserB are connected with SubscriptionA : then 2 is the total subscribers
For UserA are connected with SubscriptionB : then 1 is the total subscribers
Can i know when UserA unsubscribes , subscribes, disconnects, reconnects from AppSync ?
T-Caines commented
AppSync has some metrics that may be helpful.
These metrics are at the API level, not the individual subscription level as you mentioned.
I've brought forward to the team a feature request for subscription level metrics.
Deleted user commented
Thanks @T-Caines . I will take a look.