Configure Node Properties for MVC Transactions
You can configure custom MVC transaction naming using node properties. This table describes how to configure node properties for MVC transactions based on the type of entry point.
Type of Entry Point | Name Business Transactions | Transaction Naming Configuration |
---|---|---|
ASP.NET hosted in IIS ( aspdotnet-mvc- |
To name business transactions using the Controller and Action values |
Register the aspdotnet-mvc-naming-controlleraction true |
To name business transactions using the Area and Controller values |
Register the aspdotnet-mvc-naming-controllerarea true | |
To include all three component values (Controller, Action, and Area) in business transaction names |
| |
ASP.NET Core on the Full Framework( aspdotnet-core- | To name business transactions using the URI | Register both of these node properties with a value = false
|
To omit the Area value from your transaction names |
Register the aspdotnet-core-naming-controllerarea false | |
.NET Agent for Linux | To use MVC Area, Controller, URI, and Action in business transactions name | Register the aspdotnet-mvc-naming-controlleraction node property with a value = true
|
To register a new node property, see App Agent Node Properties.
After you modify any transaction naming configuration, and traffic to the previously registered business transactions terminates, you can delete the old business transactions.