Know thyself
Keeping track of the number of users on your Shiny Server is helpful for several reasons:
- Identifies low-traffic periods (best times to push updates or restart the server).
- Tells you if you need to pay more attention to scaling your apps (i.e. adjust server size, optimize slow apps).
- Shows which apps are most popular.
- Basic architecture.
- Deploy Shiny Server Open Source with one or more apps.
- Continuously check your server’s logs and save off data on the number of users on each app (check_server.R plus a cronjob).
- Use Shiny to display the data over time.
Check out the project on GitHub.