Skip to content

metrics can not be read without authentication when using BASE_PATH #6467

@sthiriet

Description

@sthiriet

NetBox version

v2.10.4

Python version

3.8

Steps to Reproduce

  1. Set METRICS_ENABLED=True
  2. Set LOGIN_REQUIRED=True (added by @jeremystretch)
  3. Set BASE_PATH='netbox/'
  4. HTTP GET on /netbox/metrics url redirect to login page

Expected Behavior

succesfully get metrics

Observed Behavior

Redirection to login url.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions