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

Allow log configuration in Fargate Agent #2589

Merged
merged 8 commits into from May 18, 2020

Conversation

joeschmid
Copy link

It's not currently possible to enable AWS logging for Flow Runs launched with the Fargate Agent. This is a small change to allow logConfiguration in containerDefinitions, which enables logging, e.g. with AWS CloudWatch.

  • adds new tests (if appropriate)
  • updates CHANGELOG.md (if appropriate)
  • updates docstrings for any new functions or function arguments, including docs/outline.toml for API reference docs (if appropriate)

What does this PR change?

Adds the ability to include logConfiguration inside containerDefinitions.

Why is this PR important?

The Fargate Agent can be complex to configure, especially when using it with an environment like DaskCloudProviderEnvironment. Being able to examine logs for Flow runs can help with debugging configuration issues. Some users may also wish to capture and store logs for Flow runs in AWS CloudWatch.

@codecov
Copy link

codecov bot commented May 17, 2020

Codecov Report

Merging #2589 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Copy link

@joshmeek joshmeek left a comment

Choose a reason for hiding this comment

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

Thanks @joeschmid!

@joshmeek joshmeek merged commit 1111bae into PrefectHQ:master May 18, 2020
abrookins pushed a commit that referenced this pull request Jul 27, 2022
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.

None yet

2 participants