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

Telemetry and Event Logging #233

Closed
wants to merge 19 commits into from
Closed

Conversation

Zsailer
Copy link
Member

@Zsailer Zsailer commented May 19, 2020

This is a port of jupyter/notebook#4752.

This is an initial draft of telemetry/eventlogging in the Jupyter Server. This was inspired by #231 from @gclen. For now, this PR adds structured event logging to "contents" API, but we could easily draft event schemas for the kernels API after this lands.

Concurrently, I've drafted a large PR in the telemetry repo, jupyter/telemetry#46, for handling personal data. A major block for landing telemetry in jupyter_server has been the concern around the logging of personal data. Before we can merge something here, we need to have a sound story around how PII is should be handled.

I will try to flesh out the details further in this PR when I have more time. In the meantime, I thought I'd leave this here for others to take a look at. (Thank you, @yuvipanda, for the initial draft of this PR!).

yuvipanda and others added 19 commits May 19, 2020 14:42
Bump telemetry extension commit as well
Experiments here informed the schema naming
recommendations in jupyter/telemetry#11
python 3.5 is still supported
This lets us add detailed documentation & description
to our schemas, which is very hard to do in JSON.

We also add a lot of documentation to the one
JSON schema we have
Primary advantage over JSON is that we can do multi-line strings
for more detailed documentation. We also expect humans to read &
write these, so YAML is a much better format there. All JSON
is also valid YAML, so that helps.

Depends on jupyter/telemetry#13
@ellisonbg
Copy link
Contributor

Going to dive into this


from tornado import web

from notebook.utils import url_path_join
Copy link
Member Author

Choose a reason for hiding this comment

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

update to jupyter_server

@WaterKnight1998
Copy link

@Zsailer any updates?

@Zsailer
Copy link
Member Author

Zsailer commented Dec 17, 2020

Closing in favor of #352.

Zsailer added a commit to Zsailer/jupyter_server that referenced this pull request Nov 18, 2022
@Zsailer Zsailer deleted the telemetry branch January 16, 2024 21:48
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.

4 participants