-
Notifications
You must be signed in to change notification settings - Fork 19
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
Feature/add slas #359
Merged
Merged
Feature/add slas #359
Changes from 14 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
8257b56
Created alert_sla_miss callback funcion
edualvess 99f6204
Defined test value for export task SLA
edualvess e1acb56
Defined sla_miss_callback for DAG level parameter
edualvess 9a0852f
Merge branch 'master' into feature/add_slas
edualvess 6f85078
Increased time task timeout value
edualvess 6d01a09
Added dev Airflow variable for tasks SLA values
edualvess 9911c3b
Added slack notification logic for the SLA miss callback
edualvess 8982c76
Added SLA parameter to the relavant task building functions
edualvess e0e0ea7
Removed SLA miss callback function and related logic
edualvess 88c9da2
Added refactored logic for sla miss callback function
edualvess accb888
Added sla miss callback to desired dags
edualvess bc45c40
Adjusted callback logic for sentry integration
edualvess ad5a1b4
Added task SLA values for prod Airflow variables
edualvess f15c2d6
Changed alert message to better distinguish SLA miss from task fail a…
edualvess c5fa61e
Merge branch 'master' into feature/add_slas
chowbao e8c7ca2
Merge branch 'master' into feature/add_slas
chowbao 7660175
Merge branch 'master' into feature/add_slas
edualvess 9d5b32a
Update dev tasks sla and timeout values
edualvess fb1d4e8
Update prod tasks sla and timeout values
edualvess efd34e2
Added default sla value to dag default args
edualvess ffc003b
Added missing SLA param to build task functions
edualvess 1dfdd23
Standardizing logic for fetching SLA param value
edualvess 7beb0aa
Added sla miss callback reference
edualvess 7f0f421
Remove default SLA from default args
edualvess 6ef6453
Set missing sla params to tasks
edualvess 48d2e69
Updated values for sla variables
edualvess b91062d
Merge branch 'master' into feature/add_slas
edualvess f28457d
Updated build_dbt_task timeout value
edualvess ee2b3ff
Merge branch 'master' into feature/add_slas
edualvess e85dba9
Changed variable names to match new naming reference
edualvess File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 think we need to adjust some of these
sla times
. Like for instance thisexport_task
sla 240 will never be hit because thetask_timeout
forexport_task
is 180.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.
Also the current sla times are too aggressive from all the alerts we are getting in the slack channel #alerts-hubble-testnet
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.
There's an interesting behavior going on for the
export_task
. Even though thetask_timeout
is set for 180 seconds, the tasks usually run for around 220 seconds without triggering the timeout. Differently fromtime_task
, where the timeout triggers in the middle of the job.I'll push the commits where I increase the timeout for
export_task
too, which makes more sense to the actual behavior of the pipeline.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.
Those have been reviewed through the suggested buffer and will be updated