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

More telemetry for downloads service. #9361

Merged
merged 1 commit into from
Jan 26, 2023
Merged

More telemetry for downloads service. #9361

merged 1 commit into from
Jan 26, 2023

Conversation

agr
Copy link
Contributor

@agr agr commented Jan 26, 2023

Related to #9352.

We have a weird situation when downloads.v1.json, Gallery DB and Search service all align on a downloads count for a certain package, yet the number displayed in the package list is different.

It should come from DB:

viewModel.TotalDownloadCount = package.PackageRegistration.DownloadCount;

But some EF interception magic happens and it is actually ends up being populated from data retrieved by CloudDownloadCountService and it is unclear if it actually refreshes the statistics data fully. To investigate the issue from that angle, more telemetry is added to that service.

@agr agr requested a review from a team as a code owner January 26, 2023 01:39
@agr agr merged commit 92ae551 into dev Jan 26, 2023
@agr agr deleted the agr-downloads-logging branch January 26, 2023 20:38
@agr agr mentioned this pull request Jan 26, 2023
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants