IgnoreTransaction

IgnoreTransaction()
Do not instrument the current transaction.

Requirements

Compatible with all agent versions.

Must be called inside a transaction.

Description

Ignores the current transaction.

You can also ignore transactions via a custom instrumentation file.

Example(s)

NewRelic.Api.Agent.NewRelic.IgnoreTransaction();