jupyter / jupyter/notebook

Add more Prometheus metrics

Open
#3,682 27 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Now that #3490 has been merged, we should add more prometheus metrics to the notebook server!

Some ideas for metrics to add...

1. Number of kernels running (labeled by type)
2. Number of sessions open (not sure if this is useful?)
3. Number of terminals open
4. Mirror of the [activity tracking](https://github.com/jupyter/notebook/issues/1241) metrics
5. Kernel start / stop latency metrics
6. 0mq metrics

Am sure there's more that I don't know of!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the metrics work in #3490 and the activity-tracking discussion in #1241. Narrow the proposed list into a decided set of Prometheus metrics for the notebook server, then confirm that each selected metric has an implementation and corresponding verification before considering the issue done.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, prometheus
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.