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

source-mixpanel-native: increase funnels date window size #2440

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

Alex-Bair
Copy link
Member

@Alex-Bair Alex-Bair commented Feb 24, 2025

Description:

This implements the fix made to annotations in #2389 to the funnels stream. The connector has to send at least one API request for each funnel, and for users with hundreds of funnels, this will at minimum take multiple hours. If the connector uses a small date window size & makes more than a single request per funnel, then it's possible for funnels to never complete in 24 hours.

Since each funnel typically only has KB of data, we can force funnels to make a single request per funnel by using a very large date window size.

Workflow steps:

(How does one use this feature, and how has it changed)

Documentation links affected:

(list any documentation links that you created, or existing ones that you've identified as needing updates, along with a brief description)

Notes for reviewers:

Tested on a local stack. Confirmed that a single request is made per funnel even when the configured date window size is small (1 day).


This change is Reviewable

This implements the fix made to `annotations` in
8284cbc to the `funnels` stream. The
connector has to send at least one API request for each funnel, and for
users with hundreds of funnels, this will a minimum take multiple hours.
If the connector uses a small date window size & makes more than a
single request per funnel, then it's possible for `funnels` to never
complete in 24 hours.

Since each funnel typically only has KB of data, we can force `funnels`
to make a single request per funnel by using a very large date window size.
@Alex-Bair Alex-Bair marked this pull request as ready for review February 24, 2025 16:50
Copy link
Member

@williamhbaker williamhbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Alex-Bair Alex-Bair merged commit ee7c7e1 into main Feb 24, 2025
81 of 87 checks passed
@Alex-Bair Alex-Bair deleted the bair/source-mixpanel-native-funnels-window-size branch February 24, 2025 16:57
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