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

feat(checkoutservice): Intentionally fail on "The Comet Book" item #82

Merged
merged 10 commits into from
Feb 16, 2023

Conversation

tonyo
Copy link

@tonyo tonyo commented Feb 15, 2023

For demo purposes: when checking out "The Comet Book", an error should be raised in the checkout service now.

Closes #80

err := fmt.Errorf("invalid product #%q", item.GetProductId())

hub := sentry.CurrentHub()
hub.Client().CaptureException(
Copy link
Author

Choose a reason for hiding this comment

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

sentry-go currently doesn't have a good support for capturing errors (manually or automatically) in the OTel context. This issue is partially tracked in getsentry/sentry-go#555

@@ -91,6 +91,9 @@ components:
resources:
requests:
cpu: 50m
memory: 400Mi
limits:
memory: 400Mi
Copy link
Author

Choose a reason for hiding this comment

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

We're again getting OOMs in frontend service, so bumping these.

Copy link
Member

Choose a reason for hiding this comment

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

nextjs 😭

@tonyo tonyo marked this pull request as ready for review February 15, 2023 14:28
@tonyo tonyo merged commit 275cbb5 into main Feb 16, 2023
@tonyo tonyo deleted the tonyo/feat-break-checkoutservice-1 branch February 16, 2023 14:34
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.

OTel Demo Checkout Failure
2 participants