-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
checkInId in Sentry.withMonitor #9648
Comments
@danilofuchs sounds like a good idea. PRs are welcome! |
I'll send a PR soon! |
@AbhiPrasad Are we sure that this is a good idea? I think checkin ids should mostly be abstracted away when using |
I agree tags and context would make much more sense! |
Hey @danilofuchs - we created a GH issue to track adding tags/contexts to crons: getsentry/sentry#60741 please leave your thoughts there! For now I'm going to close this issue in favour of that. |
Problem Statement
Would be nice to be able to set our own id for a cron job execution, as we have a cross-referenceable uuid for that.
It is available under
captureCheckIn({checkInId: ourId})
but not onwithMonitor(name, handler)
Solution Brainstorm
Change the first parameter from
name
, tooptions
, with both propertiesThe text was updated successfully, but these errors were encountered: