cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AWS Fargate build-time injection

JB
Helper

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:

JB_0-1720023593540.png

Thanks in advanced.

Regards,

Johanna

 

4 REPLIES 4

aligunaydin
Visitor

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

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.

 

aligunaydin
Visitor

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

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.

JB_0-1721842927403.png

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

Featured Posts