-
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
Add alert on dlq messages #171
Conversation
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
condition_threshold { | ||
aggregations { | ||
alignment_period = "300s" | ||
per_series_aligner = "ALIGN_MEAN" | ||
} | ||
|
||
comparison = "COMPARISON_GT" | ||
duration = "0s" | ||
filter = "metric.type=\"pubsub.googleapis.com/topic/send_request_count\" resource.type=\"pubsub_topic\" metadata.system_labels.\"name\"=\"${google_pubsub_topic.dead-letter.name}\"" | ||
|
||
trigger { | ||
count = "1" | ||
} |
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.
@k4leung4 what's the right aligner / period here for this metric type?
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.
mean or max or work here
https://cloud.google.com/monitoring/api/v3/aggregation#aligners
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.
no change needed then?
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
No description provided.