Skip to content

feat(sentry-go): Document Crons support#7566

Merged
tonyo merged 4 commits intomasterfrom
tonyo/feat-crons-go-initial-1
Aug 1, 2023
Merged

feat(sentry-go): Document Crons support#7566
tonyo merged 4 commits intomasterfrom
tonyo/feat-crons-go-initial-1

Conversation

@tonyo
Copy link
Contributor

@tonyo tonyo commented Jul 31, 2023

Pre-merge checklist

If you work at Sentry, you're able to merge your own PR without review, but please don't unless there's a good reason.

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs
  • PR was reviewed and approved by a member of the Sentry docs team

Description of changes

Starting from sentry-go version 0.23.0, we'll have initial support for Cron check-ins. This change documents the current API.
Also linked the full E2E example from here: https://github.com/getsentry/sentry-go/blob/dde4d360660838f3c2e0ced8205bc8f7a8d312d9/_examples/crons/main.go

Closes getsentry/sentry-go#671

@vercel
Copy link

vercel bot commented Jul 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 31, 2023 4:33pm

Comment on lines +52 to +53
MonitorSlug: "<monitor-slug>",
Status: sentry.CheckInStatusOK,
Copy link
Member

Choose a reason for hiding this comment

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

I would add Duration to the Heartbeat examples.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated 👍

@tonyo tonyo requested a review from cleptric August 1, 2023 11:05
@tonyo tonyo merged commit 61aa10c into master Aug 1, 2023
@tonyo tonyo deleted the tonyo/feat-crons-go-initial-1 branch August 1, 2023 11:07
@github-actions github-actions bot locked and limited conversation to collaborators Aug 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation for Crons

2 participants