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

#1086 switch alerts to use custom operator #1089

Merged

Conversation

chmnata
Copy link
Collaborator

@chmnata chmnata commented Oct 29, 2024

What this pull request accomplishes:

  • Make silent alerts not silent

Issue(s) this solves:

What, in particular, needs to reviewed:

  • the switching to custom operator

What needs to be done by a sysadmin after this PR is merged

E.g.: these tables need to be migrated/created in the production schema.

Copy link
Collaborator

@gabrielwol gabrielwol left a comment

Choose a reason for hiding this comment

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

One tiny change and then you can merge!
Lots of alerts now 😿

@@ -60,7 +60,7 @@ def blip_pipeline():
pipeline_check = SQLCheckOperatorWithReturnValue(
task_id = 'pipeline_check',
conn_id = 'bt_bot',
sql = '''SELECT *
sql = '''SELECT (COUNT(*) > 0) AS "_check"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Similar to broken_readers sql below, can you please add a second column with a message?
Otherwise we get an alert without any details and we have to check the logs, ie.
temp_bluetooth_check_readers.pipeline_check (20241113T145010.485091+0000) FAILED. @Natalie @Gabe, please, check the logs

@gabrielwol gabrielwol linked an issue Nov 22, 2024 that may be closed by this pull request
@chmnata chmnata merged commit 1ab934c into master Dec 3, 2024
5 checks passed
@chmnata chmnata deleted the 1086-temp_bluetooth_check_readers-dag-failing-silently_1 branch December 3, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

temp_bluetooth_check_readers DAG failing silently
2 participants