Skip to content

Ensure that the correct listen address is passed along to prometheus/pushgateway #100

Closed

Description

@hatchan

Currently we have the web external address hardcoded for the prometheus/pushgateway:

.arg("--web.external-url=http://localhost:6789/prometheus") // TODO: Make sure this matches with that is actually running.

This needs to follow what the user has specified as their listen address. NOTE: it is possible that the user uses 0.0.0.0 as the ip or that they use :0 as the port. In these cases we need to figure out what the values should be (ie. using a :0 port means that a random unused port will be used when the socket is opened).

Activity

  1. added a commit that references this issue on Jul 26, 2023
    fc53df2
  2. added a commit that references this issue on Jul 27, 2023
    16b97b0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions