aws-appsync-rds-aurora-sample icon indicating copy to clipboard operation
aws-appsync-rds-aurora-sample copied to clipboard

how to identify number of active subscribers by subscription in AppSync

Open ghost opened this issue 5 years ago • 2 comments

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 ?

ghost avatar Oct 31 '19 14:10 ghost

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.

T-Caines avatar Nov 18 '19 18:11 T-Caines

Thanks @T-Caines . I will take a look.

ghost avatar Nov 20 '19 15:11 ghost