Skip to content

Analytics routes #461

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

Merged
merged 27 commits into from
Jan 18, 2022
Merged

Analytics routes #461

merged 27 commits into from
Jan 18, 2022

Conversation

simzzz
Copy link
Contributor

@simzzz simzzz commented Nov 29, 2021

To-Do:

  • Discuss if we are going to just leave query start/end fields to be milliseconds

@simzzz simzzz requested a review from elpiel November 29, 2021 14:40
@elpiel
Copy link
Member

elpiel commented Dec 31, 2021

TODOs:

  • Check (aka test) impls for Ord, PartialOrd, PartialEq for DateHour
  • More tests for query::Time
  • Deserialize DateHour from either timestamp or ISO format
  • Caching analytics (if needed)

- primitives - DateHour - PartialEq/PartialOrd
- primitives - AllowedKey impls & use Time
- sentry - migrations - rename column `os` to `os_name`
- sentry - db - analytics - improve SQL query and prepare testing
@elpiel elpiel mentioned this pull request Jan 14, 2022
21 tasks
- Use primitives::sentry::EventType in structs
- Use primitives::analytics::FetchedMetric
- primitives::UnifiedNum - add Mul impls for u64
- sentry - db - analytics - finish query & testing
@simzzz
Copy link
Contributor Author

simzzz commented Jan 17, 2022

LGTM, I think the changes reduce the complexity of the logic we had in some places.

@elpiel elpiel merged commit b6344f3 into aip-61-adex-v5 Jan 18, 2022
@elpiel
Copy link
Member

elpiel commented Jan 18, 2022

TODOs:

* [x]  Check (aka test) impls for Ord, PartialOrd, PartialEq for DateHour

* [x]  More tests for `query::Time`

* [ ]  Deserialize DateHour from either timestamp or ISO format

* [ ]  Caching analytics (if needed)

I'm moving the last 2 TODOs to the #382 issue, these can be implemented on later stage.

@elpiel elpiel deleted the analytics-routes branch January 18, 2022 12:12
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