-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analytics are not updated #26
Comments
Hi @skota, easiest way if you install duckdb client locally and copy production duckdb analytics.duckdb SELECT * FROM requests; Could you please tell which version of PA you are using? |
I am on I copied the analytics.duckdb to my desktop and can confirm requests has only 1 row. It works fine locally though. Have an issue on prod. Prod server is a ubuntu box if that matters. |
Interesting. Do you have any special configuration for prod environment? |
I am encountering the same issue: i too could only see a single row in my duck db when i manually opened it at runtime however: when i shut down my docker image and restarted it, it then went on to show everything it had been tracking in the past 2 days - though it appears to not be updating the view again i just went to double check if the behaviour is the same outside a docker container, and it does seem like i'm getting inconsistent update timing with a simple development environment and mix phx.server as well VPS is running Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-47-generic x86_64) i'll report if I find anything solid, but my suspicion is that the data might not get flushed to the database as often as it should which would be a plausible bug in the batcher. i'll report back if i find anything more concrete. |
just did some printf debugging, the batcher is doing something every second like it should here i have the following things happen, which also all seems reasonable to me:
|
However, these requests above were apparently not persisted in the .duckdb file I'm out of time for the day, if I find time on the weekend, i'll try and check if this also happens with Postgres |
No i don't have any special config. I just deploy a release. I will try to dig through the code and see if i can set up logging to see where the problem could be. |
I have deployed a phoenix app with phoenix anaytics. However the analytics are not updating. I had 3 persons from diff geographic locations access the site. The analytics are not updating.
I can see analytics.dukdb in the deployment folder. How do i troubleshoot this?
thanks.
The text was updated successfully, but these errors were encountered: