mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
More updates to health.md docs
This commit is contained in:
parent
5d18086430
commit
a1180aad17
1 changed files with 4 additions and 24 deletions
|
@ -118,14 +118,12 @@ Unprotected endpoint for checking if proxy is ready to accept requests
|
||||||
|
|
||||||
Example Request:
|
Example Request:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl --location 'http://0.0.0.0:4000/health/readiness'
|
curl http://0.0.0.0:4000/health/readiness
|
||||||
```
|
```
|
||||||
|
|
||||||
Example Response:
|
Example Response:
|
||||||
|
|
||||||
*If proxy connected to a database*
|
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"status": "connected",
|
"status": "connected",
|
||||||
|
@ -145,26 +143,8 @@ Example Response:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*If proxy not connected to a database*
|
If the proxy is not connected to a database, then the `"db"` field will be `"Not
|
||||||
|
connected"` instead of `"connected"` and the `"last_updated"` field will not be present.
|
||||||
```json
|
|
||||||
{
|
|
||||||
"status": "connected",
|
|
||||||
"db": "Not connected",
|
|
||||||
"cache": null,
|
|
||||||
"litellm_version": "1.40.21",
|
|
||||||
"success_callbacks": [
|
|
||||||
"langfuse",
|
|
||||||
"_PROXY_track_cost_callback",
|
|
||||||
"response_taking_too_long_callback",
|
|
||||||
"_PROXY_MaxParallelRequestsHandler",
|
|
||||||
"_PROXY_MaxBudgetLimiter",
|
|
||||||
"_PROXY_CacheControlCheck",
|
|
||||||
"ServiceLogging"
|
|
||||||
],
|
|
||||||
"last_updated": "2024-07-10T18:59:10.616968"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## `/health/liveliness`
|
## `/health/liveliness`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue