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

chore(flags): remove decide request log now that django logs showing up in Loki #29375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

havenbarnes
Copy link
Contributor

@havenbarnes havenbarnes commented Feb 28, 2025

@havenbarnes havenbarnes changed the title chore(flags): remove decide request log now that django logs showing … chore(flags): remove decide request log now that django logs showing up in Loki Feb 28, 2025
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR removes the decide request logging functionality that's now redundant due to the new posthog-decide-django service ingesting standard Django logs through Loki.

  • Removed DECIDE_REQUEST_LOGGING_SAMPLING_RATE setting from posthog/settings/web.py
  • Removed sampled logging functionality from posthog/api/decide.py
  • Removed is_request_sampled_for_logging parameter from function signatures in decide.py
  • Core functionality of the decide endpoint remains unchanged

2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@havenbarnes havenbarnes requested a review from a team February 28, 2025 19:47
Copy link
Contributor

@haacked haacked left a comment

Choose a reason for hiding this comment

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

:shipit: LGTM!

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