Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on 08-12-2024 10:56 AM
If you have a .NET core application and the .NET agent is not detecting any Business Transaction even though the application is under load you may need to validate the aspdotnet-core-instrumentation node property.
The .NET agent, by default, assumes that the application is using the default routing mechanism for its .NET core version. However, this is not always the case, and, in some instances, this can prevent the agent from registering Business Transactions.
The simplest way to check would be to review the AgentLog file at the below locations based on the underlying OS
In the AgentLog file there will be a startup log entry that will list the .NET core version in use as well as the inspected object:
INFO [com.appdynamics.tm.AspDotNetCoreInterceptorFactory] AspNetCore version: 3.1.32.0 (used object type Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection via Microsoft.AspNetCore.Http.Features.IFeatureCollection [Microsoft.AspNetCore.Http.Features.IFeatureCollection])
Next, the agent will write what the determined routing is:
INFO [com.appdynamics.tm.AspDotNetCoreInterceptorFactory] Determined ASP.NET Core routing being used is Mvc
However, the agent detected the routing as MVC which was deprecated in .NET Core 3, and this is not a viable option.
Refer to this AppDynamics Documentation
To resolve this issue, we will need to add a node property called aspdotnet-core-instrumentation at the tier level and apply it to all nodes under the tier.
Since our application is using 3.1, we have the following options:
The different values have their advantages and disadvantages listed here: AppDynamics Docs
If the application routing middleware is heavily customized, HTTP might be the only viable option to ensure the required Business Transactions/entry points are captured.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form