Skip to content

Scrape notebook & hub prometheus metrics#1973

Merged
yuvipanda merged 1 commit into
berkeley-dsep-infra:stagingfrom
yuvipanda:notebook-prometheus
Nov 18, 2020
Merged

Scrape notebook & hub prometheus metrics#1973
yuvipanda merged 1 commit into
berkeley-dsep-infra:stagingfrom
yuvipanda:notebook-prometheus

Conversation

@yuvipanda
Copy link
Copy Markdown
Contributor

- /metrics now responds with prometheus metrics, rather than
  nbresuse metrics (jupyter-server/jupyter-resource-usage#68)
- Notebook Server's /metrics endpoint is now available without
  authentication, so prometheus can scrape those metrics
  (jupyter/notebook#5870)
- Annotations are set up on the user pods to tell prometheus the
  port and path to scrape.
- NetworkPolicy is set up to allow prometheus server to hit the
  singleuser server and the hub pods. Note that this required
  manually editing netpol in prometheus - should add that feature
  to the prometheus chart.
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.

1 participant