Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding log configuration #103

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions infra/staging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,24 @@ const taskMigrate = new awsx.ecs.FargateTaskDefinition(`scorer-run-migrate`, {
environment: environment,
dependsOn: [],
links: [],
firelensConfiguration: {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be added to the worker and scorer Fargate services

type: "fluentbit",
options: {
"enable-ecs-log-metadata": "true"
}
},
logConfiguration: {
"logDriver": "awsfirelens",
"options": {
"Name": "datadog",
"apiKey": "c10d6455912baafda682935d15320c4d",
"dd_service": "passport-scorer",
"dd_source": "httpd",
"dd_tags": "app:scorer",
"TLS": "on",
"provider": "ecs"
}
}
},
},
});
Expand Down