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

OneAgent monitoring data for Front end application running in AWS ECS Fargate not showing in Dynatrace

Sachinpai
Participant

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": "arn:aws:ecs: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": "arn:aws:secretsmanager:us-east-1:*:secret:dynatrace-deployment-credentials:dt_paas_token::"
}
],
"logConfiguration": {
"logDriver": "awsfirelens",
"options": {},
"secretOptions": []
},
"systemControls": []


{
"name": "x-ui",
"image": "*.dkr.ecr.us-east-1.amazonaws.com/x-ui:x",
"cpu": 256,
"memory": 512,
"memoryReservation": *,
"portMappings": [
{
"containerPort": *,
"hostPort": *,
"protocol": "tcp"
}
],
"essential": true,
"entryPoint": [
"nginx",
"-g",
"daemon off;"
],
"environment": [
{
"name": "LD_PRELOAD",
"value": "/opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so"
},
{
"name": "DT_TAGS",
"value": "application_id=x application_name=x data_classification=Confidential environment=xx issrcl_level=MediumHigh managed_by=terraform owner=* scm_branch=x scm_project=xx scm_repo=x service_name=x-ui workspace=x HOST_GROUP=x"
},
{
"name": "DT_CUSTOM_PROP",
"value": "application_id=x application_name=x data_classification=Confidential environment=x issrcl_level=MediumHigh managed_by=terraform owner=* scm_branch=x scm_project=xxxx scm_repo=x service_name=x-ui workspace=x HOST_GROUP=x"
}
],
"mountPoints": [
{
"sourceVolume": "oneagent",
"containerPath": "/opt/dynatrace/oneagent"
}
],
"volumesFrom": [],
"secrets": [],
"dependsOn": [
{
"containerName": "install_oneagent",
"condition": "COMPLETE"
}
],
"startTimeout": 30,
"stopTimeout": 30,
"readonlyRootFilesystem": false,
"logConfiguration": {
"logDriver": "awsfirelens",
"options": {},
"secretOptions": []
},
"systemControls": []
}

 

0 REPLIES 0

Featured Posts