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

fix(analytics): computation of daily active addresses #1005

Merged
merged 5 commits into from
Jan 10, 2023

Conversation

grtlr
Copy link
Contributor

@grtlr grtlr commented Dec 28, 2022

Daily active addresses were not computed because we recreated the Vec of analytics for each ledger update, leading to a reset of current_date.

Notes to Reviewer

As a reviewer, please pay particular attention to the following areas when reviewing this PR and tick the above boxes after you have completed the steps.

INX Changes

  • Run chronicle using an INX connection.

@grtlr grtlr force-pushed the fix/analytics/daily-active-addresses branch from 75d0c47 to 48673c9 Compare December 28, 2022 14:42
@DaughterOfMars
Copy link
Collaborator

It feels like the wrong place to do the check for "is this the next day" in get_measurement, but maybe we can revisit the design later.

@grtlr
Copy link
Contributor Author

grtlr commented Jan 10, 2023

100% agree, I think we should overhaul our general design of analytics.

@grtlr grtlr merged commit 77e3537 into main Jan 10, 2023
@grtlr grtlr deleted the fix/analytics/daily-active-addresses branch January 10, 2023 09:19
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.

3 participants