GeezerVison is showing github.com — feat(nestjs): Add nest cron monitoring support by nicohrubec · Pull Request #12781 · getsentry/sentry-javascript
Conversation
nicohrubec
commented
Jul 5, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Adds cron monitoring support to @sentry/nestjs.
Approach: @SentryCron decorator that applies Sentry.withMonitor on the decorated function. It is important that this decorator is applied below the native @Cron nest decorator (otherwise it doesn't work), but I will let the docs reflect that.
Testing:
- Manually tested on my sample application.
- Added an e2e test.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
size-limit report 📦
| Path |
Size |
| @sentry/browser |
22.28 KB (0%) |
| @sentry/browser (incl. Tracing) |
33.43 KB (0%) |
| @sentry/browser (incl. Tracing, Replay) |
69.18 KB (0%) |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags |
62.51 KB (0%) |
| @sentry/browser (incl. Tracing, Replay with Canvas) |
73.24 KB (0%) |
| @sentry/browser (incl. Tracing, Replay, Feedback) |
85.87 KB (0%) |
| @sentry/browser (incl. Tracing, Replay, Feedback, metrics) |
87.73 KB (0%) |
| @sentry/browser (incl. metrics) |
26.57 KB (0%) |
| @sentry/browser (incl. Feedback) |
38.95 KB (0%) |
| @sentry/browser (incl. sendFeedback) |
26.9 KB (0%) |
| @sentry/browser (incl. FeedbackAsync) |
31.52 KB (0%) |
| @sentry/react |
25.02 KB (0%) |
| @sentry/react (incl. Tracing) |
36.46 KB (0%) |
| @sentry/vue |
26.39 KB (0%) |
| @sentry/vue (incl. Tracing) |
35.29 KB (0%) |
| @sentry/svelte |
22.41 KB (0%) |
| CDN Bundle |
23.5 KB (0%) |
| CDN Bundle (incl. Tracing) |
35.19 KB (0%) |
| CDN Bundle (incl. Tracing, Replay) |
69.29 KB (0%) |
| CDN Bundle (incl. Tracing, Replay, Feedback) |
74.48 KB (0%) |
| CDN Bundle - uncompressed |
68.97 KB (0%) |
| CDN Bundle (incl. Tracing) - uncompressed |
103.98 KB (0%) |
| CDN Bundle (incl. Tracing, Replay) - uncompressed |
214.38 KB (0%) |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed |
227.09 KB (0%) |
| @sentry/nextjs (client) |
36.35 KB (0%) |
| @sentry/sveltekit (client) |
34.07 KB (0%) |
| @sentry/node |
130.84 KB (+0.01% 🔺) |
| @sentry/node - without tracing |
91.86 KB (0%) |
| @sentry/aws-serverless |
117.03 KB (+0.01% 🔺) |
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 9, 2024
Reviewers
mydea
mydea approved these changes
+1 more reviewer
lforst
lforst approved these changes
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|