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

some error telemetry events are missing #35

Open
edublancas opened this issue Jan 12, 2023 · 0 comments
Open

some error telemetry events are missing #35

edublancas opened this issue Jan 12, 2023 · 0 comments

Comments

@edublancas
Copy link
Contributor

edublancas commented Jan 12, 2023

Steps to reproduce:

# ensure you have a version compatible with the next step
pip install ploomber-core --upgrade

# logs to the debugging project
export _PLOOMBER_TELEMETRY_DEBUG=true

# run this with a notebook that crashes
ploomber-engine input.ipynb out.ipynb

I only see the ploomber-engine-execute_notebook-started event, but not the error (nor the success event). I remember we saw something like this before and we thought it was a posthog error, I concluded it's the same issue we saw before because if I add a time.sleep between the log_api call and the raise (see here), the error event appears.

might be because posthog is logging the event in a different thread but the process is killed before it can finish (?)

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

No branches or pull requests

1 participant