Setup Locally:
- Run the following to start the Golang application, (main.go):
docker build -t <container_tag> .
docker run -p 9090:9090 -it <container_id>
- Navigate to
localhost:9090/<test name>
Setup in AWS ECS:
- Create a Datadog agent daemon service. Instructions can be found here: https://docs.datadoghq.com/integrations/amazon_ecs/?tab=python#web-ui
1.a. (Note. The
Task_Definition_Datadog_agent.json
can be used. Please update to include your Datadog API key.) - Create/modify GoApplication's ECS task definition with
Task_definition_GoApplication.json
. The important piece is to include the application portMappings for 9090.