Linux ビジネストランザクション設定用の .NET エージェント
4.5.9 からは、コントローラ UI を介して、.NET Agent for Linux の簡単な POCO または ASP.NET ビジネストランザクションを設定できます。
.NET Agent for Linux 4.5.9 はコントローラ 4.4.1 以降と連動しますが、カスタマイズ可能なトランザクション検出および設定機能には 4.5.2 以降が必要です。コントローラ 4.4.2 ~ 4.5.1 および .NET Agent for Linux の場合、Splunk AppDynamicsは ASP.NET ビジネストランザクション命名の URI の最初の 2 つのセグメントを使用するようにデフォルト設定されます。
Define Custom ASP.NET Business Transactions Using the Controller UI
You can create ASP.NET business transactions detection include and exclude rules with criteria that match HTTP Requests against:
- Method
- URI
- HTTP parameter
- Header
- Cookie
Although these HTTP request options display in the dropdown list, they are not supported by the .NET Agent for Linux. There is no effect if you configure them in the UI.
- Hostname
- Port
- Class name
You customize business transactions for the .NET Agent for Linux similarly as other agents. Click and then select to create either an include or exclude rule.
ASP.NET Business Transaction Detection Rule Example
This example shows how to create a .NET Agent custom match rule that uses an ASP.NET entry point to exclude all requests whose URI equals / healthcheck.
This Rule Summary specifies an exclude match rule. You must create an include rule before you can create an exclude rule to omit some of the transactions monitored by the include rule.
You specify the HTTP request criteria by using the URI attribute of the HTTP request to compare against. Valid criteria are Method, URI, HTTP Parameter, Header, and Cookie. You can split the transactions based on these request match criteria.
This HTTP request match criteria specifies where the URI equals /healthcheck.
Define Custom POCO Business Transactions Using the Controller UI
Using the .NET Agent for Linux, you can create POCO business transaction rules that match synchronous or asynchronous transactions by:
- Method name
- Class name
- that implements an interface which
- that extends a super class that
- that has an Annotation which
Additionally, these criteria are not supported:
- Transaction splitting using method/class data
- Background jobs
- Interface, base class or annotation POCO conditions
Example POCO Business Transaction Detection Rule Example
This example shows how to create a .NET Agent custom match rule that uses a POCO entry point to include all requests whose class equals MyCompanyJobs.JobProcessor and the method name equals OnEvent.
This Rule Summary specifies an include match rule. You must create an include rule before you can create an exclude rule to omit some of the transactions monitored by the include rule.
You can configure the rule to match classes using the with a Class Name that Match Classes option, which is the only Match Classes option supported by the .NET Agent for Linux.
The Match Class & Method specifies match criteria to match classes with a class name that equals MyCompanyJobs.JobProcessor and the method name equals OnEvent.