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

Send logs from Django, Celery & NodeJS containers to Cloudwatch. #2863

Merged
merged 7 commits into from
Jun 28, 2020

Conversation

KhalidRmb
Copy link
Member

Copy link
Member

@Ram81 Ram81 left a comment

Choose a reason for hiding this comment

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

LGTM 👍 . Need to test this on staging once @RishabhJain2018

driver: awslogs
options:
awslogs-region: ${AWS_DEFAULT_REGION}
awslogs-group: "django_production"
Copy link
Member

Choose a reason for hiding this comment

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

I think we also need to add this option here: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-create-group

Same for all below options

Copy link
Member Author

Choose a reason for hiding this comment

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

I've created those log groups on AWS, since it's not dynamic. We don't need the option here.

Copy link
Member

Choose a reason for hiding this comment

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

But what if someone forks EvalAI and tries to deploy in the production setting or we change our AWS account then we will have to create them manually. What is the issue in adding this option?

Copy link
Member Author

Choose a reason for hiding this comment

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

Right, I didn't realize that. I'll add the option.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks!

@KhalidRmb
Copy link
Member Author

@RishabhJain2018 Let's get this merged?

@RishabhJain2018 RishabhJain2018 merged commit 88ed2c4 into Cloud-CV:master Jun 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants