Skip to content
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

Missing performance metrics for most dates #17761

Closed
mikkeschiren opened this issue Jul 13, 2021 · 8 comments
Closed

Missing performance metrics for most dates #17761

mikkeschiren opened this issue Jul 13, 2021 · 8 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@mikkeschiren
Copy link
Contributor

When viewing the performance metrics we are missing data for most dates

Expected Behavior

When looking at performance metrics we expect to find data for all dates.

Current Behavior

We have data for different dates.

image

We are using Matomo 4.3.1

Data is archived with cron archiver, no errors in the logs for missing dates for performance metrics.

@mikkeschiren mikkeschiren added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Jul 13, 2021
@diosmosis
Copy link
Member

@mikkeschiren for days that have missing metrics, can you check in the log_link_visit_action table if there are any positive values in the performance dimension columns, for example time_dom_processing, time_dom_completion, time_network, etc.?

@mikkeschiren
Copy link
Contributor Author

@diosmosis - values were in fact NULL on the dates with no data that I tested, how could this happen?

@sgiehl
Copy link
Member

sgiehl commented Jul 14, 2021

@mikkeschiren are you using the normal javascript tracking? Those values should actually be automatically tracked in this case (if the users browser provides them).

@mikkeschiren
Copy link
Contributor Author

I will check with our analysts if they have done some changes on some dates, but with the results we are getting, that does not really make sense (couple of days per month that we have results, and then thousands of them, and next day none). But with that said - it could be an implementation problem.

@tsteur
Copy link
Member

tsteur commented Jul 14, 2021

@sgiehl wouldn't it be expected in some cases when the tracking request is sent before the browser load event for example and there is no follow up load event?

@sgiehl
Copy link
Member

sgiehl commented Jul 15, 2021

Yes. indeed. If the page tracking event is sent before the performance metrics are available they will be sent with the next tracking request. If no further tracking request is sent, the performance metrics might not be tracked at all.
It might work to trigger a ping once the page was completely loaded

@mikkeschiren
Copy link
Contributor Author

This could be a implementation issue, I think we can close this now.

@tsteur tsteur added answered For when a question was asked and we referred to forum or answered it. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Jul 21, 2021
@tsteur
Copy link
Member

tsteur commented Jul 21, 2021

👍 thanks for letting us know @mikkeschiren

@tsteur tsteur closed this as completed Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

4 participants