Skip to content

Commit

Permalink
Better wording around multiple ports
Browse files Browse the repository at this point in the history
  • Loading branch information
fredsig committed Mar 7, 2020
1 parent 5738e22 commit ece6ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ in bridge mode. On Fargate, if PROMETHEUS_PORT is not set, it will default to po
If PROMETHEUS_CONTAINER_PORT is set, it will look at the container host network bindings, and find the entry with a matching containerPort. It will then use the hostPort found there as target port.
This is useful when the container port is known, but the hostPort is randomly picked by ECS (by setting hostPort to 0 in the task definition).

If your container uses multiple ports, it's recommended to specify PROMETHEUS_PORT explicitly.
If your container uses multiple ports, it's recommended to specify PROMETHEUS_PORT (awsvpc, host) or PROMETHEUS_CONTAINER_PORT (bridge).

0 comments on commit ece6ca2

Please sign in to comment.