Add a little more structure

This commit is contained in:
YuviPanda
2022-03-10 13:45:28 -08:00
parent e0a17db5f1
commit 6eb526d08a

View File

@@ -6,12 +6,16 @@ log messages, and what they mean.
## Failing suspected API request to not-running server ## Failing suspected API request to not-running server
### Example
Your logs might be littered with lines that might look slightly scary Your logs might be littered with lines that might look slightly scary
``` ```
[W 2022-03-10 17:25:19.774 JupyterHub base:1349] Failing suspected API request to not-running server: /hub/user/<user-name>/api/metrics/v1 [W 2022-03-10 17:25:19.774 JupyterHub base:1349] Failing suspected API request to not-running server: /hub/user/<user-name>/api/metrics/v1
``` ```
### Most likely cause
However, what this most likely means is that the user's server has However, what this most likely means is that the user's server has
stopped running but they still have a browser tab open. This is stopped running but they still have a browser tab open. This is
extremely common - for example, you might have 3 tabs open, and shut extremely common - for example, you might have 3 tabs open, and shut
@@ -29,4 +33,6 @@ to let you restart it.
Most commonly, you'll see this in reference to the `/api/metrics/v1` Most commonly, you'll see this in reference to the `/api/metrics/v1`
URL, used by [jupyter-resource-usage](https://github.com/jupyter-server/jupyter-resource-usage). URL, used by [jupyter-resource-usage](https://github.com/jupyter-server/jupyter-resource-usage).
So for the most part, this log line is pretty benign! ### Actions you can take
This log message is benign, and there is usually no action for you to take.