docs: document pyroscope env var

This commit is contained in:
Seefs
2025-12-19 23:16:56 +08:00
parent fb0ffe8c95
commit a78fd2dae6
6 changed files with 15 additions and 4 deletions
+2
View File
@@ -311,6 +311,8 @@ docker run --name new-api -d --restart always \
| `PYROSCOPE_APP_NAME` | Pyroscope application name | `new-api` |
| `PYROSCOPE_BASIC_AUTH_USER` | Pyroscope basic auth user | - |
| `PYROSCOPE_BASIC_AUTH_PASSWORD` | Pyroscope basic auth password | - |
| `PYROSCOPE_MUTEX_RATE` | Pyroscope mutex sampling rate | `5` |
| `PYROSCOPE_BLOCK_RATE` | Pyroscope block sampling rate | `5` |
| `HOSTNAME` | Hostname tag for Pyroscope | `new-api` |
📖 **Complete configuration:** [Environment Variables Documentation](https://docs.newapi.pro/installation/environment-variables)