Skip to content

Commit fd45d18

Browse files
authored
chore: fix some missing service name tags (#223)
1 parent 8476e5f commit fd45d18

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

print-service/infra/aws/lib/constructs/instrumented-function.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export class InstrumentedLambdaFunction extends Construct {
7171
},
7272
environment: {
7373
AWS_LAMBDA_EXEC_WRAPPER: "/opt/datadog_wrapper",
74+
DD_SERVICE: props.sharedProps.serviceName,
7475
POWERTOOLS_SERVICE_NAME: props.sharedProps.serviceName,
7576
POWERTOOLS_LOG_LEVEL:
7677
(props.logLevel ?? props.sharedProps.environment === "prod")

user-management/infra/aws/lib/constructs/instrumented-function.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export class InstrumentedLambdaFunction extends Construct {
7171
},
7272
environment: {
7373
AWS_LAMBDA_EXEC_WRAPPER: "/opt/datadog_wrapper",
74+
DD_SERVICE: props.sharedProps.serviceName,
7475
POWERTOOLS_SERVICE_NAME: props.sharedProps.serviceName,
7576
POWERTOOLS_LOG_LEVEL:
7677
(props.logLevel ?? props.sharedProps.environment === "prod")

0 commit comments

Comments
 (0)