ClemBot icon indicating copy to clipboard operation
ClemBot copied to clipboard

Implement Data Analytics

Open Exper1mental opened this issue 3 years ago • 2 comments

With the upcoming rework of the ClemBot database and the addition of an API, I was thinking this would be a suitable time to start implementing some data analytics functionality in the bot.

Suggested analytics to track (feel free to propose others):

  • Global usage of commands and subcommand (perhaps also track emoji reactions too? e,g, page-turning)
  • Server-by-server usage of the above. Server owners could perhaps also be given access to the analytics for their respective servers
  • Error tracking (what server, user, and the message did the error come from)

These trackers should not merely be counters but should also track the rate of usage so that analytics visualizations/plots can be generated to better understand how ClemBot is being used. For example, there could be a table of hour-by-hour (or even minute-by-minute) usage of ClemBot. This could be helpful for dealing with spam attacks meant to bog down the bot if that were to ever become an issue.

This information could prove useful in the future for prioritizing which proposed features to implement first, as well as for tracking errors and figuring out what is causing them.

Exper1mental avatar May 01 '21 00:05 Exper1mental

This feature has partially been implemented right?

MatthewPerryDev avatar Jun 29 '21 05:06 MatthewPerryDev

No it has not, this is kinda an ongoing tracking feature

Jay-Madden avatar Jun 29 '21 15:06 Jay-Madden