This repository was archived by the owner on Jun 22, 2021. It is now read-only.
Commit 852da0b
committed
Scrape notebook & hub prometheus metrics
- /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.1 parent 3cbc52e commit 852da0b
1 file changed
+29
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
117 | 125 | | |
118 | 126 | | |
119 | 127 | | |
| |||
134 | 142 | | |
135 | 143 | | |
136 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
137 | 159 | | |
138 | 160 | | |
139 | 161 | | |
| |||
161 | 183 | | |
162 | 184 | | |
163 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
164 | 193 | | |
165 | 194 | | |
166 | 195 | | |
| |||
0 commit comments