Download presentation
Presentation is loading. Please wait.
Published byJames Randall Modified over 9 years ago
1
DEV333 Instrumenting Applications for Manageability with the Enterprise Instrumentation Framework David Keogh Program Manager Visual Studio Enterprise Tools
2
Application Management Challenges For the Support Organization Application faults or issues often detected first by users Support staff need structured application information Often must parse error strings written to event log Most tracing solutions are not intended for production apps Distributed applications magnify these challenges Events fired from an application across multiple servers are hard to correlate
3
Application Management Challenges For the Development Organization No unified instrumentation API Developers are forced to use different eventing, tracing or logging solutions at various points in the application Or more often, avoid instrumentation entirely Firing an event must be as simple and low- profile as possible Developers often forced to determine event routing within code
4
Enterprise Instrumentation Goals and Scenarios Significantly improve enterprise customers’ ability to monitor and troubleshoot applications built on the.NET Framework Integrate and unify disparate tracing, eventing and logging technologies Integrate with existing management tools and products Key Scenarios Application Monitoring and Error Management Local Diagnostic Tracing Distributed Request Tracing
5
EIF Core Features Unified Instrumentation API Unified model for tracing, eventing and logging Leverages WMI Infrastructure (System.Management.Instrumentation) Structured WMI Event Schema Manageability-contract between dev, QA and support staff Configurable At-Source Event Filtering Fire via WMI, Event Log, Windows Event Trace Minimal cost for leaving instrumentation in production build High-speed Diagnostic Tracing Enables problem-management for production applications Enables tracing user “requests” along application business- processes or services
6
What Questions can EIF Answer? What is the general health of the application? Are there unexpected errors or warnings being reported? What is happening inside specific business processes or application transactions? Given a specific error being logged, what happened before and after that event within the application? Is a particular application service taking too long to execute on average?
7
Simple Instrumentation demo demo
8
.NET Application Instrumentation API Event Filtering WMI Event Trace Event Log Trace Log Event Log WMI Subscriber Configuration Event Schema Application Object Event Source Trace Reader Single Application Server
9
Distributed.NET Application Application Server Event Source Event Routing WMI Event Trace Event Log Trace Log Event Log WMI Subscriber Trace Reader Event Source Event Routing WMI Event Trace Event Log Trace Log Event Log WMI Subscribers Trace Reader Management Server Distributed Servers Management Suite Mgmt Event Repository SQL Trace Event Repository
10
Standard Event Schema
11
Distributed Request Tracing Enables tracing user requests through a distributed application Trace business services of the application Can flow across a distributed.NET application Tracing is only activated only specific execution path Events get tagged with request context Even if no tracing session is enabled Example: Errors subscribed to via WMI will have request-context Trace-log Aggregation and Analysis Trace-log aggregation not included with EIF Trace Log Reader API provides a starting point for aggregation and analysis
12
Monitoring and Troubleshooting an Instrumented Application demo demo
13
Extensibility and Automation Custom Event Schemas Can build custom event schemas which are fired instead of, or in addition to the standard Event Schema Custom Event Sinks Can build custom event sinks MSMQ, SQL Server (transacted logging), Additional eventing or logging mechanisms Configuration API Scriptable API for all configuration operations Trace-Log Reader API Scriptable API for reading trace-logs
14
Summary Enterprise Instrumentation Framework Significantly improves enterprise customers’ ability to monitor and troubleshoot.NET applications Integrates and unifies disparate tracing, eventing and logging technologies Integrates with existing management tools and products via WMI and the Windows Event Log Provides a starting point for distributed trace-log aggregation and analysis Availability Available now for MSDN Enterprise and Universal Subscribers
15
Public newsgroup for EIF questions and discussions Microsoft.Public.VSNet.Enterprise.Tools Whitepapers coming soon! Community Resources
16
http://www.microsoft.com/communities/default.mspx Most Valuable Professional (MVP) http://www.mvp.support.microsoft.com/ Newsgroups Converse online with Microsoft Newsgroups, including Worldwide http://www.microsoft.com/communities/newsgroups/default.mspx User Groups Meet and learn with your peers http://www.microsoft.com/communities/usergroups/default.mspx
17
evaluations evaluations
18
© 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.