XaiJu
beestat
beestat

patreon


Making sure beestat isn't broken

Part of running beestat is making sure that it's not broken. If the service is unreliable then interest will decline and people will stop using it. I monitor things a couple ways:

1. Server performance monitoring. My host (DIgital Ocean) will send me an alert if the server load is high or disk space is low.

2. Manual monitoring. This is simply me looking at the logs to make sure nothing crazy is happening.

The screenshot I shared is a glimpse of the new monitoring tools I've built for myself. It's built right into beestat so when I log in to view my thermostat history I have a special dashboard I can navigate to.

The data you're seeing is a summary of every single API call ever made to beestat. I've been logging user, timestamp, duration, queries, etc since the start (to the tune of 17gb) and have a nightly cron job that aggregates that data into a separate table.

The top five graphs are API calls made from the application (any regular user access), and the bottom four graphs are API calls made from the sync process (that syncs your data behind the scenes).

A couple of interesting points:

1. The release of beestat 1.2 resulted in a spike in users as well as a marked increase in daily users

2. I discovered beestat was down because my database exceeded 100GB and the server ran out of disk space. Disk space monitoring is not available with Digital Ocean for their separate block storage solution.

3. There was a bug in the 1.2 release that caused incessant looping in the UI which fired off lots of unnecessary API calls. I fixed the problem.

4. I turned the automatic syncing on.

5. The automatic syncing spikes once a day because it was turned on for all users at the same time. This spike will naturally level out over time but I'll have to manually do a bit of that once things are fully stable.

So overall you can see that beestat has over 1,000 total users and is currently averaging just over 100 unique users per day. I'm exited to have so many users and hope to continue growing this and providing a useful service.

Enjoy the data; if you'd like to see any more usage stats let me know.

Making sure beestat isn't broken

Comments

Thanks Jon. I'm really enjoying beestat. If you are looking for a SW partner/tester, I've got > 38 years of doing software professionally, currently working for a Forbes top 50 company.


More Creators