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

Improved monitoring/telemetry for Jupyter Notebooks #36

Open
ca-scribner opened this issue Nov 20, 2020 · 2 comments
Open

Improved monitoring/telemetry for Jupyter Notebooks #36

ca-scribner opened this issue Nov 20, 2020 · 2 comments
Labels
area/ux Requires attention from UX: focus on user interaction or UI design

Comments

@ca-scribner
Copy link
Contributor

To help detecting/fixing bugs, let's improve the information we collect from Jupyter Notebooks. Some ideas:

  • Jupyter has logs that will record detailed failure info, etc. Can we always capture these and store then centrally for later use if users find issues?
  • Are there ways to collect telemetry like how many python/r/... kernels have been run? when/what packages do people install? ...

More brainstorming would be helpful here.

@blairdrummond blairdrummond added the area/ux Requires attention from UX: focus on user interaction or UI design label Jan 30, 2021
@blairdrummond
Copy link
Contributor

Screenshot from 2021-01-30 16-06-38

The answer is "Very Yes". We already have prometheus metrics available and we just need to pull them.

@blairdrummond
Copy link
Contributor

We might be able to work with this:

kubeflow/kubeflow#5216

I think we'd be able to scrape for pods with the label notebook (like in our minio credential injector), and then scrape metrics using the blackbox exporter that @Ito-Matsuda has been playing around with.

It looks like it's possible to right a cross-namespace ServiceMonitor using that notebook label as a selector.

https://stackoverflow.com/a/64451100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ux Requires attention from UX: focus on user interaction or UI design
Projects
None yet
Development

No branches or pull requests

2 participants