Add a watchdog monitor - #604
Draft
annamontare-nava wants to merge 2 commits into
Draft
annamontare-nava wants to merge 2 commits into
annamontare-nava wants to merge 2 commits into
Conversation
annamontare-nava
commented
Sep 1, 2026
| message = "Watchdog reported an alert for service {{service.name}}." | ||
|
|
||
| query = <<-EOT | ||
| events("source:watchdog tags:\"service:${var.app}\" env:${var.env}").rollup("count").by("story_key").last("30m") > 0 |
Contributor
Author
There was a problem hiding this comment.
@mianava This works for BB, since our service and app name are the same, but how would we want to go about passing in service names for other teams? Should a list of service names be a config variable? Is there some way we can auto-detect them?
Contributor
There was a problem hiding this comment.
Service as a tag/string that's passed by us is stored as a ToFu variable, though that is distinct from how Datadog seems to manage servicename (not service as a tag)
Our default tags get generated in the "platform" module
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🎫 Ticket
n/a (need to create one)
🛠 Changes
Adds a watchdog monitor for teams.
ℹ️ Context
Sharing back monitors developed on Blue Button with the rest of the teams.
🧪 Validation
Will test on Blue Button.