Access to Prometheus metrics
In the original installation
Section titled “In the original installation”Prometheus metrics are available on port 3001 with basic HTTP authentication:
scrape_configs: - job_name: 'remnawave' scheme: http metrics_path: /metrics static_configs: - targets: ['remnawave:3001'] basic_auth: username: admin password: change_meIn the eGames’s script
Section titled “In the eGames’s script”Access to Prometheus metrics is also protected by a cookie system, which means:
- Local access: Possible directly via
http://127.0.0.1:3001/metrics - External access: Blocked without the correct cookie set
Environment Variables Configuration
Section titled “Environment Variables Configuration”| Variable | Purpose | Default Value |
|---|---|---|
APP_PORT |
Panel port | 3000 |
METRICS_PORT |
Metrics port | 3001 |
METRICS_USER |
Metrics user | admin |
METRICS_PASS |
Metrics password | change_me |
APP_SECRET |
Signing key for sessions and API tokens | change_me |
