Skip to content

Add a watchdog monitor - #604

Draft
annamontare-nava wants to merge 2 commits into
mainfrom
anna/add-watchdog-monitors
Draft

annamontare-nava wants to merge 2 commits into
mainfrom
anna/add-watchdog-monitors

Conversation

@annamontare-nava

Copy link
Copy Markdown
Contributor

🎫 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.

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@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?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

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.

2 participants