Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stimms/1b4c6b9a5917da2e77965f766c518bb0 to your computer and use it in GitHub Desktop.
Save stimms/1b4c6b9a5917da2e77965f766c518bb0 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<extension xmlns="urn:newrelic-extension">
<instrumentation>
<tracerFactory>
<match assemblyName="NServiceBus.Core" className="NServiceBus.Pipeline.MessageHandler">
<exactMethodMatcher methodName="Invoke" parameters="object,System.Action,NServiceBus.IMessageHandlerContext" />
</match>
</tracerFactory>
<tracerFactory>
<match assemblyName="NServiceBus.Core" className="NServiceBus.OutgoingContext">
<exactMethodMatcher methodName="Send" parameters="object,NServiceBus.SendOptions" />
</match>
</tracerFactory>
<tracerFactory>
<match assemblyName="NServiceBus.Core" className="NServiceBus.OutgoingContext">
<exactMethodMatcher methodName="Publish" parameters="object,NServiceBus.PublishOptions" />
</match>
</tracerFactory>
</instrumentation>
</extension>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment