telemetry
telemetry copied to clipboard
Examples of logging code run in a cell (along with usernames)
Hi,
This project looks awesome! Are there any examples of logging code executed in code cells (along with the username)? My workplace requires this for auditing purposes. For the past couple of years I have been maintaining a fork of the notebook repo (https://github.com/jupyter/notebook/issues/2251) so I'm looking forward to being able to do it via an extension. I'm also happy to contribute in whatever way I can. What is the best way to start contributing?
Hi @gclen, thanks for sharing your use-case!
We're currently working on getting this into the notebook server (jupyter/notebook#4752). Once that PR lands, we'll start expanding the telemetry service there to include things like kernel messaging. Keep an eye out for that PR.
Also, check out #30 for details about handling PII data (like username). If that PR is accepted here, we will have a simple way to explicitly enable PII data. Then, it's just a matter of adding this feature to the notebook server.
As far as contributing, feel free to review the PR in jupyter/notebook#4752. I'll be working on this PR throughout this week. I'm hoping to start a semi-regular meeting for jupyter telemetry moving forward. Would you be interested in joining that conversation?
I'm hoping I get a change to dive into the codebase this weekend and try to get my bearings. I don't know if I can (or should) commit to more meetings but would be happy to join something like a slack channel. Is there something like that?
@Zsailer any news about it? Is it possible to be done now?
@Zsailer any news about it? Is it possible to be done now?
I am also interested in this feature, any guidance would be appreciated!