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

better observability for redis timeouts #123

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

michaelglass
Copy link
Contributor

@michaelglass michaelglass commented Nov 27, 2024

this PR ensures redis failures include trace information

previously, it was discarded by Task.timeout

@@ -32,9 +32,9 @@ TracingSpan
{ srcLocPackage = "main"
, srcLocModule = "Spec.Redis"
, srcLocFile = "test/Spec/Redis.hs"
, srcLocStartLine = 105
, srcLocStartLine = 122
Copy link
Contributor Author

Choose a reason for hiding this comment

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

these changes are because I modified the test source file

, allocated = 0
, children =
[ TracingSpan
{ name = "Redis Query"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

now this error trace includes the redis query context!

@michaelglass michaelglass marked this pull request as ready for review November 27, 2024 21:35
@michaelglass michaelglass changed the title redis timeout observability better observability for redis timeouts Nov 27, 2024
Copy link
Member

@bcardiff bcardiff left a comment

Choose a reason for hiding this comment

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

🚀

@michaelglass michaelglass added this pull request to the merge queue Nov 27, 2024
Merged via the queue into trunk with commit 545a192 Nov 27, 2024
1 of 2 checks passed
@michaelglass michaelglass deleted the redis-timeout-observability branch November 27, 2024 22:04
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