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

feat(trends): add moving average smoothing_intervals param #6435

Merged
merged 58 commits into from
Mar 23, 2022

Conversation

hazzadous
Copy link
Contributor

@hazzadous hazzadous commented Oct 14, 2021

This will average over the preceding smoothing_intervals intervals.
The driver for this is to remove either weekly or monthly trends.

Limitations at the moment are that it only works for total volume
queries, as it relies on the results from clickhouse being from a single
timeline series.

Video example here

This will average over the preceding `smoothing_intervals` intervals.
The driver for this is to remove either weekly or monthly trends.

Limitations at the moment are that it only works for total volume
queries, as it relies on the results from clickhouse being from a single
timeline series.
@hazzadous hazzadous force-pushed the feat/trend-smoothing branch from 5ad093c to d871824 Compare October 14, 2021 14:15
@timgl timgl temporarily deployed to posthog-pr-6435 October 14, 2021 14:15 Inactive
@timgl timgl temporarily deployed to posthog-pr-6435 October 14, 2021 14:51 Inactive
@timgl timgl temporarily deployed to posthog-pr-6435 October 14, 2021 16:35 Inactive
@hazzadous hazzadous marked this pull request as draft October 15, 2021 10:22
@timgl timgl temporarily deployed to posthog-pr-6435 October 15, 2021 13:59 Inactive
@timgl timgl temporarily deployed to posthog-pr-6435 October 15, 2021 14:21 Inactive
This should allow for url navigation to work, although I haven't quite
figured out how we then use this to make the insights/trends POST
request
@timgl timgl temporarily deployed to posthog-pr-6435 October 15, 2021 15:07 Inactive
@timgl timgl temporarily deployed to posthog-pr-6435 October 15, 2021 15:28 Inactive
@timgl timgl temporarily deployed to posthog-pr-6435 October 15, 2021 15:34 Inactive
@timgl timgl temporarily deployed to posthog-pr-6435 October 15, 2021 15:43 Inactive
@timgl timgl temporarily deployed to posthog-pr-6435 October 15, 2021 16:01 Inactive
@timgl timgl temporarily deployed to posthog-pr-6435 October 15, 2021 16:14 Inactive
@timgl timgl temporarily deployed to posthog-pr-6435 October 18, 2021 12:23 Inactive
@timgl timgl temporarily deployed to posthog-pr-6435 October 18, 2021 13:22 Inactive
@posthog-bot
Copy link
Contributor

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week.

@posthog-bot
Copy link
Contributor

This PR was closed due to 2 weeks of inactivity. Feel free to reopen it if still relevant.

@posthog-bot posthog-bot closed this Feb 8, 2022
@mariusandra mariusandra reopened this Feb 8, 2022
@marcushyett-ph
Copy link
Contributor

Thanks @mariusandra! Every time you re-open this I get more embarrassed about my incredibly slow pace on this PR. Will try harder.

@hazzadous
Copy link
Contributor Author

I'm going to close this, if someone picks the task up they can open up a PR themselves.

@hazzadous hazzadous closed this Mar 2, 2022
@EDsCODE
Copy link
Member

EDsCODE commented Mar 2, 2022

Cool. Going to pick this up within the next week or so. Leaving a note here for record

@timgl timgl reopened this Mar 22, 2022
@timgl timgl enabled auto-merge (squash) March 23, 2022 14:57
@timgl timgl merged commit fbdefda into master Mar 23, 2022
@timgl timgl deleted the feat/trend-smoothing branch March 23, 2022 15:54
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.

9 participants