.NET Uygulaması Performans İzleme

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

Bu şablon, Microsoft .NET Framework kullananan Windows Hizmetlerine ek olarak IIS 7.0, IIS 8.0 ve IIS 9.0'da barındırılan ASP.NET ve WCF Uygulamalarını izlemenize izin verir. ASP.NET uygulamalarını ve web hizmetlerini izlemek için, Windows Server 2008 Internet Information Services 7.0, Windows Server 2012 Internet Information Services 8.0 veya Microsoft Windows Server Technical Preview Internet Information Services 9 yönetim paketini yüklemeniz ve içeri aktarmanız gerekir. Bu şablonu APM özelliğiyle .NET Framework tabanlı bir Windows hizmetini izlemek üzere kullanmak için, Windows Hizmet Kitaplığı yönetim paketini yüklemeniz ve Windows Hizmet izleme şablonu kullanarak hizmetin temel düzeyde izlemesini eklemeniz gerekir.

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>