-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Two-step log collection guideline #27184
base: master
Are you sure you want to change the base?
Conversation
803de2a
to
10606b5
Compare
Preview links (active after the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor edit to communicate the value more
Co-authored-by: Ryan Warrier <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few suggestions, but approved! When you're ready to publish, add the /merge
comment.
@@ -138,6 +142,8 @@ To get started, follow the instructions below. | |||
[6]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html | |||
[7]: https://app.datadoghq.com/data-jobs/ | |||
[8]: https://openlineage.io/docs/integrations/airflow/ | |||
[9]: https://docs.aws.amazon.com/mwaa/latest/userguide/monitoring-airflow.html#monitoring-airflow-enable | |||
[10]: https://docs.datadoghq.com/integrations/amazon_web_services/?tab=roledelegation#log-collection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[10]: https://docs.datadoghq.com/integrations/amazon_web_services/?tab=roledelegation#log-collection | |
[10]: /integrations/amazon_web_services/?tab=roledelegation#log-collection |
4. Optionally, set up Log Collection for correlating task logs to DAG run executions in DJM by following the steps below: | ||
1. Configure Amazon MWAA to [send logs to CloudWatch][9]. | ||
2. [Send the logs to Datadog][10]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could go either way on this suggestion. If this step is confusing and needs to be broken down, leave as is!
4. Optionally, set up Log Collection for correlating task logs to DAG run executions in DJM by following the steps below: | |
1. Configure Amazon MWAA to [send logs to CloudWatch][9]. | |
2. [Send the logs to Datadog][10]. | |
4. Optionally, set up Log Collection for correlating task logs to DAG run executions in DJM by configuring Amazon MWAA to [send logs to CloudWatch][9], then [send the logs to Datadog][10]. |
@@ -130,6 +130,10 @@ To get started, follow the instructions below. | |||
|
|||
3. Deploy your updated `requirements.txt` and [Amazon MWAA startup script][3] to your Amazon S3 folder configured for your Amazon MWAA Environment. | |||
|
|||
4. Optionally, set up Log Collection for correlating task logs to DAG run executions in DJM by following the steps below: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4. Optionally, set up Log Collection for correlating task logs to DAG run executions in DJM by following the steps below: | |
4. Optionally, set up Log Collection for correlating task logs to DAG run executions in DJM: |
What does this PR do? What is the motivation?
Add log collection step to DJM on MWAA setup guidelines. The two steps are taken from MWAA integration doc.
Merge instructions
Merge readiness: Not ready for merge, requires a
web-ui
change for the trace correlation to work.Merge queue is enabled in this repo. To have it automatically merged after it receives the required reviews, create the PR (from a branch that follows the
<yourname>/description
naming convention) and then add the following PR comment:Additional notes