Skip to content

Prometheus /metrics Exposed on 8080 and not Default 9000 #729

@cmcguirk17

Description

@cmcguirk17

System Info

Docker Image: huggingface/text-embeddings-inference
Version: 1.8.1

Information

  • Docker
  • The CLI directly

Tasks

  • An officially supported command
  • My own modifications

Reproduction

Calling curl localhost:9000/metrics returns nothing while curl localhost:8080/metrics seems to return the expected metrics.
9000 is listed as being the default, and no PROMETHEUS_PORT env is set. It seems that 8080 is actually the default port?

Expected behavior

9000 should be the default port.

Adding to this, changing the PROMETHEUS_PORT environment variable did not seem to successfully apply to the container.

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