diff options
Diffstat (limited to '.env.example')
| -rw-r--r-- | .env.example | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.env.example b/.env.example index 0a93b1f..9207dc4 100644 --- a/.env.example +++ b/.env.example | |||
| @@ -72,6 +72,26 @@ | |||
| 72 | # NGIT_DATABASE_BACKEND=lmdb | 72 | # NGIT_DATABASE_BACKEND=lmdb |
| 73 | 73 | ||
| 74 | # ============================================================================ | 74 | # ============================================================================ |
| 75 | # METRICS | ||
| 76 | # ============================================================================ | ||
| 77 | |||
| 78 | # Enable Prometheus metrics endpoint at /metrics | ||
| 79 | # CLI: --metrics-enabled | ||
| 80 | # Default: true | ||
| 81 | # NGIT_METRICS_ENABLED=true | ||
| 82 | |||
| 83 | # Connections per IP before flagging as potential abuse in metrics | ||
| 84 | # (display only, no rate limiting - purely for monitoring visibility) | ||
| 85 | # CLI: --metrics-connection-per-ip-abuse-threshold <count> | ||
| 86 | # Default: 10 | ||
| 87 | # NGIT_METRICS_CONNECTION_PER_IP_ABUSE_THRESHOLD=10 | ||
| 88 | |||
| 89 | # Number of top bandwidth repositories to track in metrics | ||
| 90 | # CLI: --metrics-top-n-repos <count> | ||
| 91 | # Default: 10 | ||
| 92 | # NGIT_METRICS_TOP_N_REPOS=10 | ||
| 93 | |||
| 94 | # ============================================================================ | ||
| 75 | # LOGGING | 95 | # LOGGING |
| 76 | # ============================================================================ | 96 | # ============================================================================ |
| 77 | 97 | ||