telemetry icon indicating copy to clipboard operation
telemetry copied to clipboard

Examples of logging code run in a cell (along with usernames)

Open gclen opened this issue 5 years ago • 4 comments

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?

gclen avatar Sep 29 '19 23:09 gclen

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?

Zsailer avatar Sep 30 '19 18:09 Zsailer

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?

gclen avatar Oct 03 '19 01:10 gclen

@Zsailer any news about it? Is it possible to be done now?

WaterKnight1998 avatar Aug 13 '20 11:08 WaterKnight1998

@Zsailer any news about it? Is it possible to be done now?

I am also interested in this feature, any guidance would be appreciated!

jskripchuk avatar Aug 28 '20 20:08 jskripchuk