Skip to content

Access to Prometheus metrics

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_me

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
VariablePurposeDefault Value
APP_PORTPanel port3000
METRICS_PORTMetrics port3001
METRICS_USERMetrics useradmin
METRICS_PASSMetrics passwordchange_me
JWT_AUTH_SECRETJWT auth secretchange_me
JWT_API_TOKENS_SECRETAPI tokens secretchange_me