|
9 | 9 | "logConfiguration": { |
10 | 10 | "logDriver": "awsfirelens", |
11 | 11 | "options": { |
12 | | - "Name": "OpenTelemetry" |
13 | | - } |
| 12 | + "Name": "datadog", |
| 13 | + "Host": "http-intake.logs.datadoghq.com", |
| 14 | + "dd_service": "polygon-docs-dev", |
| 15 | + "dd_source": "nodejs", |
| 16 | + "TLS": "on", |
| 17 | + "provider": "ecs" |
| 18 | + }, |
| 19 | + "secretOptions": [ |
| 20 | + { |
| 21 | + "name": "apiKey", |
| 22 | + "valueFrom": "arn:aws:ssm:eu-west-1:058264511034:parameter/DATADOG_APIKEY" |
| 23 | + } |
| 24 | + ] |
14 | 25 | }, |
15 | 26 | "entryPoint": null, |
16 | 27 | "portMappings": [{ |
|
55 | 66 | "credentialsParameter": "" |
56 | 67 | } |
57 | 68 | }, |
58 | | - { |
59 | | - "essential": false, |
60 | | - "name": "otel-collector", |
61 | | - "image": "otel/opentelemetry-collector-contrib", |
62 | | - "firelensConfiguration": { |
63 | | - "type": "fluentbit", |
64 | | - "options": {} |
65 | | - }, |
66 | | - "portMappings": [ |
67 | | - { |
68 | | - "name": "otel-collector-4317-tcp", |
69 | | - "containerPort": 4317, |
70 | | - "hostPort": 4317, |
71 | | - "protocol": "tcp", |
72 | | - "appProtocol": "grpc" |
73 | | - }, |
74 | | - { |
75 | | - "name": "otel-collector-4318-tcp", |
76 | | - "containerPort": 4318, |
77 | | - "hostPort": 4318, |
78 | | - "protocol": "tcp", |
79 | | - "appProtocol": "grpc" |
80 | | - } |
81 | | - ], |
82 | | - "command": [ |
83 | | - "--config", |
84 | | - "env:SSM_CONFIG" |
85 | | - ], |
86 | | - "environment": [ |
87 | | - { |
88 | | - "name": "CORALOGIX_DOMAIN", |
89 | | - "value": "eu2.coralogix.com" |
90 | | - } |
91 | | - ], |
92 | | - "secrets": [ |
93 | | - { |
94 | | - "name": "SSM_CONFIG", |
95 | | - "valueFrom": "arn:aws:ssm:eu-west-1:058264511034:parameter/CORALOGIX/CX_OTEL/config.yaml" |
96 | | - }, |
97 | | - { |
98 | | - "name": "PRIVATE_KEY", |
99 | | - "valueFrom": "arn:aws:ssm:eu-west-1:058264511034:parameter/CORALOGIX/PRIVATE_KEY" |
100 | | - } |
101 | | - ], |
102 | | - "user": "0", |
103 | | - "memoryReservation": 50, |
104 | | - "resourceRequirements": null, |
105 | | - "environmentFiles": [], |
106 | | - "mountPoints": null, |
107 | | - "volumesFrom": null, |
108 | | - "hostname": null, |
109 | | - "workingDirectory": null, |
110 | | - "extraHosts": null, |
111 | | - "logConfiguration": null, |
112 | | - "ulimits": null, |
113 | | - "dockerLabels": null, |
114 | | - "dependsOn": null, |
115 | | - "repositoryCredentials": { |
116 | | - "credentialsParameter": "" |
117 | | - } |
118 | | - }], |
| 69 | + { |
| 70 | + "essential": true, |
| 71 | + "image": "amazon/aws-for-fluent-bit:stable", |
| 72 | + "name": "log_router", |
| 73 | + "firelensConfiguration": { |
| 74 | + "type": "fluentbit", |
| 75 | + "options": { |
| 76 | + "enable-ecs-log-metadata": "true" |
| 77 | + } |
| 78 | + }, |
| 79 | + "environment": null, |
| 80 | + "secrets": null, |
| 81 | + "memoryReservation": 50, |
| 82 | + "resourceRequirements": null, |
| 83 | + "portMappings": [], |
| 84 | + "environmentFiles": [], |
| 85 | + "mountPoints": null, |
| 86 | + "volumesFrom": null, |
| 87 | + "hostname": null, |
| 88 | + "user": null, |
| 89 | + "workingDirectory": null, |
| 90 | + "extraHosts": null, |
| 91 | + "logConfiguration": null, |
| 92 | + "ulimits": null, |
| 93 | + "dockerLabels": null, |
| 94 | + "dependsOn": null, |
| 95 | + "repositoryCredentials": { |
| 96 | + "credentialsParameter": "" |
| 97 | + } |
| 98 | + } |
| 99 | + ], |
119 | 100 | "volumes": [], |
120 | 101 | "networkMode": "awsvpc", |
121 | 102 | "memory": "1024", |
|
0 commit comments