16 Jul 2024 09:31 PM
Dynatrace monitoring data not captured for front end web application.
Platform: AWS Fargate ,
Web server: ngnix,
Linux image: alpine.
below container definition (Run time injection)
"taskDefinitionArn": "arnecs:us-east-1:XXXX:task-definition/*:310",
"containerDefinitions": [
{
"name": "install_oneagent",
"image": "*.dkr.ecr.us-east-1.amazonaws.com/alpine:latest",
"cpu": 0,
"portMappings": [],
"essential": false,
"entryPoint": [
"/bin/sh",
"-c"
],
"command": [
"ARCHIVE=$(mktemp) && wget -O $ARCHIVE \"$DT_API_URL/v1/deployment/installer/agent/unix/paas/latest?Api-Token=$DT_PAAS_TOKEN&$DT_ONEAGENT_OPTIONS\" && unzip -o -d /opt/dynatrace/oneagent $ARCHIVE && rm -f $ARCHIVE"
],
"environment": [
{
"name": "DT_ONEAGENT_OPTIONS",
"value": "flavor=musl&include=all"
},
{
"name": "DT_API_URL",
"value": "https://{environmentid}.live.dynatrace.com/api"
}
],
"mountPoints": [
{
"sourceVolume": "oneagent",
"containerPath": "/opt/dynatrace/oneagent"
}
],
"volumesFrom": [],
"secrets": [
{
"name": "DT_PAAS_TOKEN",
"valueFrom": "arnsecretsmanager:us-east-1:*:secret:dynatrace-deployment-credentials:dt_paas_token::"
}
],
"logConfiguration": {
"logDriver": "awsfirelens",
"options": {},
"secretOptions": []
},
"systemControls": []