Skip to content

Allow the Prometheus port to be configuration #11114

@thaiphv

Description

@thaiphv

Is your feature request related to a problem? Please describe.
Currently the Prometheus port is hardcoded to 9100 which has already allocated to the node_exporter in https://github.com/prometheus/prometheus/wiki/Default-port-allocations

Describe the solution you'd like
The port should be configurable so that if someone also deploys a node_exporter on the same host, the server will still work at another port.

Describe alternatives you've considered
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions