Skip to content

/metrics endpoint should only be accessible by admin in production mode #92

@duaraghav8

Description

@duaraghav8

What it says in the title
should be pretty simple - you just have to add the requireAdminAccess() middleware in the /metrics route, before the prometheus middleware

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions