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 debug mode to Posthog #480

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Add debug mode to Posthog #480

merged 1 commit into from
Jun 17, 2024

Conversation

NolanTrem
Copy link
Collaborator

@NolanTrem NolanTrem commented Jun 17, 2024

Adding this in to allow debug mode when telemetry is disabled. Helps to avoid sending to Posthog while developing

export TELEMETRY_ENABLED=false
export DEBUG_MODE=true


🚀 This description was created by Ellipsis for commit 73534ef

Summary:

Added debug mode to PosthogClient in r2r/telemetry/posthog.py, controlled by DEBUG_MODE environment variable, to enable debug logging without sending telemetry data.

Key points:

  • Added debug parameter to PosthogClient.__init__ in r2r/telemetry/posthog.py
  • Controlled by DEBUG_MODE environment variable
  • Enables debug logging without sending telemetry data
  • Updated telemetry client initialization to include debug parameter

Generated with ❤️ by ellipsis.dev

Copy link

vercel bot commented Jun 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
r2r-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 17, 2024 5:42pm

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 73534ef in 3 minutes and 39 seconds

More details
  • Looked at 45 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_b8l4udN9CLzKpLFo


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@emrgnt-cmplxty emrgnt-cmplxty merged commit 1727e4d into dev Jun 17, 2024
2 checks passed
emrgnt-cmplxty pushed a commit that referenced this pull request Jun 21, 2024
emrgnt-cmplxty added a commit that referenced this pull request Jun 21, 2024
* quiet logger (#482)

* Add debug mode to Posthog (#480)

* Feature/add kg agent search to pipeline rebased 2 (#483)

* expand search pipeline

* checkin progress

* checkin progress

* grinding out

* make sure we can configure kg

* fix id error on server use

* checkin

* finish merge, add rag stream

* cleanup and pass tests

* up

* harmonize

* check in config refactor

* checkin work

* cleanup

* minor cleanups

* Add optional metadata to KG cookbook (#484)

* Add optional metadata to KG cookbook

* Align CB with script

* rm cruft and fix bug (#488)

* Feature/refactor app logic (#490)

* modularize app logic

* add management service

* add management service

* add management service

* Feature/move to singleton to prevent reload rebased (#491)

* modularize app logic

* add management service

* prevent r2r reload

* prevent r2r reload

* add back file (#492)

* add back file (#493)

* add back file

* fix bugs

* fix the routes (#496)

* rebase

* update docs

* cleanups

---------

Co-authored-by: Nolan Tremelling <34580718+NolanTrem@users.noreply.github.com>
@NolanTrem NolanTrem deleted the Nolan/PostogDebug branch June 21, 2024 21:49
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.

None yet

2 participants