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

Add alert on dlq messages #171

Merged
merged 4 commits into from
Feb 26, 2024
Merged

Conversation

jdolitsky
Copy link
Member

No description provided.

Signed-off-by: Josh Dolitsky <josh@dolit.ski>
@jdolitsky jdolitsky changed the title Add alert on dql messages Add alert on dlq messages Feb 26, 2024
Comment on lines 10 to 22
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"
}
Copy link
Member

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?

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

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>
@jdolitsky jdolitsky merged commit 9727b06 into chainguard-dev:main Feb 26, 2024
47 of 48 checks passed
@jdolitsky jdolitsky deleted the dlq-alerts branch February 26, 2024 21:20
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.

None yet

3 participants