.NETティアの命名
Splunk AppDynamics におけるティアとは、ASP.NET フロントエンド、WCF サービス、.NET ウェブサービス、またはスタンドアロン アプリケーションといった、アプリケーション環境内のサービスを表します。ティアはフローマップに表示されるため、ユーザーにとって論理的でわかりやすい名前を付ける必要があります。
IIS サイトをティアにマッピングするには、「.NETエージェントの構成」で説明しているように、Splunk AppDynamics .NET エージェント構成ユーティリティを使用します。一部の手動設定オプションでは、 .NETエージェントの管理 ファイルを編集する必要があります(「」を参照)。
IISティアの自動命名
構成ユーティリティを使用して IIS ティアに自動的に名前を付けます。[IISアプリケーションをティアに割り当て(Assign IIS applications to tiers)] ペインで [自動(Automatic)] を選択します。.NET エージェントは、デフォルト Web サイトを除くすべての IIS サイトをインストゥルメント化し、次のスキームを使用してティアに名前を付けます。
IIS site/appアプリケーションが IIS サイトのルートアプリケーションである場合、エージェントは app を省略します。
このオプションは、次の場合に使用します。
- Splunk AppDynamics と .NET エージェントを初めて使用します。
- すべての IIS アプリケーションをインストゥルメント化し、IIS アプリケーション名の形式をチームにとってわかりやすいものにしたい。
Azureティアの自動命名
.NET エージェントは、次のスキームを使用して自動的に Azure ティアを命名します。
- クラウドサービス:
Azure ロール名 - アプリケーションサービス:
Azure サイト名
Azure ティアの命名方法をカスタマイズする場合は、「IIS ティアの手動命名」を参照してください。
Name IIS Tiers Manually
The .NET Agent provides two options to name IIS tiers manually, using the configuration utility, or editing the config.xml file directly.
Use the Configuration Utility
On the Assign IIS applications to tiers pane, select Manual. The configuration utility enables you to create new tiers and assign IIS applications to tiers.
Use this option when:
- You do not want to instrument all IIS applications on the server
- You want custom tier names
- You want to assign multiple applications to a single tier
Edit the config.xml Directly
Use this option to customize Azure tier names, or when it is not possible to use the configuration utility.
For each IIS tier to instrument, add an application element as a child element of the IIS applications element in the config.xml file. You can specify a static IIS tier name ,or a regular expression (which is helpful for variable Azure site names). For the full syntax and an example, see .NET Agent Configuration Properties.
For example, to add all Azure sites that begin with MvcWebRole to a tier named My Azure Tier using a regular expression:
<?xml version="1.0" encoding="utf-8"?>
<appdynamics-agent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<controller host="nativedemocon1.cloudapp.net" port="8090" ssl="false">
<application name="AzureEmailService" />
<account name="customer1" password="APJC234bcd$123" />
</controller>
<machine-agent />
<app-agents azure="true" azure-role-name="" azure-role-instance-id="">
<IIS>
<applications>
<!-- Configure IIS tier names with a regular expression. -->
<application path="/" site="MvcWebRole.*" site-regex="true">
<tier name="My Azure Tier"/>
</application>
</applications>
</IIS>
<standalone-applications>
<standalone-application executable="WaWorkerHost.exe">
<tier name="" />
</standalone-application>
</standalone-applications>
</app-agents>
</appdynamics-agent>
Windowsサービスまたはスタンドアロンアプリケーションティアの命名
インストゥルメント化された Windows サービスやスタンドアロン アプリケーションごとに config.xml でティアを手動で命名する方法については、「Windowsサービスとスタンドアロンアプリケーションの.NET エージェントの構成」を参照してください。