03 Jul 2024 05:22 PM - last edited on 04 Jul 2024 09:27 AM by MaciejNeumann
Hello,
Maybe someone have a clue why is not showing in dynatrace the deployment. I followed the steps and is compiling and it looks that all the agent files are uploaded.
This is the docker file:
Thanks in advanced.
Regards,
Johanna
23 Jul 2024 12:38 PM
I have exactly the same problem, no logs show up in dynatrace with AWS Fargate build-time injection time,
there is no error in runtime, the agent is running and the logs show:
2024-07-23T12:23:54.973+01:00 2024-07-23 11:23:54.973 UTC [00000006] info [native] Agent tenant = 'xxxx', host tenant = ''
2024-07-23T12:23:54.973+01:00 2024-07-23 11:23:54.973 UTC [00000006] info [native] Agent will send OSI INFO messages
tried with different images, the result is all same, no logs show up although metrics do, cpu memory etc
openjdk:17.0.1-slim
public.ecr.aws/docker/library/alpine:3.20
23 Jul 2024 08:20 PM
Hello aligunaydin,
We finally resolved this, the thing was that what we must follow the steps regarding Docker multi-stage image builds because the code was created using multi-stages.
We just added the few lines that are in the documentation an it worked.
Hope this help.
24 Jul 2024 12:33 AM - edited 24 Jul 2024 12:34 AM
I am not sure what you mean, I followed the instructions from here https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/amazon-web-services...
the logs are not shipped to dynatrace
my docker file is attached
24 Jul 2024 06:44 PM
Hi,
What i mean is that if you are using muti-stages you need to follow the steps Docker multistage image builds, if not the classic. In my case I was following classic instructions but the docker was created using mutistages so I followed the correct instructions and it worked.
In your docker file I can see you are following mutistages instructions, check if this docker is using multistages I think it is not but you must confirm that maybe you need to follow classic integration.
Regards,
Johanna