trallnag / prometheus-ecs-discoverer

Prometheus Service Discovery for ECS
MIT License
13 stars 5 forks source link

fix: Problem with PROMETHEUS_CONTAINER_PORT #4

Closed splodgemcroo closed 4 years ago

splodgemcroo commented 4 years ago

Fixed a problem where PROMETHEUS_CONTAINER_PORT is not being detected correctly. Env variable being extracted from container and not container_definition.

Updating container to container_definition seems to fix it - working correctly in my environment now.