Syntax
NewRelic.Api.Agent.NewRelic.IgnoreTransaction()
Do not instrument the current transaction.
Requirements
Compatible with all agent versions.
Must be called inside a transaction.
Description
Ignores the current transaction.
Tip
You can also ignore transactions via a custom instrumentation XML file.
Examples
NewRelic.Api.Agent.NewRelic.IgnoreTransaction();
For more help
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's and and documentation.