Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

how to identify number of active subscribers by subscription in AppSync #11

Open
ghost opened this issue Oct 31, 2019 · 2 comments
Open

Comments

@ghost
Copy link

ghost commented Oct 31, 2019

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
Copy link

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.

@ghost
Copy link
Author

ghost commented Nov 20, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant