Skip to content

Commit 2ef0f19

Browse files
add Datadog tags to application container
1 parent 544a747 commit 2ef0f19

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • ops/services/20-microservices

ops/services/20-microservices/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,10 @@ locals {
203203
# Intercepted by entrypoint-support.bash to dynamically configure the NR agent
204204
# since it doesn't natively support ignoring status codes via env vars.
205205
{ name = "BB2_NR_IGNORE_STATUS_CODES", value = "401 403 405" },
206+
207+
# Datadog configuration
208+
{ name = "DD_SERVICE", value = local.app },
209+
{ name = "DD_ENV", value = local.env },
206210
]
207211

208212
# SSM individual params → ECS environment format

0 commit comments

Comments
 (0)