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: hangfire crons #3046

Closed
wants to merge 8 commits into from
Closed

feat: hangfire crons #3046

wants to merge 8 commits into from

Conversation

bruno-garcia
Copy link
Member

WIP

Copy link
Contributor

github-actions bot commented Jan 12, 2024

Fails
🚫 Please consider adding a changelog entry for the next release.
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- hangfire crons ([#3046](https://github.com/getsentry/sentry-dotnet/pull/3046))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against 80bbaf4

Copy link

codecov bot commented Jan 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (495e742) 75.73% compared to head (0930374) 75.38%.
Report is 10 commits behind head on main.

❗ Current head 0930374 differs from pull request most recent head 80bbaf4. Consider uploading reports for the commit 80bbaf4 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3046      +/-   ##
==========================================
- Coverage   75.73%   75.38%   -0.35%     
==========================================
  Files         357      351       -6     
  Lines       13466    13259     -207     
  Branches     2671     2644      -27     
==========================================
- Hits        10198     9995     -203     
+ Misses       2593     2589       -4     
  Partials      675      675              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -0,0 +1,10 @@
# Sentry for Hangfire

This is a standard ASP.NET Core app with nothing in it but Hangfire.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does the Cron stuff take place in Sentry.Io then?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hangfire spins up the jobs. The integration we build just pings Sentry with check-ins. Successful or not. If Sentry fails to get check-ins it can alert u (job is dead?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hangfire spins up the jobs. The integration we build just pings Sentry with check-ins. Successful or not. If Sentry fails to get check-ins it can alert u (job is dead?)

That's what I figured... I guess I'm wondering what this sample is for. You couldn't use it without deploying it on a public URL somewhere and configuring a cron on Sentry right?

@bruno-garcia
Copy link
Member Author

@bitsandfoxes @jamescrosswell feel free to close this PR and open a new one on the same branch, otherwise it'll be a contribution from me which I didnt' do anythig other than add a sample 😅

src/Sentry/Checkin.cs Show resolved Hide resolved
src/Sentry/Checkin.cs Show resolved Hide resolved
@bitsandfoxes
Copy link
Contributor

Superseded by #3128

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.

3 participants