Skip to content

Conversation

@jdisanti
Copy link
Contributor

@jdisanti jdisanti commented Jan 4, 2022

This PR adds success, failure, and timing metrics to the canary runner.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jdisanti jdisanti requested a review from a team as a code owner January 4, 2022 21:54
Comment on lines +94 to +97
request_builder
.send()
.await
.context("failed to emit metrics")?;
Copy link
Contributor

Choose a reason for hiding this comment

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

is there some sort of fallback where this can fail even if we somehow bricked the cloudwatch client?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My thought was that once we have the canary running on a regular cadence, we can set up an alarm that goes off if it hasn't logged a metric in the last 25 or so hours.

Copy link
Contributor

@rcoh rcoh left a comment

Choose a reason for hiding this comment

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

cool!

@jdisanti jdisanti merged commit 40c0a81 into next Jan 11, 2022
@jdisanti jdisanti deleted the jdisanti-next-canary-metrics branch January 11, 2022 01:26
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