10 Feb 2025
06:14 AM
- last edited on
10 Feb 2025
01:11 PM
by
MaciejNeumann
Hi Team,
Hope you're all doing well!
I'm looking for a clear guide on implementing Dynatrace in our current ECS setup. We have an ECS cluster with multiple services and tasks running on it, and we're using EC2 instead of Fargate.
I came across this document: Dynatrace AWS CloudWatch ECS Integration, but I find it a bit vague. I'm not sure what the next steps are after enabling service monitoring, as the metrics mentioned seem to be just standard CloudWatch metrics.
Could anyone guide me on the proper way to implement Dynatrace in this setup? Any insights would be greatly appreciated!
Thanks in advance!
Best Regards,
Alvin
10 Feb 2025 06:29 AM
Hi @alvin-hm ,
The link you have is only for the cloud watch integration, this is just high level resource metrics. What you are after is this one: Deploy OneAgent using AWS Systems Manager Distributor — Dynatrace Docs. which is a guide for deploying the one agent to the ec2 instance for fullstack montioring.
However... There are many different ways to deploy you can deploy via your build scripts (including agent pulldown and install), cloud formation templates , ansible it all depends on your environment and how you deploy your instances.,
This is a handy workshop you can do with examples of both: AWSMonitoringTutorials/README.md at master · Dynatrace/AWSMonitoringTutorials · GitHub
Hope it helps.
13 Feb 2025 04:39 AM
Hi @gopher
Thank you for providing these documents. I was able to modify our Launch Template in ASG to automatically install Full Stack Dynatrace monitoring upon instance launch. I can see that it is installed correctly and sending data to our dashboard UI.
However, none of the containers running inside the ECS cluster are enabled for deep monitoring, and I’m not receiving any logs from the applications. I also tried manually restarting the processes I want to monitor, but that didn’t help either.
How can I ensure that any new instance launched by ASG will have all containers running on it monitored in Dynatrace?
13 Feb 2025 09:26 PM
For ECS components, you will need to do the following using this guide.
Monitor Amazon Elastic Container Service (ECS) — Dynatrace Docs