diff --git a/src/content/docs/apm/agents/net-agent/custom-instrumentation/custom-instrumentation-attributes-net.mdx b/src/content/docs/apm/agents/net-agent/custom-instrumentation/custom-instrumentation-attributes-net.mdx index b909ed84213..055d874f5f3 100644 --- a/src/content/docs/apm/agents/net-agent/custom-instrumentation/custom-instrumentation-attributes-net.mdx +++ b/src/content/docs/apm/agents/net-agent/custom-instrumentation/custom-instrumentation-attributes-net.mdx @@ -25,6 +25,7 @@ Requirements include: * You must be willing to modify your source code. If you can't or don't want to modify your source code, use [custom instrumentation via XML](/docs/agents/net-agent/custom-instrumentation/custom-instrumentation-xml-net). * Your project must have a reference to `NewRelic.Api.Agent.dll` (for example, installing the package and placing `using NewRelic.Api.Agent;` in your code). This package is in the [NuGet gallery](https://www.nuget.org/packages/NewRelic.Agent.Api/). * The `Transaction` and `Trace` attributes must be applied to concrete implementations of methods. They cannot be applied on interfaces or super class method definitions. +* Avoid instrumenting top-level methods such as `Main()`, as these methods do not conclude until the application terminates, which may prevent data from being sent to New Relic. ## Transactions called within transactions [#tx-vs-trace]