.NET 응용 프로그램 성능 모니터링

Microsoft.SystemCenter.Apm.ApplicationTemplate.Template (Template)

이 템플릿을 통해 Microsoft .NET Framework를 사용하는 Windows 서비스뿐 아니라 IIS 7.0 및 IIS 8.0에서 호스팅되는 ASP.NET 및 WCF 응용 프로그램을 모니터링할 수 있습니다. ASP.NET 응용 프로그램 및 웹 서비스를 모니터링하려면 Windows Server 2008 IIS(인터넷 정보 서비스) 7.0 관리 팩 또는 Windows Server 2012 IIS(인터넷 정보 서비스) 8.0 관리 팩을 설치하고 가져와야 합니다. 이 템플릿을 사용하여 APM 기능으로 .NET Framework에 기반하는 Windows 서비스를 모니터링하려면 Windows 서비스 라이브러리 관리팩을 설치하고 Windows 서비스 모니터링 템플릿을 사용하여 서비스의 기본 모니터링을 추가해야 합니다.

Source Code:

<Template ID="Microsoft.SystemCenter.Apm.ApplicationTemplate.Template">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Name" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Description" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TypeId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="AppChunk1" type="xsd:string"/>
</Configuration>
<References>
<Reference ID="System"/>
<Reference ID="SC"/>
<Reference ID="AI"/>
<Reference ID="Self"/>
<Reference ID="ApplicationMonitoring"/>
<Reference ID="InstanceGroup"/>
</References>
<Implementation>
<TypeDefinitions>
<EntityTypes>
<ClassTypes>
<ClassType ID="Microsoft.SystemCenter.Apm.ApplicationTemplate.$TemplateConfig/TypeId$" Base="$Reference/Self$Microsoft.SystemCenter.Apm.ApplicationTemplate" Abstract="false" Accessibility="Public" Hosted="false" Singleton="true"/>
</ClassTypes>
</EntityTypes>
</TypeDefinitions>
<Monitoring>
<Discoveries>
<Discovery ID="Microsoft.SystemCenter.Apm.ApplicationTemplate.$TemplateConfig/TypeId$.Rule" Enabled="true" Target="Microsoft.SystemCenter.Apm.ApplicationTemplate.$TemplateConfig/TypeId$">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="$Reference/ApplicationMonitoring$Microsoft.SystemCenter.ApplicationMonitoring.Net.ApplicationComponentGroup"/>
</DiscoveryTypes>
<DataSource ID="Discovery" TypeID="$Reference/Self$Microsoft.SystemCenter.Apm.ApplicationTemplate.DataSource">
<IntervalSeconds>21600</IntervalSeconds>
<AppChunk1>$TemplateConfig/AppChunk1$</AppChunk1>
</DataSource>
</Discovery>
</Discoveries>
</Monitoring>
<LanguagePacks>
<LanguagePack ID="ENU" IsDefault="true">
<DisplayStrings>
<DisplayString ElementID="Microsoft.SystemCenter.Apm.ApplicationTemplate.$TemplateConfig/TypeId$">
<Name>Application Group: $TemplateConfig/Name$</Name>
<Description>$TemplateConfig/Description$</Description>
</DisplayString>
<DisplayString ElementID="Microsoft.SystemCenter.Apm.ApplicationTemplate.$TemplateConfig/TypeId$.Rule">
<Name>Create objects tree rule</Name>
<Description>Create objects tree rule</Description>
</DisplayString>
</DisplayStrings>
</LanguagePack>
</LanguagePacks>
</Implementation>
</Template>