.NETティアの命名

Splunk AppDynamics におけるティアとは、ASP.NET フロントエンド、WCF サービス、.NET ウェブサービス、またはスタンドアロン アプリケーションといった、アプリケーション環境内のサービスを表します。ティアはフローマップに表示されるため、ユーザーにとって論理的でわかりやすい名前を付ける必要があります。

IIS サイトをティアにマッピングするには、「.NETエージェントの構成」で説明しているように、Splunk AppDynamics .NET エージェント構成ユーティリティを使用します。一部の手動設定オプションでは、 .NETエージェントの管理 ファイルを編集する必要があります(「」を参照)。

Name IIS Tiers Automatically

Name IIS tiers automatically using the configuration utility. Select Automatic on the Assign IIS applications to the tiers pane.The .NET Agent instruments all IIS sites except the Default Web Site and names the tiers using this scheme:

IIS site/app

The agent omits app when the application is the root application for the IIS site.

Use this option when:

  • You are new to Splunk AppDynamics and the .NET Agent.
  • You want to instrument all IIS applications, and your team understands the form of IIS application names.
注: Automatic Tier Naming for the .NET Agent does not automatically assign a virtual application to a tier. To map virtual applications to tiers, see

Name IIS Tiers Manually

.

Azureティアの自動命名

.NET エージェントは、次のスキームを使用して自動的に Azure ティアを命名します。

  • クラウド サービス:Azure role name
  • アプリサービス: Azure site name

Azure ティアの命名方法をカスタマイズする場合は、「IIS ティアの手動命名」を参照してください。

IISティアの手動命名

.NET エージェントには、IIS ティアを手動で命名する場合に、構成ユーティリティを使用するか、config.xml ファイルを直接編集するかの 2 つのオプションがあります。

構成ユーティリティを使用する

[Assign IIS applications to the tiers] ペインで、[Manual] を選択します。構成ユーティリティを使用すると、新しいティアを作成して IIS アプリケーションを割り当てることができます。

このオプションは、次の場合に使用します。

  • サーバー上のすべての IIS アプリケーションをインストゥルメント化するわけではない
  • ティア名をカスタマイズする必要がある
  • 単一のティアに複数のアプリケーションを割り当てる必要がある

config.xml を直接編集する

Azure ティア名をカスタマイズする場合、または構成ユーティリティを使用できない場合は、このオプションを使用します。

インストゥルメント化する IIS サイトごとに、アプリケーションエレメントを IIS アプリケーションエレメントの子エレメントとして config.xml ファイルに追加します。静的な IIS ティア名を指定するか、可変の Azure サイト名を使用する場合に役立つ正規表現を指定できます。完全な構文と例については、 「.NET エージェントの構成プロパティ」を参照してください。

たとえば、「MvcWebRole」で始まるすべての Azure サイトを「My Azure Tier」というティアに追加するには、次の正規表現を使用します。

XML
<?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>