Skip to content

Commit

Permalink
docs: correct link to multiprocessing docs (#1023)
Browse files Browse the repository at this point in the history
* docs: correct link to multiprocessing docs

Signed-off-by: Jason Mobarak <[email protected]>

* Update docs/content/exporting/http/fastapi-gunicorn.md

Co-authored-by: Chris Marchbanks <[email protected]>
Signed-off-by: Jason Mobarak <[email protected]>

---------

Signed-off-by: Jason Mobarak <[email protected]>
Co-authored-by: Chris Marchbanks <[email protected]>
  • Loading branch information
silverjam and csmarchbanks authored Apr 15, 2024
1 parent 4535ce0 commit 7bc8cdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/exporting/http/fastapi-gunicorn.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metrics_app = make_asgi_app()
app.mount("/metrics", metrics_app)
```

For Multiprocessing support, use this modified code snippet. Full multiprocessing instructions are provided [here](https://github.com/prometheus/client_python#multiprocess-mode-eg-gunicorn).
For Multiprocessing support, use this modified code snippet. Full multiprocessing instructions are provided [here]({{< ref "/multiprocess" >}}).

```python
from fastapi import FastAPI
Expand Down Expand Up @@ -47,4 +47,4 @@ pip install gunicorn
gunicorn -b 127.0.0.1:8000 myapp:app -k uvicorn.workers.UvicornWorker
```

Visit http://localhost:8000/metrics to see the metrics
Visit http://localhost:8000/metrics to see the metrics

0 comments on commit 7bc8cdd

Please sign in to comment.