monitoring docs: fixes following monitoring section relocation

This commit is contained in:
Erik Sundell
2020-10-01 10:40:13 +02:00
parent 50868f5bb5
commit 8c30724f17
6 changed files with 7 additions and 14 deletions

2
.gitignore vendored
View File

@@ -27,4 +27,4 @@ htmlcov
.vscode/ .vscode/
.pytest_cache .pytest_cache
pip-wheel-metadata pip-wheel-metadata
docs/source/monitoring/_gen/ docs/source/reference/metrics.rst

View File

@@ -61,9 +61,9 @@ rest-api: source/_static/rest-api/index.html
source/_static/rest-api/index.html: rest-api.yml node_modules source/_static/rest-api/index.html: rest-api.yml node_modules
npm run rest-api npm run rest-api
metrics: source/monitoring/_gen/metrics.rst metrics: source/reference/metrics.rst
source/monitoring/_gen/metrics.rst: generate-metrics.py source/reference/metrics.rst: generate-metrics.py
python3 generate-metrics.py python3 generate-metrics.py
html: rest-api metrics html: rest-api metrics

View File

@@ -30,7 +30,7 @@ class Generator:
return table_rows return table_rows
def prometheus_metrics(self): def prometheus_metrics(self):
generated_directory = f"{HERE}/source/monitoring/_gen" generated_directory = f"{HERE}/source/reference"
if not os.path.exists(generated_directory): if not os.path.exists(generated_directory):
os.makedirs(generated_directory) os.makedirs(generated_directory)

View File

@@ -84,14 +84,6 @@ Getting Started
getting-started/index getting-started/index
Monitoring
-------------------
.. toctree::
:maxdepth: 2
monitoring/index
Technical Reference Technical Reference
------------------- -------------------

View File

@@ -16,6 +16,7 @@ what happens under-the-hood when you deploy and configure your JupyterHub.
proxy proxy
separate-proxy separate-proxy
rest rest
monitoring
database database
templates templates
../events/index ../events/index

View File

@@ -1,5 +1,5 @@
Monitoring Monitoring
=================== ==========
This section covers details on monitoring the state of your JupyterHub installation. This section covers details on monitoring the state of your JupyterHub installation.
@@ -17,4 +17,4 @@ tool like `Grafana <https://grafana.com/docs/grafana/latest/getting-started/what
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
_gen/metrics metrics