.NET 應用程式效能監視範本.NET application performance monitoring template

重要

已不再支援此版本的 Operations Manager,建議升級至 Operations Manager 2019This version of Operations Manager has reached the end of support, we recommend you to upgrade to Operations Manager 2019.

System Center 中的 .NET 應用程式效能監視 (APM) 範本 – Operations Manager 可讓您從伺服器端和用戶端的角度監視 Internet Information Services (IIS) 裝載的 .NET 應用程式,以取得應用程式效能和可靠性的詳細資料,協助您找出事件的根本原因。The .NET Application Performance Monitoring (APM) template in System Center – Operations Manager lets you monitor Internet Information Services (IIS)-hosted .NET applications from server- and client-side perspectives to get details about application performance and reliability that can help you pinpoint root causes of incidents. (僅限 System Center 2012 SP1:您也可以監視 Windows 服務。)當您指定設定、要收集的事件類型、要測量的效能目標以及要監視的伺服器時,.NET 應用程式效能監視會顯示應用程式的執行情況。(For System Center 2012 SP1 only: You can also monitor Windows Services.) When you specify settings, the types of events to collect, the performance goals to measure, and servers to monitor, .NET Application Performance Monitoring reveals how applications are running. 您可以查看問題發生的頻率、伺服器在發生問題時的執行狀況,以及與產生例外狀況的慢速要求或方法相關的事件鏈結。You can see how frequently a problem is occurring, how a server was performing when a problem occurred, and the chain of events related to the slow request or method that is raising exceptions. 您需要這些資訊,以便與軟體開發人員和資料庫系統管理員共同合作,協助確保提供給客戶的應用程式能夠正確和可靠地執行。This information is required to partner with software developers and database administrators to help ensure that applications perform correctly and reliably for your customers.

此範本可讓您監視 Internet Information Services (IIS) 7.0 中裝載的應用程式和 Web 服務。This template lets you monitor applications and web services that are hosted in Internet Information Services (IIS) 7.0. 您可以選取一或多個由 IIS 7.0 管理組件探索到的應用程式或服務,以及設定效能和例外狀況事件的監視。You can select one or more applications or services discovered by the IIS 7.0 management pack and configure monitoring of performance and exception events. 您必須安裝 Windows Server 2008 Internet Information Services (IIS) 7.0 管理組件才能監視應用程式和 Web 服務。You must have the Windows Server 2008 Internet Information Services (IIS) 7.0 management pack installed to monitor applications and web services.

針對 System Center 2012 SP1,此範本可讓您監視 Internet Information Services (IIS) 8.0 中裝載的應用程式和 Web 服務。For System Center 2012 SP1, you can use the template to monitor applications and web services that are hosted in Internet Information Services (IIS) 8.0. 您可以選取一或多個由 IIS 8.0 管理組件探索到的應用程式或服務,以及設定效能和例外狀況事件的監視。You can select one or more applications or services discovered by the IIS 8.0 management pack and configure monitoring of performance and exception events. 您必須安裝 Windows Server 2012 Internet Information Services (IIS) 8.0 管理組件才能監視應用程式和 Web 服務。You must have the Windows Server 2012 Internet Information Services (IIS) 8.0 management pack installed to monitor applications and web services.

如需詳細資訊,請參閱 Before You Begin Monitoring .NET ApplicationsFor more information, see Before You Begin Monitoring .NET Applications

  • 案例Scenarios
  • 由 .NET 應用程式效能監視範本執行的監視Monitoring Performed by the .NET Application Performance Monitoring Template
  • 檢視監視資料Viewing Monitoring Data
  • 精靈選項Wizard Options
  • 伺服器端設定Server-Side Configuration
  • 伺服器端監視的進階設定Advanced Settings for Server-Side Monitoring
  • 伺服器端自訂Server-Side Customization
  • 伺服器端修改設定Server-Side Modifying Settings
  • 交易內容:新增 ASP.NET 網頁Transaction Properties: Add ASP.NET Web Page
  • 交易內容:新增 ASP.NET Web 服務Transaction Properties: Add ASP.NET Web Service
  • 交易內容:新增 ASP.NET MVC 頁面Transaction Properties: Add ASP.NET MVC Page
  • 交易內容:新增 WCF 方法Transaction Properties: Add WCF Method
  • 交易內容:新增函式Transaction Properties: Add Function
  • 用戶端設定Client-Side Configuration
  • 用戶端監視的進階設定Advanced Settings for Client-Side Monitoring
  • 啟用用戶端監視Enable Client-Side Monitoring
  • 用戶端修改設定Client-Side Modifying Settings
  • [摘要]Summary
  • 建立和修改 .NET 應用程式效能監視範本Creating and Modifying .NET Application Performance Monitoring Templates
  • 檢視「.NET 應用程式效能監視」監視和收集的資料Viewing .NET Application Performance Monitoring Monitors and Collected Data

案例Scenarios

在需要監視 Web 應用程式的案例中使用 .NET 應用程式效能監視範本。Use the .NET Application Performance Monitoring template in scenarios where you have to monitor web-based applications. 這些案例包括下列監視程序:These scenarios include the following monitoring processes:

伺服器端監視:單層或多層 Web 應用程式Server-side monitoring: single- or multi-tier web applications

您可能會有不得停止執行的應用程式。You might have applications that must be running at all times. 您可以使用 .NET 應用程式效能監視範本來確保應用程式的可靠性、未發生例外狀況及滿足服務等級協定 (SLA)。簡單地說,確保應用程式在安裝的電腦上正常運作。Use the .NET Application Performance Monitoring template to ensure that your applications are reliable, have no exceptions, and meet service level agreements (SLAs), in short, that they perform correctly on the computers where they are installed.

用戶端監視:瀏覽器效能和可靠性Client-side monitoring: browser performance and reliability

您想要確保客戶擁有高品質的 Web 體驗。You want to ensure that your customers are having quality web experiences. 藉由建立或編輯現有的範本,您可以加入能測量客戶的瀏覽器體驗的用戶端監視,延伸伺服器端監視的範圍。By creating or editing existing templates, you can extend your server-side monitoring by adding client-side monitoring that measures the browser experience of your customers.

由 .NET 應用程式效能監視範本執行的監視Monitoring performed by the .NET application performance monitoring template

依預設, .NET 應用程式效能監視範本會設定下列監視。By default, the .NET Application Performance Monitoring template configures the following monitoring. 您可以在 .NET 應用程式效能監視範本的 [進階設定] 頁面啟用、停用及修改監視。You can be enable, disable, and modify monitors in the Advanced Configuration page of the .NET Application Performance Monitoring template.

監視描述Monitor description 預設值Default values
每個受監視之要求中發生例外狀況事件的百分比Percentage of exception events per monitored requests 已啟用,閾值=15%,間隔=5 分鐘Enabled, Threshold=15%, Interval=5 minutes
每個受監視之要求中發生效能事件的百分比Percentage of performance events per monitored requests 已啟用,閾值=20%,間隔=5 分鐘Enabled, Threshold=20%, Interval=5 minutes
平均要求時間Average Request Time 已啟用,閾值=10,000 毫秒,間隔=5 分鐘Enabled, Threshold=10,000 ms, Interval=5 minutes

檢視監視資料Viewing monitoring data

.NET 應用程式效能監視範本所收集的所有資料會出現在 [監視] 瀏覽窗格的 [應用程式監視] 資料夾的 [.NET 監視] 資料夾中。All data collected by the .NET Application Performance Monitoring template appears in the .NET Monitoring folder in the Application Monitoring folder in the Monitoring navigation pane. 針對您使用 .NET 應用程式效能監視範本建立的每個應用程式群組,範本會在 [.NET 監視] 下建立資料夾。For each of the application groups that you create by using the .NET Application Performance Monitoring template, the template creates a folder under .NET Monitoring. [應用程式監視] 資料夾包含預設檢視和子資料夾,它們能提供與應用程式群組中應用程式元件相關的健全狀況狀態、效能檢視和警示。The Application Monitoring folder contains the default views and subfolders that provide health state, Performance views, and alerts related to the application components in the application group. 藉由使用頂層的應用程式群組狀態檢視,您可以查看個別元件的健全狀況,以及已啟用的監視設定。By using the top-level Application Group State view, you can see the health of the individual components and the monitoring configurations that have been enabled. 每個元件的狀態會與健全狀況狀態最差的目標物件的狀態比對,因此您可以從執行中的監視內發現狀態最差的監視。The state of each object matches the state of the targeted object that has the worst health state so that you see the worst state of the monitors that are running. 如果有一或多個元件顯示有錯誤,而其他元件中至少有一個元件狀況良好,表示該特定元件可能發生問題,例如認證問題。If one or more of the components are shown with an error while at least one other component is healthy, it could indicate a problem with that particular component, such as a credential issue. 如果所有元件均狀況不良,這表示基礎結構可能發生問題,例如網路連線問題。If all of the components are unhealthy, it could indicate a problem with the infrastructure, such as network connectivity issues.

應用程式監視資料夾Application monitoring folders

[ASP.NET 應用程式效能監視] 資料夾

若要檢視各監視的狀態,請針對每個元件開啟健全狀況總管。To view the state of the individual monitors, open the Health Explorer for each component. 向下切入至狀況不良的監視,以找出導致應用程式狀況不良的原因。Drill down to the unhealthy monitors to see what is making your application unhealthy. 如需詳細資訊,請參閱 Monitoring .NET Applications (監視 .NET 應用程式)For more information, see Monitoring .NET Applications

精靈選項Wizard options

當您執行 .NET 應用程式效能監視範本時,必須為下列表格所列的選項提供值。When you run the .NET Application Performance Monitoring template, you have to provide values for options as listed in the following tables. 每個表格代表精靈中的一個頁面。Each table represents a single page in the wizard.

一般內容General properties

[一般內容] 頁面

下列選項位於精靈的 [一般內容] 頁面。The following options are available on the General Properties page of the wizard.

選項Option 說明Description
NameName 針對要建立的範本和應用程式群組輸入好記的名稱。Enter the friendly name used for the template and application group that you are creating. 此名稱會顯示在 Operations 主控台中,並且會用於 [.NET 監視] 資料夾下的資料夾。This name is displayed in the Operations console and used for the folder under the .NET Monitoring folder.
注意︰ 在提供範本名稱並儲存範本之後,您必須刪除範本並重新建立範本執行個體才能編輯該名稱。Note: After you have given the template a name and saved the template, this name cannot be edited without deleting and re-creating the template instance.
說明Description 應用程式群組的描述。Describe the application group. (選用)(Optional)
選取目的地管理組件Select destination management pack 選取要儲存範本所建立的檢視和設定的管理組件。Select the management pack to store the views and configuration created by the template. 請將新管理組件指定與應用程式群組同名,以便輕易地配對這兩個名稱。Use the same name for your new management pack as the application group so you can easily pair the two names. 您可以使用現有的管理組件或建立新管理組件。You can use an existing management pack or create a new management pack. 如需管理組件的詳細資訊,請參閱選取管理組件檔案For more information about management packs, see Selecting a Management Pack File.

監視對象What to monitor

[監視對象] 頁面

下列選項位於精靈的 [監視對象] 頁面。The following options are available on the What to Monitor page of the wizard.

選項Option 說明Description
應用程式元件、新增Application components, Add 搜尋和新增或移除要監視的應用程式元件。Search for and add or remove the application components to monitor. 按一下 [新增] 時,[物件搜尋] 頁面隨即會開啟,您可以選取是否要監視 Web 應用程式和服務。When you click Add , the Object Search page opens, which lets you select whether you want to monitor Web Applications and Services. 僅限 System Center 2012 SP1:您可以監視 Windows 服務。For System Center 2012 SP1 only: You can monitor Windows Services.
注意︰ 僅限 System Center 2012 SP1:在開始監視 Windows 服務之前,您需要使用 Windows 服務範本設定 Windows 服務。Note: For System Center 2012 SP1 only: Before you begin monitoring Windows Services, you need to configure Windows Services using the Windows Service template. 設定完成後,.NET 應用程式效能監視範本便能探索執行中的 Windows 服務。Once you do this, the.NET Application Performance Monitoring template can discover the Windows Services that are running. 如需詳細資訊,請參閱撰寫 Windows 服務範本For more information, see Authoring the Windows Service Template.
環境Environment 選取您要監視應用程式的環境:[無] 、[生產位置] 、[預備位置] 、[測試] 、[開發] ,或使用 [新增] 來建立新標記。Select the environment in which you want to monitor your application: None , Production , Staging , Test , Development , or use New to create a new tag. 在一般的情況下,您可以將環境標記與監視的伺服器群組配對。Typically, you want to pair the environment tag with the server group that you are monitoring. 系統會將標記附加在應用程式群組名稱和元件名稱中,以便在 Application Diagnostics 和 Application Advisor 中區別事件資料。The tag is appended to the application group name and component names, letting you differentiate the event data in Application Diagnostics and Application Advisor. 從監視的角度來說,環境標記可讓您將同一個的應用程式分為多個虛擬應用程式。From a monitoring perspective, the environment tag lets you separate the same application into multiple virtual applications.
注意︰ 在選取環境標記並儲存範本後,您必須刪除範本並重新建立範本執行個體才能編輯該標記。Note: After you have selected an environment tag and saved the template, the tag cannot be edited without deleting and re-creating the template instance.
目標群組Targeted group 選取特定的伺服器以將監視限定為一組特定的伺服器。Select specific servers to limit monitoring to this specific set of servers. 這是選用的選項。This is optional. 只有在多個環境 (例如生產位置和預備位置) 執行同一個應用程式,且您想執行範本多次 (每個環境一次) 時,才需要界定目標群組範圍。Targeted group scoping only becomes necessary when you have the same application running in multiple environments, such as production and staging, and you intend to run the template multiple times, one for each environment. 在此案例中,請將屬於生產環境的機器分為一組,將屬於預備環境的機器分為一組,然後使用目標群組來限制設定的傳播位置。In this scenario, group which machines belong to production and which belong to the staging environment, and then use the targeted groups to restrict where the configuration is propagated. 您也可以使用群組來將設定套用至伺服器的子集。You can also use groups to apply configuration to a subset of your servers. 另一方面,如果您只想監視指定之應用程式的所有執行個體,則不需要指定目標群組的範圍。Otherwise, it is not necessary to specify targeted group scoping if you just want to monitor all instances of a given application.

[物件搜尋] 頁面

下列選項位於精靈的 [物件搜尋] 頁面。The following options are available on the Object Search page of the wizard.

選項Option 說明Description
搜尋Search for 選取 Web 應用程式和服務。Select Web Applications and Services. 僅限 System Center 2012 SP1:您也可以選取 Windows 服務。For System Center 2012 SP1 only: You can also select Windows Services.
注意︰ 針對 System Center 2012 SP1,在開始監視 Windows 服務之前,您需要使用 Windows 服務範本設定 Windows 服務。Note: For System Center 2012 SP1, before you begin monitoring Windows Services, you need to configure Windows Services using the Windows Service template. 設定完成後,.NET 應用程式效能監視範本便能探索執行中的 Windows 服務。Once you do this, the.NET Application Performance Monitoring template can discover the Windows Services that are running. 如需詳細資訊,請參閱撰寫 Windows 服務範本For more information, see Authoring the Windows Service Template
依名稱部分篩選 (選用)Filter by part of name (optional) 輸入要選取的 Web 應用程式和服務的部分名稱。Enter part of the name of Web Application and Services that you want to select. 僅限 System Center 2012 SP1:您也可以輸入要選取的 Windows 服務的部分名稱。For System Center 2012 SP1 only: You can also enter part of the name of a Windows Service that you want to select.
可用項目Available items 顯示可供監視的 Windows Web 應用程式和服務。Displays the Windows Web Application and Services that are available for monitoring. 僅限 System Center 2012 SP1:同時會顯示可供監視的 Windows 服務。For System Center 2012 SP1 only: Also displays the Windows Services that are available for monitoring.
選取的物件Selected objects 顯示已選取要進行監視的應用程式元件。Displays the application components that you have selected to monitor.

伺服器端設定Server-side configuration

伺服器端設定

下列選項位於精靈的 [伺服器端設定] 頁面。The following options are available on the Server-Side Configuration page of the wizard.

選項Option 說明Description
開啟效能事件警示Turn on performance event alerts 在 Operations 主控台內,針對伺服器端監視開啟或關閉應用程式群組的效能事件警示報表。Turn performance event alert reporting for the application group on or off within the Operations console for server-side monitoring. 效能事件還是會記錄到 Application Diagnostics 主控台。Performance events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
開啟例外狀況事件警示Turn on exception event alerts 在 Operations 主控台內,針對伺服器端監視開啟或關閉應用程式群組的例外狀況事件警示通知。Turn the exception event alert notification for the application group on or off within the Operations console for server-side monitoring. 例外狀況事件還是會記錄到 Application Diagnostics 主控台。Exception events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
效能事件閾值 (毫秒)Performance event threshold (ms) 設定以毫秒 (ms) 為單位的閾值,使用者交易必須超過此值才會產生效能事件。Set the threshold in milliseconds (ms) that a user transaction must exceed before it raises a performance event.
進階設定Advanced Settings 設定進階設定,包括敏感度 (限制快速函式的收集)、命名空間 (定義要向自訂應用程式收集資料的位置)、方法 (要啟動監視的特定函式)、自訂例外狀況處理常式 (定義重要例外狀況),以及自訂會影響元件健全狀況狀態的監視器設定。Set advanced configurations, including sensitivity (restricting the collection of fast functions), namespaces (that define where you want to collect data from custom applications), methods (specific functions where you want to start monitoring), custom exception handlers (that define critical exceptions), and customize the configuration of the monitors that affect the component health state.
啟用伺服端和用戶端監視的其他設定選項Enable additional configuration options for server-side and client-side monitoring 在精靈中指定其他選項以自訂個別應用程式元件的監視和用戶端監視。Specify additional options in the wizard to customize monitoring for individual application components and client-side monitoring.

伺服器端監視的進階設定Advanced settings for server-side monitoring

伺服器端監視的進階設定

下列選項位於精靈的伺服器端監視頁面的 [進階設定] 。The following options are available on the Advanced Settings for server-side monitoring page of the wizard.

選項Option 說明Description
開啟效能事件警示Turn on performance event alerts 在 Operations 主控台內,針對伺服器端監視開啟或關閉應用程式群組的效能事件警示報表。Turn performance event alert reporting for the application group on or off within the Operations console for server-side monitoring. 效能事件還是會記錄到 Application Diagnostics 主控台。Performance events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
開啟例外狀況事件警示Turn on exception event alerts 在 Operations 主控台內,針對伺服器端監視開啟或關閉應用程式群組的例外狀況事件警示通知。Turn the exception event alert notification for the application group on or off within the Operations console for server-side monitoring. 例外狀況事件還是會記錄到 Application Diagnostics 主控台。Exception events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
效能事件閾值 (毫秒)Performance event threshold (ms) 設定以毫秒 (ms) 為單位的閾值,系統必須在該段時間內將要求處理完畢,否則會引發效能事件。Set the threshold in milliseconds (ms) that a request must be processed in before it causes a performance event.
敏感度閾值 (毫秒)Sensitivity threshold (ms) 指定此選項可排除快速執行的方法,讓每個事件收集較少的資料,以便透過縮小呼叫堆疊大小的方式,減少整體「雜訊」。Specify to filter out fast-running methods to reduce overall "noise" by reducing the size of the call stack by gathering less data for each event. 如需詳細資訊,請參閱 Authoring Strategies for .NET Application MonitoringFor more information, see Authoring Strategies for .NET Application Monitoring
設定命名空間Set Namespaces 指定要開始測量效能事件和效能閾值違規的命名空間和類別,以及定義要視為預設進入點的命名空間。Specify namespaces and classes where to start measuring for performance events and performance threshold violations, and define which namespaces should be treated by default as entry points. 如需詳細資訊,請參閱 How to Add, Enable, and Disable NamespacesFor more information, see How to Add, Enable, and Disable Namespaces
設定方法Set Methods 指定特定方法之呼叫堆疊切入的深度,以收集更詳細的資訊,例如參數和變數。Specify how deep in the call stack to drill down to collect more detailed information, such as parameters and variables, for specific methods. 如需詳細資訊,請參閱 How to Add, Edit, and Remove MethodsFor more information, see How to Add, Edit, and Remove Methods
安全性警示Security alerts 針對應用程式群組開啟或關閉分類為安全性警示 (發生「存取遭拒」或「登入失敗」之類的錯誤) 的例外狀況警示功能。安全性事件會記錄到應用程式診斷主控台。Turn alerting of exceptions on or off that are classified as security alerts for the application group, with errors such as "Access Denied" or "Login Failed".Security events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
連線警示Connectivity alerts 針對應用程式群組開啟或關閉分類為連線警示 (發生「連線逾時」之類的錯誤) 的例外狀況警示功能。連線事件會記錄到應用程式診斷主控台。Turn alerting of exceptions on or off that are classified as connectivity alerts for the application group, with errors such as "Connection timed out".Connectivity events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
應用程式失敗警示Application failure alerts 針對應用程式群組,開啟或關閉分類為應用程式或程式碼失敗的例外狀況警示功能。Turn alerting of exceptions on or off that are classified as application, or code, failures for the application group. 此選項預設為關閉,目的是要減少由於通常只有開發團隊能夠解決的程式碼失敗所產生的警示「雜訊」。By default, this option is turned off to reduce the "noise" of alerts raised due to code failures that typically only development teams can resolve. 如需詳細資訊,請參閱撰寫 .NET 應用程式監視的策略例外狀況事件會記錄到應用程式診斷主控台。For more information, see Authoring Strategies for .NET Application MonitoringException events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
僅重大例外狀況Critical exceptions only 指定應用程式效能監視代理程式是否將例外狀況視為相關,以及是否建立事件。Specify whether the exception is considered relevant by the Application Performance Monitoring agent and whether an event is created. 如果產生的例外狀況是重大例外狀況處理常式清單內的其中一個例外狀況,就會建立事件。An event is created if the exception raised is one of those in the list of critical exception handlers. 如需詳細資訊,請參閱 Using Exception Handlers to Define Critical ExceptionsFor more information, see Using Exception Handlers to Define Critical Exceptions
所有例外狀況All exceptions 指定應用程式效能監視代理程式是否將所有例外狀況視為相關,並在於受監視命名空間和類別中偵測到例外狀況時建立事件。Specify whether all exceptions are considered relevant by the Application Performance Monitoring agent and events are created when exceptions are detected in monitored namespaces and classes.
例外狀況追蹤Exception Tracking 選取此選項可新增您追蹤例外狀況參數或變數的命名空間或類別,並收集有關命名空間或類別所產生每個例外狀況的其他資訊。Select to add namespace or classes where you track exception parameters or variables, and collect additional information about each exception that a namespace or class raised. 如需詳細資訊,請參閱如何新增、編輯和移除例外狀況追蹤 (機器翻譯)For more information, see How to Add, Edit, and Remove Exception Tracking
重大例外狀況Critical Exceptions 選取此選項可新增項目到 [例外狀況處理常式清單] 中。Select to add items to the Exception handlers list. 請定義可攔截應用程式所產生重大例外狀況的例外狀況處理常式。Define exception handlers that catch critical exceptions that an application raised. 如需詳細資訊,請參閱 Using Exception Handlers to Define Critical ExceptionsFor more information, see Using Exception Handlers to Define Critical Exceptions
監視:Exception Events/sec 超出Monitors: Exception Events/sec exceeds 監看 .NET App/% Exception Events/sec 效能計數器的監視。Monitor that watches the .NET App/% Exception Events/sec performance counter.
監視:Performance Events/sec 超出Monitors: Performance Events/sec exceeds 監看 .NET Apps/% Performance Events/sec 效能計數器的監視。Monitor that watches the .NET Apps/% Performance Events/sec performance counter.
監視:平均要求時間超過Monitors: Average Request Time exceeds 監看 .NET Apps/Average Request Time 效能計數器的監視。Monitor that watches the .NET Apps/Average Request Time performance counter.
目標群組Targeted group 選取特定的伺服器以將監視限定為一組特定的伺服器。Select specific servers to limit monitoring to this specific set of servers. 這是選用的選項。This is optional. 只有在多個環境 (例如生產位置和預備位置) 執行同一個應用程式,且您想執行範本多次 (每個環境一次) 時,才需要界定目標群組範圍。Targeted group scoping only becomes necessary when you have the same application running in multiple environments, such as production and staging, and you intend to run the template multiple times, one for each environment. 在此案例中,請將屬於生產環境的機器分為一組,將屬於預備環境的機器分為一組,然後使用目標群組來限制設定的傳播位置。In this scenario, group which machines belong to production and which belong to the staging environment, and then use the targeted groups to restrict where the configuration is propagated. 您也可以使用群組來將設定套用至伺服器的子集。You can also use groups to apply configuration to a subset of your servers. 另一方面,如果您只想監視指定之應用程式的所有執行個體,則不需要指定目標群組的範圍。Otherwise, it is not necessary to specify targeted group scoping if you just want to monitor all instances of a given application.

伺服器端自訂Server-side customization

伺服器端自訂

針對 System Center 2012 SP1,下列選項位於精靈的 [伺服器端自訂] 頁面。For System Center 2012 SP1, the following options are available on the Server-Side Customization page of the wizard.

選項Option 說明Description
元件Component 選取您需要的元件,以自訂個別應用程式元件的監視。Select the component you want to customize for monitoring individual application components.
自訂Customize 修改所選應用程式元件的設定。Modify the settings for the selected application component. 這會開啟 [正在修改設定] 頁面。This opens the Modifying Settings page. 這個頁面上的設定與 [伺服器端監視的進階設定] 頁面上的設定相同,但是您可以針對 ASP.NET 網頁、ASP.NET Web 服務或組件中的個別函式建立個別交易監視。The settings on this page are the same as those on the Advanced Settings for Server-Side Monitoring page, except you can create individual transaction monitoring for ASP.NET webpages, ASP.NET web services, or individual functions in an assembly. 這些內容會在「交易內容」中加以說明:後續的 [新增 ASP.NET 網頁] 區段。These are described in the Transaction Properties: Add ASP.NET Web Page sections that follow.
注意︰ 命名空間、例外狀況追蹤和重大例外狀況的按鈕無法使用,因為這些選項只能在應用程式群組層級設定,不能在元件層級設定。Note: The buttons for namespaces, exception tracking, and critical exceptions are unavailable because these can only be set at the application-group level, not at the component level. 僅限 System Center 2012 SP1:如果要設定 Windows 服務的監視,您可以自訂這些設定。For System Center 2012 SP1 only: you can customize these settings if you are configuring monitoring for Windows Services.
[正在修改設定] 頁面Modifying Settings page 自訂應用程式元件的設定並/或指定應用程式元件內特定網頁、Web 方法或函式的監視。Customize settings for the application component and/or specify monitoring for a specific webpage, web method, or function within the application component.

伺服器端修改設定Server-side modifying settings

伺服器端修改設定

下列選項位於精靈的 [伺服器端修改設定] 頁面。The following options are available on the Server-Side Modifying Settings page of the wizard.

選項Option 說明Description
開啟效能事件警示Turn on performance event alerts 在 Operations 主控台內,針對伺服器端監視開啟或關閉應用程式群組的效能事件警示報表。Turn performance event alert reporting for the application group on or off within the Operations console for server-side monitoring. 效能事件還是會記錄到 Application Diagnostics 主控台。Performance events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
開啟例外狀況事件警示Turn on exception event alerts 在 Operations 主控台內,針對伺服器端監視開啟或關閉應用程式群組的例外狀況事件警示通知。Turn the exception event alert notification for the application group on or off within the Operations console for server-side monitoring. 例外狀況事件還是會記錄到 Application Diagnostics 主控台。Exception events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
效能事件閾值 (毫秒)Performance event threshold (ms) 設定以毫秒 (ms) 為單位的閾值,系統必須在該段時間內將要求處理完畢,否則會引發效能事件。Set the threshold in milliseconds (ms) that a request must be process in before it causes a performance event.
敏感度閾值 (毫秒)Sensitivity threshold (ms) 指定此選項可排除快速執行的方法,讓每個事件收集較少的資料,以便透過縮小呼叫堆疊大小的方式,減少整體「雜訊」。Specify to filter out fast-running methods to reduce overall "noise" by reducing the size of the call stack by gathering less data for each event. 如需詳細資訊,請參閱 Authoring Strategies for .NET Application MonitoringFor more information, see Authoring Strategies for .NET Application Monitoring
設定方法Set Methods 指定特定方法之呼叫堆疊切入的深度,以收集更詳細的資訊,例如參數和變數。Specify how deep in the call stack to drill down to collect more detailed information, such as parameters and variables, for specific methods. 如需詳細資訊,請參閱 How to Add, Edit, and Remove MethodsFor more information, see How to Add, Edit, and Remove Methods
安全性警示Security alerts 針對應用程式元件開啟或關閉分類為安全性警示 (發生「存取遭拒」或「登入失敗」之類的錯誤) 的例外狀況警示功能。安全性事件會記錄到應用程式診斷主控台。Turn on or off alerting of exceptions classified as security alerts for the application component, with errors such as "Access Denied" or "Login Failed".Security events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
連線警示Connectivity alerts 針對應用程式元件開啟或關閉分類為連線警示 (發生「連線逾時」之類的錯誤) 的例外狀況警示功能。連線事件會記錄到應用程式診斷主控台。Turn on or off alerting of exceptions classified as connectivity errors for the application component, such as "Connection Timed Out".Connectivity events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
應用程式失敗警示Application failure alerts 針對應用程式元件,開啟或關閉分類為應用程式或程式碼失敗的例外狀況警示功能。Turn on or off alerting of exceptions classified as application, or code, failures for the application component. 此選項預設為關閉,目的是要減少由於通常只有開發團隊能夠解決的程式碼失敗所產生的警示「雜訊」。By default, this option is turned off to reduce the "noise" of alerts raised due to code failures that typically only development teams can resolve. 如需詳細資訊,請參閱撰寫 .NET 應用程式監視的策略例外狀況事件會記錄到應用程式診斷主控台。For more information, see Authoring Strategies for .NET Application MonitoringException events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
僅重大例外狀況Critical exceptions only 指定應用程式效能監視代理程式是否將例外狀況視為相關,以及是否建立事件。Specify whether the exception is considered relevant by the Application Performance Monitoring agent and whether an event is created. 如果產生的例外狀況是重大例外狀況處理常式清單內的其中一個例外狀況,就會建立事件。An event is created if the exception raised is one of those in the list of critical exception handlers. 如需詳細資訊,請參閱 Using Exception Handlers to Define Critical ExceptionsFor more information, see Using Exception Handlers to Define Critical Exceptions
所有例外狀況All exceptions 指定應用程式效能監視代理程式是否將所有例外狀況視為相關,並在於受監視命名空間和類別中偵測到例外狀況時建立事件。Specify whether all exceptions are considered relevant by the Application Performance Monitoring agent and events are created when exceptions are detected in monitored namespaces and classes.
監視:Exception Events/sec 超出Monitors: Exception Events/sec exceeds 監看 .NET App/% Exception Events/sec 效能計數器的監視。Monitor that watches the .NET App/% Exception Events/sec performance counter.
監視:Performance Events/sec 超出Monitors: Performance Events/sec exceeds 監看 .NET Apps/% Performance Events/sec 效能計數器的監視。Monitor that watches the .NET Apps/% Performance Events/sec performance counter.
監視:平均要求時間超過Monitors: Average Request Time exceeds 監看 .NET Apps/Average Request Time 效能計數器的監視。Monitor that watches the .NET Apps/Average Request Time performance counter.
交易:新增Transactions: Add 加入 ASP.NET 網頁、ASP.NET Web 服務和函式的交易。Add transactions for ASP.NET web pages, ASP.NET Web services, and functions. 請參見後面的表格。See the following tables.
目標群組Targeted group 選取特定的伺服器以將監視限定為一組特定的伺服器。Select specific servers to limit monitoring to this specific set of servers. 這是選用的選項。This is optional. 只有在多個環境 (例如生產位置和預備位置) 執行同一個應用程式,且您想執行範本多次 (每個環境一次) 時,才需要界定目標群組範圍。Targeted group scoping only becomes necessary when you have the same application running in multiple environments, such as production and staging, and you intend to run the template multiple times, one for each environment. 在此案例中,請將屬於生產環境的機器分為一組,將屬於預備環境的機器分為一組,然後使用目標群組來限制設定的傳播位置。In this scenario, group which machines belong to production and which belong to the staging environment, and then use the targeted groups to restrict where the configuration is propagated. 您也可以使用群組來將設定套用至伺服器的子集。You can also use groups to apply configuration to a subset of your servers. 另一方面,如果您只想監視指定之應用程式的所有執行個體,則不需要指定目標群組的範圍。Otherwise, it is not necessary to specify targeted group scoping if you just want to monitor all instances of a given application.

注意

命名空間、例外狀況追蹤和重大例外狀況的按鈕無法使用,因為這些選項只能在應用程式群組層級設定,不能在元件層級設定。The buttons for namespaces, exception tracking, and critical exceptions are unavailable because these can only be set at the application-group level, not at the component level. 僅限 System Center 2012 SP1:如果要設定 Windows 服務的監視,您可以自訂這些設定。For System Center 2012 SP1 only: You can customize these settings if you are configuring monitoring for Windows services.

您可以監視的應用程式類型和伺服器端交易Application types and server-side transactions you can monitor

在每一種應用程式類型中,您都可以選擇監視幾種交易類型。For each application type there are several transaction types you can choose to monitor. 有下列選項可供使用:The following options are available:

應用程式類型Application type System Center 2012 的交易類型Transaction types for System Center 2012 System Center 2012 SP1 的交易類型Transaction types for System Center 2012 SP1
ASP.NET Web 應用程式ASP.NET Web application - ASP.NET 網頁- ASP.NET webpage
- ASP.NET Web 服務- ASP.NET web service
- 函式- Function
- ASP.NET 網頁- ASP.NET webpage
- ASP.NET MVC 頁面- ASP.NET MVC page
- ASP.NET Web 服務- ASP.NET web service
- WCF 方法- WCF method
- 函式- Function
ASP.NET Web 服務ASP.NET Web service - ASP.NET 網頁- ASP.NET webpage
- ASP.NET Web 服務- ASP.NET web service
- 函式- Function
- ASP.NET 網頁- ASP.NET webpage
- ASP.NET MVC 頁面- ASP.NET MVC page
- ASP.NET Web 服務- ASP.NET web service
- WCF 方法- WCF method
- 函式- Function
WCF 服務WCF service 無法使用Not available - ASP.NET 網頁- ASP.NET webpage
- ASP.NET MVC 頁面- ASP.NET MVC page
- ASP.NET Web 服務- ASP.NET web service
- WCF 方法- WCF method
- 函式- Function
Windows 服務Windows service 無法使用Not available - WCF 方法- WCF method
- 函式- Function

交易內容:新增 ASP.NET 網頁Transaction properties: add ASP.NET web page

伺服器端交易內容 ASP.NET 網頁

下列選項位於精靈之 [ASP.NET 網頁] 頁面的 [交易內容] 頁面。The following options are available on the Transaction Properties page for ASP.NET Web Page page of the wizard.

選項Option 說明Description
交易名稱Transaction name 輸入好記的交易名稱,此名稱將會顯示在 [監視] 索引標籤、效能計數器和其他位置上。Enter the friendly name for the transaction as it will be displayed on the Monitoring tab, performance counters, and elsewhere.
ASP.NET 頁面ASP.NET page 輸入您要配置這些監視設定之頁面的路徑。Enter the path to the page that you are configuring these monitoring settings for.
效能事件閾值 (毫秒)Performance event threshold (ms) 設定以毫秒 (ms) 為單位的閾值,使用者交易必須超過此值才會產生效能事件。Set the threshold in milliseconds (ms) that a user transaction must exceed before it raises a performance event.
注意︰ 應用程式元件會繼續監視交易中指定的頁面 (使用針對應用程式元件設定的效能閾值)。Note: The application component continues to monitor the page specified in the transaction by using the performance threshold that is set for the application component. 這個閾值可作為應用程式元件中相同頁面的第二個量值。This threshold is used as a second measure on the same page in the application component. 如果將這個閾值設成高於應用程式元件閾值,您會收到單一事件,但是依據警示設定而定,您可能會在達到閾值時收到交易的兩項效能警示:一項來自應用程式元件,另一項來自交易。If you set this threshold higher than the application component threshold, you get a single event, but you might get two performance alerts for the transaction when the threshold is breached—one from the application component and one from the transaction, depending on your alerting settings. 交易通常可用來以更積極的方式 (相較於父應用程式) 和較低的閾值來監視個別頁面,或是用來監視其父系已停用警示的頁面。Transactions are typically used to monitor the individual page more aggressively than the parent application, at a lower threshold, or to monitor a page where alerting has been disabled on the parent.
敏感度閾值 (毫秒)Sensitivity threshold (ms) 指定此選項可排除快速執行的方法,讓每個事件收集較少的資料,以便透過縮小呼叫堆疊大小的方式,減少整體「雜訊」。Specify to filter out fast-running methods to reduce overall "noise" by reducing the size of the call stack by gathering less data for each event. 如果超過閾值,仍會產生事件。An event is still generated if the threshold is surpassed. 如需詳細資訊,請參閱 Authoring Strategies for .NET Application MonitoringFor more information, see Authoring Strategies for .NET Application Monitoring
依事件類型收集警示:連線能力Collect alerts by event type: Connectivity 開啟或關閉分類為連線警示 (發生「連線逾時」之類的錯誤) 的事件警示功能。連線事件會記錄到應用程式診斷主控台。Turn on or off alerting of events, classified as connectivity alerts with errors such as "Connection Timed Out".Connectivity events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:應用程式失敗Collect alerts by event type: Application failure 開啟或關閉分類為應用程式或程式碼失敗的事件警示功能。Turn on or off alerting of events classified as application, or code, failures. 關閉此功能可減少由於程式碼失敗所產生的許多警示「雜訊」。Turning this off reduces the "noise" of many alerts raised due to code failures. 因為這些警示是由程式碼失敗所產生,所以開發人員通常會解決這些問題。Because these alerts are raised from code failures, developers usually resolve these issues. 如需詳細資訊,請參閱撰寫 .NET 應用程式監視的策略例外狀況事件會記錄到應用程式診斷主控台。For more information, see Authoring Strategies for .NET Application MonitoringException events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:安全性Collect alerts by event type: Security 開啟或關閉分類為安全性警示 (發生「存取遭拒」或「登入失敗」之類的錯誤) 的事件警示功能。Turn on or off alerting of events classified as security alerts, with errors such as "Access Denied" or "Login Failed". 安全性事件會記錄到 Application Diagnostics 主控台。Security events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:效能Collect alerts by event type: Performance 開啟或關閉分類為效能警示的事件警示功能。Turn on or off alerting of events classified as performance alerts. 效能事件會記錄到 Application Diagnostics 主控台。Performance events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
監視:例外狀況事件的百分比/秒Monitors: % Exception Events/sec 監看 .NET App/% Exception Events/sec 效能計數器的監視。Monitor that watches the .NET App/% Exception Events/sec performance counter.
監視:效能事件的百分比/秒Monitors: % Performance Events/sec 監看 .NET Apps/% Performance Events/sec 效能計數器的監視。Monitor that watches the .NET Apps/% Performance Events/sec performance counter.
監視:平均要求時間Monitors: Average Request Time 監看 .NET Apps/Average Request Time 效能計數器的監視。Monitor that watches the .NET Apps/Average Request Time performance counter.

交易內容:加入 ASP.NET Web 服務Transaction properties: add ASP.NET web service

伺服器端交易 ASP.NET Web 服務

下列選項位於精靈之 [ASP.NET Web 服務] 頁面的 [交易內容] 頁面。The following options are available on the Transaction Properties page for the ASP.NET Web Service page of the wizard.

選項Option 說明Description
交易名稱Transaction name 輸入好記的交易名稱,此名稱將會顯示在 [監視] 索引標籤、效能計數器等等。Enter the friendly name for the transaction as it will be displayed on the Monitoring tab, performance counters, and so on.
Web 服務檔案Web service file 輸入您要配置這些監視設定之檔案的路徑。Enter the path to the file for which you are configuring these monitoring settings.
方法名稱Method name 輸入您要監視之 Web 方法的 URI。Enter the URI of the web method that you want to monitor.
效能事件閾值 (毫秒)Performance event threshold (ms) 設定以毫秒 (ms) 為單位的閾值,使用者交易必須超過此值才會產生效能事件。Set the threshold in milliseconds (ms) that a user transaction must exceed before it raises a performance event.
注意︰ 應用程式元件會繼續監視交易中指定的頁面 (使用針對應用程式元件設定的效能閾值)。Note: The application component continues to monitor the page specified in the transaction by using the performance threshold that is set for the application component. 這個閾值可作為應用程式元件中相同頁面的第二個量值。This threshold is used as a second measure on the same page in the application component. 如果將這個閾值設成高於應用程式元件閾值,您會收到單一事件,但是依據警示設定而定,您可能會在達到閾值時收到交易的兩項效能警示:一項來自應用程式元件,另一項來自交易。If you set this threshold higher than the application component threshold, you get a single event, but you might get two performance alerts for the transaction when the threshold is breached—one from the application component and one from the transaction, depending on your alerting settings. 交易通常可用來以更積極的方式 (相較於父應用程式) 和較低的閾值來監視個別頁面,或是用來監視其父系已停用警示的頁面。Transactions are typically used to monitor the individual page more aggressively than the parent application, at a lower threshold, or to monitor a page where alerting has been disabled on the parent.
敏感度閾值 (毫秒)Sensitivity threshold (ms) 指定此選項可排除快速執行的方法,讓每個事件收集較少的資料,以便透過縮小呼叫堆疊大小的方式,減少整體「雜訊」。Specify to filter out fast-running methods to reduce overall "noise" by reducing the size of the call stack by gathering less data for each event. 如需詳細資訊,請參閱 Authoring Strategies for .NET Application MonitoringFor more information, see Authoring Strategies for .NET Application Monitoring
依事件類型收集警示:連線能力Collect alerts by event type: Connectivity 開啟或關閉分類為連線警示 (發生「連線逾時」之類的錯誤) 的事件警示功能。連線事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as connectivity alerts, with errors, such as "Connection Timed Out".Connectivity events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:應用程式失敗Collect alerts by event type: Application failure 開啟或關閉分類為應用程式或程式碼失敗的事件警示功能。Turn on or off alerting of events classified as application, or code, failures. 關閉此選項可減少由於程式碼失敗所產生的許多警示「雜訊」。Turning this option off reduces the "noise" of many alerts raised due to code failures. 因為這些警示是由程式碼失敗所產生,所以開發人員通常會解決這些問題。Because these alerts are raised from code failures, developers usually resolve these issues. 如需詳細資訊,請參閱撰寫 .NET 應用程式監視的策略例外狀況事件會記錄到應用程式診斷主控台。For more information, see Authoring Strategies for .NET Application MonitoringException events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:安全性Collect alerts by event type: Security 開啟或關閉分類為安全性警示 (發生「存取遭拒」或「登入失敗」之類的錯誤) 的事件警示功能。安全性事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as security alerts, with errors such as "Access Denied" or "Login Failed".Security events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:效能Collect alerts by event type: Performance 開啟或關閉分類為效能警示的事件警示。效能事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as performance alerts.Performance events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
監視:例外狀況事件的百分比/秒Monitors: % Exception Events/sec 監看 .NET App/% Exception Events/sec 效能計數器的監視。Monitor that watches the .NET App/% Exception Events/sec performance counter.
監視:效能事件的百分比/秒Monitors: % Performance Events/sec 監看 .NET Apps/% Performance Events/sec 效能計數器的監視。Monitor that watches the .NET Apps/% Performance Events/sec performance counter.
監視:平均要求時間Monitors: Average Request Time 監看 .NET Apps/Average Request Time 效能計數器的監視。Monitor that watches the .NET Apps/Average Request Time performance counter.

交易內容:新增 ASP.NET MVC 頁面Transaction properties: add ASP.NET MVC page

MVC 的 [交易內容] 頁面

針對 System Center 2012 SP1,下列選項位於精靈之 [ASP.MVC] 頁面的 [交易內容] 頁面。For System Center 2012 SP1 the following options are available on the Transaction Properties for the ASP.MVC page of the wizard.

選項Option 說明Description
交易名稱Transaction name 輸入好記的交易名稱,此名稱將會顯示在 [監視] 索引標籤、效能計數器等等。Enter the friendly name for the transaction as it will be displayed on the Monitoring tab, performance counters, and so on.
MVC 控制器MVC controller 輸入您要配置這些監視設定之 MVC 控制器的名稱。Enter the name of the MVC controller for which you are configuring these monitoring settings.
MVC 動作MVC action 指定您要配置這些監視設定之 MVC 動作的名稱。Specify the name of the MVC action for which you are configuring these monitoring settings.
效能事件閾值 (毫秒)Performance event threshold (ms) 設定以毫秒 (ms) 為單位的閾值,使用者交易必須超過此值才會產生效能事件。Set the threshold in milliseconds (ms) that a user transaction must exceed before it raises a performance event.
注意︰ 應用程式元件會繼續監視交易中指定的頁面 (使用針對應用程式元件設定的效能閾值)。Note: The application component continues to monitor the page specified in the transaction by using the performance threshold that is set for the application component. 這個閾值可作為應用程式元件中相同頁面的第二個量值。This threshold is used as a second measure on the same page in the application component. 如果將這個閾值設成高於應用程式元件閾值,您會收到單一事件,但是依據警示設定而定,您可能會在達到閾值時收到交易的兩項效能警示:一項來自應用程式元件,另一項來自交易。If you set this threshold higher than the application component threshold, you get a single event, but you might get two performance alerts for the transaction when the threshold is breached—one from the application component and one from the transaction, depending on your alerting settings. 交易通常可用來以更積極的方式 (相較於父應用程式) 和較低的閾值來監視個別頁面,或是用來監視其父系已停用監視的頁面。Transactions are typically used to monitor the individual page more aggressively than the parent application, at a lower threshold or to monitor a page where monitoring has been disabled on the parent.
敏感度閾值 (毫秒)Sensitivity threshold (ms) 指定此選項可排除快速執行的方法,讓每個事件收集較少的資料,以便透過縮小呼叫堆疊大小的方式,減少整體「雜訊」。Specify to filter out fast-running methods to reduce overall "noise" by reducing the size of the call stack by gathering less data for each event. 如需詳細資訊,請參閱 Authoring Strategies for .NET Application MonitoringFor more information, see Authoring Strategies for .NET Application Monitoring
依事件類型收集警示:連線能力Collect alerts by event type: Connectivity 開啟或關閉分類為連線警示 (發生「連線逾時」之類的錯誤) 的事件警示功能。連線事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as connectivity alerts, with errors such as "Connection Timed Out".Connectivity events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:應用程式失敗Collect alerts by event type: Application failure 開啟或關閉分類為應用程式或程式碼失敗的事件警示功能。Turn on or off alerting of events classified as application, or code, failures. 關閉此選項可減少由於程式碼失敗所產生的許多警示「雜訊」。Turning this option off reduces the "noise" of many alerts raised due to code failures. 因為這些警示是由程式碼失敗所產生,所以開發人員通常會解決這些問題。Because these alerts are raised from code failures, developers usually resolve these issues. 如需詳細資訊,請參閱撰寫 .NET 應用程式監視的策略例外狀況事件會記錄到應用程式診斷主控台。For more information, see Authoring Strategies for .NET Application MonitoringException events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:安全性Collect alerts by event type: Security 開啟或關閉分類為安全性警示 (發生「存取遭拒」或「登入失敗」之類的錯誤) 的事件警示功能。安全性事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as security alerts with errors such as "Access Denied" or "Login Failed".Security events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:效能Collect alerts by event type: Performance 開啟或關閉分類為效能警示的事件警示。效能事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as performance alerts.Performance events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
監視:例外狀況事件的百分比/秒Monitors: % Exception Events/sec 監看 .NET App/% Exception Events/sec 效能計數器的監視。Monitor that watches the .NET App/% Exception Events/sec performance counter.
監視:效能事件的百分比/秒Monitors: % Performance Events/sec 監看 .NET Apps/% Performance Events/sec 效能計數器的監視。Monitor that watches the .NET Apps/% Performance Events/sec performance counter.
監視:平均要求時間Monitors: Average Request Time 監看 .NET Apps/Average Request Time 效能計數器的監視。Monitor that watches the .NET Apps/Average Request Time performance counter.

交易內容:新增 WCF 方法Transaction properties: add WCF method

WCF 的交易內容

下列選項位於精靈之 [新增 WFC 方法設定] 頁面的 [交易內容] 頁面。The following options are available on the Transaction Properties for the Add WCF method settings page of the wizard.

選項Option 說明Description
交易名稱Transaction name 輸入好記的交易名稱,此名稱將會顯示在 [監視] 索引標籤、效能計數器等等。Enter the friendly name for the transaction as it will be displayed on the Monitoring tab, performance counters, and so on.
類別名稱Class name 輸入您要配置這些監視設定之類別的名稱。Enter the name of the class for which you are configuring these monitoring settings. 類別名稱採用此格式:Namespace.Class。The class name is in the format: Namespace.Class. 例如:wcfservice.myclass。For example: wcfservice.myclass.
方法名稱Method name 指定方法的名稱;此方法應包含在您要配置這些監視設定的類別中。Specify the name of the method that is expected to be in the class for which you are configuring these monitoring settings.
效能事件閾值 (毫秒)Performance event threshold (ms) 設定以毫秒 (ms) 為單位的閾值,使用者交易必須超過此值才會產生效能事件。Set the threshold in milliseconds (ms) that a user transaction must exceed before it raises a performance event.
注意︰ 應用程式元件會繼續監視交易中指定的頁面 (使用針對應用程式元件設定的效能閾值)。Note: The application component continues to monitor the page specified in the transaction by using the performance threshold that is set for the application component. 這個閾值可作為應用程式元件中相同頁面的第二個量值。This threshold is used as a second measure on the same page in the application component. 如果將這個閾值設成高於應用程式元件閾值,您會收到單一事件,但是依據警示設定而定,您可能會在達到閾值時收到交易的兩項效能警示:一項來自應用程式元件,另一項來自交易。If you set this threshold higher than the application component threshold, you get a single event, but you might get two performance alerts for the transaction when the threshold is breached—one from the application component and one from the transaction, depending on your alerting settings. 交易通常可用來以更積極的方式 (相較於父應用程式) 和較低的閾值來監視個別頁面,或是用來監視其父系已停用警示的頁面。Transactions are typically used to monitor the individual page more aggressively than the parent application, at a lower threshold or to monitor a page where alerting has been disabled on the parent.
敏感度閾值 (毫秒)Sensitivity threshold (ms) 指定此選項可排除快速執行的方法,讓每個事件收集較少的資料,以便透過縮小呼叫堆疊大小的方式,減少整體「雜訊」。Specify to filter out fast-running methods to reduce overall "noise" by reducing the size of the call stack by gathering less data for each event. 如需詳細資訊,請參閱 Authoring Strategies for .NET Application MonitoringFor more information, see Authoring Strategies for .NET Application Monitoring
依事件類型收集警示:連線能力Collect alerts by event type: Connectivity 開啟或關閉分類為連線警示 (發生「連線逾時」之類的錯誤) 的事件警示功能。連線事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as connectivity alerts, with errors such as "Connection Timed Out".Connectivity events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:應用程式失敗Collect alerts by event type: Application failure 開啟或關閉分類為應用程式或程式碼失敗的事件警示功能。Turn on or off alerting of events classified as application, or code, failures. 關閉此選項可減少由於程式碼失敗所產生的許多警示「雜訊」。Turning this option off reduces the "noise" of many alerts raised due to code failures. 因為這些警示是由程式碼失敗所產生,所以開發人員通常會解決這些問題。Because these alerts are raised from code failures, developers usually resolve these issues. 如需詳細資訊,請參閱撰寫 .NET 應用程式監視的策略例外狀況事件會記錄到應用程式診斷主控台。For more information, see Authoring Strategies for .NET Application MonitoringException events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:安全性Collect alerts by event type: Security 開啟或關閉分類為安全性警示 (發生「存取遭拒」或「登入失敗」之類的錯誤) 的事件警示功能。安全性事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as security alerts with errors such as "Access Denied" or "Login Failed".Security events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:效能Collect alerts by event type: Performance 開啟或關閉分類為效能警示的事件警示。效能事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as performance alerts.Performance events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
監視:例外狀況事件的百分比/秒Monitors: % Exception Events/sec 監看 .NET App/% Exception Events/sec 效能計數器的監視。Monitor that watches the .NET App/% Exception Events/sec performance counter.
監視:效能事件的百分比/秒Monitors: % Performance Events/sec 監看 .NET Apps/% Performance Events/sec 效能計數器的監視。Monitor that watches the .NET Apps/% Performance Events/sec performance counter.
監視:平均要求時間Monitors: Average Request Time 監看 .NET Apps/Average Request Time 效能計數器的監視。Monitor that watches the .NET Apps/Average Request Time performance counter.

交易內容:新增函式Transaction properties: add function

伺服器端交易內容函式

下列選項位於精靈之 [新增函式] 頁面的 [交易內容] 頁面。The following options are available on the Transaction Properties for the Add Function page of the wizard.

選項Option 說明Description
交易名稱Transaction name 輸入好記的交易名稱,此名稱將會顯示在 [監視] 索引標籤、效能計數器等等。Enter the friendly name for the transaction as it will be displayed on the Monitoring tab, performance counters, and so on.
函式名稱Function name 輸入您要配置這些監視設定之函式的名稱。Enter the name of the function for which you are configuring these monitoring settings. 函式名稱使用以下格式:Namespace.Class.Method。The function name is in the format: Namespace.Class.Method. 例如:System.Web.UI.Page.ProcessRequestFor example: System.Web.UI.Page.ProcessRequest.
函式模組Function module 指定組件 (例如 System.Web.dll) 的名稱;此組件定義您要配置這些監視設定的函式。Specify the name of the assembly, such as System.Web.dll, that defines the function for which you are configuring these monitoring settings.
效能事件閾值 (毫秒)Performance event threshold (ms) 設定以毫秒 (ms) 為單位的閾值,使用者交易必須超過此值才會產生效能事件。Set the threshold in milliseconds (ms) that a user transaction must exceed before it raises a performance event.
注意︰ 應用程式元件會繼續監視交易中指定的頁面 (使用針對應用程式元件設定的效能閾值)。Note: The application component continues to monitor the page specified in the transaction by using the performance threshold that is set for the application component. 這個閾值可作為應用程式元件中相同頁面的第二個量值。This threshold is used as a second measure on the same page in the application component. 如果將這個閾值設成高於應用程式元件閾值,您會收到單一事件,但是依據警示設定而定,您可能會在達到閾值時收到交易的兩項效能警示:一項來自應用程式元件,另一項來自交易。If you set this threshold higher than the application component threshold, you get a single event, but you might get two performance alerts for the transaction when the threshold is breached—one from the application component and one from the transaction, depending on your alerting settings. 交易通常可用來以更積極的方式 (相較於父應用程式) 和較低的閾值來監視個別頁面,或是用來監視其父系已停用警示的頁面。Transactions are typically used to monitor the individual page more aggressively than the parent application, at a lower threshold or to monitor a page where alerting has been disabled on the parent.
敏感度閾值 (毫秒)Sensitivity threshold (ms) 指定此選項可排除快速執行的方法,讓每個事件收集較少的資料,以便透過縮小呼叫堆疊大小的方式,減少整體「雜訊」。Specify to filter out fast-running methods to reduce overall "noise" by reducing the size of the call stack by gathering less data for each event. 如需詳細資訊,請參閱 Authoring Strategies for .NET Application MonitoringFor more information, see Authoring Strategies for .NET Application Monitoring
依事件類型收集警示:連線能力Collect alerts by event type: Connectivity 開啟或關閉分類為連線警示 (發生「連線逾時」之類的錯誤) 的事件警示功能。連線事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as connectivity alerts, with errors such as "Connection Timed Out".Connectivity events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:應用程式失敗Collect alerts by event type: Application failure 開啟或關閉分類為應用程式或程式碼失敗的事件警示功能。Turn on or off alerting of events classified as application, or code, failures. 關閉此選項可減少由於程式碼失敗所產生的許多警示「雜訊」。Turning this option off reduces the "noise" of many alerts raised due to code failures. 因為這些警示是由程式碼失敗所產生,所以開發人員通常會解決這些問題。Because these alerts are raised from code failures, developers usually resolve these issues. 如需詳細資訊,請參閱撰寫 .NET 應用程式監視的策略例外狀況事件會記錄到應用程式診斷主控台。For more information, see Authoring Strategies for .NET Application MonitoringException events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:安全性Collect alerts by event type: Security 開啟或關閉分類為安全性警示 (發生「存取遭拒」或「登入失敗」之類的錯誤) 的事件警示功能。安全性事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as security alerts with errors such as "Access Denied" or "Login Failed".Security events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
依事件類型收集警示:效能Collect alerts by event type: Performance 開啟或關閉分類為效能警示的事件警示。效能事件會記錄到應用程式診斷主控台。Turn on or off alerting of events classified as performance alerts.Performance events are logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option to choose whether to raise alerts after an Application Performance Monitoring event is generated.
監視:例外狀況事件的百分比/秒Monitors: % Exception Events/sec 監看 .NET App/% Exception Events/sec 效能計數器的監視。Monitor that watches the .NET App/% Exception Events/sec performance counter.
監視:效能事件的百分比/秒Monitors: % Performance Events/sec 監看 .NET Apps/% Performance Events/sec 效能計數器的監視。Monitor that watches the .NET Apps/% Performance Events/sec performance counter.
監視:平均要求時間Monitors: Average Request Time 監看 .NET Apps/Average Request Time 效能計數器的監視。Monitor that watches the .NET Apps/Average Request Time performance counter.

用戶端設定Client-side configuration

用戶端設定

下列選項位於精靈的 [用戶端設定] 頁面。The following options are available on the Client-Side Configuration page of the wizard.

選項Option 說明Description
開啟效能事件警示Turn on performance event alerts 在 Operations 主控台內,針對伺服器端監視開啟或關閉效能事件警示報表。Turn performance event alert reporting on or off within the Operations console for server-side monitoring. 效能事件還是會記錄到 Application Diagnostics 主控台。Performance events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
開啟例外狀況事件警示Turn on exception event alerts 在 Operations Manager 主控台內,針對伺服器端監視開啟或關閉例外狀況事件警示報表。Turn exception event alert reporting on or off within the Operations Manager console for server-side monitoring. 例外狀況事件還是會記錄到 Application Diagnostics 主控台。Exception events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
頁面載入閾值 (毫秒)Page load threshold (ms) 設定以毫秒 (ms) 為單位的閾值,頁面載入必須超過此值才會引發效能事件。Set the threshold in milliseconds (ms) that a page load must exceed before it causes a performance event. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated. 只有在選取 [開啟效能事件警示] 時,事件才會變成警示。The event is only turned into an alert if you have selected Turn on performance event alerts.
IP 位址篩選:IP 位址IP address filter: IP Address 指定您要排除在監視之外的 IP 位址。Specify the IP addresses that you want to exclude from monitoring. 如需詳細資訊,請參閱 How to Configure IP Address Exclusion Filters for Client-Side MonitoringFor more information, see How to Configure IP Address Exclusion Filters for Client-Side Monitoring
IP 位址篩選:網路遮罩IP address filter: Netmask 篩選 IP 位址和使用者 IP 位址中必須比較是否相等的部分。The part of the filter IP address and user IP address that have to be compared for equality.
IP 位址篩選:比較類型IP address filter: Comparison Type 指定排除符合子網路中 IP 位址的 IP 位址 (IP 屬於子網路),或排除不符合子網路中 IP 位址的使用者 IP 位址 (IP 不屬於子網路)。Specify to exclude IP addresses that match the IP addresses in the subnet ( IP is in subnet ), or to exclude the user IP addresses that do not match the IP addresses in the subnet ( IP is not in subnet ).
IP 位址篩選:使用 IPv6IP address filter: Use IPv6 網頁伺服器啟用 IPv6 通訊協定時新增 IPv6 篩選器。Add the IPv6 filter if the IPv6 protocol is enabled on the web server.
進階設定Advanced Settings 指定設定,例如效能和事件監視閾值、例外狀況事件監視、重大例外狀況以及監視。Specify settings, such as performance and event monitoring thresholds, exception event monitoring, Critical Exceptions, and monitors.

用戶端監視的進階設定Advanced settings for Client-side monitoring

用戶端進階設定

下列選項位於精靈之 [用戶端監視] 頁面的 [進階設定] 頁面。The following options are available on the Advance Settings for Client-Side Monitoring page of the wizard.

選項Option 說明Description
開啟效能事件警示Turn on performance event alerts 在 Operations 主控台內,針對伺服器端監視開啟或關閉效能事件警示報表。Turn performance event alert reporting on or off within the Operations console for server-side monitoring. 效能事件還是會記錄到 Application Diagnostics 主控台。Performance events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
開啟例外狀況事件警示Turn on exception event alerts 在 Operations 主控台內,針對伺服器端監視開啟或關閉例外狀況事件警示通知。Turn exception event alert notification on or off within the Operations console for server-side monitoring. 例外狀況事件還是會記錄到 Application Diagnostics 主控台。Exception events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
頁面載入閾值 (毫秒)Page load threshold (ms) 設定以毫秒 (ms) 為單位的閾值,頁面載入必須超過此值才會引發效能事件。Set the threshold in milliseconds (ms) that a page load must exceed before it causes a performance event. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated. 只有在選取 [開啟效能事件警示] 時,事件才會變成警示。The event is only turned into an alert if you have selected Turn on performance event alerts.
Ajax 和 WCF 閾值 (毫秒)Ajax and WCF threshold (ms) 設定以毫秒為單位的閾值,從頁面啟動的 Ajax 或 Windows Communications Foundation (WCF) 呼叫必須超過此值才會引發效能事件。Set the threshold in milliseconds (ms) that an Ajax or Windows Communications Foundation (WCF) call initiated from the page must exceed before it causes a performance event. 只有在選取 [開啟效能事件警示] 時,事件才會變成警示。The event is only turned to an alert if you have selected Turn on performance event alerts.
監視傳入要求的百分比Monitor % of incoming requests. 指定傳入要求的取樣大小,將其定義為您要監視的傳入要求總數的百分比。Specify a sample size of incoming requests, defined as a percentage of the total number of incoming requests that you want to monitor. 如需詳細資訊,請參閱 Authoring Strategies for .NET Application MonitoringFor more information, see Authoring Strategies for .NET Application Monitoring
IP 位址:IP 位址IP address: IP Address 指定您要排除在監視之外的 IP 位址。Specify the IP addresses that you want to exclude from monitoring. 如需詳細資訊,請參閱 How to Configure IP Address Exclusion Filters for Client-Side MonitoringFor more information, see How to Configure IP Address Exclusion Filters for Client-Side Monitoring
IP 位址:網路遮罩IP address: Netmask 指定篩選 IP 位址和使用者 IP 位址中必須比較是否相等的部分。Specify the part of the filter IP address and user IP address that have to be compared for equality.
IP 位址:比較類型IP address: Comparison Type 指定排除符合子網路中 IP 位址的 IP 位址 (IP 屬於子網路),或排除不符合子網路中 IP 位址的使用者 IP 位址 (IP 不屬於子網路)。Specify to exclude IP addresses that match the IP addresses in the subnet ( IP is in subnet ), or to exclude the user IP addresses that do not match the IP addresses in the subnet ( IP is not in subnet ).
IP 位址:使用 IPV6IP address: Use IPV6 指定在網頁伺服器啟用 IPv6 通訊協定時新增 IPv6 篩選器。Specify to add the IPv6 filter if the IPv6 protocol is enabled on the web server.
監視:Exception Events\sec 超出Monitors: Exception Events\sec exceeds 監看 .NET CSM Apps/% Exceptions Events/sec 效能計數器的監視。Monitor that watches the .NET CSM Apps/% Exceptions Events/sec performance counter.
監視:Performance Events\sec 超出Monitors: Performance Events\sec exceeds 監看 .NET CSM Apps/% Performance Events/sec 效能計數器的監視。Monitor that watches the .NET CSM Apps/% Performance Events/sec performance counter.
監視:平均要求時間超過Monitors: Average Request Time exceeds 監看 .NET CSM Apps/Average Page Load Response Time 效能計數器的監視。Monitor that watches the .NET CSM Apps/Average Page Load Response Time performance counter.
資料項目Data Items 選取您要收集的用戶端資料類型。Select the type of client-side data that you want to collect. 如需詳細資訊,請參閱 Working with Sensitive Data for .NET Applications (處理 .NET 應用程式的敏感性資料)For more information, see Working with Sensitive Data for .NET Applications
負載平衡器設定Load balancer settings 選取要搭配您的應用程式使用的負載平衡器類型。Select the type of load balancer that you are using with your application. 您也可以新增自己的負載平衡器 (如果未包含在清單中)。You can also add your own load balancer, if it is not included in the list. 如需詳細資訊,請參閱 Client-Side Monitoring with Targeted Groups and Load BalancersFor more information, see Client-Side Monitoring with Targeted Groups and Load Balancers
目標群組Targeted group 選取特定的伺服器以將監視限定為一組特定的伺服器。Select specific servers to limit monitoring to this specific set of servers. 這是選用的選項。This is optional. 只有在多個環境 (例如生產位置和預備位置) 執行同一個應用程式,且您想執行範本多次 (每個環境一次) 時,才需要界定目標群組範圍。Targeted group scoping only becomes necessary when you have the same application running in multiple environments, such as production and staging, and you intend to run the template multiple times, one for each environment. 在此案例中,請將屬於生產環境的機器分為一組,將屬於預備環境的機器分為一組,然後使用目標群組來限制設定的傳播位置。In this scenario, group which machines belong to production and which belong to the staging environment, and then use the targeted groups to restrict where the configuration is propagated. 您也可以使用群組來將設定套用至伺服器的子集。You can also use groups to apply configuration to a subset of your servers. 另一方面,如果您只想監視指定之應用程式的所有執行個體,則不需要指定目標群組的範圍。Otherwise, it is not necessary to specify targeted group scoping if you just want to monitor all instances of a given application.

啟用用戶端監視Enable client-side monitoring

啟用用戶端監視

下列選項位於精靈的 [啟用用戶端監視] 頁面。The following options are available on the Enable Client-Side Monitoring page of the wizard.

選項Option 說明Description
元件Component 選取您需要的元件,以自訂個別應用程式元件的監視。Select the component you want to customize for monitoring individual application components. 只會顯示 ASP.NET Web 應用程式類型的元件。Only the components of the ASP.NET Web application type are displayed. Web 服務和 WCF 服務並不會提供 HTML 網頁給瀏覽器,因此您無法為這些服務啟用用戶端監視。Web Services and WCF Services do not serve HTML pages to browsers, so you cannot enable client-side monitoring for them. 僅限 System Center 2012 SP1:Windows 服務中裝載的 .NET 應用程式並不會提供 HTML 網頁給瀏覽器,因此您無法為這些應用程式啟用用戶端監視。For System Center 2012 SP1 only: .NET applications hosted in Windows Services do not serve HTML pages to browsers, so you cannot enable client-side monitoring for them.
自訂Customize 修改所選應用程式元件的設定。Modify the settings for the selected application component. 這會開啟 [正在修改設定] 頁面。This opens the Modifying Settings page. 此頁面上的設定與 [用戶端監視的進階設定] 頁面上的設定類似。The settings on this page are similar to those on the Advanced Settings for Client-Side Monitoring page. 在 [正在修改設定] 頁面上,您可以指定要排除在監視之外的頁面。On the Modifying Settings page, you can specify the pages to be excluded from monitoring.
目標群組Targeted group 選取特定的伺服器以將監視限定為一組特定的伺服器。Select specific servers to limit monitoring to this specific set of servers. 這是選用的選項。This is optional. 只有在多個環境 (例如生產位置和預備位置) 執行同一個應用程式,且您想執行範本多次 (每個環境一次) 時,才需要界定目標群組範圍。Targeted group scoping only becomes necessary when you have the same application running in multiple environments, such as production and staging, and you intend to run the template multiple times, one for each environment. 在此案例中,請將屬於生產環境的機器分為一組,將屬於預備環境的機器分為一組,然後使用目標群組來限制設定的傳播位置。In this scenario, group which machines belong to production and which belong to the staging environment, and then use the targeted groups to restrict where the configuration is propagated. 您也可以使用群組來將設定套用至伺服器的子集。You can also use groups to apply configuration to a subset of your servers. 另一方面,如果您只想監視指定之應用程式的所有執行個體,則不需要指定目標群組的範圍。Otherwise, it is not necessary to specify targeted group scoping if you just want to monitor all instances of a given application.

用戶端修改設定Client-side modifying settings

用戶端修改設定

下列選項位於精靈的 [用戶端修改設定] 頁面。The following options are available on the Client-Side Modifying Settings page of the wizard.

選項Option 說明Description
開啟效能事件警示Turn on performance event alerts 在 Operations 主控台內,針對伺服器端監視開啟或關閉效能事件警示報表。Turn performance event alert reporting on or off within the Operations console for server-side monitoring. 效能事件還是會記錄到 Application Diagnostics 主控台。Performance events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
開啟例外狀況事件警示Turn on exception event alerts 在 Operations 主控台內,針對伺服器端監視開啟或關閉例外狀況事件警示報表。Turn exception event alert reporting on or off within the Operations console for server-side monitoring. 例外狀況事件還是會記錄到 Application Diagnostics 主控台。Exception events are still logged to the Application Diagnostics console. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated.
頁面載入閾值 (毫秒)Page load threshold (ms) 設定以毫秒 (ms) 為單位的閾值,頁面載入必須超過此值才會引發效能事件警示。Set the threshold in milliseconds (ms) that a page load must exceed before it causes a performance event alert. 您可以選擇是否要在應用程式效能監視事件產生後發出警示。You have the option whether to raise alerts after an Application Performance Monitoring event is generated. 只有在選取 [開啟效能事件警示] 時,事件才會變成警示。The event is only turned into an alert if you have selected Turn on performance event alerts.
Ajax 和 WCF 閾值 (毫秒)Ajax and WCF threshold (ms) 設定以毫秒 (ms) 為單位的閾值,從頁面啟動的 Ajax 或 Windows Communications Foundation (WCF) 呼叫必須超過此值才會引發效能事件。Sets the threshold in milliseconds that an Ajax or Windows Communications Foundation (WCF) call initiated from the page must exceed before it causes a performance event. 只有在選取 [開啟效能事件警示] 時,事件才會變成警示。The event is only turned into an alert if you have selected Turn on performance event alerts.
敏感度閾值 (毫秒)Sensitivity threshold (ms) 指定此選項可排除快速執行的方法,讓每個事件收集較少的資料,以便透過縮小呼叫堆疊大小的方式,減少整體「雜訊」。Specify to filter out fast-running methods to reduce overall "noise" by reducing the size of the call stack by gathering less data for each event. 如需詳細資訊,請參閱 Authoring Strategies for .NET Application MonitoringFor more information, see Authoring Strategies for .NET Application Monitoring
監視傳入要求的百分比Monitor % of incoming requests. 指定傳入要求的取樣大小,將其定義為您要監視的傳入要求總數的百分比。Specify a sample size of incoming requests, defined as a percentage of the total number of incoming requests that you want to monitor. 如需詳細資訊,請參閱 Authoring Strategies for .NET Application MonitoringFor more information, see Authoring Strategies for .NET Application Monitoring
IP 位址:IP 位址IP address: IP Address 輸入您要排除在監視之外的 IP 位址。Enter the IP addresses that you want to exclude from monitoring. 如需詳細資訊,請參閱 How to Configure IP Address Exclusion Filters for Client-Side MonitoringFor more information, see How to Configure IP Address Exclusion Filters for Client-Side Monitoring
IP 位址:網路遮罩IP address: Netmask 指定篩選 IP 位址和使用者 IP 位址中必須比較是否相等的部分。Specify the part of the filter IP address and user IP address that have to be compared for equality.
IP 位址:比較類型IP address: Comparison Type 指定排除符合子網路中 IP 位址的 IP 位址 (IP 屬於子網路),或排除不符合子網路中 IP 位址的使用者 IP 位址 (IP 不屬於子網路)。Specify to exclude IP addresses that match the IP addresses in the subnet ( IP is in subnet ), or to exclude the user IP addresses that do not match the IP addresses in the subnet IP is not in subnet ).
IP 位址:使用 IPV6IP address: Use IPV6 指定在網頁伺服器啟用 IPv6 通訊協定時新增 IPv6 篩選器。Specify to add the IPv6 filter if the IPv6 protocol is enabled on the web server.
監視:Exception Events\sec 超出Monitors: Exception Events\sec exceeds 監看 .NET CSM Apps/% Exceptions Events/sec 效能計數器的監視。Monitor that watches the .NET CSM Apps/% Exceptions Events/sec performance counter.
監視:Performance Events\sec 超出Monitors: Performance Events\sec exceeds 監看 .NET CSM Apps/% Performance Events/sec 效能計數器的監視。Monitor that watches the .NET CSM Apps/% Performance Events/sec performance counter.
監視:平均要求時間超過Monitors: Average Request Time exceeds 監看 .NET CSM Apps/Average Page Load Response Time 效能計數器的監視。Monitor that watches the .NET CSM Apps/Average Page Load Response Time performance counter.
資料集合Data collection 選取您要收集的用戶端資料類型。Select the type of client-side data you want to collect. 如需詳細資訊,請參閱 Working with Sensitive Data for .NET Applications (處理 .NET 應用程式的敏感性資料)For more information, see Working with Sensitive Data for .NET Applications
負載平衡器設定Load balancer settings 選取要搭配您的應用程式使用的負載平衡器類型。Select the type of load balancer that you are using with your application. 您也可以新增自己的負載平衡器 (如果未包含在清單中)。You can also add your own load balancer, if it is not included in the list. 如需詳細資訊,請參閱 Client-Side Monitoring with Targeted Groups and Load BalancersFor more information, see Client-Side Monitoring with Targeted Groups and Load Balancers.
排除的頁面:新增Excluded pages: Add 指定新增要排除在監視之外的頁面。Specify to add the pages to exclude from monitoring. 您通常會排除被視為對指定之計量不重要的頁面,或是未通過相容性檢查的頁面。You typically exclude pages that are considered unimportant for given metrics or that did not pass the compatibility check.
交易:新增Transactions: Add 指定要為 ASP.NET 網頁新增的交易。Specify transactions to add for ASP.NET web pages.
目標群組Targeted group 選取特定的伺服器以將監視限定為一組特定的伺服器。Select specific servers to limit monitoring to this specific set of servers. 這是選用的選項。This is optional. 只有在多個環境 (例如生產位置和預備位置) 執行同一個應用程式,且您想執行範本多次 (每個環境一次) 時,才需要界定目標群組範圍。Targeted group scoping only becomes necessary when you have the same application running in multiple environments, such as production and staging, and you intend to run the template multiple times, one for each environment. 在此案例中,請將屬於生產環境的機器分為一組,將屬於預備環境的機器分為一組,然後使用目標群組來限制設定的傳播位置。In this scenario, group which machines belong to production and which belong to the staging environment, and then use the targeted groups to restrict where the configuration is propagated. 您也可以使用群組來將設定套用至伺服器的子集。You can also use groups to apply configuration to a subset of your servers. 另一方面,如果您只想監視指定之應用程式的所有執行個體,則不需要指定目標群組的範圍。Otherwise, it is not necessary to specify targeted group scoping if you just want to monitor all instances of a given application.

[摘要]Summary

[摘要] 頁面

精靈的 [摘要] 頁面會列出您已為 .NET 應用程式效能監視範本設定的設定。The Summary page of the wizard lists the settings you have configured for the .NET Application Performance Monitoring template. 如果您要變更其中任何設定,請按一下 [上一步] 或範本頁面,直到出現您要變更設定的頁面。If you want to change any of these settings, click Previous or the template page until you reach the page with the settings that you want to change.

建立和修改 .NET 應用程式效能監視範本Creating and modifying .NET application performance monitoring templates

如需執行 .NET 應用程式效能監視精靈的程序,請參閱 How to Configure Monitoring for .NET ApplicationsFor the procedure to run the .NET Application Performance Monitoring wizard, see How to Configure Monitoring for .NET Applications.

若要修改現有的 .NET 應用程式效能監視範本To modify an existing .NET application performance monitoring template

  1. 使用在管理群組中具有作者認證的使用者帳戶開啟 Operations 主控台。Open the Operations console with a user account that has Author credentials in the management group.
  2. 按一下 [撰寫] 工作區。Click the Authoring workspace.
  3. 在 [撰寫] 瀏覽窗格中,展開 [管理組件範本] ,然後選取 [.NET 應用程式效能監視] 。In the Authoring navigation pane, expand Management Pack Templates , and then select .NET Application Performance Monitoring.
  4. 在 [.NET 應用程式效能監視] 窗格中,找出要變更的範本。In the .NET Application Performance Monitoring pane, locate the template to change.
  5. 以滑鼠右鍵按一下您要修改的應用程式群組,然後選取 [內容] 。Right-click the application group that you want to modify, and then select Properties.
  6. 使用索引標籤瀏覽設定的頁面、進行需要的變更,例如新增特定應用程式元件的自訂監視或是設定及啟用用戶端監視,然後按一下 [確定] 。Using the tabs to navigate the pages of settings, make the desired changes, such as adding customized monitoring for a specific application component or configuring and enabling client-side monitoring, and then click OK.

檢視「.NET 應用程式效能監視」監視和收集的資料Viewing .NET application performance monitoring monitors and collected data

設定應用程式的監視之後,這三個檢視將協助您開始體驗監視功能。After you configure monitoring for an application, these three views will help you get started with the monitoring experience.

若要檢視 .NET 應用程式效能監視負責監視的所有應用程式To view all .NET application performance monitoring monitored applications

  1. 開啟 Operations 主控台。Open the Operations console.
  2. 按一下 [監視] 工作區。Click the Monitoring workspace.
  3. 在 [監視] 瀏覽窗格裡,展開 [應用程式監視] ,再展開 [.NET 監視] ,然後按一下 [受監視的應用程式] 。In the Monitoring navigation pane, expand Application Monitoring , expand .NET Monitoring , and then click Monitored Applications.

若要檢視每個監視的狀態To view the state of each monitor

  1. 開啟 Operations 主控台。Open the Operations console.
  2. 按一下 [監視] 工作區。Click the Monitoring workspace.
  3. 在 [監視] 瀏覽窗格裡,展開 [應用程式監視] ,再展開 [.NET 監視] ,然後按一下 [受監視的應用程式] 。In the Monitoring navigation pane, expand Application Monitoring , expand .NET Monitoring , and then click Monitored Applications.
  4. 在 [受監視的應用程式] 檢視中,以滑鼠右鍵按一下物件。In the Monitored Applications view, right-click an object. 選取 [開啟] ,然後按一下 [健全狀況總管] 。Select Open , and then click Health Explorer.
  5. 展開 [可用性] 和 [效能] 節點,以檢視個別監視。Expand the Availability and Performance nodes to view the individual monitors.

若要檢視針對應用程式元件收集的效能To view the performance collected for an application component

  1. 開啟 Operations 主控台。Open the Operations console.
  2. 按一下 [監視] 工作區。Click the Monitoring workspace.
  3. 在 [監視] 瀏覽窗格裡,展開 [應用程式監視] ,再展開 [.NET 監視] ,然後按一下 [受監視的應用程式] 。In the Monitoring navigation pane, expand Application Monitoring , expand .NET Monitoring , and then click Monitored Applications.
  4. 在 [受監視的應用程式] 窗格中,以滑鼠右鍵按一下物件。In the Monitored Applications pane, right-click an object. 選取 [開啟] ,然後按一下 [效能檢視] 。Select Open , and then click Performance View.
  5. 在 [圖例] 窗格中,選取您要檢視的計數器。In the Legend pane, select the counters that you want to view.
  6. 使用 [動作] 窗格中的選項來修改 [效能] 檢視。Use options in the Actions pane to modify the Performance view.

請參閱See also