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

Add ol-django olposthog app #2211

Merged
merged 16 commits into from
May 16, 2024
Merged

Add ol-django olposthog app #2211

merged 16 commits into from
May 16, 2024

Conversation

collinpreston
Copy link
Contributor

@collinpreston collinpreston commented May 15, 2024

What are the relevant tickets?

#2116

Description (What does it do?)

Adds the ol-django olposthog app to MITx Online in order to centralize Posthog functionality between Open Learning applications.

Adds two new environment variables for controlling Posthog API requests:
POSTHOG_FEATURE_FLAG_REQUEST_TIMEOUT_MS
POSTHOG_MAX_RETRIES

Renamed POSTHOG_API_TOKEN to POSTHOG_PROJECT_API_KEY.
Renamed IN_TEST_SUITE to POSTHOG_ENABLED.
https://docs.google.com/document/d/1W7jYty8HjkaYxSFXoUMF9ZYTOp8eJ4ssmINfgLhQ61Q/edit#heading=h.33ix6lloihnq

How can this be tested?

  1. Posthog feature flags and associated functionality should still perform as they previously did.

@annagav annagav self-requested a review May 16, 2024 11:57
@annagav annagav self-assigned this May 16, 2024
Copy link
Contributor

@annagav annagav left a comment

Choose a reason for hiding this comment

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

👍

@collinpreston collinpreston merged commit a7d1c8d into main May 16, 2024
7 checks passed
@collinpreston collinpreston deleted the ol-django-posthog branch May 16, 2024 13:07
@odlbot odlbot mentioned this pull request May 20, 2024
5 tasks
@odlbot odlbot mentioned this pull request May 22, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants