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

Add support for HangFire Jobs #2498

Open
TraGicCode opened this issue May 22, 2024 · 2 comments
Open

Add support for HangFire Jobs #2498

TraGicCode opened this issue May 22, 2024 · 2 comments
Labels
community To tag external issues and PRs

Comments

@TraGicCode
Copy link

TraGicCode commented May 22, 2024

Is your feature request related to a problem? Please describe.

It would be great if the newrelic agent had logic to automatically instrument hangfire jobs just like it does for NServiceBus. This would prevent having to always try and remember to add the Transaction Attribute along with setting the name of the transaction.

For Example, before my jobs execute, I have the following code.

       [Transaction(Web = false)] // 1. Create transaction
        public async Task MyHangfireJob()
        {
            NewRelic.Api.Agent.NewRelic.SetTransactionName("Hangfire", $"MyHangfireJob"); // 2. Change Transaction Name
            ...
        }
@workato-integration
Copy link

@github-actions github-actions bot added the community To tag external issues and PRs label May 22, 2024
@nrcventura
Copy link
Member

Thank your for this request. I passed on this information to our Product Manager, so that it can be reviewed and considered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community To tag external issues and PRs
Projects
None yet
Development

No branches or pull requests

2 participants