Skip to content

some error telemetry events are missing #35

Open
@edublancas

Description

@edublancas

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 (?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions