Aspects Course Dashboard not showing active users propertly

Hello all!

A couple of days ago I finally managed to put Aspects in production within a tutor local environment, thanks to the help of the OpenEdx community :clap: It is working very well, but is early to confirm the stability in usage peaks.

As you can see in the images below, I still have a strange poltergeist in “Course Dashboard” and “Individual Learner Dashboard” in courses that have enrollments BEFORE Aspects was enabled. Athought I have ran the commands to sync data from an existing tutor installation, having in mind the issue with transform-tracking-logs and ran it inside LMS

  • “Current Enrollments” for active courses are not showing propertly. Even thought users “Active Within Last 7 Days” are being updated, the number of Current Enrollments does not change

  • “Learner Summary“ shows only 1 enrollment (the one reflected in “Current Enrollments” before)

Maybe I am missing something, or maybe there are too much events that Clickhouse cannot manage.

Anyway, thanks in advance for any help you can bring,
Kind Regards!

Hi @Yago ! What version of Aspects are you using? If a user enrolls now that you have Aspects set up, does the ‘Current Enrollments’ number change?

Hello @Sara_Burns! thanks for your quick reply

I am using tutor-contrib-aspects version 2.4.0. And yes, if a user enrolls now, the ‘Current Enrollments’ number change.

Specifically for my error, I think it is related with my other post here. So probably if I can handle to split log data into smaller files I think this issue would be solved.

But, from my perspective “as user“, is a bit weird that the number of Active users is updated but not the current enrollments one :person_shrugging:

Thanks in advance for your help!

BTW my team mates love Aspects! :heart:

So happy to hear that you all are loving Aspects!

Hopefully splitting the log data helps. It also may take some time for Clickhouse to refresh the views that the dashboards use, but if you still aren’t seeing correct numbers, definitely let us know.

I totally agree with the weirdness. It’s because those charts are using different data sources that are updated/refreshed differently. I have a long term ‘to-do’ to try and fix weird cases like that!

Hi @Sara_Burns, I finally managed to show the user count propertly, it was a problem on processsing older tracking logs.

This discuss post show the solution I followed

Kind regards!

Glad to hear it!