This repository contains the code for an IBM Cloud solution tutorial. In the tutorial, we create an application to automatically collect Github traffic statistics for repositories and provide the foundation for traffic analytics. Github only provides access to the traffic data for the last 14 days. If you want to analyze statistics over a longer period of time, you need to download and store that data yourself. The app and the serverless action discussed in this tutorial implement a multi-tenant-ready solution to manage repositories, automatically collect traffic data on a daily or weekly schedule, and to view and analyze the collected data. An additional dashboard specification is available in file dashboard2.json. It allows to render charts like shown in the two screenshots below. Either copy the file to dashboard.json and use it instead of the default dashboard or modify the code to select from given dashboards. Once you created a dashboard on your own, you can export the specification and copy it into a new file, similar to dashboard2.json. The app code automatically replaces the data source URL and the authentication token.